Re: Poor #requests/second performance
Sorry for the noise. The customer was running a transparent proxy within the network without telling me. Now I reach a performance of roughly 3000 requests/seconds which is fast enough however still slower than Squid. Andreas On 01.06.09 19:47, Andreas Jung wrote: > 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? > > Andreas > > > > > ___ > varnish-misc mailing list > varnish-misc@projects.linpro.no > http://projects.linpro.no/mailman/listinfo/varnish-misc > -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376 Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535 Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK E-Publishing, Python, Zope & Plone development, Consulting begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc
Re: Poor #requests/second performance
On Tue, Jun 02, 2009 at 08:10:06AM +0200, Andreas Jung wrote: > Output of varnishstat: (greedy-snipping) Seeing as how you're testing with only a concurrency of 10, I doubt thread startup is a big issue, but nevertheless, 12 threads is too low if you intend to use this for production. I advice setting thread_pool_min to reflect your actual expected load. I also see a few expiries, it's not really easy to tell from varnishstat what is causing the slowdowns, but it I would try setting up grace to ensure that cache misses don't drag down a significant number of threads. However, with only 10 concurrent requests, even one request going to the backend will cause a significant hit to the requestrate. To solve this, you'll have to either increase the concurrency of the test and/or increase the lifespan of the cached objects. Other than that, varnishstat -1 and some tinkering with varnishtop could further track down the lousy performance you're seeing. -- Kristian Lyngstøl Redpill Linpro AS Tlf: +47 21544179 Mob: +47 99014497 pgpcNr7eXNbRO.pgp Description: PGP signature ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc