pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: markw@osdl.org
Cc: manfred@colorfullife.com
Cc: tgl@sss.pgh.pa.us
Cc: josh@agliodbs.com
Cc: Q@ping.be
Cc: markir@paradise.net.nz
Cc: pgsql-performance@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] fsync method checking
Date: Fri, 26 Mar 2004 11:54:59 -0500 (EST)
Message-ID: <200403261654.i2QGsxt04146@candle.pha.pa.us> (raw)
In-Reply-To: <200403261609.i2QG9l220991@mail.osdl.org>

markw@osdl.org wrote:
> On 26 Mar, Manfred Spraul wrote:
> > markw@osdl.org wrote:
> > 
> >>Compare file sync methods with one 8k write:
> >>        (o_dsync unavailable)  
> >>        open o_sync, write       6.270724
> >>        write, fdatasync        13.275225
> >>        write, fsync,           13.359847
> >>  
> >>
> > Odd. Which filesystem, which kernel? It seems fdatasync is broken and 
> > syncs the inode, too.
> 
> It's linux-2.6.5-rc1 with ext2 filesystems.

Would you benchmark open_sync for wal_sync_method too?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (42+ messages)  latest in thread

Message-ID: <200403261654.i2QGsxt04146@candle.pha.pa.us>
Permalink:  ../200403261654.i2QGsxt04146@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200403261654.i2QGsxt04146@candle.pha.pa.us

 · 

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: pgman@candle.pha.pa.us, markw@osdl.org, manfred@colorfullife.com, tgl@sss.pgh.pa.us, josh@agliodbs.com, Q@ping.be, markir@paradise.net.nz, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] fsync method checking
  In-Reply-To: <200403261654.i2QGsxt04146@candle.pha.pa.us>

* 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