New: Ondemand governor is hyperactive
https://bugzilla.kernel.org/show_bug.cgi?id=36652
Summary: Ondemand governor is hyperactive
Product: Power Management
Version: 2.5
Kernel Version: 2.6.39
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: cpufreq
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No
According to some posts Ondemand governor should be the best even in battery mode because the cpu can sleep longer if the tasks get finished sooner.
This is probably true but at the moment it isn't because Ondemand even scales up if the cpu doesn't has anything to do.
This might have something to do that the governor can't anticipate how long or how much this task will need so he scales up all the time if the cpu is used but this is bad in battery mode.
So either there is a bug in Ondemand governor which should be fixed or if this happens purely out of performance reasons there should be an additional mode for battery where it only scales up if the cpu can't handle this with the lowest task.
I know that there is the conservative governor but it is too slow, for example it takes ages to scale down.
With powersave the battery time is increased significantly (at least 1W less) and for most tasks the lowest frequency is fine.
I mean in this idle case of the screen shot it doesn't make any sense to scale up all the time but even if you play a video there is no need for the highest frequency and especially not the turbo mode.
I mean why are there more than two frequencies if only they get used?
I am using openSUSE 11.4 with Kernel 2.6.37. I had the same problem with Vanilla 2.6.39.
My processor is a Core i5 of the first generation.
If you need any additional information let me know.
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.
[Bug 36652] Ondemand governor is hyperactive
https://bugzilla.kernel.org/show_bug.cgi?id=36652
Markus Trippelsdorf <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Markus Trippelsdorf <[email protected]> 2011-06-04 17:37:09 --- I see similar symptoms in >=2.6.38 as described here:
http://thread.gmane.org/gmane.linux.kernel.cpufreq/7167
Can you try to revert commit 5cb2c3bd0c5e0f3ced63f250ec2ad59d7c5c626a and see if it makes any difference in your case?
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.
[Bug 36652] Ondemand governor is hyperactive
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=36652
--- Comment #2 from Markus Trippelsdorf <[email protected]> 2011-06-04 17:42:42 --- Created an attachment (id=60802)
--> (https://bugzilla.kernel.org/attachment.cgi?id=60802)
cpufreq.patch
And if you don't use git, you could just apply this patch.
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.
[Bug 36652] Ondemand governor is hyperactive
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=36652
Markus Trippelsdorf <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #60802|0 |1
is patch| |
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.
[Bug 36652] Ondemand governor is hyperactive
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=36652
Len Brown <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
CC| |[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.
[Bug 36652] Ondemand governor is hyperactive
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=36652
--- Comment #3 from [email protected] 2011-06-10 07:46:59 --- Sorry for the delay but I was on vacation.
I have the same problem with Kernel 2.6.37 where your patch is already replied.
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.
[Bug 36652] Ondemand governor is hyperactive
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=36652
--- Comment #4 from Markus Trippelsdorf <[email protected]> 2011-06-10 07:58:20 --- Yes, sorry 5cb2c3bd0c was a red herring.
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.
[Bug 36652] Ondemand governor is hyperactive
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=36652
Zhang Rui <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Zhang Rui <[email protected]> 2012-01-18 05:18:56 --- It's great that the kernel bugzilla is back.
Can you please verify if the problem still exists in the latest upstream kernel?
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.
[Bug 36652] Ondemand governor is hyperactive
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=36652
Alan <[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.