Page 1 of 1

Impressive Ethernet bandwith using ESP32

Posted: Thu Jun 01, 2017 12:06 am
by hwmaier
I just like to share that I have the ESP-WROOM32 running with Ethernet at impressive speeds. Running benchmarks using jperf can achieve a throughput of almost 10MBytes/s using 4 concurrent threads:
image.png
image.png (19.96 KiB) Viewed 56101 times
I think getting 10MBytes/s which is 80Mbit/s on a 100 MBit/s Ethernet link is as good as it gets.

Note: Clockspeed was set to 240 MHz and lwip setting SYS_LIGHTWEIGHT_PROT set to 0. The latter setting is not recommended for normal operation. If SYS_LIGHTWEIGHT_PROT is set to default of 1, bandwidth is around 7 MBytes/s as shown below:
image2.png
image2.png (28.8 KiB) Viewed 56101 times

Re: Impressive Ethernet bandwith using ESP32

Posted: Thu Mar 03, 2022 10:51 pm
by milkolik
Very impressive!

What ethernet configuration are you using?

ESP32 internal MAC + external PHY?

External MAC + PHY?

I am trying to get ethernet working on my ESP32 with a ENC28J60 using the ESP IDF examples code but pings are only successful a small percentage of the time. I'd love to get your results so any info really helps!

Thank you!

Re: Impressive Ethernet bandwith using ESP32

Posted: Fri Mar 04, 2022 9:26 am
by hwmaier
ESP32 internal MAC + external PHY. You won't achieve those transfer speeds with external MACs.

Re: Impressive Ethernet bandwith using ESP32

Posted: Fri Mar 11, 2022 11:03 pm
by milkolik
Thank you!

Re: Impressive Ethernet bandwith using ESP32

Posted: Tue Mar 15, 2022 3:04 pm
by Deouss
I was playing once with TCP transfers and I could achieve 7-11Mb/sec on second non-wifi core single thread.
Unfortunately you need to implement a blocking socket on client side - I couldn't manage to make stuff work with non-blocking async sokets

Re: Impressive Ethernet bandwith using ESP32

Posted: Mon Dec 11, 2023 4:52 am
by MikeMyhre
milkolik wrote:
Fri Mar 11, 2022 11:03 pm
Thank you!
What hardware chip are you using for the PHY part?
Have you tried 1000 MHZ parts?
I have a project where I need about 60 MHz transfer rate am are not sure what parts will accomplish this.

Thanks

Mike