Re: [HACKERS] fsync method checking

From: markw(at)osdl(dot)org
To: manfred(at)colorfullife(dot)com
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, josh(at)agliodbs(dot)com, Q(at)ping(dot)be, pgman(at)candle(dot)pha(dot)pa(dot)us, markir(at)paradise(dot)net(dot)nz, pgsql-performance(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] fsync method checking
Date: 2004-03-26 16:09:43
Message-ID: 200403261609.i2QG9l220991@mail.osdl.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On 26 Mar, Manfred Spraul wrote:
> markw(at)osdl(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-03-26 16:54:59 Re: [HACKERS] fsync method checking
Previous Message Tom Lane 2004-03-26 15:09:21 Re: Per database users/admins, handy for database virtual hosting...

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2004-03-26 16:54:59 Re: [HACKERS] fsync method checking
Previous Message Manfred Spraul 2004-03-26 06:25:53 Re: [HACKERS] fsync method checking