Re: poor performance with Context Switch Storm at TPC-W.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: poor performance with Context Switch Storm at TPC-W.
Дата
Msg-id 20060711135951.GA3995@surnet.cl
обсуждение исходный текст
Ответ на poor performance with Context Switch Storm at TPC-W.  (Katsuhiko Okano <okano.katsuhiko@oss.ntt.co.jp>)
Ответы Re: poor performance with Context Switch Storm at TPC-W.  (Katsuhiko Okano <okano.katsuhiko@oss.ntt.co.jp>)
Список pgsql-hackers
Katsuhiko Okano wrote:

> I suspected conflict of BufMappingLock.
> but, collected results are seen,
> occurrence of CSStorm and the increase of BufMappingLock counts
> seem not to correspond.
> Instead, SubtransControlLock and SubTrans were increasing.
> I do not understand what in the cause of CSStorm.

Please see this thread:
http://archives.postgresql.org/pgsql-hackers/2005-11/msg01547.php
(actually it's a single message AFAICT)

This was applied on the 8.2dev code, so I'm surprised that 8.2dev
behaves the same as 8.1.

Does your problem have any relationship to what's described there?

I also wondered whether the problem may be that the number of SLRU
buffers we use for subtrans is too low.  But the number was increased
from the default 8 to 32 in 8.2dev as well.  Maybe you could try
increasing that even further; say 128 and see if the problem is still
there.  (src/include/access/subtrans.h, NUM_SUBTRANS_BUFFERS).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kenneth Marshall
Дата:
Сообщение: Re: A couple thoughts about btree fillfactor
Следующее
От: Tom Lane
Дата:
Сообщение: Max size of a btree index entry