Re: performance "tests"

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: performance "tests"
Дата
Msg-id 200204101703.g3AH33n24260@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: performance "tests"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: performance "tests"
Следующее
От: "Nick Fankhauser"
Дата:
Сообщение: More question about plans & explain (long)