Re: stuck spin lock with many concurrent users

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: stuck spin lock with many concurrent users
Дата
Msg-id 26839.994216584@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: stuck spin lock with many concurrent users  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> If you estimate that a process dispatch cycle is ~ 10 microseconds,
>> then waking 999 useless processes every 10 msec is just about enough
>> to consume 100% of the CPU doing nothing useful...

> Don't we back off the sleeps or was that code removed?

Not enough to affect this calculation.
        regards, tom lane


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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: RE: [OT] Any major users of postgresql?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Buffer access rules, and a probable bug