Re: Spinlock performance improvement proposal

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Spinlock performance improvement proposal
Дата
Msg-id 200109281852.f8SIqxF10771@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Spinlock performance improvement proposal  ("D. Hageman" <dhageman@dracken.com>)
Список pgsql-hackers
> Save for the fact that the kernel can switch between threads faster then 
> it can switch processes considering threads share the same address space, 
> stack, code, etc.  If need be sharing the data between threads is much 
> easier then sharing between processes. 

Just a clarification but because we fork each backend, don't they share
the same code space?  Data/stack is still separate.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Spinlock performance improvement proposal
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PERFORMANCE IMPROVEMENT by mapping WAL FILES