Re: More speedups for tuple deformation - Mailing list pgsql-hackers

From John Naylor
Subject Re: More speedups for tuple deformation
Date
Msg-id CANWCAZabO1oj+khF+YNVpmkTQwRRyNJesbsBhRFL5emZJh3tow@mail.gmail.com
Whole thread Raw
In response to Re: More speedups for tuple deformation  (Andres Freund <andres@anarazel.de>)
Responses Re: More speedups for tuple deformation
List pgsql-hackers
On Tue, Feb 3, 2026 at 7:33 AM Andres Freund <andres@anarazel.de> wrote:
> It's somewhat scary to see this level of code size increase in a case where
> the compiler really has no information to think vectorizing really is
> beneficial...

I tried building on gcc 15.2 with -fno-tree-loop-vectorize, and the
server .text segment was only 5kB smaller, but that may understate the
impact on the decisions that get made. Maybe it's better to opt in for
unrolling and vectorization? I think this option also controls whether
to turn loops into libc memset/memmove etc calls.

--
John Naylor
Amazon Web Services



pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Remove freelist reference in buf_init.c
Next
From: John Naylor
Date:
Subject: Re: [PATCH] ANALYZE: hash-accelerate MCV tracking for equality-only types