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

Rogier 'DocWilco' Mulhuijzen varnish at bsdchicks.com
Wed Mar 18 17:11:32 CET 2015


At Fastly, we have SO_REUSEPORT and :80 as an address, 16 times :)

On Wed, Mar 18, 2015 at 4:50 PM Federico Schwindt <fgsch at lodoss.net> wrote:

> 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.
>
> Am I not reading the code correctly, has this changed since 4.0 or it's
> always been one acceptor per address?
>
>
>
> On Wed, Mar 18, 2015 at 10:49 AM, Poul-Henning Kamp <phk at phk.freebsd.dk>
> wrote:
>
>> --------
>> In message <
>> CAJV_h0aWHzHjbq2U5o24FwQFknMNV73QhGw2f4r0-sxpjDqaCQ at mail.gmail.com>
>> , Federico Schwindt writes:
>>
>> >Is it time to consider SO_REUSEPORT in Linux?
>>
>> I have no idea...  In what context and what would it do ?
>>
>> --
>> 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.
>>
>
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150318/e1dd3533/attachment.html>


More information about the varnish-dev mailing list