Re: [vpp-dev] Deadlock between NAT threads when frame queues for handoff are congested

2020-04-16 Thread Elias Rudberg
Hi Ole! Thanks, here is a change doing that, please have a look: https://gerrit.fd.io/r/c/vpp/+/26544 With this change, an assertion will fail if the number of threads is greater than 55 or something like that. To make things work for such large thread counts it would be necessary to increase th

Re: [vpp-dev] Deadlock between NAT threads when frame queues for handoff are congested

2020-04-16 Thread Ole Troan
Hi Elias, Thank you for the thorough analysis. I think the best approach for now is the one you propose. Reserve as many slots as you have workers. Potentially also increase the queue size > 64. Damjan is looking at some further improvements in this space, but for now please go with what you pr

[vpp-dev] Deadlock between NAT threads when frame queues for handoff are congested

2020-04-15 Thread Elias Rudberg
Hello VPP experts, We are using VPP for NAT44 and last week we encountered a problem where some VPP threads stopped forwarding traffic. We saw the problem on two separate VPP servers within a short time, apparently it was triggered by some specific kind of out2in traffic that arrived at that time.