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: gentoo-amd64-faq.xml
Date: Sun, 14 Jun 2009 22:55:20
Message-Id: E1MFybe-0005T5-16@stork.gentoo.org
1 nightmorph 09/06/14 22:55:18
2
3 Modified: gentoo-amd64-faq.xml
4 Log:
5 the hell with using cpudyn. it's antiquated, outdated, and a bitch to configure. now using cpufrequtils, which is extremely simple. also updated the kernel config, as it was completely outdated with recent kernels. fortunately, most of these options should already be set in the default config, so users won't have to change much. plus it works better for em64t users, too. less focused exclusively on AMD chips
6
7 Revision Changes Path
8 1.35 xml/htdocs/doc/en/gentoo-amd64-faq.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-amd64-faq.xml?rev=1.35&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-amd64-faq.xml?rev=1.35&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/gentoo-amd64-faq.xml?r1=1.34&r2=1.35
13
14 Index: gentoo-amd64-faq.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-amd64-faq.xml,v
17 retrieving revision 1.34
18 retrieving revision 1.35
19 diff -u -r1.34 -r1.35
20 --- gentoo-amd64-faq.xml 13 Jun 2009 07:38:31 -0000 1.34
21 +++ gentoo-amd64-faq.xml 14 Jun 2009 22:55:17 -0000 1.35
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/gentoo-amd64-faq.xml,v 1.34 2009/06/13 07:38:31 nightmorph Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-amd64-faq.xml,v 1.35 2009/06/14 22:55:17 nightmorph Exp $ -->
27
28 <guide link="/doc/en/gentoo-amd64-faq.xml">
29 <title>Gentoo Linux/AMD64 Frequently Asked Questions</title>
30 @@ -29,8 +29,8 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 -<version>1.25</version>
35 -<date>2009-06-13</date>
36 +<version>1.26</version>
37 +<date>2009-06-14</date>
38
39 <faqindex>
40 <title>Questions</title>
41 @@ -224,7 +224,7 @@
42 </body>
43 </section>
44 <section id="coolnquiet">
45 -<title>How do I use Cool'n'Quiet/PowerNow features?</title>
46 +<title>How do I use Cool'n'Quiet/PowerNow/SpeedStep features?</title>
47 <body>
48
49 <p>
50 @@ -232,31 +232,38 @@
51 to enable the features below:
52 </p>
53
54 -<pre caption="Kernel options for Cool'n'Quiet/PowerNow">
55 +<pre caption="Kernel options for Cool'n'Quiet/PowerNow/SpeedStep">
56 Power management options ---&gt;
57 [*] Power Management support
58 -CPU Frequency scaling ---&gt;
59 + [*] ACPI (Advanced Configuration and Power Interface) Support ---&gt;
60 + &lt;*&gt; Processor
61 + &lt;*&gt; Thermal Zone
62 + CPU Frequency scaling ---&gt;
63 [*] CPU Frequency scaling
64 - [*] CPU frequency table helpers
65 - [*] AMD Opteron/Athlon64 PowerNow!
66 + Default CPUFreq governor (ondemand) ---&gt;
67 + -*- 'performance' governor
68 + &lt;*&gt; 'userspace' governor for userspace frequency scaling
69 + -*- 'ondemand' cpufreq policy governor
70 + &lt;*&gt; ACPI Processor P-States driver
71 + &lt;*&gt; AMD Opteron/Athlon64 PowerNow!
72 +-*- CPU idle PM support
73 </pre>
74
75 <p>
76 -Then <c>emerge cpudyn</c> and edit <path>/etc/conf.d/cpudyn</path> with your
77 -favorite editor.
78 +Then <c>emerge cpufrequtils</c> and edit <path>/etc/conf.d/cpufrequtils</path>
79 +with your favorite editor.
80 </p>
81
82 -<pre caption="Example of /etc/conf.d/cpudyn">
83 -INTERVAL=1
84 -CPU_UP=0.5
85 -CPU_DOWN=0.9
86 -THROTTLING_LOW=7
87 -CPUFREQ_25="/sys/devices/system/cpu/cpu0/cpufreq /sysfs/devices/system/cpu/cpu0/cpufreq"
88 -CPUFREQ_ACPI="/proc/acpi/processor/CPU0/throttling"
89 +<pre caption="Example of /etc/conf.d/cpufrequtils">
90 +# Options when starting cpufreq (given to the 'cpufreq-set' program)
91 +START_OPTS="--governor ondemand"
92 +
93 +# Options when stopping cpufreq (given to the 'cpufreq-set' program)
94 +STOP_OPTS="--governor performance"
95 </pre>
96
97 <p>
98 -Now you only have to run <c>rc-update add cpudyn default</c> to make sure it is
99 +Now you only have to run <c>rc-update add cpufrequtils boot</c> to make sure it is
100 started every time you boot.
101 </p>