From: Nathan Bossart <nathandbossart@gmail.com>
To: Jingtang Zhang <mrdrivingduck@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: use a non-locking initial test in TAS_SPIN on AArch64
Date: Wed, 15 Jan 2025 12:50:00 -0600
Message-ID: <Z4gDWMbR6uqV1mhR@nathan> (raw)
In-Reply-To: <74D40BAB-C23D-497E-8153-67B543663182@gmail.com>
References: <ZxgDEb_VpWyNZKB_@nathan>
<CAPsk3_Bx5PhS9A+NH7SO2K-bwrZS7q4i-WTy1Bf98j0CAEqa=g@mail.gmail.com>
<74D40BAB-C23D-497E-8153-67B543663182@gmail.com>
On Wed, Jan 15, 2025 at 07:50:38PM +0800, Jingtang Zhang wrote:
> Seems that great performance could be gained if s_lock contention is severe.
> This may be more likely to happen on bigger machines.
>
> On c8y.2xlarge (8 cores), I failed to make s_lock contended severely, and
> as a result this patch didn“t bring any difference outside the noise.
Thanks for sharing.
--
nathan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: nathandbossart@gmail.com, mrdrivingduck@gmail.com, pgsql-hackers@lists.postgresql.org
Subject: Re: use a non-locking initial test in TAS_SPIN on AArch64
In-Reply-To: <Z4gDWMbR6uqV1mhR@nathan>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox