In message <[email protected]>, Andreas Jung writes:

>Running Varnish 2.0.4 on a Debian installation (dual-core, 2.8 GHz).
>
>Apache-Bench gives me a performance of 500-600 requests/second against
>a cached HTML page - even with an almost empty VCL configuration file.
>
>Squid gives me about 4000 requests/second on the same cached page.
>
>What is the best approach for narrowing down the bottleneck?

Examining varnishstat to see what happens.

Varnish employs a kind of "slow-start" algorithm to thread creation
which does not play well with synthetic loads like ab.  Typically
you have to precreate a suitable number of threads to avoid dropped
requests while varnish ramps up.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to