Re: [vpp-dev] vnet_connect() from workers

2021-02-05 Thread Florin Coras
Hi Bill, We did consider the option of spreading the connects over all the workers but, because that type of performance was never an issue[0], I kept it as low priority due to the changes that would be needed. As you’ve found out, there are a number of assumptions the code currently makes wit

Re: [vpp-dev] vnet_connect() from workers

2021-02-05 Thread Bill Vaughan
Thanks for the feedback Florin. I'll make sure the sessions are preallocated and the reason for doing the connect() on the main thread makes perfect sense. I was just trying to keep the data path completely off the main thread so it could be reserved for background tasks. I am not seeing any perf

Re: [vpp-dev] vnet_connect() from workers

2021-02-05 Thread Florin Coras
Hi Bill, First of all, thanks for sharing the details of the project. The scale you're looking, at least in terms of total number of active sessions should be relatively easily achievable with the right hardware. In case you haven’t done it yet, I’ll only recommend that you preallocate the numb