Linux - Virtualization and CloudThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Centos 6.2 host running with one KVM Centos 5.8 guest.
The guest is running as a web server (PHP). The existing web servers are all running on physical hardware, I am seeing a massive increase in CPU load on the guest when compared to the other physical hosts.
I am expecting an overhead due to virtualisation but think I have a bottle neck somewhere.
I have the below setup:
* Using a block device for the guests root disk
* Using virtio drivers for Network and IO
* Pinned Virtual CPU's to the guest
* set deadline scheduler for the host and guest
* disk cache is set to "none"
You can see my CPU's are being hammered but I'm not sure whats causing this. The load on the physical servers at this time was around 2.5. I would expect a trade off but not this much!
I have a Centos 6.2 host running with one KVM Centos 5.8 guest.
The guest is running as a web server (PHP). The existing web servers are all running on physical hardware, I am seeing a massive increase in CPU load on the guest when compared to the other physical hosts.
I am expecting an overhead due to virtualisation but think I have a bottle neck somewhere.
I have the below setup:
* Using a block device for the guests root disk
* Using virtio drivers for Network and IO
* Pinned Virtual CPU's to the guest
* set deadline scheduler for the host and guest
* disk cache is set to "none"
You can see my CPU's are being hammered but I'm not sure whats causing this. The load on the physical servers at this time was around 2.5. I would expect a trade off but not this much!
Any ideas?
It would help to know a little more about your setup...
* When running a "top" can you press "1" (the number one) to see all CPUs? Maybe one is getting hammered while the others stay idle...
* Where are you storing the VD? On the physical machine or an NFS mount or iSCSI?
* How is the KVM server installed? Did you install "full GUI" or did you install "Minimal Server"? (I've had problems where the "Fingerprint reader" was crashing...on a Server! A very move on my part...)
Also, are you sharing the same network interface as the KVM host? Or is it a dedicated NIC for virtual guests?
The disk for this VM is a block device, using the virtio driver, I have a dedicated bridge br1 for this VM. I ran the web server on the physical blade last night just to make sure there was not a problem outside of KVM. I got the expected results from physical hardware.
I'm back using KVM, however.....
I had 16 virtual CPU's available to the host. I read that over committing CPU resource can impact performance, so after reducing Current Allocation to 8 I am seeing the load that resembles the physical servers. I still have some tuning to do, as load is running at 4 in the VM where load is 2 on the physical hardware. But this is closer to the expected results.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.