performance scalability of a multi-core

2009-09-09 Thread Václav Bílek
Helo


what are your experiences using varnish on multi CPU systems on
Linux/Freebsd?

my experience in Linux on 8core  is that varnish never gets more than
20% of all CPUs, only vhen it is overloaded, then it takes all CPU ( but
berformance drops).


Vaclav Bilek

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: performance scalability of a multi-core

2009-09-09 Thread Poul-Henning Kamp
In message 4aa7ad33.1060...@1art.cz, =?UTF-8?B?VsOhY2xhdiBCw61sZWs=?= writes:
Helo


what are your experiences using varnish on multi CPU systems on
Linux/Freebsd?

my experience in Linux on 8core  is that varnish never gets more than
20% of all CPUs, only vhen it is overloaded, then it takes all CPU ( but
berformance drops).

That is pretty typical behaviour.

In general Varnish does not need much CPU, it needs only an average
of seven sytem calls for a cache hit (last I looked).

The problem is that when things pile up, for whatever reason, Varnish
sort of climbs the pile.

Various ideas have been floated, how to deal better with that, but
no really good idea has been found yet.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@freebsd.org | 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
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc