From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Neil Conway <neilc(at)samurai(dot)com> |
Cc: | shridhar_daithankar(at)persistent(dot)co(dot)in, pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Performance while loading data and indexing |
Date: | 2002-09-26 20:45:54 |
Message-ID: | 200209262045.g8QKjtv21744@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-performance |
Neil Conway wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > The paper does recommend ext3, but the differences between file systems
> > are very small.
>
> Well, I only did a very rough benchmark (a few runs of pgbench), but
> the results I found were drastically different: ext2 was significantly
> faster (~50%) than ext3-writeback, which was in turn significantly
> faster (~25%) than ext3-ordered.
Wow. That leaves no good Linux file system alternatives. PostgreSQL
just wants an ordinary file system that has reliable recovery from a
crash.
> > Also, though ext3 is slower, turning fsync off should make ext3 function
> > similar to ext2.
>
> Why would that be?
I assumed it was the double fsync for the normal and journal that made
the journalling file systems slog.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Holger Marzen | 2002-09-26 20:52:11 | Formatting numbers in psql? |
Previous Message | Neil Conway | 2002-09-26 20:41:49 | Re: [HACKERS] Performance while loading data and indexing |
From | Date | Subject | |
---|---|---|---|
Next Message | Laurette Cisneros | 2002-09-26 20:46:33 | pg7.3b1 |
Previous Message | Neil Conway | 2002-09-26 20:41:49 | Re: [HACKERS] Performance while loading data and indexing |
From | Date | Subject | |
---|---|---|---|
Next Message | Hans-Jürgen Schönig | 2002-09-26 20:55:30 | Re: [GENERAL] Performance while loading data and indexing |
Previous Message | Neil Conway | 2002-09-26 20:41:49 | Re: [HACKERS] Performance while loading data and indexing |