Re: use a non-locking initial test in TAS_SPIN on AArch64

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Jingtang Zhang <mrdrivingduck(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: use a non-locking initial test in TAS_SPIN on AArch64
Date: 2025-01-15 18:50:00
Message-ID: Z4gDWMbR6uqV1mhR@nathan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Israel Barth Rubio 2025-01-15 18:54:28 Re: Add -k/--link option to pg_combinebackup
Previous Message Peter Geoghegan 2025-01-15 18:48:03 Re: Having problems generating a code coverage report