Re: Move PinBuffer and UnpinBuffer to atomics

Поиск
Список
Период
Сортировка
От YUriy Zhuravlev
Тема Re: Move PinBuffer and UnpinBuffer to atomics
Дата
Msg-id 1795058.TOPHF9pOLP@dinodell
обсуждение исходный текст
Ответ на Re: Move PinBuffer and UnpinBuffer to atomics  (Andres Freund <andres@anarazel.de>)
Ответы Re: Move PinBuffer and UnpinBuffer to atomics  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
> That path is only taken if somebody else has already locked the buffer
> (e.g. BufferAlloc()). If you have contention in PinBuffer() your
> workload will be mostly cache resident and neither PinBuffer() nor
> UnpinBuffer() set BM_LOCKED.
Thanks. Now I understand everything. It might work.
We will be tested.

>your workload
Simple pgbench -S for NUMA. 


-- 
YUriy Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



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

Предыдущее
От: Franck Verrot
Дата:
Сообщение: Re: Mention column name in error messages
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: extend pgbench expressions with functions