Re: [vpp-dev] vpp node performance

2022-11-15 Thread Benoit Ganne (bganne) via lists.fd.io
Hello,

Hard to tell without info about the various nodes etc.
The best should be to look at the "show run" output: 
https://s3-docs.fd.io/vpp/23.02/gettingstarted/troubleshooting/cpuusage.html#vpp-cpu-load
When traffic run through, do "clear run" and then "show run" in the VPP cli to 
see where cycles are spent.

ben

> -Original Message-
> From: vpp-dev@lists.fd.io  On Behalf Of NUAA??
> Sent: Tuesday, November 15, 2022 7:10
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] vpp node performance
> 
> Hi,vpp experts
> 
> Im test vpp different plugins node count performance, but something
> strange happened
> 
> test environment is use vpp packet-generator to produce 128 size packet
> with 10G network
> 
> use vpp make-plugin.sh to create 10 dual type plugins node
> 
> the first scene is:
> ip4-input  ->  test-node -> interface-output
> the performance is 7.1G
> 
> the second scene is:
> ip4-input -> test1-node -> test2-node -> interface-output
> the performance is 5.1G
> 
> the third scene is:
> ip4-input -> test1-node -> test2-node -> test3-node -> interface-output
> 
> the performance is 7.1G
> 
> the fourth scene is:
> ip4-input -> test1-node -> test2-node -> test3-node -> test4-node ->
> interface-output
> 
> the performance is 4.8G
> 
> . like this five six and so on ten
> 
> when add node count is odd, the performance is good
> but is even,the performance
> 
> the added node only translate packet to next node, nothing to do other
> 
> can you explain why is this ?Thank you
> 
> Best regards
> wanghe

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



[vpp-dev] vpp node performance

2022-11-14 Thread NUAA无痕
Hi,vpp experts

Im test vpp different plugins node count performance, but something strange
happened

test environment is use vpp packet-generator to produce 128 size packet
with 10G network

use vpp make-plugin.sh to create 10 dual type plugins node

the first scene is:
ip4-input  ->  test-node -> interface-output
the performance is 7.1G

the second scene is:
ip4-input -> test1-node -> test2-node -> interface-output
the performance is 5.1G

the third scene is:
ip4-input -> test1-node -> test2-node -> test3-node -> interface-output
the performance is 7.1G

the fourth scene is:
ip4-input -> test1-node -> test2-node -> test3-node -> test4-node ->
interface-output
the performance is 4.8G

. like this five six and so on ten

when add node count is odd, the performance is good
but is even,the performance

the added node only translate packet to next node, nothing to do other

can you explain why is this ?Thank you

Best regards
wanghe

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