[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux 2.2 vs 2.4 for PostgreSQL
Hi,
On Tue, Mar 06, 2001 at 07:36:23PM +0000, Matthew Kirkwood wrote:
>
> Postgres is fairly fsync-happy.
Do you happen to know if it is using fsync, fdatasync or O_SYNC? I'm
seeing performance regressions on 2.4 fsync versus 2.2 which I'm
chasing right now, but fdatasync doesn't seem to have that problem
(and fdatasync is always preferable if you are updating a file in
place and you don't care about the mtime timestamp being 100%
uptodate).
Cheers,
Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/