Hi, Could you provide a bit more info about the numbers you are seeing and the type of test you are doing? Also some details about your configs and vpp version?
As for tcp_tw_recycle, I believe that was removed in Linux 4.12 because it was causing issues for nat-ed connections. Did you mean tcp_tw_reuse? If yes, are you testing CPS with only one remote client IP? Regards, Florin > On Mar 31, 2022, at 6:35 AM, weizhen9...@163.com wrote: > > Now, we develop some functions in nginx and test nginx performance in kernel > host stack and vpp host stack. We found the performance of nginx in vpp is > lower than nginx in kernel. > So I want to ask how to debug to increase the performance of nginx in vpp. > Besides, we modify some parameter in kernel. For example, in file > /etc/sysctl.conf, we add the following parameters: > net.ipv4.tcp_max_tw_buckets = 3000 > net.ipv4.tcp_tw_reuse = 1 > net.ipv4.tcp_tw_recycle = 1 > In file /etc/security/limited.conf, we add the following parameters: > * soft nofile 102400 > * hard nofile 102400 > So how can we add those parameters in vpp host stack? And how can we increase > the performance of nginx in vpp? > Thanks. > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21162): https://lists.fd.io/g/vpp-dev/message/21162 Mute This Topic: https://lists.fd.io/mt/90154397/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] -=-=-=-=-=-=-=-=-=-=-=-