Re: CRC32C Parallel Computation Optimization on ARM

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: "Devulapalli, Raghuveer" <raghuveer(dot)devulapalli(at)intel(dot)com>
Cc: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Xiang Gao <Xiang(dot)Gao(at)arm(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: CRC32C Parallel Computation Optimization on ARM
Date: 2025-03-12 06:51:08
Message-ID: CANWCAZayLWWekwD8yqXUD1cDZFcx1z4hq4q7_4hi1CGePTQc3g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 12, 2025 at 12:46 AM Devulapalli, Raghuveer
<raghuveer(dot)devulapalli(at)intel(dot)com> wrote:
>
> I am happy to submit a patch with a C fallback version that leverages the specific algorithm/technique mentioned in the white paper to make it clear that Intel has contributed this specific technique to Postgres under Postgres license terms. That should hopefully address any lingering concerns anyone may have w.r.t using this technique for the benefit of Postgres.

Thanks for offering, but I'm unclear if that's actually necessary. I'm
still confused as to what the status of the patents are. From your
last response:

> Intel has contributed SSE4.2 CRC32C [1] and AVX-512 CRC32C [2] based on similar techniques to postgres.

...this is a restatement of facts we already know. I'm guessing the
intended takeaway is "since Intel submitted an implementation to us
based on paper A, then we are free to separately also use a technique
from paper B (which cites patents)". I'd be delighted to hear that, if
that's what you found from talking to a legal team, but it's not clear
to me.

The original proposal that started this thread is below, and I'd like
to give that author credit for initiating that work, as long as there
is no legal issue with that:

https://www.postgresql.org/message-id/DB9PR08MB6991329A73923BF8ED4B3422F5DBA@DB9PR08MB6991.eurprd08.prod.outlook.com

--
John Naylor
Amazon Web Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2025-03-12 06:54:02 Re: Improve CRC32C performance on SSE4.2
Previous Message Amit Kapila 2025-03-12 06:41:42 Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.