Re: zero-copy TCP

From: Chris Wedgwood (cw@f00f.org)
Date: Tue Sep 05 2000 - 14:40:17 EST


On Sun, Sep 03, 2000 at 07:34:18PM +0200, Ingo Molnar wrote:

    yep i agree - in this case a receivefile() implementation would
    be handy (we are 100% ready in 2.4 to introduce it - from the
    pagecache and VFS point of view, it's just not there yet), thus
    you could receivefile() your data into a temporary file, and
    sendfile() it to the other card, without ever touching data. This
    is faster than any zero-copy read()/write(), because it can do
    things straight in the pagecache, without having to deal with
    user-space page mappings.

Why not something like lm's splice?

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



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:23 EST