Re: Improving spin-lock implementation on ARM.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Improving spin-lock implementation on ARM.
Дата
Msg-id 51e2f75b-3742-7f28-4438-0425b11cf410@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Improving spin-lock implementation on ARM.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Improving spin-lock implementation on ARM.
Список pgsql-hackers
On 2020-11-26 23:55, Tom Lane wrote:
> ... and, after retrieving my jaw from the floor, I present the
> attached.  Apple's chips evidently like this style of spinlock a LOT
> better.  The difference is so remarkable that I wonder if I made a
> mistake somewhere.  Can anyone else replicate these results?

I tried this on a M1 MacBook Air.  I cannot reproduce these results. 
The unpatched numbers are about in the neighborhood of what you showed, 
but the patched numbers are only about a few percent better, not the 
1.5x or 2x change that you showed.




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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Add Information during standby recovery conflicts
Следующее
От: Alexey Kondratov
Дата:
Сообщение: Re: Printing LSN made easy