| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-amd64-faq.xml,v 1.34 2009/06/13 07:38:31 nightmorph Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-amd64-faq.xml,v 1.35 2009/06/14 22:55:17 nightmorph Exp $ --> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/gentoo-amd64-faq.xml"> |
5 | <guide link="/doc/en/gentoo-amd64-faq.xml"> |
| 6 | <title>Gentoo Linux/AMD64 Frequently Asked Questions</title> |
6 | <title>Gentoo Linux/AMD64 Frequently Asked Questions</title> |
| 7 | |
7 | |
| 8 | <author title="Editor"> |
8 | <author title="Editor"> |
| … | |
… | |
| 27 | |
27 | |
| 28 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
28 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 29 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
29 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 30 | <license/> |
30 | <license/> |
| 31 | |
31 | |
| 32 | <version>1.25</version> |
32 | <version>1.26</version> |
| 33 | <date>2009-06-13</date> |
33 | <date>2009-06-14</date> |
| 34 | |
34 | |
| 35 | <faqindex> |
35 | <faqindex> |
| 36 | <title>Questions</title> |
36 | <title>Questions</title> |
| 37 | <section> |
37 | <section> |
| 38 | <title>Introduction to Gentoo/AMD64 FAQ</title> |
38 | <title>Introduction to Gentoo/AMD64 FAQ</title> |
| … | |
… | |
| 222 | </p> |
222 | </p> |
| 223 | |
223 | |
| 224 | </body> |
224 | </body> |
| 225 | </section> |
225 | </section> |
| 226 | <section id="coolnquiet"> |
226 | <section id="coolnquiet"> |
| 227 | <title>How do I use Cool'n'Quiet/PowerNow features?</title> |
227 | <title>How do I use Cool'n'Quiet/PowerNow/SpeedStep features?</title> |
| 228 | <body> |
228 | <body> |
| 229 | |
229 | |
| 230 | <p> |
230 | <p> |
| 231 | You have to compile your kernel with support for these features. You just need |
231 | You have to compile your kernel with support for these features. You just need |
| 232 | to enable the features below: |
232 | to enable the features below: |
| 233 | </p> |
233 | </p> |
| 234 | |
234 | |
| 235 | <pre caption="Kernel options for Cool'n'Quiet/PowerNow"> |
235 | <pre caption="Kernel options for Cool'n'Quiet/PowerNow/SpeedStep"> |
| 236 | Power management options ---> |
236 | Power management options ---> |
| 237 | [*] Power Management support |
237 | [*] Power Management support |
|
|
238 | [*] ACPI (Advanced Configuration and Power Interface) Support ---> |
|
|
239 | <*> Processor |
|
|
240 | <*> Thermal Zone |
| 238 | CPU Frequency scaling ---> |
241 | CPU Frequency scaling ---> |
| 239 | [*] CPU Frequency scaling |
242 | [*] CPU Frequency scaling |
| 240 | [*] CPU frequency table helpers |
243 | Default CPUFreq governor (ondemand) ---> |
|
|
244 | -*- 'performance' governor |
|
|
245 | <*> 'userspace' governor for userspace frequency scaling |
|
|
246 | -*- 'ondemand' cpufreq policy governor |
|
|
247 | <*> ACPI Processor P-States driver |
| 241 | [*] AMD Opteron/Athlon64 PowerNow! |
248 | <*> AMD Opteron/Athlon64 PowerNow! |
|
|
249 | -*- CPU idle PM support |
| 242 | </pre> |
250 | </pre> |
| 243 | |
251 | |
| 244 | <p> |
252 | <p> |
| 245 | Then <c>emerge cpudyn</c> and edit <path>/etc/conf.d/cpudyn</path> with your |
253 | Then <c>emerge cpufrequtils</c> and edit <path>/etc/conf.d/cpufrequtils</path> |
| 246 | favorite editor. |
254 | with your favorite editor. |
| 247 | </p> |
255 | </p> |
| 248 | |
256 | |
| 249 | <pre caption="Example of /etc/conf.d/cpudyn"> |
257 | <pre caption="Example of /etc/conf.d/cpufrequtils"> |
| 250 | INTERVAL=1 |
258 | # Options when starting cpufreq (given to the 'cpufreq-set' program) |
| 251 | CPU_UP=0.5 |
259 | START_OPTS="--governor ondemand" |
| 252 | CPU_DOWN=0.9 |
260 | |
| 253 | THROTTLING_LOW=7 |
261 | # Options when stopping cpufreq (given to the 'cpufreq-set' program) |
| 254 | CPUFREQ_25="/sys/devices/system/cpu/cpu0/cpufreq /sysfs/devices/system/cpu/cpu0/cpufreq" |
262 | STOP_OPTS="--governor performance" |
| 255 | CPUFREQ_ACPI="/proc/acpi/processor/CPU0/throttling" |
|
|
| 256 | </pre> |
263 | </pre> |
| 257 | |
264 | |
| 258 | <p> |
265 | <p> |
| 259 | Now you only have to run <c>rc-update add cpudyn default</c> to make sure it is |
266 | Now you only have to run <c>rc-update add cpufrequtils boot</c> to make sure it is |
| 260 | started every time you boot. |
267 | started every time you boot. |
| 261 | </p> |
268 | </p> |
| 262 | |
269 | |
| 263 | <note> |
270 | <note> |
| 264 | You may want to read the <uri |
271 | You may want to read the <uri |