TCP accepts connections in time-wait (see here [1]) but won’t reuse ports of connection in time-wait for connects. If you expect lots of active opens from nginx to only one destination ip and you have multiple source ips, you could try to use "tcp src-address” cli.
Regards, Florin [1] https://git.fd.io/vpp/tree/src/vnet/tcp/tcp_input.c#n2667 > On Mar 31, 2022, at 7:00 PM, weizhen9...@163.com wrote: > > Hi, > > When we test the performance of nginx using vpp host stack, we execute the > following command. > #show run > <dummyfile.0.part> > > <dummyfile.1.part> > > <dummyfile.2.part> > #show session > <dummyfile.3.part> > > > Besides, we add some new features in nginx and this feature will cause a lot > of time_wait states. In order to reuse TIME_WAIT state tcp_tw_reuse and > tcp_tw_recycle. Besides, to make the port unrestricted, we modify other > parameters. > So how can we modify the vpp host stack parameters? > Thanks. > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21173): https://lists.fd.io/g/vpp-dev/message/21173 Mute This Topic: https://lists.fd.io/mt/90157992/21656 Mute #vpp-hoststack:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-hoststack Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-