Bug 19672 - ondemand is slow
Summary: ondemand is slow
Status: CLOSED CODE_FIX
Alias: None
Product: Power Management
Classification: Unclassified
Component: cpufreq (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: cpufreq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-03 21:08 UTC by Dan Hollocher
Modified: 2011-01-24 13:01 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.35
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Dan Hollocher 2010-10-03 21:08:43 UTC
I find ondemand is allot slower than conservative for cpu bound tasks.  My understanding is that performance wise, ondemand should be on par or slightly faster than conservative.

My chip is an intel core 2 duo, I think 4300.  I am using 2.6.35 from Ubuntu.

On the kraken benchmark, ondemand completes in   34216.6ms +/- 2.3%   where as conservative completes in   25699.3ms +/- 5.6%


Again, it is my understanding that ondemand should not have this much of a slowdown.
Comment 1 Florian Mickler 2011-01-24 13:01:27 UTC
a fix for this has been merged in .37-rc1:
commit 3f78a9f7fcee0e9b44a15f39ac382664e301fad5
Author: David C Niemi <dniemi@verisign.com>
Date:   Wed Oct 6 16:54:24 2010 -0400

    [CPUFREQ] add sampling_down_factor tunable to improve ondemand performance

Note You need to log in before you can comment on or make changes to this bug.