Re: pgsql-server/src backend/storage/buffer/bufmgr ...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jan Wieck <JanWieck(at)Yahoo(dot)com>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/src backend/storage/buffer/bufmgr ...
Date: 2004-01-30 10:41:25
Message-ID: 200401301041.i0UAfPk01658@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
> Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
> > Now doing fsync() or fdatasync() of possibly dozens of files in a row,
> > forcing the kernel to do one scattered file after another, letting the
> > disk heads dance like step-chicken on a hot tin ... that will be an
> > improvement, oh boy.
>
> I'm not convinced it would be so bad. Normally you'd only be issuing
> those operations at checkpoint time, and if the bgwriter has been doing

Agreed, I don't have a problem with fsync() during checkpoint instead of
sync. I had problems with fsync from the background writer and
performance. Let me post ideas to hackers & win32 list.

--
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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-01-30 10:42:33 Re: pgsql-server/src backend/storage/buffer/bufmgr ...
Previous Message Neil Conway 2004-01-29 12:34:59 pgsql-server/src/bin/psql copy.c