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

From Bruce Momjian
Subject Re: pgsql-server/src backend/storage/buffer/bufmgr ...
Date
Msg-id 200401301041.i0UAfPk01658@candle.pha.pa.us
Whole thread Raw
In response to Re: pgsql-server/src backend/storage/buffer/bufmgr ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Tom Lane wrote:
> Jan Wieck <JanWieck@Yahoo.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-committers by date:

Previous
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql-server/src/bin/psql copy.c
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql-server/src backend/storage/buffer/bufmgr ...