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.