Re: debugging what might be a perf regression in 17beta2 - Mailing list pgsql-hackers

From David Rowley
Subject Re: debugging what might be a perf regression in 17beta2
Date
Msg-id CAApHDvrXQrZrwO=g6SFLaDxwaOX17DR7ThtYoS8QZ44hQX4Fww@mail.gmail.com
Whole thread Raw
In response to debugging what might be a perf regression in 17beta2  (MARK CALLAGHAN <mdcallag@gmail.com>)
Responses Re: debugging what might be a perf regression in 17beta2
List pgsql-hackers
On Sat, 6 Jul 2024 at 15:11, MARK CALLAGHAN <mdcallag@gmail.com> wrote:
> On small servers I have at home I can reproduce the problem without concurrent queries and 17beta2 is 5% to 10%
slowerthere.
 
>
> The SQL statement for the scan microbenchmark is:
> SELECT * from %s WHERE LENGTH(c) < 0

Can you share the CREATE TABLE and script to populate so others can try?

Also, have you tried with another compiler?  It does not seem
impossible that the refactoring done in heapam.c or the read stream
code might have changed something to make the binary more sensitive to
caching effects in this area.  One thing I often try when I can't
pinpoint the exact offending commit is to write a script to try the
first commit of each day for, say, 30 days to see if there is any
saw-toothing in performance numbers over that period.

David



pgsql-hackers by date:

Previous
From: MARK CALLAGHAN
Date:
Subject: debugging what might be a perf regression in 17beta2
Next
From: David Rowley
Date:
Subject: Re: Use generation memory context for tuplestore.c