E3-1240 v5 cpufreq-info说:“没有或未知的cpufreq驱动程序在此CPU上处于活动状态”

我们刚刚拿到一台带有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: 

有四个这样的内核。 该机器正在运行运行默认Linux内核的Debian 8。

我们的一个内部工具需要检查/设置通常位于/sys/devices/system/cpu/cpu<N>/cpufreq/scaling_governor的CPU调速/sys/devices/system/cpu/cpu<N>/cpufreq/scaling_governor ,其中<N>是核心编号。 但是这些文件不存在。

看着cpufreq-info:

 $ cpufreq-info cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to [email protected], 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通常在盒子里工作。

谢谢

现代英特尔处理器使用P状态进行CPU频率控制。 当Linux使用这个驱动程序时,它将是可见的,因此:

 # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver intel_pstate 

Debian 3.16内核足够新,实际上有intel_pstate驱动程序,所以它应该工作。 我的第一个嫌疑人将是一个BIOS设置。 不幸的是,戴尔似乎没有很好的logging这些设置,所以我可以告诉你,最有可能的地方是在BIOS中的系统configuration文件设置下,但我手边没有这些服务器之一,所以我不能说究竟哪个选项可以解决这个问题。