| 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: | Raphael Bauduin <raphael(at)be(dot)easynet(dot)net>, pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: performance "tests" |
| Date: | 2002-04-10 17:03:03 |
| Message-ID: | 200204101703.g3AH33n24260@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Tom Lane wrote:
> Raphael Bauduin <raphael(at)be(dot)easynet(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nick Fankhauser | 2002-04-10 19:19:20 | More question about plans & explain (long) |
| Previous Message | Bruce Momjian | 2002-04-10 17:02:05 | Re: performance "tests" |