Re: Proposal for enabling auto-vectorization for checksum calculations

2025-05-22 Thread Matthew Sterrett
> You can see the failure at the artifacts -> > 'log/tmp_install/log/install.log' file on the CI web page [1]. > > If you want to replicate that on your local: > > $ ./configure --with-llvm CLANG="ccache clang-16" > $ make -s -j8 world-bin > $ make -j8 check-world > > should be enough. I was able t

Re: Proposal for enabling auto-vectorization for checksum calculations

2025-05-19 Thread Matthew Sterrett
y 10, 2025 at 4:02 AM Stepan Neretin wrote: > > > > On Sat, May 10, 2025 at 6:01 PM Stepan Neretin wrote: >> >> >> >> On Thu, May 8, 2025 at 6:57 AM Matthew Sterrett >> wrote: >>> >>> Hello! I'm still trying to figure out those CI

Re: Proposal for enabling auto-vectorization for checksum calculations

2025-05-07 Thread Matthew Sterrett
Hello! I'm still trying to figure out those CI failures, I just wanted to update things. >From my testing, with this patch repeatedly disabling/enabling checksums is about 12.4% on an approximately 15 GB database. By the way, I'd love it if anyone could help me figure out how to replicate a CI fa

Proposal for enabling auto-vectorization for checksum calculations

2025-04-04 Thread Matthew Sterrett
Hello, This patch enables more compiler autovectorization for the checksum calculations. This code is particularly well suited for autovectorization, so just adding pg_attribute_target and some simple dynamic dispatch logic we can get improved vectorization. This gives about a 2x speedup in a synth