Re: We really ought to do something about O_DIRECT and data=journalled on ext4
Josh Berkus <josh@agliodbs.com>
From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-12-01T19:00:25Z
Lists: pgsql-hackers
> However, this doesn't really address the question of what a sensible
> choice of default is. If there's little evidence about whether the
> current flavor of open_datasync is really the fastest way, there's
> none whatsoever that establishes open_datasync_without_o_direct
> being a sane choice of default.
No, I'd switch to fdatasync. That's the performance that most people
are familiar with anyway, since it was all Linux supported before.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com