Re: sendfile+zerocopy: fairly sexy (nothing to do with ECN)

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Fri Feb 02 2001 - 07:14:33 EST


>>>>> " " == Andrew Morton <andrewm@uow.edu.au> writes:

> Much the same story. Big increase in sendfile() efficiency,
> small drop in send() and NFS unchanged.

This is normal. The server doesn't do zero copy reads, but instead
copies from the page cache into an NFS-specific buffer using
file.f_op->read(). Alexey and Dave's changes are therefore unlikely to
register on NFS performance (other than on CPU use as has been
mentioned before) until we implement a sendfile-like scheme for knfsd
over TCP.
I've been wanting to start doing that (and also to finish the client
conversion to use the TCP zero-copy), but I'm pretty pressed for time
at the moment.

Cheers,
  Trond
-
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 : Wed Feb 07 2001 - 21:00:15 EST