| 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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-14-2010, 09:15 AM
|
#1
|
|
Member
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171
Rep:
|
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?
|
|
|
|
06-15-2010, 11:47 AM
|
#2
|
|
Member
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171
Original Poster
Rep:
|
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.
|
|
|
|
12-02-2010, 09:58 PM
|
#3
|
|
LQ Newbie
Registered: May 2009
Location: Comodoro Rivadavia, Argentina
Posts: 16
Rep:
|
Quote:
Originally Posted by [GOD]Anck
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 :-)
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:24 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|