Re: Proposal for enabling auto-vectorization for checksum calculations
Andrew Kim <tenistarkim@gmail.com>
From: Andrew Kim <tenistarkim@gmail.com>
To: John Naylor <johncnaylorls@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-09-24T21:50:44Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Use AVX2 for calculating page checksums where available
- 5e13b0f24039 19 (unreleased) landed
-
Refactor checksumming code to make it easier to use externally.
- f04216341dd1 9.3.0 cited
Attachments
- v5-0002-Benchmark-code-for-postgres-checksums.patch (application/octet-stream) patch v5-0002
- v5-0001-Enable-autovectorizing-pg_checksum_block.patch (application/octet-stream) patch v5-0001
On Tue, Sep 23, 2025 at 11:32 PM John Naylor johncnaylorls@gmail.com wrote: There is no attachment in this thread, so it's not showing up in the commitfest entry (which will need to be moved to next open commitfest), so it's not getting CI testing: https://commitfest.postgresql.org/patch/5726/ Note that the whole series must be attached in a single email, or it won't get automated testing. Thanks, John. I see the issue now — I’ll attach the entire patch series in a single email so it shows up properly in the commitfest and gets CI coverage. Please find attached v6 of the patchset, updated per your feedback. Best regards, Andrew Kim On Tue, Sep 23, 2025 at 11:32 PM John Naylor <johncnaylorls@gmail.com> wrote: > > On Thu, Sep 11, 2025 at 1:55 PM root <tenistarkim@gmail.com> wrote: > > Thanks for the feedback. This is v5 of the patchset, updated following your comments: > > > > - Moved the function pointer definitions out of common headers and > > into src/port, consistent with existing practice. > > There is no attachment in this thread, so it's not showing up in the > commitfest entry (which will need to be moved to next open > commitfest), so it's not getting CI testing: > > https://commitfest.postgresql.org/patch/5726/ > > Note that the whole series must be attached in a single email, or it > won't get automated testing. > > -- > John Naylor > Amazon Web Services