One thing to possibly consider with PostgreSQL performance especially, is that when using KVM VMs for some applications, PostgreSQL could be run native. This is a viable approach with KVM that could never work with Xen.
On 10/15/2010 02:00 PM, John L. Magee wrote:
One thing to possibly consider with PostgreSQL performance especially, is that when using KVM VMs for some applications, PostgreSQL could be run native. This is a viable approach with KVM that could never work with Xen.
Can you expand on this a little bit please ?
- KB
I think he's right. Run PostgreSQL on the centos host directly, rather than from within a guest. The vm guests could access the database over the virtual lan, so speed of access for guests on the same server wouldn't be an issue.
There are lots of ways of file sharing for example. You can share from within a linux or windows guest, or you could share directly from the centos host with samba or iSCSI.
I get native speeds from guests, but I think running directly from the server is always going to be faster.
On 10/15/2010 10:56 PM, compdoc wrote:
I think he's right. Run PostgreSQL on the centos host directly, rather than from within a guest. The vm guests could access the database over the virtual lan, so speed of access for guests on the same server wouldn't be an issue.
I don't understand why that would have an issue with Xen, quite a lot of hosting companies run mysql on the dom0's and let all the VM's hosted on the box access it over a socket.
- KB