Re: [vpp-dev] fd problems when use cut-through connections

2021-03-01 Thread Florin Coras
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

Re: [vpp-dev] fd problems when use cut-through connections

2021-03-01 Thread liuyacan
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

Re: [vpp-dev] fd problems when use cut-through connections

2021-02-26 Thread Florin Coras
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

[vpp-dev] fd problems when use cut-through connections

2021-02-25 Thread liuyacan
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  (