<div dir="ltr">Attached is a patch in that effect.<br><br>I have no empirical evidence this will improve things but I believe Fastly and others are doing it with good results.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 21, 2015 at 12:57 PM, Federico Schwindt <span dir="ltr"><<a href="mailto:fgsch@lodoss.net" target="_blank">fgsch@lodoss.net</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">Yeah, me not reading the code properly.<br><br>So this could potentially help.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 18, 2015 at 5:40 PM, Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk" target="_blank">phk@phk.freebsd.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--------<br>
In message <<a href="mailto:CAJV_h0bubvWpPGBogGQRK7%2BrGTjHJ6rTXbf8kWQJU3L5JVMz4Q@mail.gmail.com" target="_blank">CAJV_h0bubvWpPGBogGQRK7+rGTjHJ6rTXbf8kWQJU3L5JVMz4Q@mail.gmail.com</a>><br>
<span>, Federico Schwindt writes:<br>
<br>
>My understanding and what I've read is that if you have multiple threads<br>
>accepting connections it'll will behave much better when running in<br>
>multiple cores which is pretty much everyone these days.<br>
><br>
>Now looking at master, it looks we only have one acceptor per address and<br>
>not per pools.<br>
<br>
</span>We have one thread per socket per pool.<br>
<div><div><br>
--<br>
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG         | TCP/IP since RFC 956<br>
FreeBSD committer       | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>