Re: Proposal for enabling auto-vectorization for checksum calculations

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: Andrew Kim <tenistarkim(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Oleg Tselebrovskiy <o(dot)tselebrovskiy(at)postgrespro(dot)ru>
Subject: Re: Proposal for enabling auto-vectorization for checksum calculations
Date: 2025-11-18 04:48:12
Message-ID: CANWCAZZcKYp+01u1QmkShfXVkUCCdxtJAgHT-61Vw0ALoWj47A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 18, 2025 at 10:32 AM Andrew Kim <tenistarkim(at)gmail(dot)com> wrote:

> I've double-checked everything after applying the v9 checksum patches
> and updating pg_filedump accordingly.
> Following your suggestion, I removed the checksum_impl.h include and
> the Assert redefinition, keeping only the port/checksum.h include.
> build compiles cleanly with the new architecture, and pg_filedump
> functions correctly with the AVX2 optimizations.
> If you agree with this approach, I'd like to prepare a patch for
> upstream submission.

Thanks, but there is no action required now. I mentioned some
observations, and I'm going to experiment a bit further.

Also, it's way too early to be suggesting changes to other projects,
since we haven't committed anything yet. Even things committed can
occasionally be reverted before beta 1 anyway.
--
John Naylor
Amazon Web Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2025-11-18 05:03:08 Re: Row pattern recognition
Previous Message Corey Huinker 2025-11-18 04:39:50 Re: Extended Statistics set/restore/clear functions.