Re: TCP/IP Checksumming
Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Wed, 27 Nov 1996 08:51:21 +0100 (MET)
> # OK, I just hacked a Linux version of a "test-suite" using the
> # cycle counter. (I'm using a Pentium Pro, so I can access the rdtsc
> # instruction in user code.)
> #
> # csum_partial: sum = 1a8a, min cycles 1406
> # csum_simple: sum = 1a8a, min cycles 6846
> # csum_opt: sum = 1a8a, min cycles 2455
> # csum_opt32: sum = 1a8a, min cycles 1434
> # csum_c: sum = 1a8a, min cycles 2626
>
> csum_partial: sum = 1a8a, min cycles 674
> csum_simple: sum = 1a8a, min cycles 8219
> csum_opt: sum = 1a8a, min cycles 2286
> csum_opt32: sum = 1a8a, min cycles 1235
> csum_c: sum = 1a8a, min cycles 3494
>
> This is on a 586/75.
here are my results for a PODP-83 in an ASUS SP3G
csum_partial: sum = 1a8a, min cycles 675
csum_simple: sum = 1a8a, min cycles 8220
csum_opt: sum = 1a8a, min cycles 2320
csum_opt32: sum = 1a8a, min cycles 1268
csum_c: sum = 1a8a, min cycles 3620
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^