Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread Florin Coras
Hi, That’s also a source for slowdowns. Try configuring one worker. Regards, Florin > On May 5, 2022, at 6:40 PM, weizhen9...@163.com wrote: > > Hi, >We have only one numa node. Just as the following picture show. > > vpp# sh hardware-interfaces verbose > Name

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread weizhen9612
Hi, We have only one numa node. Just as the following picture show. vpp# sh hardware-interfaces verbose Name                Idx   Link  Hardware ens1f0                             1     up   ens1f0 Link speed: 10 Gbps RX Queues: queue thread         mode 0     main (0)       polling 1     main (0)

Re: [vpp-dev] Issue with VPP build

2022-05-05 Thread Dave Wallace
Rajisha, The scripts in that directory are woefully out of date. Plesae see the vpp 18.10+ directions in https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Building_without_virtualization Thanks, -daw- On 5/5/22 4:12 AM, Rajisha Payyanur wrote: Hi Team,

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread Florin Coras
Hi Yacan, Currently rpcs from first worker to main are done through session layer and are processed by main in batches. Session queue node runs on main in interrupt mode so first worker will set an interrupt when the list of pending connects goes non-empty and main will switch to polling in th

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread Florin Coras
Hi, Make sure that nginx and vpp are on the same numa, in case you run on a multi-socket host. Check that with lscpu and “show hardware verbose”. Also make sure that nginx and vpp's cpus don’t overlap, i.e., run nginx with taskset. Regarding the details of your change, normally we recommend n

Re: [vpp-dev] Issue in building vpp

2022-05-05 Thread Sindhu Pitta
Hi, After following the same link which was shared with me still seeing errors after building make build-release Can someone help with this? Please find the attached error log. Regards, Sindhu. Get Outlook for iOS From: Benoit Ganne (bga

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread liuyacan
Hi Florin, weizhen9612:     I'm not sure whether rpc for connects will be executed immediately by the main thread in the current implementation, or will it wait for the epoll_pwait in linux_epoll_input_inline() to time out. Regards,yacan On 5/5/2022 16:19, wro

[vpp-dev] vapi and rpc stream notation

2022-05-05 Thread Stanislav Zaikin
Hello folks, Does vapi for C support code generation for the following notation (took it from lcp.api)? service { rpc lcp_itf_pair_get returns lcp_itf_pair_get_reply stream lcp_itf_pair_details; }; -- Best regards Stanislav Zaikin -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages se

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread weizhen9612
Hi, Now I configure main-core to 2 and corelist-workers to 0, and find that the performance has improved significantly. When I execute the following conmand, I find that vpp have main thread only. #show threads What does this situation show? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive al

[vpp-dev] Issue with VPP build

2022-05-05 Thread Rajisha Payyanur
Hi Team, We are trying to build VPP on ubuntu 20.04 with kernel version:5.4.x. We cloned the gerrit code: https://gerrit.fd.io/r/vpp When we try to build with : /build-root/vagrant/build.sh, we see below issues: ubuntu@vpp:~/vpp/build-root$ cat /home/ubuntu/vpp/build-root/build-vpp-native/vpp

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread weizhen9612
Hi, Just as you see, I check the patch. Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21368): https://lists.fd.io/g/vpp-dev/message/21368 Mute This Topic: https://lists.fd.io/mt/90793836/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubsc

Re: [vpp-dev] Issue in building vpp

2022-05-05 Thread Andrew Yourtchenko
Try “UNATTENDED=1 make install-dep install-ext-deps build-release” instead. --a > On 5 May 2022, at 08:48, Sindhu Pitta wrote: > >  > Hi Team, > > We are trying to build VPP on ubuntu 20.04 with kernel version:5.4.x. > We cloned the gerrit code: https://gerrit.fd.io/r/vpp > When we try to bu

Re: [vpp-dev] Issue in building vpp

2022-05-05 Thread Benoit Ganne (bganne) via lists.fd.io
Hi Sindhu, > When we try to build with : /build-root/vagrant/build.sh, we see below > issues: I'd not use this script; it is not really maintained anymore. Maybe we should remove it entirely. Anyway, follow these steps instead and see if it works better https://fd.io/gettingstarted/building/