Processor cache size


#1

Hi guys,

I’m having a problem with kvm, my physical machine have 2 processor Xeon E5520, with 8 mb cache size, when i run “cat /proc/cpuinfo” the linux shows 16 processors equal.

processor       : 15
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
stepping        : 5
cpu MHz         : 1596.000
cache size      : 8192 KB
physical id     : 1
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 23
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
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 syscall nx rdtscp lm const                                                                                                  ant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 ss                                                                                                  e4_2 popcnt lahf_lm
bogomips        : 4533.28
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

The problem is that when I run the same command on the virtual machine, Linux shows the processors with only 32 kb, I believe that anything is wrong.

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : QEMU Virtual CPU version 0.9.1
stepping        : 3
cpu MHz         : 2266.575
cache size      : 32 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 4
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat                                                                                                   pse36 clflush mmx fxsr sse sse2 syscall nx lm up pni
bogomips        : 4540.34
clflush size    : 64
power management:

I searched for someone who had the same problem but found nothing.

Plz Help…