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

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] [PERFORM] Direct I/O issues
Date: 2006-11-25 09:34:52
Message-ID: Pine.GSO.4.64.0611250357070.29486@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

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.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Taiki Yamaguchi 2006-11-27 04:26:36 A minor error in "5.8 Inheritance"
Previous Message Bruce Momjian 2006-11-23 17:19:01 Re: PostgreSQL Documentation of High Availability and

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2006-11-25 10:47:28 Re: First Release Candidate Uploaded ...
Previous Message Neil Conway 2006-11-25 06:56:30 Re: dynahash API questions