Re: [HACKERS] fsync method checking - Mailing list pgsql-performance

From Bruce Momjian
Subject Re: [HACKERS] fsync method checking
Date
Msg-id 200403261654.i2QGsxt04146@candle.pha.pa.us
Whole thread Raw
List pgsql-performance
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

pgsql-performance by date:

Previous
From: markw@osdl.org
Date:
Subject: Re: [HACKERS] fsync method checking
Next
From: Josh Berkus
Date:
Subject: Re: column size too large, is this a bug?