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 When using LwIP raw API on MicroZed the ethernet speed is approximately 10 times lower than expected.
  • 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 1 reply
  • Subscribers 328 subscribers
  • Views 466 views
  • Users 0 members are here
Related

When using LwIP raw API on MicroZed the ethernet speed is approximately 10 times lower than expected.

Former Member
Former Member over 11 years ago

Dear all,

I am setting up a bare-metal C application on MicroZed (Zynq 7010) using LwIP to receive data over gigabit ethernet (Enet 0) on the PS side.

Everything is working fine but the speed is approximately 10 times lower than expected.

Hardware: MicroZed (Zynq 7010)
SDK: SDK 2014.2
Hardware platform: MicroZed_hw_platform (predefined)
BSP: standalone 4.1
Application: LwIP Echo Server Template with the following lines commented out (to speed things up, no echo back)
/* echo back the payload */
/* in this case, we assume that the payload is < TCP_SND_BUF */
//if (tcp_sndbuf(tpcb) > p->len) {
//    err = tcp_write(tpcb, p->payload, p->len, 1);
//} else
//    xil_printf("no space in tcp_sndbuf
r");
Performance measurement: iperf -c 192.168.2.3 -p 7 -t 20 -i 2
Speed: ~50 Mbits/s
Control 1: The very same setup with FreeRTOS using LwIP socket API
Speed: ~500 Mbits/s
Control 2: Open Source Linux Ethernet Performance Test Tutorial from microzed.org
Speed: ~500 Mbits/s

Is there perhaps some hidden setting in the SDK or LwIP? I have already spent a lot of time trying to fix this and would appreciate any help!

Thanks,
Petr

  • Sign in to reply
  • Cancel
  • jmcdevitt@stereotaxis.com
    0 jmcdevitt@stereotaxis.com over 8 years ago

    Petr,

    Did you ever fix this issue?

    Thanks

    • 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