Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] i7 4770K no ondemand governor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 263

PostPosted: Sun Jul 13, 2014 8:33 pm    Post subject: [Solved] i7 4770K no ondemand governor Reply with quote

Hi, I have i7 4770K CPU with base freq 3500MHz and turboboost 3900Mhz.

Code:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
3900000


but with this powersave governor I get only 3700MHz max. There is no ondemand governor as set in kernel.
When I set performance governor frequency is still 3500MHz with max 3900MHz under load.


Last edited by DeIM on Sun Jul 13, 2014 9:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2664
Location: Slovenia

PostPosted: Sun Jul 13, 2014 9:05 pm    Post subject: Reply with quote

It looks like you're using the intel_pstate driver. This one doesn't use the usual acpi_cpufreq governors, it uses two internal ones. The powersave governor in intel_pstate works like the acpi_cpufreq ondemand governor.

How did you test the powersave governor? Your CPU has 3.5 GHz with a 2/3/4/4 turbo configuration, meaning 2 turbo bins (3.7GHz) if all four cores are in use, 3 turbo bins (3.8 GHz) if three cores are in use , and 4 turbo bins (3.9 GHz) if one or two cores are in use. So if you stressed all cores during your test, getting 3.7 GHz is normal.
Back to top
View user's profile Send private message
DeIM
Apprentice
Apprentice


Joined: 11 Apr 2006
Posts: 263

PostPosted: Sun Jul 13, 2014 9:07 pm    Post subject: Reply with quote

Now it seems that it works. I changed settings in kernel back to ondemand and when I emerged something I saw in conky 3900 MHz :)
Thank you.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2664
Location: Slovenia

PostPosted: Sun Jul 13, 2014 9:31 pm    Post subject: Reply with quote

Do not look at conky and think you know what's going on with the CPU. Use proper tools. Those would be powertop, turbostat (you'll find it in the tools/power/x86/ directory of the kernel source) and i7z-git (the i7z release in portage is too old to support Haswell processors, it'll show wrong numbers).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum