locked How to check how many packets per vector is VPP processing ? #vpp


david.fernandes@...
 

Hi everyone,

Is there any command to check how many packets per vector is VPP processing ? Thanks in advance.

David.
 
 
 
 
 
 
 
 
 
 
 
 


Pim van Pelt
 

Hoi David,

show runtime shows vectors/sec per worker thread and packets/vector per node and clock cycles per packet.

groet,
Pim

On Tue, Apr 12, 2022 at 6:29 PM <david.fernandes@...> wrote:
Hi everyone,

Is there any command to check how many packets per vector is VPP processing ? Thanks in advance.

David.
 
 
 
 
 
 
 
 
 
 
 
 





--
Pim van Pelt <pim@...>
PBVP1-RIPE - http://www.ipng.nl/


david.fernandes@...
 

Hi Pim,

Thanks for your answer. I tried the command "show runtime" but I cannot see those information. That's what I see from vppctl :

vpp# show runtime
Time 488589.1, 10 sec internal node vector rate 1.00 loops/sec 6214808.56
  vector rates in 2.3584e1, out 2.2146e1, drop 1.4381e0, punt 0.0000e0
             Name                 State         Calls          Vectors        Suspends         Clocks       Vectors/Call
GigabitEthernet0/6/0-output      active             137187          191343               0          4.18e2            1.39
....

Am I missing something ? Are those information displayed with a different name ? Thanks again.

David

 
 
 
 
 
 
 
 
 
 
 
 


Stanislav Zaikin
 

Hi David,

The last column is actually packets per call.


On Wed, 13 Apr 2022 at 10:35, <david.fernandes@...> wrote:

Hi Pim,

Thanks for your answer. I tried the command "show runtime" but I cannot see those information. That's what I see from vppctl :

vpp# show runtime
Time 488589.1, 10 sec internal node vector rate 1.00 loops/sec 6214808.56
  vector rates in 2.3584e1, out 2.2146e1, drop 1.4381e0, punt 0.0000e0
             Name                 State         Calls          Vectors        Suspends         Clocks       Vectors/Call
GigabitEthernet0/6/0-output      active             137187          191343               0          4.18e2            1.39
....

Am I missing something ? Are those information displayed with a different name ? Thanks again.

David

 
 
 
 
 
 
 
 
 
 
 
 





--
Best regards
Stanislav Zaikin


david.fernandes@...
 

Hi Stanislav,

Thank you very much for your response. I suppose then that "Vectors/Call" <=> "Packet/Call" <=> "Packets/Vector" ?

I'm sory if what I'm asking for is pretty obvious, I'm just not familiar with some of the concepts displayed with "show runtime"

Thanks again.

David

 
 
 
 
 
 
 
 
 
 
 
 


Pim van Pelt
 

Hoi David,

On Thu, Apr 14, 2022 at 10:37 AM <david.fernandes@...> wrote:

Hi Stanislav,

Thank you very much for your response. I suppose then that "Vectors/Call" <=> "Packet/Call" <=> "Packets/Vector" ?

Your understanding is correct.

Many of the things in VPP are low level and take a bit of getting used to. But the information in 'show runtime' is very useful tool to understand where the CPU time is spent in a running VPP dataplane.

groet,
Pim
--
Pim van Pelt <pim@...>
PBVP1-RIPE - http://www.ipng.nl/


david.fernandes@...
 

Hi Pim,

Thank you very much for your help !

Best regards,
David