Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] [PATCHES] [PERFORM] Direct I/O issues

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [HACKERS] [PATCHES] [PERFORM] Direct I/O issues
Date: 2007-02-08 03:57:22
Message-ID: 200702080357.l183vMA29029@momjian.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-hackers
Greg Smith wrote:
> On Fri, 24 Nov 2006, Bruce Momjian wrote:
> 
> > OK, I modified test_fsync.c by copying the defines from xlog.c, and
> > fixed the O_DIRECT alignment and check write()/fsync().
> 
> I just tested your new test_fsync as included in the 8.2rc1, and it's 
> working perfectly for me now on Linux.  All the O_SYNC writes using 
> O_DIRECT are reporting realistic timings.  I'm happy that this code is 
> working as it should and appreciate the quick response.  I still think the 
> wal_sync_method documentation deserves an update noting that O_DIRECT is 
> used when available with the sync write methods.

O_DIRECT mention added, and backpatched to 8.2.X.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

Attachment: /rtmp/diff
Description: text/x-diff (776 bytes)

In response to

pgsql-docs by date

Next:From: Mario SplivaloDate: 2007-02-12 11:43:02
Subject: 'FOUND' keyword not found in index (pg8.2)
Previous:From: bubblboyDate: 2007-02-07 08:02:34
Subject: Re: Online documentation unclear about authentication defaults

pgsql-hackers by date

Next:From: Jan WieckDate: 2007-02-08 04:01:31
Subject: Re: Proposal: Commit timestamp
Previous:From: Bruce MomjianDate: 2007-02-08 03:35:50
Subject: Re: Proposal: Commit timestamp

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group