pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: pgsql-performance@postgresql.org
Subject: wal_synch_method = open_sync safe on RHEL 5.5?
Date: Fri, 18 Jun 2010 13:39:43 +1200
Message-ID: <4C1ACE5F.1080802@catalyst.net.nz> (raw)

Some more on the RHEL 5.5 system I'm helping to setup. Some benchmarking 
using pgbench appeared to suggest that wal_sync_method=open_sync was a 
little faster than fdatasync [1]. Now I recall some discussion about 
this enabling direct io and the general flakiness of this on Linux, so 
is the option regarded as safe?

[1] The workout:

$ pgbench -i -s 1000 bench
$ pgbench -c [1,2,4,8,32,64,128] -t 10000

Performance peaked around 2500 tps @32 clients using open_sync and 2200 
with fdatasync. However the disk arrays are on a SAN and I suspect that 
when testing with fdatasync later in the day there may have been 
workload 'leakage' from other hosts hitting the SAN.

view thread (5+ messages)  latest in thread

Message-ID: <4C1ACE5F.1080802@catalyst.net.nz>
Permalink:  ../4C1ACE5F.1080802@catalyst.net.nz/
Also on:    postgresql.org/message-id/4C1ACE5F.1080802@catalyst.net.nz

 · 

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: mark.kirkwood@catalyst.net.nz
  Subject: Re: wal_synch_method = open_sync safe on RHEL 5.5?
  In-Reply-To: <4C1ACE5F.1080802@catalyst.net.nz>

* 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