Re: [RFC] adding aio_readv/writev

From: John Gardiner Myers (jgmyers@netscape.com)
Date: Tue Sep 24 2002 - 09:13:39 EST


Stephen C. Tweedie wrote:

>No, all you can infer from that is that "some method for avoiding
>small packets is important for networking." TCP_CORK already does
>that in Linux, for tcp at least, without requiring writev. (Of
>course, normal nonblocking writev is still there if you want it.)
>
TCP_CORK is indeed effective for avoiding small packets. Be that as it
may, the source data for network writes are frequently in discontiguous
buffers and writev is nonetheless still important for networking. The
alternative in the aio model is to waste a lot of resources delivering
io completions the application doesn't care about.



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



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:18 EST