Re: Adjustment of spinlock sleep delays

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Adjustment of spinlock sleep delays
Дата
Msg-id 08ed01c35bbb$59ae6840$2800a8c0@mars
обсуждение исходный текст
Ответ на Adjustment of spinlock sleep delays  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> To forestall this scenario, I'm thinking of introducing backoff into the
> sleep intervals --- that is, after first failure to get the spinlock,
> sleep 10 msec; after the second, sleep 20 msec, then 40, etc, with a
> maximum sleep time of maybe a second.  The number of iterations would be
> reduced so that we still time out after a minute's total delay.

Sounds good.

Chris



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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: DROP TYPE/DROP DOMAIN
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: test beta build