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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-05-26 14:23:46 Re: Can we simplify win32 threading code
Previous Message Magnus Hagander 2005-05-26 14:12:12 Re: Can we simplify win32 threading code

Browse pgsql-patches by date

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