CRC algorithm (was Re: [REVIEW] Re: Compression of full-page-writes) - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject CRC algorithm (was Re: [REVIEW] Re: Compression of full-page-writes)
Date
Msg-id 54135174.2030503@vmware.com
Whole thread Raw
In response to Re: [REVIEW] Re: Compression of full-page-writes  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
Responses Re: CRC algorithm (was Re: [REVIEW] Re: Compression of full-page-writes)  (Andres Freund <andres@2ndquadrant.com>)
Re: CRC algorithm (was Re: [REVIEW] Re: Compression of full-page-writes)  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On 09/12/2014 10:54 PM, Abhijit Menon-Sen wrote:
> At 2014-09-12 22:38:01 +0300, hlinnakangas@vmware.com wrote:
>>
>> We probably should consider switching to a faster CRC algorithm again,
>> regardless of what we do with compression.
>
> As it happens, I'm already working on resurrecting a patch that Andres
> posted in 2010 to switch to zlib's faster CRC implementation.

As it happens, I also wrote an implementation of Slice-by-4 the other
day :-). Haven't gotten around to post it, but here it is.

What algorithm does zlib use for CRC calculation?

- Heikki


Attachment

pgsql-hackers by date:

Previous
From: Abhijit Menon-Sen
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes
Next
From: Peter Geoghegan
Date:
Subject: Re: Stating the significance of Lehman & Yao in the nbtree README