Requesting real-world stats, please
audun at ytterdal.net
Wed May 26 00:18:38 CEST 2010
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."
> "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
[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
More information about the varnish-misc