Re: [PATCH] Improve spinlock inline assembly for x86.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: [PATCH] Improve spinlock inline assembly for x86.
Дата
Msg-id CAM3SWZSwnNtV-kY4nSw10PABzE3VU9wy_eie9-EJdF8+gd1o4g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Improve spinlock inline assembly for x86.  (Kevin Grittner <kgrittn@gmail.com>)
Ответы Re: [PATCH] Improve spinlock inline assembly for x86.  (Kevin Grittner <kgrittn@gmail.com>)
Список pgsql-hackers
On Mon, Jan 18, 2016 at 2:14 PM, Kevin Grittner <kgrittn@gmail.com> wrote:
>> You get just as much churn by changing code elsewhere, which
>> often causes code movement and alignment changes.
>
> It's hard to understand quite what you're saying there.  If you're
> saying that code changes that should be performance neutral can
> sometimes affect performance because of alignment of code with
> cache line boundaries -- I absolutely agree; is that an argument
> against performance testing performance patches?

No, it isn't an argument against performance testing patches like
this, but I don't think anyone suggested otherwise. Of course every
performance related patch should be tested to make sure it meets its
goals and at acceptable cost, but I don't think that Andreas' patch is
necessarily a performance patch. There can be value in removing
superfluous code; doing so sometimes clarifies intent and
understanding.

-- 
Peter Geoghegan



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Buildfarm server move
Следующее
От: Tom Lane
Дата:
Сообщение: Random inconsistencies in GiST support function declarations