/[gentoo]/xml/htdocs/doc/en/power-management-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/power-management-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
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/power-management-guide.xml,v 1.6 2004/10/06 07:13:31 swift Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.7 2004/10/11 00:51:36 vapier Exp $ -->
4<guide link="power-management-guide.xml"> 4<guide link="power-management-guide.xml">
5<title>Power Management Guide</title> 5<title>Power Management Guide</title>
6 6
7<author title="Author"> 7<author title="Author">
8 <mail link="fragfred@gmx.de">Dennis Nienh&#252;ser</mail> 8 <mail link="fragfred@gmx.de">Dennis Nienh&#252;ser</mail>
15 15
16<!-- The content of this document is licensed under the CC-BY-SA license --> 16<!-- The content of this document is licensed under the CC-BY-SA license -->
17<!-- See http://creativecommons.org/licenses/by-sa/2.0 --> 17<!-- See http://creativecommons.org/licenses/by-sa/2.0 -->
18<license/> 18<license/>
19 19
20<version>1.16</version> 20<version>1.17</version>
21<date>October 06, 2004</date> 21<date>October 10, 2004</date>
22 22
23<chapter> 23<chapter>
24<title>Introduction</title> 24<title>Introduction</title>
25 25
26<section> 26<section>
351another CPU speed, use: 351another CPU speed, use:
352</p> 352</p>
353 353
354<pre caption="Manual CPU speed modifications"> 354<pre caption="Manual CPU speed modifications">
355<comment>(Get current frequency)</comment> 355<comment>(Get current frequency)</comment>
356# <i>cat /proc/cpuinfo | grep "cpu MHz"</i> 356# <i>grep "cpu MHz" /proc/cpuinfo</i>
357 357
358<comment>(Lists supported frequencies. This might fail.)</comment> 358<comment>(Lists supported frequencies. This might fail.)</comment>
359# <i>cd /sys/devices/system/cpu/cpu0/cpufreq/</i> 359# <i>cd /sys/devices/system/cpu/cpu0/cpufreq/</i>
360# <i>cat scaling_available_frequencies</i> 360# <i>cat scaling_available_frequencies</i>
361 361
363Replace with a frequency your laptop supports.)</comment> 363Replace with a frequency your laptop supports.)</comment>
364# <i>echo -n userspace > scaling_governor</i> 364# <i>echo -n userspace > scaling_governor</i>
365# <i>echo -n 1000000 > scaling_setspeed</i> 365# <i>echo -n 1000000 > scaling_setspeed</i>
366 366
367<comment>(Verify frequency was changed)</comment> 367<comment>(Verify frequency was changed)</comment>
368# <i>cat /proc/cpuinfo | grep "cpu MHz"</i> 368# <i>grep "cpu MHz" /proc/cpuinfo</i>
369</pre> 369</pre>
370 370
371<p> 371<p>
372If you are getting error messages, please refer to the <e>Troubleshooting</e> 372If you are getting error messages, please refer to the <e>Troubleshooting</e>
373chapter in the end of this guide. 373chapter in the end of this guide.
552The last thing to check is that your new policies do a good job. An easy way to 552The last thing to check is that your new policies do a good job. An easy way to
553do so is monitoring the CPU speed while working with your laptop: 553do so is monitoring the CPU speed while working with your laptop:
554</p> 554</p>
555 555
556<pre caption="Monitoring CPU speed"> 556<pre caption="Monitoring CPU speed">
557# <i>watch -n 1 cat /proc/cpuinfo | grep "cpu MHz"</i> 557# <i>watch -n 1 grep "cpu MHz" /proc/cpuinfo</i>
558</pre> 558</pre>
559 559
560<p> 560<p>
561If <path>/proc/cpuinfo</path> doesn't get updated (see above), monitor the CPU 561If <path>/proc/cpuinfo</path> doesn't get updated (see above), monitor the CPU
562frequency with: 562frequency with:

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20