From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Salvatore Dipietro <dipietro(dot)salvatore(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, Salvatore Dipietro <dipiets(at)amazon(dot)com>, blakgeof(at)amazon(dot)com |
Subject: | Re: Remove Instruction Synchronization Barrier in spin_delay() for ARM64 architecture |
Date: | 2025-08-19 21:05:00 |
Message-ID: | aKTm_H9wwR44a2J3@nathan |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Aug 11, 2025 at 04:12:48PM -0400, Tom Lane wrote:
> Nathan Bossart <nathandbossart(at)gmail(dot)com> writes:
>> On Thu, Jun 19, 2025 at 12:10:52PM -0700, Salvatore Dipietro wrote:
>>> We can notice that with low concurrency (1,2,4) results are similar
>>> while with medium concurrency (8,16)
>>> the No-ISB approach can introduce some regression especially on
>>> smaller instances. However, we can see some significant
>>> positive performance impact with high concurrency (>=32) settings on
>>> large instances (up to 8.76x on m7g.16xl with 256 concurrency).
>
>> Given these mixed results, it's unclear to me how exactly we should
>> proceed. Perhaps there is another approach that reduces the regressions to
>> a negligible level while still producing gains at higher levels of
>> concurrency. Or maybe we can convince ourselves that these regressions
>> aren't worth worrying about, but that seems like a bit of a stretch to me.
>
> I agree; I'm also worried that this may be optimizing for one
> particular ARM implementation and have negative effects on others.
Based on this discussion, I am marking the patch as Returned with Feedback.
--
nathan
From | Date | Subject | |
---|---|---|---|
Next Message | Sami Imseih | 2025-08-19 21:16:26 | Re: Improve LWLock tranche name visibility across backends |
Previous Message | Peter Eisentraut | 2025-08-19 21:01:49 | Re: Remove traces of long in dynahash.c |