sendfile() and Varnish2.0.2
phk at phk.freebsd.dk
Tue Dec 2 15:39:13 CET 2008
In message <4935470C.30200 at linpro.no>, Per Buer writes:
>> Are there issues associated with using sendfile() in varnish2.0.2 ?
>Yes. sendfile is turned off on Linux and FreeBSD. The performance impact
>is quite minimal.
It works on FreeBSD 8.* version, but you have to enable it by setting
a threshold above which it will be used.
It is not obvious that it is a benefit to use sendfile on any platform.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc