element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Ethernet Throughput/Performance
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 329 subscribers
  • Views 1285 views
  • Users 0 members are here
Related

Ethernet Throughput/Performance

Former Member
Former Member over 12 years ago

We got zedboard zynq-700 evelaution board

We were trying to perform the Ethernet performance test using iperf With Linux running on the board, with provided reference designs and S/W binarys, but we are not seeing any good performance as mentioned in the below link
http://www.wiki.xilinx.com/Zynq+PL+Ethernet. To achieve this is there any other methods/solution


And also we tryied following this document xapp1026.pdf(http://www.xilinx.com/support/documentation/application_notes/xapp1026.pdf), as it describes by using FreeRTOS with lwip, we can achieve max throughput on this board, but we were not seeing any good results


Below are the Ethernet performance/throughput details, what we achieved on this ZedBoard Zynq-7000
2.6Mbits/sec to 3Mbits/sec - lwip
350Mbits/sec to 450Mbits/sec - Linux

Please let us know, what further we need to proceed to achieve the specified through-put with Linux and lwip

Thanks
Narthan

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 12 years ago

    Hi Narthan,

    Can you provide further guidance on what you consider to be good performance for throughput?

    The numbers you show for Linux are what we would expect to see on a system running a full-blown OS such as Linux.  There are many overheads accounted for in throughput in addition to transmission overheads, including latency, TCP Receive Window size and system limitations, which means the calculated throughput does not reflect the maximum achievable throughput.   If several systems are attempting to communicate simultaneously, the throughput between any pair can be substantially lower than the nominal bandwidth available.

    As for the lwip numbers that you report, I would agree with you that those appear to be quite low.  Are you testing this over a link that you have confirmed to be negotiated at 1000Mbit mode?

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to zedhed

    please find the below mention details after performing Ethernet throughput test with the Latest release of (Zynq 14.6-2013.2).

    ------------------------------------------------------------------------------------------------------
    Zed_Board Setup details

    1:Zed_board to PC  (with CAT-5 Lan cable).

    2:Zed_board runing with linux kernal (With latest release Zynq 14.6-2013.2 Release ) in the below following link
    http://www.wiki.xilinx.com/Zynq+14.6-2013.2+Release
    -----------------------------------------------------------------------------------------------------

    PC Setup Details

    1:OS:Ubuntu

    2:ethernet details of Host(PC)device

        Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
    ---------------------------------------------------------------------------------------------------------------------------------------------------- 

    The below test performed using the latest release  Zynq 14.6-2013.2

    1> PC in Transmitter mode and Zed_board in Receive mode

        a) iperf -c 192.168.0.111 -i5 -t20 (cmd running at uBuntu PC end -- Host)

            ------------------------------------------------------------
           Client connecting to 192.168.0.111, TCP port 5001
           TCP window size: 16.0 KByte (default)
           -----------------------------------------------------------
          [  3] local 192.168.0.58 port 41956 connected with 192.168.0.111 port 5001
          [ ID] Interval           Transfer          Bandwidth
          [  3]  0.0- 5.0 sec   63.7 MBytes    107 Mbits/sec
          [  3]  5.0-10.0 sec  72.5 MBytes    122 Mbits/sec
          [  3] 10.0-15.0 sec  51.6 MBytes   86.6 Mbits/sec

        b) taskset 2 ./iperf -s (cmd running at Zed_board end - Device)

            ------------------------------------------------------------
            Server listening on TCP port 5001
            TCP window size: 85.3 KByte (default)
            ------------------------------------------------------------
            [  4] local 192.168.0.111 port 5001 connected with 192.168.0.58 port 41956
            [ ID] Interval       Transfer     Bandwidth
            [  4]  0.0-20.1 sec   248 MBytes   104 Mbits/sec

    2> PC in Receive mode and Zed_board in Transmitter mode

         a) iperf -s (cmd running at uBuntu PC end -- Host)

            ------------------------------------------------------------
            Server listening on TCP port 5001
            TCP window size: 85.3 KByte (default)
            ------------------------------------------------------------
            [  4] local 192.168.0.58 port 5001 connected with 192.168.0.111 port 45026
            [ ID] Interval       Transfer     Bandwidth
            [  4]  0.0-20.0 sec  1.13 GBytes    486 Mbits/sec

         b) taskset 2 ./iperf -c 192.168.0.58 -i5 -t20 (cmd running at Zed_board end -- Device)
            ------------------------------------------------------------
            Client connecting to 192.168.0.58, TCP port 5001
            TCP window size: 20.7 KByte (default)
            ------------------------------------------------------------
           [  3] local 192.168.0.111 port 45026 connected with 192.168.0.58 port 5001
           [ ID] Interval       Transfer     Bandwidth
           [  3]  0.0- 5.0 sec   335 MBytes   562 Mbits/sec
           [  3]  5.0-10.0 sec   248 MBytes   415 Mbits/sec
           [  3] 10.0-15.0 sec   262 MBytes   439 Mbits/sec

    same set up at PC end  but Zed board with Lwip am getting 2.6Mbits/sec to 3Mbits/sec..

    Please let us know for any further query's!!!

    Thanks
    Narthan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Hello Nathan,

    I know it might be a bit late, but in the past week I stumbled across exactly the same problem that you described here.

    I could not achieve higher throughput than 2.3 - 2.6 Mbit/s using lwIP and FreeRTOS.

    The problem turned out to be FreeRTOS. You have to take good care setting the task priorities. If all tasks are started with DEFAULT_THREAD_PRIORITY, good performance cannot be achieved.
    I set the socket_mode_thread_priority to its default value (2), started the xemacif_input_thread at DEFAULT_THREAD_PRIORITY and the thread performing the throughput tests is at DEFAULT_THREAD_PRIORITY + 1. This is important, because any task switching will hamper the communication and thereby decrease the throughput.

    I hope I could help you. If you have any questions regarding my setup, please do not hesitate to ask.

    With best regards,
    Darius

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    Darius,

    Could you tell us what performance you got after increasing the priority?

    Maarten

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube