首页 文章

针对KVM Guest的Intel Turbo增强版

提问于
浏览
1

如果这是一个愚蠢的问题,请原谅我,但是,我很好奇为什么在通过KVM / QEMU将fedora用作访客VM时,我没有看到任何时钟速度差异 .

也许这是结束这些事情的一种相当愚蠢的方式,但是当我做cat / proc / cpuinfo |时grep MHz它始终是相同的,它是我的xeons宣传的基本时钟速度 .

是否有一些选项我必须通过virsh才能启用turbo boost?

这可能会有所帮助:

[jflowers@console ~]$ sudo lshw -class processor*-cpu                     
   description: CPU
   product: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
   vendor: Intel Corp.
   physical id: 400
   bus info: cpu@0
   version: pc-q35-2.3
   slot: CPU 0
   size: 2GHz
   capacity: 2GHz
   width: 64 bits
   capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt
   configuration: cores=30 enabledcores=30 threads=1*-processor UNCLAIMED
   description: SCSI Processor
   product: Console
   vendor: Marvell
   physical id: 0.0.0
   bus info: scsi@7:0.0.0
   version: 1.01
   capabilities: removable
   configuration: ansiversion=5

还有一个不同的用途:

[jflowers@console ~]$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                30
On-line CPU(s) list:   0-29
Thread(s) per core:    1
Core(s) per socket:    30
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 79
Model name:            Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Stepping:              1
CPU MHz:               2195.304
BogoMIPS:              4390.60
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              25600K
NUMA node0 CPU(s):     0-29
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt

1 回答

  • 0

    guest虚拟机中/ proc / cpuinfo中显示的速度无意义/无关紧要 . 无论它在那里说什么,CPU都将以主机CPU支持的速度运行 . IOW,如果您的客户正在做一些CPU密集型操作,您可以放心,它将最大化主机CPU,从而导致主机内核在需要时将主机CPU速度提升到最大 .

相关问题