netdev
[Top] [All Lists]

Re: Hardware IP checksums

To: Artur Skawina <skawina@xxxxxxxxxxxxx>
Subject: Re: Hardware IP checksums
From: Andrew Morton <andrewm@xxxxxxxxxx>
Date: Tue, 25 Apr 2000 12:22:12 +1000
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
References: <200004241544.TAA08437@ms2.inr.ac.ru> <39048082.3EE153BF@geocities.com>
Sender: owner-netdev@xxxxxxxxxxx
Artur Skawina wrote:
> 
> > It appeared pretty useless. Jes noticed this first time,
> > I had to check this experimentally, and yes... No visible improvements.
> > HW checksum on transmit looks really not useful without zero copy.
> 
> for example on p2 the extra checksumming cost (vs a plain copy) is ~7%,
> and that's the worst case, ie everything cached. Add cache misses and
> the difference won't be visible...

Ah.  That's pretty convincing.  But it would be a huge win for zero-copy
Tx, as Alexey points out.  I need to pay a bit more attention to what's
happening on that front.

Thanks.

-- 
-akpm-

<Prev in Thread] Current Thread [Next in Thread>