Re: Proposal for Updating CRC32C with AVX-512 Algorithm.
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: "Devulapalli, Raghuveer" <raghuveer.devulapalli@intel.com>
Cc: Andres Freund <andres@anarazel.de>, Bruce Momjian <bruce@momjian.us>, Alvaro Herrera <alvherre@alvh.no-ip.org>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "Shankaran, Akash" <akash.shankaran@intel.com>
Date: 2024-12-03T23:02:39Z
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 →
-
Compute CRC32C using AVX-512 instructions where available
- 3c6e8c123896 18.0 landed
On Tue, Dec 03, 2024 at 03:46:16PM +0000, Devulapalli, Raghuveer wrote: >> Raghuveer, would you mind rebasing this patch set now that the SSE4.2 patch is >> committed? > > Rebased to master branch. Thanks! cfbot is showing a couple of errors [0] [1] [2]. 32-bit Linux is failing to compile with the 64-bit intrinsics. I think it'd be fine to limi this optimization to 64-bit builds unless the code can be easily fixed to work for both. The macOS build seems to be trying to include the x86 headers, which is producing many errors. We'll need to make sure that none of this code is being compiled on ARM machine. The Windows build seems to be unable to resolve the pg_comp_crc32c symbol, but it is not immediately obvious to me why. [0] https://cirrus-ci.com/task/6023394207989760 [1] https://cirrus-ci.com/task/5460444254568448 [2] https://cirrus-ci.com/task/6586344161411072 -- nathan