Re: Performance TODO items

Поиск
Список
Период
Сортировка
От Matthew Kirkwood
Тема Re: Performance TODO items
Дата
Msg-id Pine.LNX.4.33.0107311006280.3615-100000@sphinx.mythic-beasts.com
обсуждение исходный текст
Ответ на Re: Performance TODO items  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Performance TODO items  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On Mon, 30 Jul 2001, Bruce Momjian wrote:

> * Improve spinlock code, perhaps with OS semaphores, sleeper queue, or
>   spining to obtain lock on multi-cpu systems

You may be interested in a discussion which happened over on
linux-kernel a few months ago.

Quite a lot of people want a lightweight userspace semaphore,
and for pretty much the same reasons.

Linus proposed a pretty interesting solution which has the
same minimal overhead as the current spinlocks in the non-
contention case, but avoids the spin where there's contention:

http://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg39615.html

Matthew.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: Returned mail: User unknown
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: Returned mail: User unknown