Re: Adjustment of spinlock sleep delays

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Adjustment of spinlock sleep delays
Дата
Msg-id 18059.1060179096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Adjustment of spinlock sleep delays  ("Mendola Gaetano" <mendola@bigfoot.com>)
Список pgsql-hackers
"Mendola Gaetano" <mendola@bigfoot.com> writes:
> What about use the same algorithm used in ethernet when a collision is
> detected?

Random backoff is what Rod suggested, but I don't care for the ethernet
method in detail, because it allows for only a fairly small number of
retries before giving up.  It's okay for an ethernet to drop packets
under load ... it's not okay for us to fail to acquire a spinlock.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: DROP TYPE/DROP DOMAIN
Следующее
От: Tom Lane
Дата:
Сообщение: Re: test beta build