pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Boszormenyi Zoltan <zb@cybertec.at>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Lee Nguyen <leemobile@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgresql in a Virtual Machine
Date: Tue, 26 Nov 2013 09:19:44 -0500
Message-ID: <20131126141944.GO17272@tamriel.snowman.net> (raw)
In-Reply-To: <5294A77F.8050508@cybertec.at>
References: <CAHghi5Cj_6KmwaUopF3y=vSjs3Q83VyXQy5DQhfLyP_Zt0yxbA@mail.gmail.com>
	<5293B0B9.1060200@vmware.com>
	<5294A77F.8050508@cybertec.at>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Zoltan,

* Boszormenyi Zoltan (zb@cybertec.at) wrote:
> When the virtual disk is a disk file on the host machine, we've measured
> 20% or lower. The host used Fedora 19/x86_64 with IIRC a 3.10.x Linux kernel
> with EXT4 filesystem (this latter is sure, not IIRC). The effect was observed
> both under Qemu/KVM and Xen.

Interesting- that's far worse than I would have expected.  Was this test
done with paravirtualized drivers?  If not, I can certainly understand
the terrible performance.

Independently of that, I'll add my own 2c that DB people tend to be
pretty paranoid and the current round of VM technologies out there have
caused more than one person to lose data because fsync wasn't honored
all the way down to the disk.  This is especially true of 'home-grown'
setups, imv, but I'm sure you could configure the commercial offerings
to lie to the guest OS too.  Of course, there are similar concerns about
a SAN or even local RAID cards, but there's a lot more general
familiarity and history around those which reduces the risk there (or at
least, that's the thought).

	Thanks,

		Stephen

Attachments:

  signature.asc (application/pgp-signature, 835B) download

view thread (30+ messages)  latest in thread

Message-ID: <20131126141944.GO17272@tamriel.snowman.net>
Permalink:  ../20131126141944.GO17272@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20131126141944.GO17272@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sfrost@snowman.net, zb@cybertec.at, hlinnakangas@vmware.com, leemobile@gmail.com
  Subject: Re: Postgresql in a Virtual Machine
  In-Reply-To: <20131126141944.GO17272@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox