Re: Fsync on/off For Various Filesystems/Platforms

From: nconway(at)klamath(dot)dyndns(dot)org (Neil Conway)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Fsync on/off For Various Filesystems/Platforms
Date: 2002-03-10 19:55:07
Message-ID: 20020310195507.GA26409@klamath.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Mar 10, 2002 at 03:24:10PM +1300, Mark kirkwood wrote:
> >Also, someone reported ext3
> >as 50% slower than ext2, so again, your numbers are a surprise.
>
> I found myself thinking "what mount options and journal sizes option did
> they use?", which prompted me to include the ones I used (data=ordered &
> 100M journal ) - another small oversight :-(.

I've mentioned this before on -hackers, but using data=writeback with
ext3 gets you significantly better performance, and you don't lose any
safety (since Postgres has its own WAL, there isn't any benefit to
ordering writes, AFAIK).

That said, ext3 performance is still surprisingly bad.

Cheers,

Neil

--
Neil Conway <neilconway(at)rogers(dot)com>
PGP Key ID: DB3C29FC

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nick Fankhauser 2002-03-10 20:06:50 Re: FREE ERD TOOL for POSTGRES ???
Previous Message Dmitry Morozovsky 2002-03-10 19:46:47 Re: Postgres not starting at boot(FreeBSD) - startup script