Poor #requests/second performance
Andreas Jung
lists at zopyx.com
Tue Jun 2 06:15:26 CEST 2009
On 01.06.09 19:58, Poul-Henning Kamp wrote:
> In message <4A241423.4090509 at zopyx.com>, 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.
>
At what in particular. Looking at varnishstat does not give me a clue
about a possible problem.
> 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.
>
The test is not syntetic. The cache is "warm" and the slow performance
remains the same after 100k requests.
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://projects.linpro.no/pipermail/varnish-misc/attachments/20090602/783ddebf/attachment.vcf
More information about the varnish-misc
mailing list