Re: LWLock contention: I think I understand the problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LWLock contention: I think I understand the problem
Дата
Msg-id 1114.1010101199@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: LWLock contention: I think I understand the problem  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes:
> Tom Lane wrote:
>> Unfortunately, at low scaling factors pgbench is guaranteed to look
>> horrible because of contention for the "branches" rows.  
>> 
> Not really! See graph in my previous post - the database size affects 
> performance much more !

But the way that pgbench is currently set up, you can't really tell the
difference between database size effects and contention effects, because
you can't vary one while holding the other constant.

I based my comments on having done profiles that show most of the CPU
time going into attempts to acquire row locks for updates and/or
checking of dead tuples in _bt_check_unique.  So at least in the
conditions I was using (single CPU) I think those are the bottlenecks.
I don't have any profiles for SMP machines, yet.
        regards, tom lane


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: More problem with scripts
Следующее
От: Brent Verner
Дата:
Сообщение: Re: More problem with scripts