Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 977392 - cpu frequency does not scale back all the way
Summary: cpu frequency does not scale back all the way
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 19
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
: 977389 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2013-06-24 12:47 UTC by Mark van Rossum
Modified: 2013-10-08 17:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-10-08 17:09:09 UTC
Type: Bug

Attachments (Terms of Use)

Description Mark van Rossum 2013-06-24 12:47:02 UTC
Description of problem:
On the most recent kernels cpu scaling does not not scale the frequency back to the lowest possible value.
While on previous kernels it would scale back to 800MHz, now I get only
> cat cpuinfo_cur_freq 

Under the load the frequency does scale up (to 2.9GHz) and it does scale down
again, but again not to the lowest value.

Of course, I tested with a minimal load. Only lightdm and a console were running.

Version-Release number of selected component (if applicable):
FC19 with kernel 3.9.6-301.fc19.x86_64
cat scaling_governor : powersave

How reproducible:

Steps to Reproduce:
1. Boot 
2. cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

Actual results:
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
1025000 ... 1525000

Expected results:
On previous kernels in FC18, the frequency would scale all the way back to 
800Mhz (which is I think the minimum)
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

Additional info:

Comment 1 Josh Boyer 2013-06-24 13:24:04 UTC
*** Bug 977389 has been marked as a duplicate of this bug. ***

Comment 2 Mark van Rossum 2013-06-25 22:25:37 UTC
Forgot to say: this is on a Lenovo X220 with 
 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz

Comment 3 Mark van Rossum 2013-07-02 18:08:46 UTC
I think this issue might have to do with the 
change in powermanagement reported here:


I guess the real question is whether this new policy actually saves power.
This is hard to measure accurately, but I shall give it a shot.

Comment 4 Mark van Rossum 2013-07-30 08:54:39 UTC
I have now ran some power consumption test.
On my computer it does not make a difference in battery power consumption.
So it is not really a bug, just confusing.

FYI, I used the following script

rm /tmp/batl.log
rm /tmp/bath.log
for i in $(seq 1 100); do 
echo $i
cat  /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
sleep 1
cat /sys/class/power_supply/BAT0/power_now  >> /tmp/batl.log
sleep 2
cat  /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq >/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
sleep 1
cat /sys/class/power_supply/BAT0/power_now  >> /tmp/bath.log

Then compare the mean of bath.log to batl.log

Comment 5 Josh Boyer 2013-09-18 20:50:58 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 19 kernel bugs.

Fedora 19 has now been rebased to 3.11.1-200.fc19.  Please test this kernel update and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you experience different issues, please open a new bug report for those.

Comment 6 Josh Boyer 2013-10-08 17:09:09 UTC
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 2 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.

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