我们刚刚得到了一个戴尔服务器(PowerEdge R330),它有一个E3-1240 v5 CPU:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 94
model name : Intel(R) Xeon(R) CPU E3-1240 v5 @ 3.50GHz
stepping : 3
microcode : 0x9e
cpu MHz : 3502.916
cache size : 8192 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt
bogomips : 7005.83
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
有四个这样的核心。机器正在运行Debian 8,运行默认的Linux内核。
我们的内部工具之一需要检查/设置通常在:/sys/devices/system/cpu/cpu<N>/cpufreq/scaling_governor
中找到的CPU调控器,其中<N>
是核心号码。但是,这些文件不存在。
查看cpufreq-info:
$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
analyzing CPU 1:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
analyzing CPU 2:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
analyzing CPU 3:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 4294.55 ms.
Linux真的不支持在这台机器上进行频率缩放,还是我需要安装一些东西?我需要在BIOS中摆弄一些设置吗?通常情况下,cpufreq会计算出盒子。
谢谢
发布于 2016-11-24 16:07:37
现代英特尔处理器使用P状态来控制CPU频率.当Linux使用此驱动程序时,它将是可见的:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
intel_pstate
Debian3.16内核是足够新的,并且实际上有intel_pstate
驱动程序,所以它应该可以工作。我的第一个嫌疑人是BIOS设置。不幸的是,戴尔似乎没有很好的记录在案这些设置,所以我可以告诉你,最有可能的地方是在系统配置文件设置下的BIOS,但我手头没有这些服务器之一,所以我不能确切地说,哪个选项可能会解决问题。
发布于 2019-07-29 13:30:23
在双服务器上,使用cpupower
管理频率缩放,我需要:
modprobe acpi-cpufreq
&将模块设置为在引导时加载。
https://serverfault.com/questions/816888
复制相似问题