pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Jon Schewe <jpschewe@mtu.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: How filesystems matter with PostgreSQL
Date: Sat, 05 Jun 2010 18:36:48 -0400
Message-ID: <4C0AD180.90607@2ndquadrant.com> (raw)
In-Reply-To: <4C08EEDF.7090403@mtu.net>
References: <4C08EEDF.7090403@mtu.net>

Jon Schewe wrote:
> The tests were all done on an opensuse 11.2 64-bit machine,
> on the same hard drive (just ran mkfs between each test) on the same
> input with the same code base.

So no controller card, just the motherboard and a single hard drive?  If 
that's the case, what you've measured is which filesystems are safe 
because they default to flushing drive cache (the ones that take around 
15 minutes) and which do not (the ones that take >=around 2 hours).  You 
can't make ext3 flush the cache correctly no matter what you do with 
barriers, they just don't work on ext3 the way PostgreSQL needs them to.

-- 
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us




view thread (23+ messages)  latest in thread

Message-ID: <4C0AD180.90607@2ndquadrant.com>
Permalink:  ../4C0AD180.90607@2ndquadrant.com/
Also on:    postgresql.org/message-id/4C0AD180.90607@2ndquadrant.com

 · 

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: greg@2ndquadrant.com, jpschewe@mtu.net
  Subject: Re: How filesystems matter with PostgreSQL
  In-Reply-To: <4C0AD180.90607@2ndquadrant.com>

* 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