Messages in this thread | | | Date | Wed, 6 Sep 2000 08:08:42 +1200 | From | Chris Wedgwood <> | Subject | Re: zero-copy TCP |
| |
On Tue, Sep 05, 2000 at 09:55:17PM +0200, Ingo Molnar wrote:
this is not just an interface question, mmap()+write() is conceptually inferior to a sendfile(). [if the goal is to send the same data multiple times.]
Yes, some web servers do exactly this; they leave commonly requested static content mapped and write from these mappings.
Are you saying if the total size of such mappings is less than the working set of ram in use it will still be slower than sendfile?
-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/
| |