Re: performance "tests" - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: performance "tests"
Date
Msg-id 200204101703.g3AH33n24260@candle.pha.pa.us
Whole thread Raw
In response to Re: performance "tests"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Tom Lane wrote:
> Raphael Bauduin <raphael@be.easynet.net> writes:
> > At some times, it seems to hang: it doesn't insert any rows for more
> > than 10 seconds. At that time, the postmaster process takes 0%. Why is
> > that?
>
> At a guess, you're seeing the syncer daemon flushing a lot of dirty
> kernel disk buffers out to disk, and thereby monopolizing disk I/O.
> I haven't experimented too much with Linux, but on HPUX it's not
> difficult for a sync() call to bring the system to its knees for many
> seconds, if you've got application programs that have written a whole
> lot of pages since the last sync.

Some BSD's implement trickle sync, for this very reason.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-admin by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: performance "tests"
Next
From: "Nick Fankhauser"
Date:
Subject: More question about plans & explain (long)