<div>Hi,</div>
<div> </div>
<div>Here, we are using the recommended value and it is going OK:</div>
<div> </div>
<div> thread_pool_max             5000 [threads]<br /> thread_pool_min             5000 [threads]<br /> thread_pools                2 [pools]<br /><br /></div>
<div> Total Requests ~ 5k per/sec</div>
<div> </div>
<div> </div>
<div>Some times, the problem is the S.O tunning. </div>
<div>Now, it is receiving "Total Requests": 1266.83</div>
<div> </div>
<div>and Network is OK, but it could get busy:</div>
<div>$ ss -s</div>
<div>Total: 3516 (kernel 3654)<br />TCP:   50734 (estab 3319, closed 46718, orphaned 669, synrecv 0, timewait <span style="color: #000000;"><strong>46718</strong></span>/0), ports 139</div>
<div> </div>
<div> </div>
<div> </div>
<div>ps. I've alredy received these answers. Something happend and BOL re-sent this message.<br /> <br /><br /></div>
<div> </div>
<div>Thanks again.</div>
<div> </div>
<div> </div>
<div>Leandro Sano.</div>
<hr style="border-top: 1px solid #ccc;" />
<div>Em 02/05/2013 19:34, <strong>Stephen Wood < smwood4@gmail.com ></strong> escreveu:</div>
<div dir="ltr">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.</div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">On Thu, May 2, 2013 at 2:02 PM, Per Buer <span dir="ltr"><<a href="../../../undefined//compose?to=perbu@varnish-software.com" target="_blank">perbu@varnish-software.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div dir="ltr">That is correct. We haven't been able to see any increase in performance when the number of pools is increased above 2.</div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">
<div>
<div class="h5">On Thu, May 2, 2013 at 4:31 PM, Rangel, Raul <span dir="ltr"><<a href="../../../undefined//compose?to=Raul.Rangel@disney.com" target="_blank">Raul.Rangel@disney.com</a>></span> wrote:</div>
</div>
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div>
<div class="h5">
<div lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11.0pt;">I think someone recently commented that 2 thread pools is the ideal value. Anymore and you don’t see a performance increase.</span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;"> </span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;">Raul</span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt;"> </span></p>
<div style="border: none; border-top: solid #b5c4df 1.0pt; padding: 3.0pt 0in 0in 0in;">
<p class="MsoNormal"><strong><span style="font-size: 10.0pt;">From:</span></strong><span style="font-size: 10.0pt;"> <a href="../../../undefined//compose?to=varnish-misc-bounces@varnish-cache.org" target="_blank">varnish-misc-bounces@varnish-cache.org</a> [mailto:<a href="../../../undefined//compose?to=varnish-misc-bounces@varnish-cache.org" target="_blank">varnish-misc-bounces@varnish-cache.org</a>] <strong>On Behalf Of </strong><a href="../../../undefined//compose?to=lnsano@bol.com.br" target="_blank">lnsano@bol.com.br</a><br /> <strong>Sent:</strong> Wednesday, March 06, 2013 2:23 PM<br /><strong>To:</strong> <a href="../../../undefined//compose?to=varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br /><strong>Subject:</strong> varnish 3 - thread_pools</span></p>
</div>
<div>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi,</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">By the book, the thread_pools should be 2. However the server is multi-processed(8 cpus) and can handle more thread_pools.</p>
</div>
<div>
<p class="MsoNormal">This server handles more than 5000 requests/sec.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Is it a good ideia increasing the thread_pools to 8 and decreasing the thread_pool_max?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">regards,</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Leandro Sano</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br /> varnish-misc mailing list<br /> <a href="../../../undefined//compose?to=varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br /> <a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><span class="HOEnZb"><span style="color: #888888;"><br /></span></span></blockquote>
</div>
<span class="HOEnZb"><span class="HOEnZb"><span style="color: #888888;"><br /><br /></span></span></span>
<div> </div>
<span class="HOEnZb"><span class="HOEnZb"><span style="color: #888888;">-- <br /></span></span></span>
<div dir="ltr">
<div style="color: #222222; font-size: 12.727272033691406px; font-family: arial,sans-serif; margin: 5px 15px 0px 0px; padding-bottom: 5px;">
<table style="text-align: start; font-size: 12px; line-height: 1.5em; font-family: 'Helvetica Neue',Arial,sans-serif; color: #666666; width: 550px; border-top-width: 1px; border-top-style: solid; border-top-color: #eeeeee; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #eeeeee; margin-top: 20px; padding-top: 5px; padding-bottom: 5px;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="font-family: arial,sans-serif; margin: 0px;" width="100"><a style="color: #1155cc;" href="http://www.varnish-software.com/" target="_blank"><img style="float: left; margin-left: 10px;" alt="" /></a></td>
<td style="font-family: arial,sans-serif; margin: 0px;"><strong style="font-size: 14px; color: #222222;">Per Buer</strong><br />CEO | Varnish Software AS<br />Phone: <a href="tel:%2B47%20958%2039%20117" target="_blank">+47 958 39 117</a> | Skype: per.buer<br /> <span style="font-weight: bold;">We Make Websites Fly!<br /> <br /></span><span style="font-family: 'Helvetica Neue',Arial,sans-serif; font-size: 14px; font-weight: bold;">Winner of the Red Herring Top 100 Europe Award 2013<br /></span>
<p style="margin: 0px; line-height: normal; font-family: Helvetica;"><img alt="" /></p>
<span style="font-weight: bold;"><br /></span></td>
</tr>
</tbody>
</table>
<div> </div>
</div>
<div style="clear: both; color: #222222; font-size: 12.727272033691406px; font-family: arial,sans-serif; margin: 15px 0px;"> </div>
</div>
</div>
<br />_______________________________________________<br /> varnish-misc mailing list<br /> <a href="../../../undefined//compose?to=varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br /> <a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></blockquote>
</div>
</div>
<div> </div>