Edd*_*ett 6 linux dell-poweredge
我们刚刚获得了一台配备 E3-1240 v5 CPU 的戴尔服务器 (PowerEdge R330):
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:
Run Code Online (Sandbox Code Playgroud)
有四个这样的核心。该机器正在运行 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.
Run Code Online (Sandbox Code Playgroud)
Linux真的不支持这台机器上的频率缩放,还是我需要安装一些东西?我需要在 BIOS 中修改一些设置吗?cpufreq 通常可以解决这个问题。
谢谢
现代英特尔处理器使用 P 状态来控制 CPU 频率。当 Linux 使用此驱动程序时,它将是可见的:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
intel_pstate
Run Code Online (Sandbox Code Playgroud)
Debian 3.16 内核足够新并且实际上有intel_pstate驱动程序,所以它应该可以工作。我的第一个怀疑是 BIOS 设置。不幸的是,戴尔似乎没有很好地记录这些设置,所以我可以告诉你最有可能的位置是在BIOS 中的系统配置文件设置下,但我手头没有这些服务器,所以我不能说究竟哪个选项可以解决问题。