最初,这个问题是关于为什么当我购买2300 mhz服务器cpu时,我的cpuinfo mhz为1400。
借助HBruijn (thx!)使用cpufreq-info工具,我发现了我真正的规范:
analyzing CPU 7:
driver: powernow-k8
CPUs which run at the same hardware frequency: 7
CPUs which need to have their frequency coordinated by software: 7
maximum transition latency: 8.0 us.
hardware limits: 1.40 GHz - 2.40 GHz
available frequency steps: 2.40 GHz, 2.10 GHz, 1.90 GHz, 1.60 GHz, 1.40 GHz
available cpufreq governors: userspace, powersave, conservative, ondemand, performance
current policy: frequency should be within 1.40 GHz and 2.40 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.40 GHz (asserted by call to hardware).问题:
让驱动程序决定cpu的功耗(1400 the,低使用率)是好的,还是服务器将频率永久设置为尽可能高(2300 the )更好?
发布于 2013-11-14 12:22:38
原来的答案:
我会说的话。
3280 CPU产品描述指定8个核心,基频为2400 Hz。它与您的/proc/cpuinfo或发票上的8x2.3 GHz不匹配.
转译自https://wiki.debian.org/HowTo/CpuFrequencyScaling
apt-get install cpufrequtils编辑/etc/default/cpufrequtils (如果它不存在可能需要创建它),并使用调控器变量指定调控器:
# /etc/default/cpufrequtils
# get valid values from cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
# typically: userspace conservative powersave ondemand performance
GOVERNOR="conservative"那得看情况。一直都是真的。
IBM有一系列关于Linux功耗、调优和CPU节流的这里 part2 part3。信息非常丰富。
结论:性能调速器具有最高的性能和最低的延迟,但从每瓦特性能来看,表现最差。
所以从生态学的角度来看,用保守的方法。如果你为自己的电力消耗付费,也要这样做。如果您需要最大的性能和能力包括在您的rackspace,然后设置为最大的时间。
https://serverfault.com/questions/554976
复制相似问题