Re: IO on guest is 20 times slower than host

Kurt Yoder
2009-03-30T19:39:57Z

On Mar 29, 2009, at 10:29 AM, Avi Kivity wrote:

> Kurt Yoder wrote:
>> slow host cpu information, core 1 of 16:
>>
>> processor : 0
>> vendor_id : AuthenticAMD
>> cpu family : 16
>> model : 4
>> model name : Quad-Core AMD Opteron(tm) Processor 8382
>> stepping : 2
>> cpu MHz : 2611.998
>> cache size : 512 KB
>> physical id : 0
>> siblings : 4
>> core id : 0
>> cpu cores : 4
>> apicid : 0
>> initial apicid : 0
>> fpu : yes
>> fpu_exception : yes
>> cpuid level : 5
>> 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 mmxext fxsr_opt
>> pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl pni
>> monitor
>> cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a
>> misalignsse 3dnowprefetch osvw ibs skinit wdt
>> bogomips : 5223.97
>> TLB size : 1024 4K pages
>> clflush size : 64
>> cache_alignment : 64
>> address sizes : 48 bits physical, 48 bits virtual
>> power management: ts ttp tm stc 100mhzsteps hwpstate
>>
>>
>>
>
> Can you loading kvm_amd on this host with 'modprobe kvm-amd npt=0'?

So that's most likely the problem for me:

me@host:/etc/nagios/nrpe_directives$ sudo modprobe kvm-amd npt=0
FATAL: Error inserting kvm_amd (/lib/modules/2.6.27-11-server/kernel/
arch/x86/kvm/kvm-amd.ko): Operation not supported
me@host:/etc/nagios/nrpe_directives$ uname -a
Linux boron 2.6.27-11-server #1 SMP Thu Jan 29 20:13:12 UTC 2009
x86_64 GNU/Linux

It looks like I need to enable SVM in my BIOS. I'll do that and report
back on the results.

-Kurt