Re: [vpp-dev] AVF TX bandwidth less than RX

2020-12-17 Thread Lijian Zhang
From: Damjan Marion (damarion) Sent: 2020年12月17日 23:44 To: Lijian Zhang Cc: vpp-dev ; nd Subject: Re: [vpp-dev] AVF TX bandwidth less than RX On 17.12.2020., at 14:43, Lijian Zhang mailto:lijian.zh...@arm.com>> wrote: From: vpp-dev@lists.fd.io

Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread bjeremy32
I think I was going to try and write something more acceptable to be merged, but if you end up getting it working, then you may want to offer that as a solution to the community. From: vpp-dev@lists.fd.io On Behalf Of Ramkumar Sent: Thursday, December 17, 2020 3:56 PM To:

[vpp-dev] VPP Vectors/Call rate #dpdk

2020-12-17 Thread Merve
Hi everyone, When I send mixed traffic in varying sizes ( usually larger than 64 bytes ) packets in line rate, miss rates is low and vectors/call is low. But when i send 64 byte udp packets (16K flow) in line rate, i has high miss rate and Vector/call is high. So vpp cant prosess enough

Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread Ramkumar
Thanks bjeremy32 for sharing the patch! As mentioned by Dave, I have implemented load calculation in a plugin. I can try to reevaluate my implementation with yours as reference. Will let you know if I get it working. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.

Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread bjeremy32
If you want to refactor it in a way to fit the code architecture better, feel free. From: vpp-dev@lists.fd.io On Behalf Of Dave Barach Sent: Thursday, December 17, 2020 1:43 PM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Core Load Calculation As the sole remaining original vpp author

Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread Dave Barach
As the sole remaining original vpp author and the area maintainer, I have abundant experience dealing with src/vlib/{main.c, threads.c}. In every case to date, we’ve been able to leverage existing callback hooks, or to add callback hooks so that folks can do what they need to do (e.g. from

Re: [vpp-dev] move to clang-format

2020-12-17 Thread Dave Barach
+1. Wholesale reformatting of existing files is to be avoided. Support for per-file or per-directory automated code formatting would be great! Religious debates about coding style will be resolved one day after there’s peace in Palestine. Let’s not go there. OK? Thanks... Dave

Re: [vpp-dev] move to clang-format

2020-12-17 Thread Damjan Marion via lists.fd.io
> > On 17.12.2020., at 19:06, Jon Loeliger via lists.fd.io > wrote: > >  > > >> On Sun, Dec 13, 2020 at 6:15 AM Damjan Marion via lists.fd.io >> wrote: >> >> Hi, >> >> I was playing a bit with clang-format as replacement to gnu indent which we >> use today[1]. >> >> While it is

Re: [vpp-dev] Multicast packets sent via memif when rule says to forward through another interface

2020-12-17 Thread steven luong via lists.fd.io
show interface displays the interface’s admin state. show hardware displays the interface’s operational link state. The link down is likely caused by memif configuration error. Please check your configuration on both sides to make sure they match. Some tips to debug, show memif set logging class

Re: [vpp-dev] move to clang-format

2020-12-17 Thread Jon Loeliger via lists.fd.io
On Sun, Dec 13, 2020 at 6:15 AM Damjan Marion via lists.fd.io wrote: > > Hi, > > I was playing a bit with clang-format as replacement to gnu indent which > we use today[1]. > > While it is impossible to render exact same result like gnu indent, good > thing is that clang-format can be used only

Re: [vpp-dev] Core Load Calculation

2020-12-17 Thread bjeremy32
Ramkumar, Attached are the patches to 20.05 to implement the cpu usage… I think this was all that was changed. You may want to hand merge them instead of applying the patches though, It may be ok… but im not 100% other lines were not touched. You will be able to view cpu usage with:

Re: [vpp-dev] AVF TX bandwidth less than RX

2020-12-17 Thread Damjan Marion via lists.fd.io
On 17.12.2020., at 14:43, Lijian Zhang mailto:lijian.zh...@arm.com>> wrote: From: vpp-dev@lists.fd.io mailto:vpp-dev@lists.fd.io>> On Behalf Of Damjan Marion via lists.fd.io Sent: 2020年12月17日 16:22 To: Lijian Zhang

Re: [vpp-dev] AVF TX bandwidth less than RX

2020-12-17 Thread Lijian Zhang
From: vpp-dev@lists.fd.io On Behalf Of Damjan Marion via lists.fd.io Sent: 2020年12月17日 16:22 To: Lijian Zhang Cc: vpp-dev ; nd Subject: Re: [vpp-dev] AVF TX bandwidth less than RX On 17.12.2020., at 09:16, Lijian Zhang mailto:lijian.zh...@arm.com>> wrote: Hi Damjan, When I was

Re: [vpp-dev] AVF TX bandwidth less than RX

2020-12-17 Thread Damjan Marion via lists.fd.io
On 17.12.2020., at 09:16, Lijian Zhang mailto:lijian.zh...@arm.com>> wrote: Hi Damjan, When I was benchmarking AVF PMD driver with L3fwd and L2-xconnect cases, not all packets received via AVF input node ‘avf-input’ are transmitted out via AVF output node ‘eth1-tx’. I have tried to increase

[vpp-dev] AVF TX bandwidth less than RX

2020-12-17 Thread Lijian Zhang
Hi Damjan, When I was benchmarking AVF PMD driver with L3fwd and L2-xconnect cases, not all packets received via AVF input node 'avf-input' are transmitted out via AVF output node 'eth1-tx'. I have tried to increase the tx-queue-size of avf interface, but it does not help. Have checked