Increasing UPD Wifi performance

ph1l1p139
Posts: 3
Joined: Mon Jun 05, 2017 12:59 pm

Increasing UPD Wifi performance

Postby ph1l1p139 » Mon Jun 05, 2017 4:36 pm

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

temp4eb
Posts: 35
Joined: Tue Jun 06, 2017 8:59 am

Re: Increasing UPD Wifi performance

Postby temp4eb » Wed Jun 21, 2017 5:20 am

I got the same result in udp throughput test.And tcp performance was only about 2Mbps.........

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Increasing UPD Wifi performance

Postby ESP_igrr » Wed Jun 21, 2017 6:35 am

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.

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: Increasing UPD Wifi performance

Postby BuddyCasino » Wed Jun 21, 2017 11:45 am

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.

adamzulqarnain
Posts: 1
Joined: Wed Jul 19, 2017 6:41 am

Re: Increasing UPD Wifi performance

Postby adamzulqarnain » Tue Aug 22, 2017 9:34 am

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?


rinripper
Posts: 9
Joined: Wed Jun 28, 2017 3:52 am

Re: Increasing UPD Wifi performance

Postby rinripper » Mon Jul 30, 2018 3:52 am

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

Who is online

Users browsing this forum: Bing [Bot], Heggico and 100 guests