Re: Improving spin-lock implementation on ARM.

2020-12-02 Thread Zidenberg, Tsahi
> On 01/12/2020, 19:08, "Alexander Korotkov" wrote: >BTW, what number of clients did you use? I can't find it in your message. Sure. Important params seem to be: Pgbench: Clients: 256 pgbench_jobs : 32 Scale: 1000 fill_factor: 90 Postgresql: shared buffers: 31GB max_connections: 1024 T

Re: Improving spin-lock implementation on ARM.

2020-12-01 Thread Zidenberg, Tsahi
> On 01/12/2020, 16:59, "Alexander Korotkov" wrote: > On Tue, Dec 1, 2020 at 1:10 PM Amit Khandekar wrote: > > FWIW, here is an earlier discussion on the same (also added the >> proposal author here) : Thanks for looping me in! >> >> > https://www.postgresql.org/message-id/flat/

Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64

2020-09-30 Thread Zidenberg, Tsahi
On 29/09/2020, 10:21, "Heikki Linnakangas" wrote: > If it's a good idea to use -moutline-atomics, I would expect the > compiler or distribution to enable it by default. And as you pointed > out, many have. -moutline-atomics is only enabled by default on the gcc-10 branch where it w

Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64

2020-09-10 Thread Zidenberg, Tsahi
On 08/09/2020, 1:01, "Tom Lane" wrote: > I wonder what version of gcc you intend this for. AFAICS, older > gcc versions lack this flag at all, while newer ones have it on > by default. (previously sent private reply, sorry) The moutline-atomics flag showed substantial enough impro

Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64

2020-09-06 Thread Zidenberg, Tsahi
Hello! First, I apologize for taking so long to answer. This e-mail regretfully got lost in my inbox. On 24/07/2020, 4:17, "Andres Freund" wrote: > What does "not significantly affected" exactly mean? Could you post the > raw numbers? The following tests show benchmark behavior on m6

Re: [PATCH] audo-detect and use -moutline-atomics compilation flag for aarch64

2020-07-07 Thread Zidenberg, Tsahi
On 01/07/2020, 18:40, "Zidenberg, Tsahi" wrote: > Outline-atomics is a gcc compilation flag that adds runtime detection of > weather or not the cpu > supports atomic instructions. CPUs that don't support atomic instructions > will use the old > load-exclusive/st