lkml.org 
[lkml]   [1999]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: zero-copy TCP fileserving
Alan Cox writes:
> > > As most (if not all) network drivers do load the entire frame onto the
> > > card before beginning transmission, this is a possibility.
> >
> > Linus has pointed out that good cards fetch the data from memory as it
> > is transmitted (is this true?) so I'll eat my words before everyone else
> > does. :-)
>
> Often it isnt true. They send one frame while fetching the next from
> main memory. This avoids tons of crap packets caused by PCI bus
> latency and the like but has almost identical performance under real
> I/O conditions

So then they can usefully do the checksum in hardware, right? That
will help keep the CPU from polluting it's caches (provided we're
using sendfile() or some such).

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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