On Fri, Mar 25, 2016 at 5:09 PM, Martin Blix Grydeland <
[email protected]> wrote:

> On Fri, 25 Mar 2016 at 16:35 Nils Goroll <[email protected]> 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!
www.varnish-software.com
<http://info.varnish-software.com/signature>
_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to