Re: [vpp-dev] #vpp #vpp-dev

2020-11-12 Thread Florin Coras
Hi Nikhil, 

If your client and server are attached to the same vpp instance, data/segments 
never make it into vpp. Instead, during the connect, after vpp detects that the 
two endpoints are both attached locally it sets up the session buffers (fifos) 
in a piece of shared memory that’s mapped by both peers (we call these 
cut-through sessions). At that point the exchange of data is nothing more than 
memcpy to/from the fifos. 

If you want to see packet pass through vpp, you’ll have to attach the client 
and the server to separate vpp instances that are connected by a network. 

Regards,
Florin

> On Nov 12, 2020, at 7:57 AM, nikhil subhedar  wrote:
> 
> [Edited Message Follows]
> 
> Hi All,
> 
> I am testing the VCL socket programs i.e. vcl_test_client and vcl_test_server 
> on ubuntu VM.
> 
> Just wanted to check that the TCP packets are sent by client to server are 
> they coming from TCP graph nodes? i have not observed this on VPPCTL. 
> Also when i saw the trace on VPPCTL, i haven not seen TCP packets.
> 
> Can anyone please shed some light on this?
> 
> Thanks in advance.
> 
> Regards,
> Nikhil 
> 
> 


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



[vpp-dev] #vpp #vpp-dev

2020-11-12 Thread nikhil subhedar
[Edited Message Follows]

Hi All,

I am testing the VCL socket programs i.e. vcl_test_client and vcl_test_server 
on ubuntu VM.

Just wanted to check that the TCP packets are sent by client to server are they 
coming from TCP graph nodes? i have not observed this on VPPCTL.
Also when i saw the trace on VPPCTL, i haven not seen TCP packets.

Can anyone please shed some light on this?

Thanks in advance.

Regards,
Nikhil

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



[vpp-dev] #vpp #vpp-dev

2020-11-12 Thread nikhil subhedar
Hi All,

I am testing the VCL socket programs i.e. vcl_test_client and vcl_test_server 
on ubuntu VM.

Just wanted to check that the TCP packets are sent by client to server are they 
coming from TCP graph nodes? i have not observed this on VPPCTL.
Also when i saw the trace on VPPCTL, i haven not seen TCP packets.

Can anyone please shed some light on this?

Thanks in advance.

Regards,
Nikhil

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



Re: [vpp-dev] Total Packet Process Time in VPP

2020-11-12 Thread Dave Barach
Trivial example using a packet generator script:

 

packet-generator new {

name x

limit 0

size 128-128

interface local0

node ethernet-input

data {

IP6: 00.01.02 -> 00.03.04

ICMP: db00::1 -> db00::2

incrementing 30

}

}

 

vpp# pa en

vpp# clea ru



vpp# sh ru

Time 6.9, 10 sec internal node vector rate 256.00 loops/sec 146062.54

  vector rates in 3.8578e7, out 0.e0, drop 3.8578e7, punt 0.e0

 Name State Calls  Vectors
Suspends Clocks   Vectors/Call  

dpdk-processany wait 0   0  
 2  5.82e30.00

drop active1039350   266073600  
 0  8.05e0  256.00

error-drop   active1039350   266073600  
 0  3.91e0  256.00

ethernet-input   active1039350   266073600  
 0  9.79e0  256.00

fib-walkany wait 0   0  
 4  8.06e30.00

ikev2-manager-process   any wait 0   0  
 4  5.92e30.00

ip4-full-reassembly-expire-wal  any wait 0   0  
 1  3.35e30.00

ip4-sv-reassembly-expire-walk   any wait 0   0  
 1  3.09e30.00

ip6-drop active1039350   266073600  
 0  3.27e0  256.00

ip6-full-reassembly-expire-wal  any wait 0   0  
 1  3.82e30.00

ip6-inputactive1039350   266073600  
 0  1.43e1  256.00

ip6-lookup   active1039350   266073600  
 0  3.29e1  256.00

ip6-mld-process any wait 0   0  
 7  2.53e30.00

ip6-ra-process  any wait 0   0  
 7  3.22e30.00

ip6-sv-reassembly-expire-walk   any wait 0   0  
 1  5.63e30.00

pg-input polling   1039350   266073600  
 0  2.05e1  256.00

statseg-collector-process   time wait0   0  
 1  1.65e40.00

unix-cli-stdin   active  0   0  
 1  3.49e50.00

unix-epoll-input polling  1014   0  
 0  1.57e30.00

 

 

Remove uninteresting data:

 

drop active1039350   266073600  
 0  8.05e0  256.00

error-drop   active1039350   266073600  
 0  3.91e0  256.00

ethernet-input   active1039350   266073600  
 0  9.79e0  256.00

ip6-drop active1039350   266073600  
 0  3.27e0  256.00

ip6-inputactive1039350   266073600  
 0  1.43e1  256.00

ip6-lookup   active1039350   266073600  
 0  3.29e1  256.00

pg-input polling   1039350   266073600  
 0  2.05e1  256.00

 

Sum clocks/pkt: 

 

8.05e0

3.91e0

9.79e0

3.27e0

1.43e1

3.29e1

2.05e1

---

9.27E+01 = 92.7 clocks/pkt

 

 

From: Merve Orakcı  
Sent: Thursday, November 12, 2020 8:44 AM
To: v...@barachs.net
Subject: Re: [vpp-dev] Total Packet Process Time in VPP

 

I run this, I see time is reset.

Start traffic.

“clear run”.

Wait several seconds.

“show run”.

 

But I did not understand how to do "Add up clocks/pkt/node for data-plane nodes 
to form total clocks/pkt" Could you please explain more clearly where and how 
to add it.

 

 

mailto:v...@barachs.net> > adresine sahip kullanıcı 12 Kas 
2020 Per, 15:09 tarihinde şunu yazdı:

Start traffic.

“clear run”.

Wait several seconds.

“show run”.

 

Add up clocks/pkt/node for data-plane nodes to form total clocks/pkt. Results 
valid only for the prevailing vector rate, CPU type, CPU clock frequency, etc.. 

 

Vpp nodes run dramatically more efficiently as the vector size increases, up to 
the point where rx ring drops occur. 

 

HTH... Dave 

 

From: vpp-dev@lists.fd.io   mailto:vpp-dev@lists.fd.io> > On Behalf Of

Re: [vpp-dev] Total Packet Process Time in VPP

2020-11-12 Thread Dave Barach
Start traffic.

“clear run”.

Wait several seconds.

“show run”.

 

Add up clocks/pkt/node for data-plane nodes to form total clocks/pkt. Results 
valid only for the prevailing vector rate, CPU type, CPU clock frequency, etc.. 

 

Vpp nodes run dramatically more efficiently as the vector size increases, up to 
the point where rx ring drops occur. 

 

HTH... Dave 

 

From: vpp-dev@lists.fd.io  On Behalf Of Merve
Sent: Thursday, November 12, 2020 6:30 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Total Packet Process Time in VPP

 

Hi everyone, I'm using VPP with trex. I send and receive packets. Is there any 
place on  Vpp where I can view the total processing time? I see graph runtime 
statistic
but I haven't found anything about the time passed here.

I see like this; İn here "time" is not total processing time.
(show runtime command)
Time 1603.9, 10 sec internal node vector rate 0.00 loops/sec 1367859.23
  vector rates in 1.5238e5, out 1.5159e5, drop 0.e0, punt 0.e0


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



Re: [vpp-dev] VPP load estimation

2020-11-12 Thread Benoit Ganne (bganne) via lists.fd.io
> I also have another question related to load estimation: we are using
> VPP for NAT44 and we are seeing a significant number (like 1000 per
> second) of congestion drops
[...]
> Are there some other statistics we could use
> to understand if that is the case, or better ways to investigate this
> kind of problem?

You can use 'show run max' to display the per-node stats (including vector 
size) *when the node took the most cycles to complete*. This will not 
necessarily gives you the max vector size, but it should be close.
There seem to also be stats around handoff like 'trace frame-queue' 'show 
frame-queue trace', 'show frame-queue histogram' but I am not familiar with 
those.

Best
ben

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



[vpp-dev] Total Packet Process Time in VPP

2020-11-12 Thread Merve
Hi everyone, I'm using VPP with trex. I send and receive packets. Is there any 
place on  Vpp where I can view the total processing time? I see graph runtime 
statistic
but I haven't found anything about the time passed here.

I see like this; İn here "time" is not total processing time.
(show runtime command)
Time 1603.9, 10 sec internal node vector rate 0.00 loops/sec 1367859.23
vector rates in 1.5238e5, out 1.5159e5, drop 0.e0, punt 0.e0

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



Re: [vpp-dev] Build failed with error from Apache Maven #flowprobe

2020-11-12 Thread Benoit Ganne (bganne) via lists.fd.io
> I tried to run build again, Some of builds succeeded and some failed.
> For example log https://jenkins.fd.io/job/vpp-verify-master-ubuntu1804-
> aarch64/603/consoleFull
> says that build was successful but at the end of log is FAILURE, how to
> resolve it ?

Look around 11:30:11 you have unit test failures. You can run them yourself 
locally to see what is wrong, eg.:
~# make test-debug TEST=test_nat.TestNAT44.test_ipfix_addr_exhausted DEBUG=gdb

Best
ben

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



Re: [vpp-dev] Build failed with error from Apache Maven #flowprobe

2020-11-12 Thread pskvarka
I tried to run build again, Some of builds succeeded and some failed.

For example log 
https://jenkins.fd.io/job/vpp-verify-master-ubuntu1804-aarch64/603/consoleFull

says that build was successful but at the end of log is FAILURE, how to resolve 
it ?

*11:37:20* Build Successful *11:37:20* *11:37:20* 
https://jenkins.fd.io/job/vpp-checkstyle-verify-master-ubuntu1804-x86_64/427/ : 
checkstyle_success *11:37:20* *11:37:20* Logs: 
https://logs.fd.io/production/vex-yul-rot-jenkins-1/vpp-checkstyle-verify-master-ubuntu1804-x86_64/427
 " -DGERRIT_EVENT_ACCOUNT_EMAIL=jobbuil...@projectrotterdam.info 
-DGERRIT_PATCHSET_NUMBER=5 "-DGERRIT_CHANGE_OWNER_NAME=Peter Skvarka" clean 
deploy -V -B -q -Dmaven.repo.local=/tmp/r *11:37:21* Apache Maven 3.6.0 
(97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z) *11:37:21* 
Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/apache-maven-3.6.0 
*11:37:21* Java version: 11.0.9, vendor: Ubuntu, runtime: 
/usr/lib/jvm/java-11-openjdk-arm64 *11:37:21* Default locale: en, platform 
encoding: UTF-8 *11:37:21* OS name: "linux", version: "4.15.0-108-generic", 
arch: "aarch64", family: "unix" *11:38:17* [description-setter] Description 
set: Build logs: https://logs.fd.io/production/vex-yul-rot-jenkins-1/vpp-verify-master-ubuntu1804-aarch64/603
 "> 
https://logs.fd.io/production/vex-yul-rot-jenkins-1/vpp-verify-master-ubuntu1804-aarch64/603
  *11:38:20* [WS-CLEANUP] Deleting project workspace... *11:38:20* 
[WS-CLEANUP] Deferred wipeout is used... *11:38:20* [WS-CLEANUP] done 
*11:38:20* Finished: FAILURE

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