我租了一个服务器,该服务器应具有“ 2核心x 2,2 GHz”。在运行命令时,cat /proc/cpuinfo
我得到以下结果:
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : Dual-Core AMD Opteron(tm) Processor 1218 HE
stepping : 3
cpu MHz : 1000.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips : 2009.48
clflush size : 64
power management: ts fid vid ttp tm stc
processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : Dual-Core AMD Opteron(tm) Processor 1218 HE
stepping : 3
cpu MHz : 1000.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips : 2009.48
clflush size : 64
power management: ts fid vid ttp tm stc
那里说2 * 1000 MHz。我打电话给我的提供商,他们说没有显示2.2 GHz,但是已经安装了。怎么可能?
正如bandito所写,输入的信息/proc/cpuinfo
是实时的,将被更新以显示当前的CPU频率。大多数现代系统都根据当前需求扩展CPU频率。在Linux系统上,这由“ cpu调控器”控制。如果将其设置为“ ondemand”,则CPU频率将根据服务器的当前负载进行缩放。
您可以使用以下命令检查设置了哪个调节器:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
可用的选项有:
您可以在此处找到有关它们的更多信息。
要检查CPU可用的实际最大频率,可以使用以下cpufreq-info
程序(如果已安装):
cpufreq-info | grep "available frequency steps"
在我的系统上,这显示:
available frequency steps: 2.67 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz
您还可以看到由硬件设置的频率限制,如下所示:
cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit
或者,您可以启动CPU密集型进程,然后/proc/cpuinfo
再次检查,如果一切正常,则频率现在应该不同。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句