[master] 15ec79c Concentrate the acceptor-setup-session code.

Federico Schwindt fgsch at lodoss.net
Sat Mar 21 13:57:23 CET 2015


Yeah, me not reading the code properly.

So this could potentially help.

On Wed, Mar 18, 2015 at 5:40 PM, Poul-Henning Kamp <phk at phk.freebsd.dk>
wrote:

> --------
> In message <
> CAJV_h0bubvWpPGBogGQRK7+rGTjHJ6rTXbf8kWQJU3L5JVMz4Q at mail.gmail.com>
> , Federico Schwindt writes:
>
> >My understanding and what I've read is that if you have multiple threads
> >accepting connections it'll will behave much better when running in
> >multiple cores which is pretty much everyone these days.
> >
> >Now looking at master, it looks we only have one acceptor per address and
> >not per pools.
>
> We have one thread per socket per pool.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150321/09cbc69c/attachment.html>


More information about the varnish-dev mailing list