Hi,
I have set up an ESP32 STA tcp/ip server which echos whatever it receives.
A python client connects and sends 100*120 bytes and waits for data to be returned before repeating.
Throughput is measured over 10 seconds.
I achieve 25 - 30KB/S in each direction which is much smaller than I had expected.
I am aware that there are only so many lwip buffers & so the ESP server collates 1000 bytes at a time before replying (or on timeout).
Why so slow?
Wifi performance
Wifi performance
& I also believe that IDF CAN should be fixed.
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: Wifi performance
You're more-or-less measuring the latency of the entire chain by waiting for a response to get back to you. Better to send a whole slew of packets and waiting asynchroneously for them to be acked; that's how TCP/IP normally does it. Or use the iperf example if you want to evaluate what the hardware is capable of.
Re: Wifi performance
Thanks, Yes, you're right. Having a bad day....
I will change the client so that the client requires most of the data to be returned before transmitting again (rather than all).
I will change the client so that the client requires most of the data to be returned before transmitting again (rather than all).
& I also believe that IDF CAN should be fixed.
Who is online
Users browsing this forum: No registered users and 106 guests