Re: zero-copy TCP fileserving

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 4 Jun 1999 18:52:03 +0100 (BST)


> > Having chains means you keep having to say 'is the rest of this structure
> > in this buffer' and 'copy this around a bit to make the structure in one
> > buffer'.
>
> So all this talk of zero-copy file serving, scatter gather DMA and so on
> would require some kind of mbuf abstraction?

Not the whole thing. For receiving you have to do so much nothing will occur
for a long time (also receive is uninteresting in the real world). For send
it isnt the whole mess because you know all the headers are in the linear
block, so only data is scatter gather.

-
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/