1 |
r0bertz 10/01/02 18:20:04 |
2 |
|
3 |
Modified: power-management-guide.xml |
4 |
Log: |
5 |
[zh_cn] updated power-management-guide.xml |
6 |
|
7 |
Revision Changes Path |
8 |
1.8 xml/htdocs/doc/zh_cn/power-management-guide.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.8&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?rev=1.8&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml?r1=1.7&r2=1.8 |
13 |
|
14 |
Index: power-management-guide.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v |
17 |
retrieving revision 1.7 |
18 |
retrieving revision 1.8 |
19 |
diff -u -r1.7 -r1.8 |
20 |
--- power-management-guide.xml 3 Jul 2009 18:11:16 -0000 1.7 |
21 |
+++ power-management-guide.xml 2 Jan 2010 18:20:04 -0000 1.8 |
22 |
@@ -1,8 +1,8 @@ |
23 |
<?xml version='1.0' encoding="utf-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.7 2009/07/03 18:11:16 r0bertz Exp $--> |
27 |
-<!--English CVS version: 1.39--> |
28 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/power-management-guide.xml,v 1.8 2010/01/02 18:20:04 r0bertz Exp $--> |
29 |
+<!--English CVS version: 1.41--> |
30 |
<guide link="/doc/zh_cn/power-management-guide.xml" lang="zh_cn"> |
31 |
<title>电源管理指导</title> |
32 |
|
33 |
@@ -27,8 +27,8 @@ |
34 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
35 |
<license/> |
36 |
|
37 |
-<version>1.41</version> |
38 |
-<date>2008-09-28</date> |
39 |
+<version>1.44</version> |
40 |
+<date>2009-08-11</date> |
41 |
|
42 |
<chapter> |
43 |
<title>介绍</title> |
44 |
@@ -127,7 +127,7 @@ |
45 |
|
46 |
<pre caption="电源管理的内核最简设置(内核2.6)"> |
47 |
Power management and ACPI options ---> |
48 |
- [*] Power Management Support |
49 |
+ [*] Power Management support |
50 |
[ ] Software Suspend |
51 |
|
52 |
ACPI( Advanced Configuration and Power Interface ) Support ---> |
53 |
@@ -370,7 +370,7 @@ |
54 |
</body> |
55 |
</section> |
56 |
<section> |
57 |
-<title>手动设定主频</title> |
58 |
+<title>设定主频</title> |
59 |
<body> |
60 |
|
61 |
<p> |
62 |
@@ -383,7 +383,7 @@ |
63 |
</note> |
64 |
|
65 |
<p> |
66 |
-现在让我们来测试一下你CPU降频能不能工作。让我们装上另一个非常方便用于debug的工具:<c>sys-power/cpufrequtils</c>。 |
67 |
+现在让我们来测试一下你CPU降频能不能工作。让我们装上另一个工具:<c>sys-power/cpufrequtils</c>。 |
68 |
</p> |
69 |
|
70 |
<pre caption="确定CPU主频"> |
71 |
@@ -411,19 +411,31 @@ |
72 |
</pre> |
73 |
|
74 |
<p> |
75 |
-现在让我们用<c>cpufreq-set</c>来折腾一下来看看主频调整能否工作。比如,运行一下<c>cpufreq-set -g |
76 |
-ondemand</c>来激活ondemand管理器,然后用<c>cpufreq-info</c>来确认一下。如果它没有像预期的那样工作,你或许可以从指导末尾的<uri |
77 |
-link="#doc_chap8">常见问题部分</uri>中找到答案。 |
78 |
+现在让我们用<c>cpufreq-set</c>来折腾一下来看看主频调整能否工作。比如,运行一下<c>cpufreq-set -g ondemand</c>来激活ondemand管理器,然后用<c>cpufreq-info</c>来确认一下。如果它没有像预期的那样工作,你或许可以从指导末尾的<uri link="#doc_chap8">常见问题部分</uri>中找到答案。 |
79 |
</p> |
80 |
|
81 |
+<p> |
82 |
+<c>cpufrequtils</c>能够以自动模式运行(当你使用<b>ondemand</b>管理器的时候),当你是想手动设置特定主频的时候,你也可以切换到<b>userspace</b>管理器。你也可以静态地用<b>performance</b>或<b>powersave</b>分别将CPU的主频设为最高或最低。 |
83 |
+</p> |
84 |
+ |
85 |
+<pre caption="改变CPU主频"> |
86 |
+<comment>(设为可用的最高主频)</comment> |
87 |
+# <i>cpufreq-set -g performance</i> |
88 |
+<comment>(设为可用的最低主频)</comment> |
89 |
+# <i>cpufreq-set -g powersave</i> |
90 |
+<comment>(设为特定主频)</comment> |
91 |
+# <i>cpufreq-set -g userspace</i> |
92 |
+# <i>cpufreq-set -f 2.00ghz</i> |
93 |
+</pre> |
94 |
+ |
95 |
</body> |
96 |
</section> |
97 |
<section> |
98 |
-<title>主频自适应</title> |
99 |
+<title>其他CPU主频工具</title> |
100 |
<body> |
101 |
|
102 |
<p> |
103 |
-上面的方法是不错,但是不方便在日常中应用。最好让你的系统自动设置主频。有很多方式来达到这个目的。下面的表格的介绍帮你你决定采用哪一个。它可以简要地分为三类:<b>内核类</b>,即需要内核支持;<b>后台类</b>,即用运行在后台的程序来做;<b>图形界面类</b>,即提供图形界面方便用户设置和调整。 |
104 |
+虽然<c>cpufrequtils</c>可能是最全面的程序了,但Portage中还有其他选择。下面的表格是可用CPU主频工具的速览。它可以简要地分为三类:<b>内核类</b>,即需要内核支持;<b>后台类</b>,即用运行在后台的程序来实现;<b>图形界面类</b>,即提供图形界面方便用户设置和调整。 |
105 |
</p> |
106 |
|
107 |
<table> |
108 |
@@ -613,7 +625,7 @@ |
109 |
|
110 |
<pre caption="启动cpufreqd"> |
111 |
# <i>rc-update add cpufreqd default battery</i> |
112 |
-# <i>rc</i> |
113 |
+# <i>/etc/init.d/cpufreqd start</i> |
114 |
</pre> |
115 |
|
116 |
<p> |
117 |
@@ -1028,9 +1040,7 @@ |
118 |
<pre caption="各种睡眠状态的内核设置"> |
119 |
Power Management Options ---> |
120 |
[*] Power Management support |
121 |
- ACPI (Advanced Configuration and Power Interface) Support ---> |
122 |
- [*] ACPI Support |
123 |
- [*] Sleep States |
124 |
+ [*] Suspend to RAM and standby |
125 |
</pre> |
126 |
|
127 |
<p> |
128 |
@@ -1097,7 +1107,7 @@ |
129 |
</p> |
130 |
|
131 |
<pre caption="各种睡眠状态的内核设置"> |
132 |
-Power management and ACPI Options ---> |
133 |
+Power management support ---> |
134 |
<comment>(hibernate with swsusp)</comment> |
135 |
[*] Hibernation (aka 'suspend to disk') |
136 |
<comment>(replace /dev/SWAP with your swap partition)</comment> |