How to optimize Xen Virtual Machine

optimizationxen

My server is Core i7 Quad Core I7-860 2.8GHz, and 4 GB DDR3-1333 SDRAM
How many xen could I create if each of them has 256 MB memory?
How much memory should I leave to the Xen Server(1G?512MB?why?)
Is there any way to optimize the xen so that they could use all the memory resource, cpu resource, and the bandwidth resource.

Is there any books, material telling how to optimize the xen ?

Thanks for all your response.

Best Answer

Aside from optimizing the VM's infrastructure, you should also using kernel and software configuration that is specifically suited for running in virtualized environment to minimize overhead.

Ubuntu has an option to install using "minimal virtual machine", that is basically using linux kernel that is optimized for many virtualization platform, such as Xen, KVM, VMWare, and Virtualbox.

Also, if your VM using many I/O operation, consider configuring it to use virtio

Related Topic