Re: CRC32C Parallel Computation Optimization on ARM - Mailing list pgsql-hackers

From John Naylor
Subject Re: CRC32C Parallel Computation Optimization on ARM
Date
Msg-id CANWCAZbr=A7JjkM=rxeJoxLjML+-jq6tBTPGvfw138f68C7Xtg@mail.gmail.com
Whole thread Raw
In response to RE: CRC32C Parallel Computation Optimization on ARM  ("Devulapalli, Raghuveer" <raghuveer.devulapalli@intel.com>)
Responses RE: CRC32C Parallel Computation Optimization on ARM
List pgsql-hackers
On Tue, Mar 11, 2025 at 3:36 AM Devulapalli, Raghuveer
<raghuveer.devulapalli@intel.com> wrote:
>
> Hi John,
>
> > On the other hand, looking at Linux kernel sources, it seems a patch using this
> > technique was contributed by Intel over a decade ago:
> >
> > https://github.com/torvalds/linux/blob/master/arch/x86/crypto/crc32c-pcl-intel-
> > asm_64.S
> >
> > So one more thing to ask our friends at Intel.
>
> Intel has contributed SSE4.2 CRC32C [1] and AVX-512 CRC32C [2] based on similar techniques to postgres.
>
> [1]
https://www.postgresql.org/message-id/PH8PR11MB8286F844321BA1DEEC518348FBFD2@PH8PR11MB8286.namprd11.prod.outlook.com
> [2]
https://www.postgresql.org/message-id/BL1PR11MB530401FA7E9B1CA432CF9DC3DC192@BL1PR11MB5304.namprd11.prod.outlook.com

No, these are not similar at all. I gave you the paper name and the
patents cited therein here:

https://www.postgresql.org/message-id/CANWCAZbkt89_fVAaCAGBMznwA_xh%3D2Ci5q4GZytZHKjZAEjCRQ%40mail.gmail.com

--
John Naylor
Amazon Web Services



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit
Next
From: Junwang Zhao
Date:
Subject: Re: [Patch] remove duplicated smgrclose