sendfile surprise
Dag-Erling Smørgrav
des at linpro.no
Mon Aug 7 13:02:05 CEST 2006
"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> "Poul-Henning Kamp" <phk at phk.freebsd.dk> 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.
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
More information about the varnish-dev
mailing list