Re: New CRC algorithm: Slicing by 8 - Mailing list pgsql-hackers

From Mark Kirkwood
Subject Re: New CRC algorithm: Slicing by 8
Date
Msg-id 453C5AC5.9060504@paradise.net.nz
Whole thread Raw
In response to Re: New CRC algorithm: Slicing by 8  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: New CRC algorithm: Slicing by 8  (Mark Kirkwood <markir@paradise.net.nz>)
List pgsql-hackers
Tom Lane wrote:
> Mark Kirkwood <markir@paradise.net.nz> writes:
>> Interesting that the slice-8 algorithm seems to work noticeably better 
>> on FreeBSD than Linux -
> 
> Are you running similar gcc versions on both?  I realize I forgot to
> document what I was using:
> 
> HPPA: gcc version 2.95.3 20010315 (release)
> PPC: gcc version 4.0.1 (Apple Computer, Inc. build 5363)
> both Intels: gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)
> 
> Interesting that it's only the oldest-line tech that's showing a win
> for me ...
> 
>

Ah - good point, FreeBSD is using an older compiler:

FreeBSD: gcc (GCC) 3.4.6 [FreeBSD] 20060305
Linux: gcc (GCC) 4.1.1 (Gentoo 4.1.1)

Hmm - there is a FreeBSD port for 4.1.2, I might set that off to build 
itself and see if compiling with it changes the results any....


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: New CRC algorithm: Slicing by 8
Next
From: "Simon Riggs"
Date:
Subject: Re: New CRC algorithm: Slicing by 8