sendfile surprise

Anders Berg andersb at
Mon Aug 7 15:46:19 CEST 2006

On Aug 7, 2006, at 12:24, Poul-Henning Kamp wrote:

> In message <41767.1154944127 at>, "Poul-Henning  
> Kamp" writes:
>> I had tacitly assumed that sendfile(2) would be faster than
>> a write, but it may no be while data is still in RAM.
>> 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.
>> The stats don't quite confirm that this is the case, but we don't
>> actually record "time to first packet goes out" so the alteon
>> may see things differently than us.
> Actually, come to think of it, it's monday morning, the day
> after vacation, I guess the traffic might just be more intense
> now ?

The traffic is somewhat higher than normal, but not very much.
Daytime is alot more intensive then after 1600, anyway.

Anders Berg

> -- 
> 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.
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at

More information about the varnish-dev mailing list