nightmorph 09/08/12 02:24:57 Modified: power-management-guide.xml Log: Rewrite some parts around the cpufreq comparison table. I missed these in the last commit when I switched stuff over to cpufrequtils as the default. Also added more examples on how to use cpufrequtils to show its flexibility. Other improvements elsewhere.
Revision Changes Path 1.41 xml/htdocs/doc/en/power-management-guide.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/power-management-guide.xml?rev=1.41&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/power-management-guide.xml?rev=1.41&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/power-management-guide.xml?r1=1.40&r2=1.41 Index: power-management-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- power-management-guide.xml 5 Aug 2009 14:51:17 -0000 1.40 +++ power-management-guide.xml 12 Aug 2009 02:24:57 -0000 1.41 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.40 2009/08/05 14:51:17 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.41 2009/08/12 02:24:57 nightmorph Exp $ --> <guide link="/doc/en/power-management-guide.xml"> <title>Power Management Guide</title> @@ -23,8 +23,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.43</version> -<date>2009-08-05</date> +<version>1.44</version> +<date>2009-08-11</date> <chapter> <title>Introduction</title> @@ -460,7 +460,7 @@ </body> </section> <section> -<title>Setting The Frequency Manually</title> +<title>Setting The Frequency</title> <body> <p> @@ -479,7 +479,7 @@ <p> It's time to test whether CPU frequency changing works. Let's install another -tool which is very handy for debugging purposes: <c>sys-power/cpufrequtils</c> +tool: <c>sys-power/cpufrequtils</c>. </p> <pre caption="Checking CPU frequency"> @@ -514,20 +514,37 @@ section</uri> in the end of this guide. </p> +<p> +<c>cpufrequtils</c> can operate in an automatic mode (when you use the +<b>ondemand</b> governor), you can also switch to the <b>userspace</b> governor +if you want to manually set a specific speed. You can also statically set your +CPU to its highest or lowest frequency by using the <b>performance</b> +and <b>powersave</b> governors, respectively. +</p> + +<pre caption="Changing CPU speeds"> +<comment>(Set the highest available frequency)</comment> +# <i>cpufreq-set -g performance</i> +<comment>(Set the lowest available frequency)</comment> +# <i>cpufreq-set -g powersave</i> +<comment>(Set a specific frequency)</comment> +# <i>cpufreq-set -g userspace</i> +# <i>cpufreq-set -f 2.00ghz</i> +</pre> + </body> </section> <section> -<title>Automated frequency adaption</title> +<title>Other CPU Speed Utilities</title> <body> <p> -The above is quite nice, but not doable in daily life. Better let your system -set the appropriate frequency automatically. There are many different -approaches to do this. The following table gives a quick overview to help you -decide on one of them. It's roughly separated in three categories <b>kernel</b> -for approaches that only need kernel support, <b>daemon</b> for programs that -run in the background and <b>graphical</b> for programs that provide a GUI for -easy configuration and changes. +While <c>cpufrequtils</c> may be the best all-around program, there are some +other choices available in Portage. The following table gives a quick overview +of available CPU speed utilities. It's roughly separated in three categories +<b>kernel</b> for approaches that only need kernel support, <b>daemon</b> for +programs that run in the background and <b>graphical</b> for programs that +provide a GUI for easy configuration and changes. </p> <table> @@ -741,7 +758,7 @@ <pre caption="Starting cpufreqd"> # <i>rc-update add cpufreqd default battery</i> -# <i>rc</i> +# <i>/etc/init.d/cpufreqd start</i> </pre> <p>
