Re: [CentOS] Swap space for kvm virtual host

2011-03-15 Thread Brian Mathis
On Mon, Mar 14, 2011 at 5:24 PM, Nataraj incoming-cen...@rjl.com wrote: I have a kvm virtual host running on what will become CentOS 6 with 12GB of memory and a Quad Xeon  X5560 2.8Ghz .  The store for virtual machines will be a software raid 6 array of 6 disks with an LVM layered on top.  I'm

[CentOS] Swap space for kvm virtual host

2011-03-14 Thread Nataraj
I have a kvm virtual host running on what will become CentOS 6 with 12GB of memory and a Quad Xeon X5560 2.8Ghz . The store for virtual machines will be a software raid 6 array of 6 disks with an LVM layered on top. I'm not initially planning any major overcommitment of resources, though there

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread Kwan Lowe
On Mon, Mar 14, 2011 at 5:24 PM, Nataraj incoming-cen...@rjl.com wrote: [snip]  In recent years people seem to configure a wide range of different swap allocations.  I was thinking initially to spread swap across seperate non-raid partitions on 4 of these disks, but the downside of that is if I

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread Dr. Ed Morbius
on 14:24 Mon 14 Mar, Nataraj (incoming-cen...@rjl.com) wrote: I have a kvm virtual host running on what will become CentOS 6 with 12GB of memory and a Quad Xeon X5560 2.8Ghz . The store for virtual machines will be a software raid 6 array of 6 disks with an LVM layered on top. I'm not

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread John R Pierce
On 03/14/11 3:02 PM, Dr. Ed Morbius wrote: I'd allocate swap to the raw devices rather than the RAID devices, why would you use RAID and not RAID your swap?the primary (many say, only) purpose of RAID is to maintain uptime, and having any swap device fail will ensure your system

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread Nataraj
On 03/14/2011 03:07 PM, John R Pierce wrote: On 03/14/11 3:02 PM, Dr. Ed Morbius wrote: I'd allocate swap to the raw devices rather than the RAID devices, why would you use RAID and not RAID your swap?the primary (many say, only) purpose of RAID is to maintain uptime, and having any swap

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread Lucian
On Mon, Mar 14, 2011 at 11:45 PM, Nataraj incoming-cen...@rjl.com wrote: Do you have any sense of whether this takes a big performance hit with software raid?  (I was actually planning on hardware raid but the system got ordered incorrectly). I have lots of machines running linux raid and swap

Re: [CentOS] Swap space for kvm virtual host

2011-03-14 Thread John R Pierce
On 03/14/11 4:45 PM, Nataraj wrote: Do you have any sense of whether this takes a big performance hit with software raid? (I was actually planning on hardware raid but the system got ordered incorrectly). if you have adequate memory for your workload, very little data gets written to swap,