Re: Postgresql in a Virtual Machine

From: "Gudmundsson Martin (mg)" <martin(dot)mg(dot)gudmundsson(at)volvo(dot)com>
To: Dong Ye <yed(at)vmware(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Postgresql in a Virtual Machine
Date: 2013-11-28 08:45:24
Message-ID: 2E5766F28426E547AF0A2A870FAE630D1C0C84@SEGOTNC5182-N2.vcn.ds.volvo.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> >
> > I would also make sure to check that the hypervisor does write to
> permanent storage before returning to the VM with acknowledgement.
> >
> In the case of ESX, there is no such concern per
> http://kb.vmware.com/kb/1008542.

Very useful info!

> As Heikki commented, VMware recently compared Postgres performance in
> an ESX (5.1) VM versus in a comparable native Linux. We saw 1.
> ESX-level locking causes no vertical scalability degradation, 2.
> Memory oversubscription can indeed be a performance hazard when
> consolidating mulitple Postgres VMs on one host. Yet we found moderate
> memory oversubscription (up to 20%) might work out fine: we saw <5%
> degradation at 20% memory oversubscription in a conventional setup
> (where Postgres server uses 25% memory shared_buffers and VM uses
> out-of-the-box kernel-level memory ballooning.) Nitty-gritty details
> can be found in the whitepaper
> http://www.vmware.com/files/pdf/techpaper/vPostgres-perf.pdf
> (Disclaimer: I'm a author.)

Interesting reading.

There was some earlier comment in this discussion about not using NFS datastores for Postgres VMDK's. Would you think you'd see a difference in scalability behavior or performance in these tests if a NFS datastore would be used instead? Provided the architecture is properly setup for that, with high speed low latency networking, and fast NAS storage.

Thanks!

> Regards,
> Dong

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Dong Ye 2013-11-28 18:11:31 Re: Postgresql in a Virtual Machine
Previous Message Dong Ye 2013-11-28 02:58:20 Re: Postgresql in a Virtual Machine