Page 1 of 1

Increasing UPD Wifi performance

Posted: Mon Jun 05, 2017 4:36 pm
by ph1l1p139
Hi,

I'm trying to benchmark the best UDP/Wifi performance we can get from the ESP32 module to evaluate it's use in a project.

Running udp_perf as a station/sender while clocked at 240MHz has yielded ~25Mbps to a Laptop running as a softAP (I'm looking to find a suitable real/hard AP to test with as well). This was on an otherwise empty channel at very short range.

Are there any obvious methods to increase the performance close to the claimed 135Mbps? (See https://espressif.com/en/products/hardw ... 2/overview). If required we can limit the problem space (fixing IP addresses, dedicated receiver etc) to help improve throughput. Is the upd_perf example the best place to start?

Once I've gotten a hold of an Access Point does anyone have a solid feel for a realistic maximum sustainable throughput?

Thanks,
Phil

Re: Increasing UPD Wifi performance

Posted: Wed Jun 21, 2017 5:20 am
by temp4eb
I got the same result in udp throughput test.And tcp performance was only about 2Mbps.........

Re: Increasing UPD Wifi performance

Posted: Wed Jun 21, 2017 6:35 am
by ESP_igrr
We have a document about WiFi driver in preparation, it will have some information on achievable throughput.

130Mbps can be achieved by passing packets directly to WiFi driver (i.e. without the overhead of LwIP stack), and with testing being performed inside a shield box.
Maximum UDP throughput (TX or RX) with LwIP stack, and testing being performed in a shield box, is around 80Mbps.
In air, maximum value achieved was around 30Mbps, your 25Mbps result looks fairly close to that.

Re: Increasing UPD Wifi performance

Posted: Wed Jun 21, 2017 11:45 am
by BuddyCasino
130Mbps can be achieved by passing packets directly to WiFi driver
You mean not socket API to netconn API, but working around LwIP entirely? Are there code examples somewhere? My issue is maintaining consistent throughput currently.

Re: Increasing UPD Wifi performance

Posted: Tue Aug 22, 2017 9:34 am
by adamzulqarnain
ESP_igrr wrote:We have a document about WiFi driver in preparation, it will have some information on achievable throughput.

130Mbps can be achieved by passing packets directly to WiFi driver (i.e. without the overhead of LwIP stack), and with testing being performed inside a shield box.
Maximum UDP throughput (TX or RX) with LwIP stack, and testing being performed in a shield box, is around 80Mbps.
In air, maximum value achieved was around 30Mbps, your 25Mbps result looks fairly close to that.
Can we get hold of the said Wi-Fi driver documentation?

Re: Increasing UPD Wifi performance

Posted: Tue Aug 22, 2017 12:22 pm
by ESP_igrr

Re: Increasing UPD Wifi performance

Posted: Mon Jul 30, 2018 3:52 am
by rinripper
Hi I´am trying to obtain 25 Mb throughput.
I read you could get this speed, I wonder if I can get your code :D

Thanks in advance
Mauricio