pipe mode and sendfile?

Martin Blix Grydeland martin at varnish-software.com
Fri Mar 25 17:09:39 CET 2016


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.

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20160325/f8b80731/attachment.html>


More information about the varnish-dev mailing list