Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2021-02-25 Thread Marcos - Mgiga
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

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2021-02-25 Thread Elias Rudberg
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

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2021-02-24 Thread Marcos - Mgiga
-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

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2021-01-26 Thread Elias Rudberg
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:

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-12-21 Thread Elias Rudberg
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,

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-12-15 Thread Elias Rudberg
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.

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-17 Thread Elias Rudberg
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

Re: Handoff design issues [Re: RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?]

2020-11-16 Thread Christian Hopps
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

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-16 Thread Klement Sekera via lists.fd.io
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

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-16 Thread Elias Rudberg
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

Re: Handoff design issues [Re: RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?]

2020-11-16 Thread Klement Sekera via lists.fd.io
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

Re: RES: RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-16 Thread Klement Sekera via lists.fd.io
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

Re: Handoff design issues [Re: RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?]

2020-11-13 Thread Honnappa Nagarahalli
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

Handoff design issues [Re: RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?]

2020-11-13 Thread Christian Hopps
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

RES: RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-13 Thread Marcos - Mgiga
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

Re: RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-13 Thread Klement Sekera via lists.fd.io
;> -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

RES: RES: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-13 Thread 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 drops were roughly 40 for thread doing no work (just

RES: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-13 Thread Marcos - Mgiga
: 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

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-13 Thread Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco) via lists.fd.io
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

Re: [vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-13 Thread Klement Sekera via lists.fd.io
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

[vpp-dev] Increasing NAT worker handoff frame queue size NAT_FQ_NELTS to avoid congestion drops?

2020-11-13 Thread Elias Rudberg
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