pipe mode and sendfile?

Per Buer perbu at varnish-software.com
Tue Mar 29 10:34:58 CEST 2016

On Fri, Mar 25, 2016 at 5:09 PM, Martin Blix Grydeland <
martin at varnish-software.com> wrote:

> On Fri, 25 Mar 2016 at 16:35 Nils Goroll <slink at schokola.de> wrote:
>> is there a particular reason for pipe mode not using sendfile half the
>> number of
>> syscalls required and avoid copying to/from a userspace buffer?
> sendfile() requires the in_fd to be an fd supporting mmap-like operations,
> ie no network sockets.

How about TCP Splicing? Shouldn't we be able to do that? If I'm not
mistaken HA-Proxy used TCP Splicing for quite some time to avoid read/write
copying to userspace.

*Per Buer*
CTO | Varnish Software AS
Cell: +47 95839117
We Make Websites Fly!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20160329/a4c5d65e/attachment.html>

More information about the varnish-dev mailing list