[vpp-dev] CPU usage on vpp_main thread is high when using tap cli between vpp and another userspace application #vpp

2019-01-24 Thread ranadip . das
Hello,  I am trying to use vpp with 4 worker threads.  Client is sending packet to server through vpp. This packet comes to vpp, and gets picked up from a VF. VPP sends this packet to the another user-space application over a tapcli interface.  The user-space application processes the packet, an

Re: [vpp-dev] CPU usage on vpp_main thread is high when using tap cli between vpp and another userspace application #vpp

2019-01-24 Thread Damjan Marion via Lists.Fd.Io
Don't use tapcli code, it is outdated and I just submitted patch to deprecate it (as agreed few months ago on the community call). https://gerrit.fd.io/r/17073 tapv2 (create interface tap) should be able to run on worker, but don't expect magic, it's jus tap

Re: [vpp-dev] CPU usage on vpp_main thread is high when using tap cli between vpp and another userspace application #vpp

2019-01-25 Thread Ranadip Das
Hi Damjan, Thanks for your quick response. Will try tapv2. Are there any recommendations / best_practices for vpp to send/receive packets to/from a socket based application running side by side? Will a veth pair be any better than tapv2 in this case? -R > On Jan 24, 2019, at 11:43 PM, Damja