varnish 3 - thread_pools

Per Buer perbu at varnish-software.com
Fri May 3 10:18:02 CEST 2013


The option to change the number of thread pools might very well go away in
the future. I guess PHK wasn't sure how much locking and CPU affinity would
influence the performance of the pools. In order to know you have to
implement it. A lot of the tunables are like that, values based on guesses,
not necessary exact measurements.


On Fri, May 3, 2013 at 12:34 AM, Stephen Wood <smwood4 at gmail.com> wrote:

> Are there any exceptions to the "2 is best" rule for this? I'm asking out
> of curiosity. It seems strange to me that Varnish would even provide the
> option to change it if any other value is detrimental to performance.
>
>
> On Thu, May 2, 2013 at 2:02 PM, Per Buer <perbu at varnish-software.com>wrote:
>
>> That is correct. We haven't been able to see any increase in performance
>> when the number of pools is increased above 2.
>>
>>
>> On Thu, May 2, 2013 at 4:31 PM, Rangel, Raul <Raul.Rangel at disney.com>wrote:
>>
>>> I think someone recently commented that 2 thread pools is the ideal
>>> value. Anymore and you don’t see a performance increase.****
>>>
>>> ** **
>>>
>>> Raul****
>>>
>>> ** **
>>>
>>> *From:* varnish-misc-bounces at varnish-cache.org [mailto:
>>> varnish-misc-bounces at varnish-cache.org] *On Behalf Of *lnsano at bol.com.br
>>> *Sent:* Wednesday, March 06, 2013 2:23 PM
>>> *To:* varnish-misc at varnish-cache.org
>>> *Subject:* varnish 3 - thread_pools****
>>>
>>> ** **
>>>
>>> Hi,****
>>>
>>>  ****
>>>
>>> By the book, the thread_pools should be 2. However the server is
>>> multi-processed(8 cpus) and can handle more thread_pools.****
>>>
>>> This server handles more than 5000 requests/sec. ****
>>>
>>>  ****
>>>
>>> Is it a good ideia increasing the thread_pools to 8 and decreasing the
>>> thread_pool_max?****
>>>
>>>  ****
>>>
>>> regards,****
>>>
>>>  ****
>>>
>>> Leandro Sano****
>>>
>>> _______________________________________________
>>> varnish-misc mailing list
>>> varnish-misc at varnish-cache.org
>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>>
>>
>>
>>
>> --
>>  <http://www.varnish-software.com/> *Per Buer*
>> CEO | Varnish Software AS
>> Phone: +47 958 39 117 | Skype: per.buer
>> We Make Websites Fly!
>>
>> Winner of the Red Herring Top 100 Europe Award 2013
>>
>>
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>


-- 
 <http://www.varnish-software.com/> *Per Buer*
CEO | Varnish Software AS
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!

Winner of the Red Herring Top 100 Europe Award 2013
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130503/d49e0737/attachment.html>


More information about the varnish-misc mailing list