LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 06-14-2010, 09:15 AM   #1
[GOD]Anck
Member
 
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171

Rep: Reputation: 33
winxp in qemu+kvm on ubuntu 10.04: extremely poor performance


Hello,

As the title says, I'm using qemu and kvm to run some WinXP guests on an Ubuntu 10.04 host, and find the performance of the guests is horrible. Installation takes 3 hours, installing some simple patches through windows update takes an hour, installing .net framework takes an hour, unzipping and copying files is slow..

During installation and subsequent setup, the guest shows hardly any cpu / memory usage, in windows task manager as well as virt-manager, but I can hear the host's hard drives working in little bursts. vmstat puts the host's cpu at 60-80% idle 20-40% io wait, which I suppose is bad.

I have verified the kvm module is being loaded and used correctly.

I've tried changing from qcow2 to raw images, this helped speed up the installation but patching and software install is still horribly slow. I've read there are problems with acpi on WinXP guests so I turned it off (in virt-manager and in the guest OS - using the Standard PC HAL) but this made little difference if any.

The disk image files are on a journaled ext4 filesystem, I'm not sure that was a good idea?

On my other computer I have used XP guests on a Slackware host, also using kvm, (and also on a journaled filesystem) and performance was an order of magnitude better there, even with older hardware, so I feel it must be some misconfiguration in the ubuntu host OS or the way it handles the guests.

Any ideas as to what would cause such a massive slowdown?
 
Old 06-15-2010, 11:47 AM   #2
[GOD]Anck
Member
 
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 33
I created a logical volume group on a spare disk not used by the operating system and used that as a storage pool for virtual machines, this improved performance a lot more than I would have ever expected! Installing an xpsp3 guest takes <15 minutes now, and software installations are much faster as well. I guess this solves my problem.
 
Old 12-02-2010, 09:58 PM   #3
hugo87
LQ Newbie
 
Registered: May 2009
Location: CABA, Argentina
Distribution: ArchLinux
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by [GOD]Anck View Post
I created a logical volume group on a spare disk not used by the operating system and used that as a storage pool for virtual machines, this improved performance a lot more than I would have ever expected! Installing an xpsp3 guest takes <15 minutes now, and software installations are much faster as well. I guess this solves my problem.
Uhm... any pointer on how you did this?
I would like to do the same, but failed to find anything relevant.
I don't open a new thread, since I belive that anyone ending up here, would also be interested in this.

Thanks :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
On qemu-kvm, qemu-ifup script not found on Slackware 13 AndrewGaven Linux - Virtualization and Cloud 14 01-29-2010 03:36 AM
Extremely poor 3D performance ATI X1650Pro johnnysd455 Linux - Software 3 11-23-2008 12:07 PM
Extremely poor disk performance on SCSI RAID Yalla-One Linux - Hardware 5 03-29-2007 08:04 PM
Extremely poor SATA performance (Inappropriate ioctl for device) kyletriggs Linux - Hardware 7 02-14-2006 01:14 AM
Extremely poor cedega performance king111 Linux - Games 1 07-15-2005 08:48 PM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration