Re: 16-bit page checksums for 9.2 - Mailing list pgsql-hackers

From Nicolas Barbier
Subject Re: 16-bit page checksums for 9.2
Date
Msg-id CAP-rdTYtSvCRQ=2FbjryT8G7eeDFw+PDp1Py7i07mSAmhkLtUA@mail.gmail.com
Whole thread Raw
In response to Re: 16-bit page checksums for 9.2  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
2012/1/4 Simon Riggs <simon@2ndquadrant.com>:

> On Wed, Jan 4, 2012 at 9:20 AM, Andres Freund <andres@anarazel.de> wrote:
>
>> I wonder if CRC32c wouldn't be a good alternative given more and more cpus
>> (its in SSE 4.2) support calculating it in silicon.
>
> We're trying to get something that fits in 16bits for this release.
> I'm guessing CRC32c doesn't?

What happens to the problem-detecting performance of a 16 bit part of
a CRC32c vs. a real 16 bit checksum? If it is still as good, it might
make sense to use the former, assuming that there is a way to easily
trigger the silicon support and enough CPUs support it.

Nicolas

-- 
A. Because it breaks the logical sequence of discussion.
Q. Why is top posting bad?


pgsql-hackers by date:

Previous
From: Ants Aasma
Date:
Subject: Re: 16-bit page checksums for 9.2
Next
From: pratikchirania
Date:
Subject: Re: pgstat wait timeout