Re: [HACKERS] Fix performance of generic atomics

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Fix performance of generic atomics
Дата
Msg-id 10161.1504702580@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Fix performance of generic atomics  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: [HACKERS] Fix performance of generic atomics  (Sokolov Yura <funny.falcon@postgrespro.ru>)
Список pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> On 5 September 2017 at 21:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Moreover, it matters which primitive you're testing, on which platform,
>> with which compiler, because we have a couple of layers of atomic ops
>> implementations.

> If there is no gain on 2-socket, at least there is no loss either.

The point I'm trying to make is that if tweaking generic.h improves
performance then it's an indicator of missed cases in the less-generic
atomics code, and the latter is where our attention should be focused.
I think basically all of the improvement Sokolov got was from upgrading
the coverage of generic-gcc.h.
        regards, tom lane



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: [HACKERS] <> join selectivity estimate question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] <> join selectivity estimate question