Actually I have the same clock for SPI (SPISettings(50000000, MSBFIRST, SPI_MODE0)) - 50 Mhz - and the throughput is still 20 Mbps...
I also checked that I use the correct Ethernet library, according to your previous insights :)
I figured that I...
@PaulStoffregen
@shawn
I have tested the code you provided and achieved ~20 Mbps at 30 Mhz SPI.
As I saw previous claims about QNEthernet, as it possibly slows the transfer because of the MACRAW mode, I have some additional questions.
In my...
This benchmark can run slightly faster if client.connected() is called only when no data is available to read. Code below.
Results with default 14 MHz SPI:
Teensy 4.1: 12.02 Mbit/sec
Teensy 3.6: 11.33 Mbit/sec
Teensy 3.2: 10.79 Mbit/sec
Teensy...
I get 11.96 Mbit/sec Ethernet.h default 14 MHz SPI.
I get 26.26 Mbit/sec after editing libraries/Ethernet/src/utility/w5100.h for 30 MHz SPI.
These tests were done from my Linux desktop communicating on my LAN which uses 2 ethernet switches. I...
Ran it just now. Confirm slow speed here.
Probably not worth a lot of effort since the normal Ethernet.h library is well optimized.
@istrateandrei26 - Please let us know what speed you get with the Ethernet.h iperf code (msg #25)?
iperf -i 1...
Thank you for doing this benchmark.
I have managed to test QNEthernet before I posted the question and I got slow and weird speed results also (I used static IP too + USB-C to Ethernet adapter). I did not have so much time to dig into the...
I'd like to report absolutely dismal performance with QNEthernet/W5500/IPerfServer example (note: the driver uses MACRAW mode):
I'm seeing about 350 Kibps. That's at 30MHz SPI. At 14MHz, < 200 Kibps.
I tried with both interrupts enabled (not the...
Well, for now I am not able to duplicate their result, as I can not replicate the hardware setup...
That's why I asked the topic because I wonder how did they manage to reach that throughput (I was concerned if it is real or not and if so, if...
However, I am also curious how the authors from this article - A Comparative Analysis of TCP iperf Server Performance - managed to reach ~40 Mbps without any obvious optimization (using a board with lower specs) and the same W5500 chip and the...
Thanks for the insight. I definitely see your point regarding the W5500’s architecture; it’s certainly not a native memory-mapped ring buffer like the Teensy 4.1’s internal Ethernet interface.
The '2X to 3X' figure I mentioned was based on...
Thank you for your reply. I have seen examples using ioLibrary for Wiznet chips and I have used it at first.
I will try to use the Teensy Ethernet library and check the throughput.
I may have misunderstood from your response...Is the code from...
Actually for the native ethernet chip interface I use FNET, but this is not the problem. I have tested multiple ethernet libraries for the native ethernet chip and the throughput remains the same 90 Mpbs. But the interesting fact is that I saw in...
Hi everyone,
I am working on a project using the Teensy 4.1 where I need to implement communication across two Ethernet interfaces.
The Teensy's native Ethernet interface is working perfectly; I have tested it with iperf and it consistently...