Hi Yacan, Unfortunately what you found is a known scale (and somewhat performance) limitation for cut-through sessions. There is a plan to alleviate that by allocating per app pair segments (as opposed to per connection) but no ETA for it. If anybody else is interested in tackling this, let me know and I’ll be glad to provide some guidance.
In the interim, set the LDP_SID_BIT env variable to something larger to set aside more fds for linux. Regards, Florin > On Feb 25, 2021, at 11:51 PM, liuyacan <[email protected]> wrote: > > Hi there, > > We are trying to use VPP cut-through feature (version 20.09). What > confuses me is why separate fifo segments are used for each connection ? In > our case, we establish a lot of cut-through connections, and we find > that VPP send a lot of file descriptors to VCL ( we use memfd ). Since we > set LDP_SID_BIT to 9, does this mean that we can only establish up to N (N < > 512) cut-through connections ? > > > Any suggestion ? > Best Regards > > Yacan > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18815): https://lists.fd.io/g/vpp-dev/message/18815 Mute This Topic: https://lists.fd.io/mt/80922645/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
