ts.fd.io
Assunto: Re: [vpp-dev] Increasing NAT worker handoff frame queue size
NAT_FQ_NELTS to avoid congestion drops?
Hi Marcos,
If you are building VPP 20.05 from source then the easiest way is to simply
change the value at "#define NAT_FQ_NELTS 64"
in src/plugins/nat/nat.h from 64 to
t; -Mensagem original-
> De: vpp-dev@lists.fd.io Em nome de Elias
> Rudberg
> Enviada em: terça-feira, 26 de janeiro de 2021 11:10
> Para: ksek...@cisco.com
> Cc: vpp-dev@lists.fd.io
> Assunto: Re: [vpp-dev] Increasing NAT worker handoff frame queue size
> NAT_FQ_N
-Mensagem original-
De: vpp-dev@lists.fd.io Em nome de Elias Rudberg
Enviada em: terça-feira, 26 de janeiro de 2021 11:10
Para: ksek...@cisco.com
Cc: vpp-dev@lists.fd.io
Assunto: Re: [vpp-dev] Increasing NAT worker handoff frame queue size
NAT_FQ_NELTS to avoid congestion drops?
Hi
Hi Klement,
> > I see no reason why this shouldn’t be configurable.
> > [...]
> > Would you like to submit a patch?
I had a patch in December that was lying around too long so there were
merge conflicts, so now I made a new one again. Third time's the charm,
I hope. Here it is:
Hi Klement,
> > > I see no reason why this shouldn’t be configurable.
> > > [...]
> > > Would you like to submit a patch?
>
> Here is a patch making it configurable:
> [...]
New patch, including API support and a test case:
https://gerrit.fd.io/r/c/vpp/+/30482
Please check that one instead,
Hi Klement,
> > I see no reason why this shouldn’t be configurable.
> > [...]
> > Would you like to submit a patch?
Here is a patch making it configurable:
https://gerrit.fd.io/r/c/vpp/+/30433
Best regards,
Elias
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
Hi Klement,
> I see no reason why this shouldn’t be configurable.
> [...]
> Would you like to submit a patch?
Sure, I'll give that a try, adding it as a config option of the same
kind as other NAT options.
Best regards,
Elias
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to
Thanks
>>>
>>> Marcos
>>>
>>> -Mensagem original-
>>> De: vpp-dev@lists.fd.io Em nome de ksekera via []
>>> Enviada em: sexta-feira, 13 de novembro de 2020 14:02
>>> Para: Marcos - Mgiga
>>> Cc: Elias Rudberg ; vpp-dev
Hi Elias,
thanks for getting back with some real numbers. I only tested with two workers
and a very simple case and in my case, increasing queue size didn’t help one
bit. But again, in my case there was 100% handoff rate (every single packet was
going through handoff), which is most probably
Hi Klement,
Thanks! I have now tested your patch (28980), it seems to work and it
does give some improvement. However, according to my tests, increasing
NAT_FQ_NELTS seems to have a bigger effect, it improves performance a
lot. When using the original NAT_FQ_NELTS value of 64, your patch
gives
tes ? Is there some specific command or log ?
>>
>> Thanks
>>
>> Marcos
>>
>> -Mensagem original-
>> De: vpp-dev@lists.fd.io Em nome de ksekera via []
>> Enviada em: sexta-feira, 13 de novembro de 2020 14:02
>> Para: Marcos
xta-feira, 13 de novembro de 2020 14:26
> Para: Marcos - Mgiga
> Cc: Elias Rudberg ; vpp-dev
> Assunto: Re: RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue
> size NAT_FQ_NELTS to avoid congestion drops?
>
> I used the usual
>
> 1. start traffic
> 2
nks
> >
> > Marcos
> >
> > -Mensagem original-
> > De: vpp-dev@lists.fd.io Em nome de ksekera via
> > [] Enviada em: sexta-feira, 13 de novembro de 2020 14:02
> > Para: Marcos - Mgiga
> > Cc: Elias Rudberg ; vpp-dev@lists.fd.io
> > As
02
> Para: Marcos - Mgiga
> Cc: Elias Rudberg ; vpp-dev@lists.fd.io
> Assunto: Re: RES: [vpp-dev] Increasing NAT worker handoff frame queue size
> NAT_FQ_NELTS to avoid congestion drops?
>
> Not completely idle, more like medium load. Vector rates at which I saw
> congestion d
novembro de 2020 14:26
Para: Marcos - Mgiga
Cc: Elias Rudberg ; vpp-dev
Assunto: Re: RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue size
NAT_FQ_NELTS to avoid congestion drops?
I used the usual
1. start traffic
2. clear run
3. wait n seconds (e.g. n == 10)
4. show run
Klement
;> -Mensagem original-
>> De: vpp-dev@lists.fd.io Em nome de Klement
>> Sekera via lists.fd.io Enviada em: sexta-feira, 13 de novembro de 2020
>> 12:15
>> Para: Elias Rudberg
>> Cc: vpp-dev@lists.fd.io
>> Assunto: Re: [vpp-dev] Increasing N
Cc: Elias Rudberg ; vpp-dev@lists.fd.io
Assunto: Re: RES: [vpp-dev] Increasing NAT worker handoff frame queue size
NAT_FQ_NELTS to avoid congestion drops?
Not completely idle, more like medium load. Vector rates at which I saw
congestion drops were roughly 40 for thread doing no work (just
: sexta-feira, 13 de novembro de 2020 12:15
Para: Elias Rudberg
Cc: vpp-dev@lists.fd.io
Assunto: Re: [vpp-dev] Increasing NAT worker handoff frame queue size
NAT_FQ_NELTS to avoid congestion drops?
Hi Elias,
I’ve already debugged this and came to the conclusion that it’s the infra which
o
Sent: Friday, 2020-November-13 16:15
To: Elias Rudberg
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Increasing NAT worker handoff frame queue size
NAT_FQ_NELTS to avoid congestion drops?
Hi Elias,
I’ve already debugged this and came to the conclusion that it’s the infra which
is the weak l
Hi Elias,
I’ve already debugged this and came to the conclusion that it’s the infra which
is the weak link. I was seeing congestion drops at mild load, but not at full
load. Issue is that with handoff, there is uneven workload. For simplicity’s
sake, just consider thread 1 handing off all the
Hello VPP experts,
We are using VPP for NAT44 and we get some "congestion drops", in a
situation where we think VPP is far from overloaded in general. Then
we started to investigate if it would help to use a larger handoff
frame queue size. In theory at least, allowing a longer queue could
help
21 matches
Mail list logo