Gentoo Archives: gentoo-doc-cvs

From: "Joshua Saddler (nightmorph)" <nightmorph@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: power-management-guide.xml
Date: Wed, 12 Aug 2009 02:24:59
Message-Id: E1Mb3WL-0002ro-Qn@stork.gentoo.org
1 nightmorph 09/08/12 02:24:57
2
3 Modified: power-management-guide.xml
4 Log:
5 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.
6
7 Revision Changes Path
8 1.41 xml/htdocs/doc/en/power-management-guide.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/power-management-guide.xml?rev=1.41&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/power-management-guide.xml?rev=1.41&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/power-management-guide.xml?r1=1.40&r2=1.41
13
14 Index: power-management-guide.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v
17 retrieving revision 1.40
18 retrieving revision 1.41
19 diff -u -r1.40 -r1.41
20 --- power-management-guide.xml 5 Aug 2009 14:51:17 -0000 1.40
21 +++ power-management-guide.xml 12 Aug 2009 02:24:57 -0000 1.41
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.40 2009/08/05 14:51:17 nightmorph Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.41 2009/08/12 02:24:57 nightmorph Exp $ -->
27 <guide link="/doc/en/power-management-guide.xml">
28 <title>Power Management Guide</title>
29
30 @@ -23,8 +23,8 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 -<version>1.43</version>
35 -<date>2009-08-05</date>
36 +<version>1.44</version>
37 +<date>2009-08-11</date>
38
39 <chapter>
40 <title>Introduction</title>
41 @@ -460,7 +460,7 @@
42 </body>
43 </section>
44 <section>
45 -<title>Setting The Frequency Manually</title>
46 +<title>Setting The Frequency</title>
47 <body>
48
49 <p>
50 @@ -479,7 +479,7 @@
51
52 <p>
53 It's time to test whether CPU frequency changing works. Let's install another
54 -tool which is very handy for debugging purposes: <c>sys-power/cpufrequtils</c>
55 +tool: <c>sys-power/cpufrequtils</c>.
56 </p>
57
58 <pre caption="Checking CPU frequency">
59 @@ -514,20 +514,37 @@
60 section</uri> in the end of this guide.
61 </p>
62
63 +<p>
64 +<c>cpufrequtils</c> can operate in an automatic mode (when you use the
65 +<b>ondemand</b> governor), you can also switch to the <b>userspace</b> governor
66 +if you want to manually set a specific speed. You can also statically set your
67 +CPU to its highest or lowest frequency by using the <b>performance</b>
68 +and <b>powersave</b> governors, respectively.
69 +</p>
70 +
71 +<pre caption="Changing CPU speeds">
72 +<comment>(Set the highest available frequency)</comment>
73 +# <i>cpufreq-set -g performance</i>
74 +<comment>(Set the lowest available frequency)</comment>
75 +# <i>cpufreq-set -g powersave</i>
76 +<comment>(Set a specific frequency)</comment>
77 +# <i>cpufreq-set -g userspace</i>
78 +# <i>cpufreq-set -f 2.00ghz</i>
79 +</pre>
80 +
81 </body>
82 </section>
83 <section>
84 -<title>Automated frequency adaption</title>
85 +<title>Other CPU Speed Utilities</title>
86 <body>
87
88 <p>
89 -The above is quite nice, but not doable in daily life. Better let your system
90 -set the appropriate frequency automatically. There are many different
91 -approaches to do this. The following table gives a quick overview to help you
92 -decide on one of them. It's roughly separated in three categories <b>kernel</b>
93 -for approaches that only need kernel support, <b>daemon</b> for programs that
94 -run in the background and <b>graphical</b> for programs that provide a GUI for
95 -easy configuration and changes.
96 +While <c>cpufrequtils</c> may be the best all-around program, there are some
97 +other choices available in Portage. The following table gives a quick overview
98 +of available CPU speed utilities. It's roughly separated in three categories
99 +<b>kernel</b> for approaches that only need kernel support, <b>daemon</b> for
100 +programs that run in the background and <b>graphical</b> for programs that
101 +provide a GUI for easy configuration and changes.
102 </p>
103
104 <table>
105 @@ -741,7 +758,7 @@
106
107 <pre caption="Starting cpufreqd">
108 # <i>rc-update add cpufreqd default battery</i>
109 -# <i>rc</i>
110 +# <i>/etc/init.d/cpufreqd start</i>
111 </pre>
112
113 <p>