[vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-12 Thread david . fernandes
Hi everyone,

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

David.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21241): https://lists.fd.io/g/vpp-dev/message/21241
Mute This Topic: https://lists.fd.io/mt/90421955/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-12 Thread Pim van Pelt
Hoi David,

*show runtime* shows vectors/sec per worker thread and packets/vector per
node and clock cycles per packet.
See https://fd.io/docs/vpp/v2101/troubleshooting/cpuusage.html for more
details

groet,
Pim

On Tue, Apr 12, 2022 at 6:29 PM  wrote:

> Hi everyone,
>
> Is there any command to check how many packets per vector is VPP
> processing ? Thanks in advance.
>
> David.
>
>
>
>
>
>
>
>
>
>
>
>
>
> 
>
>

-- 
Pim van Pelt 
PBVP1-RIPE - http://www.ipng.nl/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21242): https://lists.fd.io/g/vpp-dev/message/21242
Mute This Topic: https://lists.fd.io/mt/90421955/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-13 Thread 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.e0
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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21248): https://lists.fd.io/g/vpp-dev/message/21248
Mute This Topic: https://lists.fd.io/mt/90421955/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-13 Thread Stanislav Zaikin
Hi David,

The last column is actually packets per call.

On Wed, 13 Apr 2022 at 10:35,  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.e0
>  Name State Calls
> VectorsSuspends Clocks   Vectors/Call
> GigabitEthernet0/6/0-output  active 137187
> 191343   0  4.18e21.39
> 
>
> Am I missing something ? Are those information displayed with a different
> name ? Thanks again.
>
> David
>
>
>
>
>
>
>
>
>
>
>
>
>
> 
>
>

-- 
Best regards
Stanislav Zaikin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21255): https://lists.fd.io/g/vpp-dev/message/21255
Mute This Topic: https://lists.fd.io/mt/90421955/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-14 Thread 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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21263): https://lists.fd.io/g/vpp-dev/message/21263
Mute This Topic: https://lists.fd.io/mt/90421955/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-14 Thread Pim van Pelt
Hoi David,

On Thu, Apr 14, 2022 at 10:37 AM  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 
PBVP1-RIPE - http://www.ipng.nl/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21264): https://lists.fd.io/g/vpp-dev/message/21264
Mute This Topic: https://lists.fd.io/mt/90421955/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-14 Thread david . fernandes
Hi Pim,

Thank you very much for your help !

Best regards,
David

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21265): https://lists.fd.io/g/vpp-dev/message/21265
Mute This Topic: https://lists.fd.io/mt/90421955/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-