[Varnish] #599: WRK_Queue should prefer thread pools with idle threads / improve thread pool loadbalancing
Varnish
varnish-bugs at varnish-cache.org
Thu Oct 14 15:25:23 CEST 2010
#599: WRK_Queue should prefer thread pools with idle threads / improve thread
pool loadbalancing
-------------------------+--------------------------------------------------
Reporter: slink | Owner: phk
Type: enhancement | Status: new
Priority: high | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by slink):
I've reviewed the patch again, updated it for the current trunk r5430 and
added some more comments.
It this point I think that the implementation won't need any more more
sophistication. A good scheduler will always re-schedule warm threads, and
because we're using qp->idle as a stack, we will prefer warm threads.
Ideally, we will have one pool per cpu (as configured by the admin), but
nailing them down would probably be counter-productive.
--
Ticket URL: <http://varnish-cache.org/trac/ticket/599#comment:3>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list