Nils Goroll <sl...@schokola.de> writes: > Which wouldn't surprise me as (at least on Solaris) sendfilev and > writev both do scatter-gather writes when used on memory buffers. My > understanding is that sendfilev would only be advantageous if Varnish > actually read from file descriptors rather than from cache buffers.
It does. That's the whole point. But empirical testing shows that sendfile() does not improve performance, most likely because of the overhead of setting up the VM structures for the transfer. DES -- Dag-Erling Smørgrav - d...@des.no _______________________________________________ varnish-dev mailing list varnish-dev@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-dev