UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer jbeck695
Observer
346 Views
Registered: ‎05-22-2018

performance of 10G MAC on ZCU102

per the testing procedure for 10g found in xilinx forums, they advertise:
3573 10^6bits/s Throughput for tcp
9330 10^6bits/s Throughput for udp

I have same setup as them & I'm getting:
1409 10^6bits/s Throughput for tcp
6194 10^6bits/s Throughput for udp

I have run ethtools & am not seeing any errors or issues (dropped packets, collisions, cksum, etc)
I have not tried changing from default 1500 MTU to 8000 but will be doing that next just to see.
Any other suggestions are welcome on what to try or how to debug.

More details--
$ sudo netperf -H 192.168.0.2 -c -C -t TCP_STREAM
[sudo] password for jbeck:
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2 () port 0 AF_INET : demo
Recv Send Send Utilization Service Demand
Socket Socket Message Elapsed Send Recv Send Recv
Size Size Size Time Throughput local remote local remote
bytes bytes bytes secs. 10^6bits/s % S % S us/KB us/KB

87380 16384 16384 10.01 1409.28 0.46 64.21 0.430 14.930
jbeck@brwy-ub-lab01:~$ sudo netperf -H 192.168.0.2 -c -C -t UDP_STREAM
MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2 () port 0 AF_INET : demo
Socket Message Elapsed Messages CPU Service
Size Size Time Okay Errors Throughput Util Demand
bytes bytes secs # # 10^6bits/sec % SS us/KB

212992 65507 10.00 118208 0 6194.5 6.82 1.444
229376 10.00 5872 307.7 49.89 2.639


other notes. I've gone thru the following as well as other related posts on this topic in the forums--
You could check our test performance of XAPP1305 in below link:
http://www.wiki.xilinx.com/Zynq+mp+Ethernet+Performance+2016.4
And You could check how we setup our hardward and detailed steps to build a project from below links:
http://www.wiki.xilinx.com/PS+and+PL+based+Ethernet+in+Zynq+MPSoC
http://www.wiki.xilinx.com/Performance+tests+procedure+and+results+with+LWIP

0 Kudos
1 Reply
Observer jbeck695
Observer
279 Views
Registered: ‎05-22-2018

Re: performance of 10G MAC on ZCU102

Apparently setting mtu was key which I guess makes sense.

After updating that value & re-running the test, I'm seeing the following which is much more in-line with what's published in this procedure:

netperf -H 192.168.0.2 -c -C -t TCP_STREAM

MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2 () port 0 AF_INET : demo

Recv   Send    Send                          Utilization       Service Demand

Socket Socket  Message  Elapsed              Send     Recv     Send    Recv

Size   Size    Size     Time     Throughput  local    remote   local   remote

bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

 

87380  16384  16384    10.01      3691.20   1.12     43.02    0.398   3.819 

jbeck@brwy-ub-lab01:~$ netperf -H 192.168.0.2 -c -C -t UDP_STREAM

MIGRATED UDP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2 () port 0 AF_INET : demo

Socket  Message  Elapsed      Messages                   CPU      Service

Size    Size     Time         Okay Errors   Throughput   Util     Demand

bytes   bytes    secs            #      #   10^6bits/sec % SS     us/KB

 

212992   65507   10.00      154919      0     8118.2     4.12     0.665

229376           10.00       65297            3421.7     60.29    2.433