Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2017 11:26:26 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Emeric POUPON <emeric.poupon@stormshield.eu>
Cc:        freebsd-arch <freebsd-arch@freebsd.org>
Subject:   Re: numa and taskqueues
Message-ID:  <CAJ-VmomtfHb7W_4c2OGpQ%2B4CF1jzsV4jvkyi0nVQtLNvx8XyYQ@mail.gmail.com>
In-Reply-To: <608664209.55736023.1496155561181.JavaMail.zimbra@stormshield.eu>
References:  <1914359731.54283525.1495178031163.JavaMail.zimbra@stormshield.eu> <CAJ-Vmo=6bpo1Yu6XosN3BiYOakjeXS8J7wenfubzkWz2SxXR1g@mail.gmail.com> <816581118.55670987.1496141816904.JavaMail.zimbra@stormshield.eu> <CAJ-Vmo=h3ASXiFWYT1E=xHQ%2BzZ_5%2B027dXibbPezj2CcHvGxVg@mail.gmail.com> <608664209.55736023.1496155561181.JavaMail.zimbra@stormshield.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 May 2017 at 07:46, Emeric POUPON <emeric.poupon@stormshield.eu> wrote:
> Hi,
>
>>
>>> 2/ about https://reviews.freebsd.org/D10680, I think it would be great to have
>>> this commited as a first step.
>>> Since it seems to be stuck, maybe I can add more people on this. Any suggestion?
>>
>> Well, what's with the ~ 8% performance decrease? Do you know what's
>> going on? For a "we're parallelising IPSEC operations", seeing it get
>> slower with more flows is a bit concerning.
>>
>> Thanks,
>>
>
> Actually, there is a performance boost only when few flows are involved.
> That's why this is not activated by default and a sysctl is here to enable the feature.
>
> To sum up, the more different flows you process (both ciphered and unciphered), the more network queues are hit and the more CPU units are triggered from ipsec.
> In this case, we indeed notice a loss, certainly due to the extra queing/reordering performed.

Can you dig into that a bit more? Do you know exactly what's going on?
eg, is it a "lock contention" problem? Is it a "stuff is context
switching, thus latency" problem? etc, etc.



-adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomtfHb7W_4c2OGpQ%2B4CF1jzsV4jvkyi0nVQtLNvx8XyYQ>