Re: use SIMD in GetPrivateRefCountEntry() - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: use SIMD in GetPrivateRefCountEntry()
Date
Msg-id CAH2-WzmeoT8O1EZ7EPv26JoEt4tEQoRBMvyP6aCgG5ZBXRa5yg@mail.gmail.com
Whole thread Raw
In response to Re: use SIMD in GetPrivateRefCountEntry()  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
On Fri, Oct 24, 2025 at 4:32 PM Peter Geoghegan <pg@bowt.ie> wrote:
> I was unable to notice any improvements in any of the microbenchmarks
> that I've been using to test the index prefetching patch set. For
> whatever reason, these test cases are neither improved nor regressed
> by your patch series.

Correction: appears to be a regression at higher client counts with
standard pgbench SELECT + the index prefetching patchset + your v2
patchset. Not a massive one (about a 5% loss in TPS/throughput), and
not one that I can reproduce at lower client counts.

There are 16 physical cores on this machine, and that seems to be
around the cutoff for getting these regressions. I've disabled
turboboost and typerthreading on this machine, since I find that that
leads to more consistent performance, at least at lower client counts.

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: use SIMD in GetPrivateRefCountEntry()
Next
From: Sami Imseih
Date:
Subject: Re: Bug in pg_stat_statements