cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
3,034 Views
Registered: ‎09-24-2017

Bad performance of 10G MAC on ZCU102

Jump to solution
Hello,

I tested 10G Ethernet on ZCU102 following XAPP1305. But the performance is very bad. None of TX and RX data rate can achieve more than 1Gpbs. Does someone try this? What's the performance can be achieved?

Thank you.
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
4,331 Views
Registered: ‎04-15-2011

Re: Bad performance of 10G MAC on ZCU102

Jump to solution
Hi, Sophiewesvrus,

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
Hope this helps.

-Longley
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

9 Replies
Highlighted
Voyager
Voyager
3,013 Views
Registered: ‎06-24-2013

Re: Bad performance of 10G MAC on ZCU102

Jump to solution

Hey @sophiewusvrus,

 

None of TX and RX data rate can achieve more than 1Gpbs.

What is a Gpbs?

  • 1 Gigabyte per second would be kind of expected on 10G
  • 1 Gigabit per second would be a little low and suggest severe congestion

If you can only achieve 1Gbit/s it would help to see the 'on wire' data.

 

Best,

Herbert

-------------- Yes, I do this for fun!
0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
4,332 Views
Registered: ‎04-15-2011

Re: Bad performance of 10G MAC on ZCU102

Jump to solution
Hi, Sophiewesvrus,

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
Hope this helps.

-Longley
-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

Highlighted
Adventurer
Adventurer
2,909 Views
Registered: ‎01-26-2017

Re: Bad performance of 10G MAC on ZCU102

Jump to solution

@sophiewusvrus

 

Which Vivado/Petalinux tools did you test the XAPP1305 with?

 

I verified that I can match the Xilinx posted numbers of ~4-5 Gbitps with the 2016.4 files when connecting two different ZCU102 boards together.

 

However the performance drops to ~250 Mbitps over TCP when I test the same migrated design with the 2017.1 or 2017.2 tools.

 

I am also seeing kernel panics when testing with mtu=9000 on the 2017.1 and 2017.2 designs that I did not see with the 2016.4 design. I posted a thread about that here:

 

https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-2017-2-Kernel-panic-in-quot-skb-copy-and-csum-dev-quot/m-p/798458

 

Has anyone verified the 10G speed with the 2017.1 and 2017.2 tools?

 

Thanks,

Adam

0 Kudos
Highlighted
Participant
Participant
2,592 Views
Registered: ‎02-01-2018

Re: Bad performance of 10G MAC on ZCU102

Jump to solution

This is what I get with 2017.1 ready-to-test solution fro 1500 MTU. I do not get any kernel panics. Everything works well but the performance is pathetic. Were you able to find a way to improve the performance?     

 

TCP TX:          161 Mbits/sec

TCP RX:   1.11 Gbits/sec

 

UDP TX:   1.62 Gbits/sec (With lot of Errors)

UDP RX:   355 Mbits/sec 

0 Kudos
Highlighted
Adventurer
Adventurer
2,575 Views
Registered: ‎01-26-2017

Re: Bad performance of 10G MAC on ZCU102

Jump to solution

@dsingh

 

Yes, I was able to get performance up to ~4Gbps. Check out the thread below for details.

 

https://forums.xilinx.com/t5/Networking-and-Connectivity/Is-there-petalinux-2017-2-support-for-10G-Ethernet-Subsystem-v2/m-p/817702#M11774

0 Kudos
Highlighted
Participant
Participant
2,568 Views
Registered: ‎02-01-2018

Re: Bad performance of 10G MAC on ZCU102

Jump to solution

 

0 Kudos
Highlighted
Adventurer
Adventurer
2,562 Views
Registered: ‎01-26-2017

Re: Bad performance of 10G MAC on ZCU102

Jump to solution

We saw that we had ~2Gbps per stream and decided to parallelize the streams to see what the max throughput was.

 

In order to just get to the 2Gbps per single stream though, we had to change the FIFO size in the Vivado project and change one of the DMA properties in the petalinux device tree as described in some of my earlier posts.

0 Kudos
Highlighted
Participant
Participant
2,561 Views
Registered: ‎02-01-2018

Re: Bad performance of 10G MAC on ZCU102

Jump to solution
Thanks Adam!!
0 Kudos
Highlighted
Participant
Participant
2,551 Views
Registered: ‎02-01-2018

Re: Bad performance of 10G MAC on ZCU102

Jump to solution

 

 

0 Kudos