Bug 651150 - Poor performance
Summary: Poor performance
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: spice
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Gerd Hoffmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-08 21:49 UTC by Michael Monreal
Modified: 2010-11-09 09:57 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-11-09 09:57:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Monreal 2010-11-08 21:49:50 UTC
I installed a WinXP SP3 VM with virt-manager on F-14 and ran it with spice using the following command:

qemu $IMG -usbdevice tablet -soundhw ac97 -vga qxl \
  -spice port=$PORT,disable-ticketing -enable-kvm \
  -smp 1,sockets=1,cores=1,threads=1 \                                          
  -net nic,model=rtl8139 -net user \
  -rtc base=localtime

I noticed that mouse movement is very smooth compared to running without spice but generally performance is very, very bad. VM startup is about 10 times faster without spice and the same is true after the system has started up (opening the start menu, running apps...)

Maybe this is supposed to happen this way but it feels like a bug...

Comment 1 Hans de Goede 2010-11-08 22:07:15 UTC
Hi,

Can you please try replacing qemu with qemu-kvm in your startup command? "qemu" likely refers to a version of qemu which is compiled without kvm support (and silently ignores the -enable-kvm option).

Another way to verify this theory is to add:
"-monitor stdio"
As extra options to your startup cmd, and then in the terminal from which you've started spice after the (qemu) prompt, type:
info kvm

This will show if you're actually using kvm.

Regards,

Hans

Comment 2 Michael Monreal 2010-11-09 09:57:02 UTC
Thanks for the information. You were right, KVM was not even used! I didn't really consider this because I remember the -enable-kvm option working (which may not have been on Fedora, though). Anyway, things seem to be working great when using "qemu-kvm".


Note You need to log in before you can comment on or make changes to this bug.