checksumming benchmark

pmonta@halibut.imedia.com pmonta@halibut.imedia.com
Fri Feb 19 22:03:30 1999


I was curious about how much hardware checksumming would help
(but too lazy to do the actual work).  So this trivial patch,
as suggested by Donald's comment,

			/* Note: checksum -> skb->ip_summed = CHECKSUM_UNNECESSARY; */
+			skb->ip_summed = CHECKSUM_UNNECESSARY;

increases TCP performance from 378 Mbit/sec to 528 Mbit/sec (PII/350,
2.2.2pre).  I suppose the boost would decrease fractionally when the
driver actually does the right thing.

Cheers,
Peter Monta   pmonta@imedia.com
Imedia Corp.
 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.