Hi, Numbers are pretty low, but it’s hard to say just from those what might be wrong. So let’s try to clarify some things: - what vpp version are you running, how many workers and what’s the config? - what’s the vcl config? Are you you using something similar to the one here [1]? - I’m not familiar with that server, is it a dual socket and what type of nic is it using? - if it’s a dual socket, are you pinning vpp’s and nginx’s workers to the nic’s numa? See “show hardware” in vpp for the nic’s numa. Make sure vpp’s and nginx’s workers do not overlap.
Also, any particular reason why you’re running linux tests for 30s and vpp tests for 2m? Are the two ips on the same server? Regards, Florin [1] https://wiki.fd.io/view/VPP/HostStack/LDP/nginx > On Jan 15, 2022, at 7:13 PM, weizhen9...@163.com wrote: > > Now I deploy vpp nginx by using LD_PRELOAD. By using wrk to test vpp host > stack, I found the performance of nginx using vpp host stack is only one > tenth of the performance of the kernel host stack. > The following is the performance of nginx using vpp host stack. > <dummyfile.0.part> > The following is the performance of nginx using kernel host stack. > <dummyfile.1.part><dummyfile.2.part> > The configuration of the server deploying vpp host stack is as following. > <dummyfile.3.part> > The type of cpu is: > #cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c > 40 Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz > So what should I configure the vpp and nginx to enhance the preformance of > nginx using the vpp host stack? > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20728): https://lists.fd.io/g/vpp-dev/message/20728 Mute This Topic: https://lists.fd.io/mt/88456731/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-