<div dir="ltr">reuse/recycle breaks clients on NATed network. I think reuse by itself is dodgy, but generally works OK. recycle is pretty bad.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 15, 2014 at 7:17 PM, Jason Price <span dir="ltr"><<a href="mailto:japrice@gmail.com" target="_blank">japrice@gmail.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"><div><div><div><div>Please expound.<br><br></div>(in our use case, our backends are all 'local' within the AWS regions, with less than 1 millisecond RTT (sometimes way less).)<br>

<br></div>Our frontend systems are ELBs with similar response times.<br>
<br></div>That's a rough approximation of 'LAN' usage, unless I'm missing something.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">--Jason<br>

</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 15, 2014 at 9:30 AM, Per Buer <span dir="ltr"><<a href="mailto: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">Those are probably fine on a LAN for benchmarking but they will not work on the internet.<div><br></div>


<div>Per.</div></div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Tue, May 13, 2014 at 3:31 PM, Jason Price <span dir="ltr"><<a href="mailto:japrice@gmail.com" target="_blank">japrice@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Private message requesting TCP tuning.  For the record, these are<br>
draft numbers and very tightly tied to our use case, so they should<br>
not be copied blindly.<br>
<br>
somaxconn is 512<br>
txqueuelen is 5000<br>
netdev_max_backlog is 5000<br>
tcp_max_syn_backlog is 4096<br>
enable tcp_tw_recycle<br>
enable tcp_tw_reuse<br>
<br>
<br>
<br>
<br>
On Tue, May 13, 2014 at 6:45 AM, Γιάννης Καραγιαννίδης<br>
<<a href="mailto:gkaragiannidis@dolnet.gr" target="_blank">gkaragiannidis@dolnet.gr</a>> wrote:<br>
> Could you please give us some more information about your<br>
> TCP tuning?<br>
> Regards<br>
> Yiannis<br>
<div><div>><br>
> -----Original Message-----<br>
> From: varnish-misc-bounces+gkaragiannidis=<a href="mailto:dolnet.gr@varnish-cache.org" target="_blank">dolnet.gr@varnish-cache.org</a> [mailto:<a href="mailto:varnish-misc-bounces%2Bgkaragiannidis" target="_blank">varnish-misc-bounces+gkaragiannidis</a>=<a href="mailto:dolnet.gr@varnish-cache.org" target="_blank">dolnet.gr@varnish-cache.org</a>] On Behalf Of Jason Price<br>





> Sent: Tuesday, May 13, 2014 12:33 AM<br>
> To: Norberto Meijome<br>
> Cc: <a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
> Subject: Re: System can't take more than 5k req /sec<br>
><br>
> So, through some TCP tuning we've been able to get to 20k/s.  Though I needed to get up to 8k threads per pool.<br>
><br>
> Many docs say 'Don't go more than 4k threads'.  Can someone explain that?  Anyone have experience with 8-10k threads?<br>
><br>
> --Jason<br>
><br>
> On Tue, Apr 29, 2014 at 10:41 PM, Jason Price <<a href="mailto:japrice@gmail.com" target="_blank">japrice@gmail.com</a>> wrote:<br>
>> On Tuesday, April 29, 2014, Norberto Meijome <<a href="mailto:numard@gmail.com" target="_blank">numard@gmail.com</a>> wrote:<br>
>>><br>
>>> Have you ruled out AWS limits? Putting varnish aside for a minute,<br>
>>> can you handle 5k/sec TCP conns with something like nginx +static files.?<br>
>><br>
>> This is an excellent question.  I'll see what kind of answer I'll get to it.<br>
>><br>
>> -Jason<br>
><br>
> _______________________________________________<br>
> varnish-misc mailing list<br>
> <a href="mailto: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><br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto: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></div></div></blockquote></div><br><br clear="all"><div><br>




</div></div></div><span><font color="#888888">-- <br><div dir="ltr"><div style="font-size:12.727272033691406px;margin:5px 15px 0px 0px;padding-bottom:5px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">


<table style="text-align:start;font-size:12px;line-height:1.5em;font-family:'Helvetica Neue',Arial,sans-serif;color:rgb(102,102,102);width:550px;border-top-width:1px;border-top-style:solid;border-top-color:rgb(238,238,238);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(238,238,238);margin-top:20px;padding-top:5px;padding-bottom:5px" cellpadding="0" cellspacing="0" border="0">




<tbody><tr><td style="font-family:arial,sans-serif;margin:0px" width="100"><a href="http://www.varnish-software.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://www.varnish-software.com/static/media/logo-email.png" style="float:left;margin-left:10px"></a></td>




<td style="font-family:arial,sans-serif;margin:0px"><b style="font-size:14px;color:rgb(34,34,34)">Per Buer</b><br>CTO | Varnish Software<br>Phone: <a href="tel:%2B47%20958%2039%20117" value="+4795839117" 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 Global Award 2013<br></span><p style="margin:0px;line-height:normal;font-family:Helvetica">




<img src="https://www.varnish-software.com/sites/default/files/redherring_2013_winner_sml.jpg"></p><span style="font-weight:bold"><br></span></td></tr></tbody></table><div></div></div><div style="font-size:12.727272033691406px;margin:15px 0px;clear:both;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">




</div></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div style="font-size:12.727272033691406px;margin:5px 15px 0px 0px;padding-bottom:5px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">

<table border="0" cellpadding="0" cellspacing="0" style="text-align:start;font-size:12px;line-height:1.5em;font-family:'Helvetica Neue',Arial,sans-serif;color:rgb(102,102,102);width:550px;border-top-width:1px;border-top-style:solid;border-top-color:rgb(238,238,238);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(238,238,238);margin-top:20px;padding-top:5px;padding-bottom:5px">

<tbody><tr><td width="100" style="font-family:arial,sans-serif;margin:0px"><a href="http://www.varnish-software.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://www.varnish-software.com/static/media/logo-email.png" style="float:left;margin-left:10px"></a></td>

<td style="font-family:arial,sans-serif;margin:0px"><b style="font-size:14px;color:rgb(34,34,34)">Per Buer</b><br>CTO | Varnish Software<br>Phone: +47 958 39 117 | 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 Global Award 2013<br></span><p style="margin:0px;line-height:normal;font-family:Helvetica">

<img src="https://www.varnish-software.com/sites/default/files/redherring_2013_winner_sml.jpg"></p><span style="font-weight:bold"><br></span></td></tr></tbody></table><div></div></div><div style="font-size:12.727272033691406px;margin:15px 0px;clear:both;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">

</div></div>
</div>