lkml.org 
[lkml]   [1996]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IP Checksumming

Date: Sat, 23 Nov 1996 17:39:35 +0100 (MET)
From: Torbjorn Lindgren <tl@funcom.no>

*Exactly* what is wrong in testing the good old way, by checksuming
a large datablock and measure the time it takes?! Answer: ** NOTHING **

I'll admit that I developed my Sparc checksum code from userland with
a test program that tested:

a) Whether it gave the correct calculations
b) How fast it was for various buffer sizes and alignment

However, after I was satisfied with what the program told me about my
code, I took the results very lightly until I saw what it translated
into when things are going over the wire with 2 or 3 interfaces maxed
out.

For writing and testing the initial code, sure, nothing is wrong with
these sorts of tests. But don't come to any final conclusions until
you stick the code in the kernel and measure it's effects with other
(I/O and cache) activity going on along side of it.

--------------------------------------------////
Yow! 10.49 MB/s remote host TCP bandwidth ////
over 100Mb/s ethernet. Beat that! ////
-----------------------------------------////__________ o
David S. Miller, davem@caip.rutgers.edu /_____________/ / // /_/ ><

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.041 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site