Difference between revisions of "Talk:CPU frequency scaling"

From ArchWiki
Jump to: navigation, search
(Move to cpufrequtils)
m (Thermald and Haswell CPU's: fix your signature to something inoffensive)
 
(32 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Hi, I would like to have some feedback regarding my addition to this page: [[Cpufrequtils#Cpufrequtils and Laptop Mode Tools]].
+
== CPU frequency driver ==
  
Thank you.
+
"Note: As of kernel 3.4; the native cpu module is loaded automatically"
  
rent0n
+
I tested today in my netbook with Atom 330 with kernel 3.7 [testing]. the autoload module not working (after edit modules-load.d and reboot)
  
== Laptop mode ==
+
this still workinkg?
  
I think it's good. What we need, at least in my opinion, is to make this page a bit more pedagogic. As for now I see users becoming confused as to what module(s) they need and how to set it up. A user in the forum misunderstood this wiki page and struggled because he/she did add practically all possible modules to rc.conf.
+
greetings
  
== p4-clockmod + ondemand governor issues ==
+
-- [[User:Sl1pkn07|Sl1pkn07]] ([[User talk:Sl1pkn07|talk]]) 16:00, 21 January 2013 (UTC)
  
Hello,
+
: Worked for me now. More than 4 years after the [[User:Sl1pkn07|Sl1pkn07]]'s post. Most probably with other setup then his. [[User:Regid|Regid]] ([[User talk:Regid|talk]]) 22:27, 17 March 2017 (UTC)
I'd like to point out that there's an issue with the p4-clockmod driver combined with the ondemand governor,
 
as seen here:
 
  
https://bbs.archlinux.org/viewtopic.php?id=78408
+
== Intel Sandybridge and higher CPU governors ==
  
In short, the advice given in this wiki article isn't actually working(anymore) and for a newcomer(like me) there isn't really
+
[https://unix.stackexchange.com/questions/121410/setting-cpu-governor-to-on-demand-or-conservative Long story]
a working substitute(as in re-compiling the kernel and modules).
 
  
== acpid ==
+
===Short story===
 +
Sandybridge+ CPUs use specific Intel driver that has 2 governors: powersave (default) and performance. If you wish to use another governor, you need to disable this driver (more in the link above).[[User:Tharbad|Tharbad]] ([[User talk:Tharbad|talk]]) 15:55, 8 March 2016 (UTC)
  
I found that acpi events were not processed until I installed acpid and added that to the daemon list (I removed laptop-mode).
+
== Thermald and Haswell CPU's ==
  
== Move to [[cpufrequtils]] ==
+
Should probably mention that thermald doesn't fully work with Haswell CPU's?
  
I'm not sure why this page that specifically covers the cpufrequtils package was moved from cpufrequtils to this more generic title. The article title should match the package/utility described within, in my opinion. -- [[User:Pointone|pointone]] 18:41, 25 January 2011 (EST)
+
See: https://github.com/intel/thermal_daemon/issues/135
 +
Also: https://github.com/intel/thermal_daemon/issues/82
  
:The page contains incorrect information right now - it confuses the kernel's cpufreq with the userspace cpufrequtils package. All of the stuff on the page about drivers/modules, governors, /sys, etc. is independent of cpufreq'''utils'''. cpufrequtils provides a daemon script to set the governors and 3 userspace utilities, which offer similar functionality to the /sys filesystem and powertop. The two methods on the page for using laptop-mode-tools and acpid to set the governor are completely independent of cpufrequtils. I moved the page here after someone resurrected the old version that got merged into this article, because they were right that cpufrequtils != cpufreq, but there was also no reason to have 2 pages describing the same stuff. [[User:Thestinger|thestinger]] 19:29, 25 January 2011 (EST)
+
{{unsigned|13:55, 9 August 2017‎|Utini2000}}
 
 
::I resurrected this page because of the reason mentioned by Thestinger. You only need the kernel modules (and to set a governor other than performance) for frequency scaling to work, any additional tools aren't needed (and thus don't "comply" with [[The Arch Way]]). Personally I'd suggest to either collect all tools/daemons on this page in a separate section and have either the pages for all individual tools/daemons redirect to this page or remove all those pages. The other options would be to either have one page with all tools/daemons on it or separate pages for all individual tools/daemons and link them from this page in a separate section. [[User:Aaahaaap|Aaahaaap]] 14:16, 27 January 2011 (EST)
 
 
 
:::A clean article explaining the various available modules / governors would get my vote, tools to do additional configuration should have a private section in this same article.
 
::: I would suggest something like this:
 
::: 1 - Configuration (explain the requirements, note that 3.4+ kernels will auto-load and provide users with a working setup)
 
::: 2 - CPU frequency drivers (detail a list of available drivers, match them to chipsets)
 
::: 3 - Governors (detail a list of available governors, explain their intended use)
 
::: 4 - Userspace tools (cpufreq, pm-utils etc etc)
 
::: 5 - Troubleshooting
 
:::
 
::: We might consider extracting the user-space tools configuration to separate wiki-pages per user-space tool and linking to those articles. I doubt these user-space tools have such expansive features that they require such an approach though, I'd leave them included here. Snug together in a private section.
 
:::
 
::: Something like this: https://wiki.archlinux.org/index.php/User:Stefanwilkens ?
 
:::--[[User:Stefanwilkens|stefanwilkens]] ([[User talk:Stefanwilkens|talk]]) 10:45, 15 September 2012 (UTC)
 
 
 
== Troubleshooting - BIOS frequency limitation ==
 
I tried to rewrite this section with my very limited knowledge on this topic so there's not so much confusing details about specific hardware and more general explanation. (That I hope is not completely wrong)
 
 
 
Can anyone with more ACPI,hardware,etc.-knowledge give an assessment if the warnings must be so strict.
 
In fact I've used my old thinkpad with a completely dead battery and this "solution" for over two years now without any problems, even not under relative demanding ego-shooters ;)
 
 
 
Just didn't want to ruin other peoples hardware.
 
 
 
It's always nice to get feedback :)
 
 
 
btw. any idea why there is the accuracy template for the whole troubleshooting-section without any reason written there? thx
 
[[User:Nonix|Nonix]] ([[User talk:Nonix|talk]]) 00:01, 17 August 2012 (UTC)
 

Latest revision as of 14:10, 9 August 2017

CPU frequency driver

"Note: As of kernel 3.4; the native cpu module is loaded automatically"

I tested today in my netbook with Atom 330 with kernel 3.7 [testing]. the autoload module not working (after edit modules-load.d and reboot)

this still workinkg?

greetings

-- Sl1pkn07 (talk) 16:00, 21 January 2013 (UTC)

Worked for me now. More than 4 years after the Sl1pkn07's post. Most probably with other setup then his. Regid (talk) 22:27, 17 March 2017 (UTC)

Intel Sandybridge and higher CPU governors

Long story

Short story

Sandybridge+ CPUs use specific Intel driver that has 2 governors: powersave (default) and performance. If you wish to use another governor, you need to disable this driver (more in the link above).Tharbad (talk) 15:55, 8 March 2016 (UTC)

Thermald and Haswell CPU's

Should probably mention that thermald doesn't fully work with Haswell CPU's?

See: https://github.com/intel/thermal_daemon/issues/135 Also: https://github.com/intel/thermal_daemon/issues/82

—This unsigned comment is by Utini2000 (talk) 13:55, 9 August 2017‎. Please sign your posts with ~~~~!