Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2001 21:03:17 -0400
From:      "Louis A. Mamakos" <louie@TransSys.COM>
To:        Mike Smith <msmith@FreeBSD.ORG>
Cc:        tlambert2@mindspring.com, Bsdguru@aol.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: How to disable software TCP checksumming? 
Message-ID:  <200106110103.f5B13HI87819@whizzo.transsys.com>
In-Reply-To: Your message of "Sat, 09 Jun 2001 14:35:32 PDT." <200106092135.f59LZW701229@mass.dis.org> 
References:  <200106092135.f59LZW701229@mass.dis.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

Setting aside the degree to which you choose to be paranoid about
where data can be corrupted, and the likelyhood thereof-- there
is an architectural issue here, which is that the CRC provided
by your friendly neighborhood Ethernet NIC card only protects the
data over one Ethernet subnetwork.  The TCP checksum, and TCP in
general, provides end-to-end semantics, independent of the
concatenation of physical links the TCP segments might transit from
the source to the destination.  If you have an end-to-end protocol,
with end-to-end semantics, then you need and end-to-end mechanism.

Remember years ago when Sun by default shipped their OS with UDP
checksums disabled for UDP-based NFS traffic.  The position was that
you had this strong 32 bit CRC protecting your NFS traffic between
the client and server (on the same LAN, of course) and the UDP
checksum was wasteful and degrading performance.  And people had
mysterious things happen to their files when running UDP/NFS over
WAN links and other interesting media and circumstances.

Everything old is new again.

louie


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106110103.f5B13HI87819>