Matt Ayres on 16 Sep 2007 16:41:46 -0000 |
John Von Essen wrote: Based on all the comments, I think one of your best options is to have a Raid 1 array dedicated to each VM. And also try to balance all the Raid 1 arrays across more then one controller.There is no need to be this static or complex -- simply create RAID (-10 would be preferred) arrays and use LVM. I read through this thread and it seems no one has suggested using LVM yet. With LVM you can easily combine multiple RAID arrays into a single volume group and then you have a fully dynamic storage system and even the ability to create LVM snapshots for easy backups. As others have stated, don't use file-backed storage -- since the files are part of the hosts filesystem it _will_ cause double caching as the data will be cached inside the VM and also on the host (dom0). Using LVM provides equivalent of a raw device and the blocks are passed through without any caching/buffering being performed in dom0. Use a dedicated drive for the VM's swap area, this will (marginally) help to protect the VMs that don't swap from those that do. Xen has a limited disk I/O QoS system in place that uses a thread per block device that is then scheduled with the kernels I/O elevator (CFQ is recommended). I wouldn't rely on it for any sort of guarantees. Regards, Matt ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|