Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kvm acceleration issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Freakazoid
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 104

PostPosted: Tue Jul 14, 2009 3:12 pm    Post subject: kvm acceleration issues Reply with quote

Before I get into the problem, some info:
host: Gentoo w/ 2.6.30 kernel (vanilla, self-compiled & configured)
Processor: AMD X2 4050e

Been testing KVM with a winxp guest over the past few days and i've been having issues with the guests apparently not being accelerated.
Found this out by running a cross-platform benchmark I found (geekbench)
host scored ~2300, guest scored ~1100, it's my understanding that things should have scored a heck of a lot better than that.
the same guest under vmware server (trying to move away from it, I rather despise it) scores ~2200.
I do have the appropriate stuff compiled into the kernel and /dev/kvm is showing up so i'm rather confused.
would really like to get this working as KVM has the potential to blow away vmware server in the networking department due to virtio. (running with an e1000 for now, waiting on the ~12 packages I need for libvirt until I get things sorted)

could this possibly be motherboard related? The current motherboard i'm running on has no mention of support for VM stuff in the BIOS. Old one did but i'm running on a temporary replacement for a few weeks here while the original gets RMA'd. cheap foxconn crap... was going flaky for a while, (random kernel panics) tried a BIOS update and the thing never booted again.
in case it matters, the normal motherboard is a Foxconn A7GM-S, don't have a clue what i'm running now but can check later.

edit: forgot to mention: the host is 64-bit (amd64)
Back to top
View user's profile Send private message
ghutzl
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 123
Location: Germany

PostPosted: Tue Jul 14, 2009 9:02 pm    Post subject: Reply with quote

I guess you have the required CPU support for KVM, right? To check this just in case do:

for intel cpus:
Code:
cat /proc/cpuinfo |grep vmx

should show something like this:

Code:
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 pbenx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida tpr_shadow vnmi flexpriority


for amd cpus:
Code:
cat /proc/cpuinfo |grep svm

should give a similar result as above but containing the "svm" flag.

Next thing to check is the BIOS. Enter the BIOS and check for cpu configuration and enable the virtualization if it is not enabled.

That is what comes to my mind first.
Back to top
View user's profile Send private message
Freakazoid
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 104

PostPosted: Tue Jul 14, 2009 9:51 pm    Post subject: Reply with quote

ghutzl wrote:
I guess you have the required CPU support for KVM, right? To check this just in case do:
for amd cpus:
Code:
cat /proc/cpuinfo |grep svm

should give a similar result as above but containing the "svm" flag.

yes, cpu has support for virtuilization, specifically looked for that feature when I bought it a while back.

ghutzl wrote:

Next thing to check is the BIOS. Enter the BIOS and check for cpu configuration and enable the virtualization if it is not enabled.

That is what comes to my mind first.


err, did you read the post?

Freakazoid wrote:

The current motherboard i'm running on has no mention of support for VM stuff in the BIOS


something tells me i'm going to have to wait for it's normal motherboard to get back (who knows when that'll be) I do believe that one had mention of virtuilization support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum