Re: [HACKERS] Re: [PATCHES] S_LOCK reduced contention through backoff patch

Поиск
Список
Период
Сортировка
От ocie@paracel.com
Тема Re: [HACKERS] Re: [PATCHES] S_LOCK reduced contention through backoff patch
Дата
Msg-id 9804300351.AA00755@dolomite.paracel.com
обсуждение исходный текст
Ответ на Re: [PATCHES] S_LOCK reduced contention through backoff patch  (dg@illustra.com (David Gould))
Ответы Re: [HACKERS] Re: [PATCHES] S_LOCK reduced contention through backoff patch  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] Re: [PATCHES] S_LOCK reduced contention through backoff patch  (dg@illustra.com (David Gould))
Список pgsql-hackers
David Gould wrote:

[snip]
> Here is the Spinlock back off patch I promised. This does semi-random
> backoff using select() to lessen throughput degradation due to spinlock
> contention with large numbers of runnable backends.

Does this actually use some sort of random number generator?  I'm
thinking that this may not be entirely necessary.  With Ethernet, this
is needed to avoid another colission, but with locks, one process is
guaranteed to get a lock.

Ocie

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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Unlock the vacuum
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [PATCHES] S_LOCK reduced contention through backoff patch