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

我们刚买了一台配备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:

有四个这样的核心.该机器正在运行Debian 8,运行认的Linux内核.

我们的内部工具之一需要检查/设置通常在以下位置找到的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 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通常可以解决这个问题.

谢谢

解决方法

现代英特尔处理器使用P状态进行cpu频率控制.当Linux使用此驱动程序时,它将是可见的:
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
intel_pstate

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

相关文章

Linux中的ARP防火墙主要用于防御ARP欺骗攻击,其效果取决于多...
insmod和modprobe加-f参数导致Invalid module format错误 这...
将ArchLinux安装到U盘 几个月前入门Arch的时候上网搜了不少安...
1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...