LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1082|回复: 4

关于cpu 降频的问题

[复制链接]
发表于 2010-7-23 19:31:25 | 显示全部楼层 |阅读模式
为什么windows下和linux下面的最小频率不一样,例如在windows下会出现600M、而linux 最小是800。
  1. # cpufreq-info
  2. cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
  3. Report errors and bugs to cpufreq@vger.kernel.org, please.
  4. analyzing CPU 0:
  5.   driver: acpi-cpufreq
  6.   CPUs which run at the same hardware frequency: 0 1
  7.   CPUs which need to have their frequency coordinated by software: 0
  8.   maximum transition latency: 10.0 us.
  9.   hardware limits: 800 MHz - 2.10 GHz
  10.   available frequency steps: 2.10 GHz, 2.10 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  11.   available cpufreq governors: conservative, ondemand, powersave, userspace, performance
  12.   current policy: frequency should be within 800 MHz and 2.10 GHz.
  13.                   The governor "ondemand" may decide which speed to use
  14.                   within this range.
  15.   current CPU frequency is 800 MHz (asserted by call to hardware).
  16. analyzing CPU 1:
  17.   driver: acpi-cpufreq
  18.   CPUs which run at the same hardware frequency: 0 1
  19.   CPUs which need to have their frequency coordinated by software: 1
  20.   maximum transition latency: 10.0 us.
  21.   hardware limits: 800 MHz - 2.10 GHz
  22.   available frequency steps: 2.10 GHz, 2.10 GHz, 1.60 GHz, 1.20 GHz, 800 MHz
  23.   available cpufreq governors: conservative, ondemand, powersave, userspace, performance
  24.   current policy: frequency should be within 800 MHz and 2.10 GHz.
  25.                   The governor "ondemand" may decide which speed to use
  26.                   within this range.
  27.   current CPU frequency is 800 MHz (asserted by call to hardware).
复制代码

available frequency steps 识别是否有问题??
有人知道吗??

而且我在snow leopard里面查询到是有13档 最低档是600M
发表于 2010-7-23 22:58:00 | 显示全部楼层
楼主啥U啊,怎么用的是通用的ACPI模块.
像我用AMD的三核,用的是powernow-k8,intel处理器也应该有自己的模块吧.加载正确模块就应该能正确调频了吧

cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 2.90 GHz
  available frequency steps: 2.90 GHz, 2.20 GHz, 1.70 GHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 800 MHz and 2.90 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
analyzing CPU 1:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 2.90 GHz
  available frequency steps: 2.90 GHz, 2.20 GHz, 1.70 GHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 800 MHz and 2.90 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
analyzing CPU 2:
  driver: powernow-k8
  CPUs which run at the same hardware frequency: 2
  CPUs which need to have their frequency coordinated by software: 2
  maximum transition latency: 8.0 us.
  hardware limits: 800 MHz - 2.90 GHz
  available frequency steps: 2.90 GHz, 2.20 GHz, 1.70 GHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 800 MHz and 2.90 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-24 00:59:25 | 显示全部楼层
我现在是能降频的,不过只是和windows不一样,就是最低频率在windows下是600M,而linux里面是800M, 所以我觉得奇怪,好象linux里面不能识别所有可用于降频的cpu频率,这样linux里面温度会比windows里面高点的。

我是intel Core2 Duo T8100 (主频是2.1G)
驱动用的是 ACPI Processor P-States driver

  1.       *** CPUFreq processor drivers ***                          │ │  
  2.   │ │    < >   Processor Clocking Control interface driver                │ │  
  3.   │ │    <*>   ACPI Processor P-States driver                             │ │  
  4.   │ │    < >   AMD Opteron/Athlon64 PowerNow!                             │ │  
  5.   │ │    < >   Intel Enhanced SpeedStep (deprecated)                      │ │  
  6.   │ │    < >   Intel Pentium 4 clock modulation      
复制代码
回复 支持 反对

使用道具 举报

发表于 2010-7-24 08:19:35 | 显示全部楼层

cpufreqd 的改配置补丁

--- /toor/etc/cpufreqd.conf.===        2010-03-10 08:28:30.000000000 +0800
+++ /etc/cpufreqd.conf        2010-07-19 17:54:26.000000000 +0800
@@ -3,15 +3,16 @@

[General]
pidfile=/var/run/cpufreqd.pid
-poll_interval=2
+#=== poll_interval=2
+poll_interval=12
verbosity=4
-#enable_remote=1
-#remote_group=root
+enable_remote=1
+remote_group=root
[/General]

-#[acpi]
-#acpid_socket=/var/run/acpid.socket
-#[/acpi]
+[acpi]
+acpid_socket=/var/run/acpid.socket
+[/acpi]

#[nforce2_atxp1]
#vcore_path=/some/path
@@ -65,13 +66,13 @@
policy=powersave
[/Profile]

-#[Profile]
-#name=Conservative High
-#minfreq=33%
-#maxfreq=100%
-#policy=conservative
-#[/Profile]
-#
+[Profile]
+name=Conservative High
+minfreq=33%
+maxfreq=100%
+policy=conservative
+[/Profile]
+
#[Profile]
#name=Conservative Low
#minfreq=0%
@@ -86,7 +87,8 @@
[Rule]
name=AC Rule
ac=on                    # (on/off)
-profile=Performance High
+#=== profile=Performance High
+profile=Conservative High
[/Rule]
  
# conservative mode when not AC
回复 支持 反对

使用道具 举报

发表于 2010-7-24 10:26:30 | 显示全部楼层
Post by pdfan;2104893
--- /toor/etc/cpufreqd.conf.===        2010-03-10
+有史以来最有欺骗性、最无耻的贪腐官僚汉奸买办卖国贼修正主义走资反动派叛徒集团,是美帝在中国推行十条诫令的第五纵队,是中华民族的头号死敌。卖国投敌的开放和殖民化美其名曰“市场换技术”,将中国人民用血汗、资源、环境污染的高昂代价生产的产品以低廉的价格输送到美欧西方帝国,并将换到的1万多亿美元的资金供奉给美帝作投名状美其名曰“救自己”; 窃国自肥的改革和市场化美其名曰“搞活国企完善社会主义”,搞死了大多数国企化公为私迅速制造大批权贵官僚资产阶级“新阶层”和更多的下岗待业劳动大军“新阶层”,把平等劳动的社会主义生产关系变成放任资本剥削劳动的资本主义生产关系,造成阶级斗争扩大化日益尖锐,开历史倒车用教育难、就医难、住房难、养老难四座沉重大山压迫劳动人民,彻底破坏了社会和谐稳定的基础,把中国从铁板一块的强大国家变成了一盘散沙的肥大国家;奴颜卑膝的外交美其名曰“韬光养晦”,把我们的朋友遍天下变成了众叛亲离的孤家寡人,把一个统一的多民族国家变成了一个面临分裂崩溃边缘的国家。
  
# conservative mode when not AC

关于cpu降压,请看 http://www.linuxsir.cn/bbs/thread350360.html 搞了一下phc-intel, 提高cpu最低频

签名很有意思,其实世界最大的恶敌是小曰本及其在中国及全球各地b红色证权走狗。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表