Re: Should io_method=worker remain the default?
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Jeff Davis <pgsql@j-davis.com>
Cc: pgsql-hackers@postgresql.org
Date: 2025-09-08T17:43:45Z
Lists: pgsql-hackers
Hi, On 2025-09-05 16:07:09 -0700, Jeff Davis wrote: > On Fri, 2025-09-05 at 13:25 -0700, Jeff Davis wrote: > > As an aside, I'm building with meson using -Dc_args="-msse4.2 -Wtype- > > limits -Werror=missing-braces". But I notice that the meson build > > doesn't seem to use -funroll-loops or -ftree-vectorize when building > > checksums.c. Is that intentional? If not, perhaps slower checksum > > calculations explain my results. Yes, that's an oversight. > Attached a patch. I'm not sure if it's the right way to do things, but > the resulting compiler command seems right to me. > > It doesn't affect my tests in this thread much, but it seems best to be > consistent with autoconf. Yes, we should do this - the patch looks good to me. Greetings, Andres Freund
Commits
-
meson: Build numeric.c with -ftree-vectorize.
- 9016fa7e3bcd 19 (unreleased) landed
- 87ea6e9b66b6 18.0 landed
- 509c779293f2 16.11 landed
- 15f9eeef624f 17.7 landed
-
meson: build checksums with extra optimization flags.
- 2de24ca6ca51 16.11 landed
- e25453a3631f 17.7 landed
- a7024398b80a 18.0 landed
- 9af672bcb245 19 (unreleased) landed