Requesting real-world stats, please

Angie T. Muhammad angie.tawfik at gmail.com
Thu May 27 11:32:09 CEST 2010


Thank you so much Audun :) .. I am experimenting with different apache
configs and different varnish thread configs to get the best
performance. My page load time is around 7 seconds (home page) which
is way too slow compared to HW and network capabilities of the server.

Thanks again

On 5/27/10, Audun Ytterdal <audun at ytterdal.net> wrote:
> Most people have directors with several identical backends. I've got
> it the other way around: Several standalone apache, lighty and nginx
> bokses serving different stuff according to host and url.
>
> This particular varnishbox is a HP Proliant BL460c G1 2XDualcore 2.66
> Ghz with 6 GB of RAM.
> Running Centos5.3. Only tuning is /var/lib/varnish on tmpfs
>
> The most active backend is a vmware-image running apache and 2GB of RAM.
> ServerLimit      256
> MaxClients       256
> MaxRequestsPerChild  4000
>
> Serving approx 25-50 hits/sec
>
> On Wed, May 26, 2010 at 11:22 AM, Angie T. Muhammad
> <angie.tawfik at gmail.com> wrote:
>> Adun, may I ask about apache's configuration running behind this varnish
>> installation and HW specs too if you don't mind ?
>> Thank you :)
>>
>> On Wed, May 26, 2010 at 1:18 AM, Audun Ytterdal <audun at ytterdal.net>
>> wrote:
>>>
>>> On Tue, May 25, 2010 at 2:28 PM, Poul-Henning Kamp <phk at phk.freebsd.dk>
>>> wrote:
>>> >
>>> > I may have "misunderestimated" the dynamics of how objects live in
>>> > Varnish caches and thus taken a wrong optimization decision with
>>> > the critbit hasher.
>>> >
>>> > I am looking for data to figure this out, specifically the values of
>>> > the two varnishstat counters:
>>> >
>>> >        "N struct objecthead."
>>> > and
>>> >        "N struct object"
>>> >
>>> > Along with information about which version of varnish, and which, if
>>> > any -h argument you use.
>>>
>>> One varnish doing about 4320 million req/day, peaks at 8K reqs/s
>>>
>>> [root at dexter ~]# rpm -qa |grep varnish
>>> varnish-2.1.0-2.vg
>>> varnish-libs-2.1.0-2.vg
>>>
>>> [root at dexter ~]# ps axu |grep varnish
>>> varnish   1239 54.8 74.1 14895928 4526520 ?    Sl   May24 1053:21
>>> /usr/sbin/varnishd -P /var/run/varnish.pid -a :80 -f
>>> /etc/varnish/vg.vcl -T 127.0.0.1:82 -t 600 -u varnish -g varnish -p
>>> thread_pool_add_delay 5 -p thread_pool_timeout 120 -p thread_pools 4
>>> -w 200,3000,120 -s malloc,5G
>>>
>>> [root at dexter ~]# varnishstat -1 -f n_object,n_objecthead
>>> n_object               129723          .   N struct object
>>> n_objecthead           163562          .   N struct objecthead
>>>
>
> --
> Audun Ytterdal
> http://audun.ytterdal.net
>


-- 
All the best,
Angie




More information about the varnish-misc mailing list