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

Re: O_DIRECT for WAL writes

From: Neil Conway <neilc(at)samurai(dot)com>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: O_DIRECT for WAL writes
Date: 2005-05-26 14:15:07
Message-ID: 4295D9EB.4000703@samurai.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
ITAGAKI Takahiro wrote:
> The patch adds a new choice "open_direct" to wal_sync_method.
> It uses O_DIRECT flags for WAL writes, like O_SYNC.

Have you looked at what the performance difference of this option is? 
For example, these benchmark results seem to indicate that an older 
version of the patch is not a performance win, at least for OSDL's workload:

http://www.mail-archive.com/pgsql-patches(at)postgresql(dot)org/msg07186.html

Is this data still applicable to the revised patch?

-Neil

In response to

Responses

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2005-05-26 14:23:46
Subject: Re: Can we simplify win32 threading code
Previous:From: Magnus HaganderDate: 2005-05-26 14:12:12
Subject: Re: Can we simplify win32 threading code

pgsql-patches by date

Next:From: Michael FuhrDate: 2005-05-26 14:49:12
Subject: Regression failures: time, timetz, horology
Previous:From: Tom LaneDate: 2005-05-26 14:10:50
Subject: Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values

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