sendfile surprise

Dag-Erling Smørgrav des at
Mon Aug 7 13:02:05 CEST 2006

"Poul-Henning Kamp" <phk at> writes:
> "Poul-Henning Kamp" <phk at> writes:
> > While working on the slow client timeout, I have taken sendfile
> > out for now and as a result I see the Alteon loading us with up to
> > 1500 req/s, which I take to mean that our responsetime is better
> > now.
> Actually, come to think of it, it's monday morning, the day after
> vacation, I guess the traffic might just be more intense now ?

I don't know.  It makes sense that sendfile(2) should have a higher
start-up cost (hence also a higher response time) than plain write(2);
it's probably not worth it for small documents.

Dag-Erling Smørgrav
Senior Software Developer
Linpro AS -

More information about the varnish-dev mailing list