Skip to contentSkip to conversation

New: down_threshold is missing

Bug 55261 [email protected] 1 participant 6 messages Mar 15, 2013 – Apr 18, 2013

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=55261

Summary: down_threshold is missing
Product: Power Management
Version: 2.5
Kernel Version: Ubuntu 3.8.0-12.21-generic 3.8.2
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: cpufreq
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

On my system the file /sys/devices/system/cpu/cpufreq/ondemand/down_threshold doesn't exist while the file up_threshold does exist in the same directory. The problem is without this file the value of down_threshold seems to be automatically set to 10 so I'm not able to set up_threshold to a value lower than 11.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 55261] down_threshold is missing

https://bugzilla.kernel.org/show_bug.cgi?id=55261

Viresh Kumar <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Viresh Kumar <[email protected]> 2013-03-15 08:58:02 ---

This happened a long time back for ondemand governor (it is still supported by conservative though).

commit c29f1403098135bdef75b190a5037db514701031

Author: Dave Jones <[email protected]>
Date:   Tue May 31 19:03:50 2005 -0700

[CPUFREQ] ondemand governor automatic downscaling

[PATCH] [4/5] ondemand governor automatic downscaling

Here is a change of policy for the ondemand governor. The modification concerns the frequency downscaling. Instead of decreasing to a lower frequency when the CPU usage is under 20%, this new policy automatically scales to the optimal frequency. The optimal frequency being the lowest frequency which provides enough power to not trigger the upscaling policy.

---
 drivers/cpufreq/cpufreq_ondemand.c | 117
+++++++++++++++++++++++------------------------------------------------------------------------------------
 1 file changed, 25 insertions(+), 92 deletions(-)
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 55261] down_threshold is missing

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=55261

--- Comment #2 from [email protected] 2013-03-15 12:02:09 --- This makes it dificult to get an early upscaling of the cpu frequency. I'm trying to achieve this at ~1% cpu usage. Would it be possible after this commit to allow up_threshold to be lower (for example 1 on my system)?

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 55261] down_threshold is missing

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=55261

Aaron Lu <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         AssignedTo|[email protected]     |[email protected]
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 55261] down_threshold is missing

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=55261

Aaron Lu <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
         AssignedTo|[email protected]          |[email protected]
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 55261] down_threshold is missing

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=55261

Lan Tianyu <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         AssignedTo|[email protected]     |[email protected]

--- Comment #3 from Lan Tianyu <[email protected]> 2013-04-18 06:59:14 --- Hi, sworddragon2:
This is not a bug but "a change of policy for the ondemand governor".
So close this as invalid.

Hi Viresh:
Could you answer sworddragon2's question in the comment2?

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.