Hi Yucan, Ow, if you plan to use select then yes you won’t be able to go higher.
As for the limit for non cut-through sessions/fifos, memory is the only cap. Make sure to configure vcl to use a large segment, i.e., segment-size in vcl.conf. It can be larger than 4g. Regards, Florin > On Mar 1, 2021, at 7:42 PM, liuyacan <liuya...@corp.netease.com> wrote: > > Thanks Florin, > > I set LDP_SID_BIT to 10 to support more cut-through sessions, but it > seems that this configuration conflicts with the FD_SETSIZE check in > ldp_init(). > In addition, I would like to know are there any obstacles to allocate > multiple fifo pairs in one segment like non-cutthrough connection ? > > Best Regard, > Yacan > > On 2/27/2021 03:48,Florin Coras<fcoras.li...@gmail.com> > <mailto:fcoras.li...@gmail.com> wrote: > 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 <liuya...@corp.netease.com >> <mailto:liuya...@corp.netease.com>> 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 (#18825): https://lists.fd.io/g/vpp-dev/message/18825 Mute This Topic: https://lists.fd.io/mt/80922645/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-