aZholtikov / zh_network

ESP32 ESP-IDF and ESP8266 RTOS SDK component (arduino library for ESP32 family) for ESP-NOW based mesh network.
Apache License 2.0
44 stars 6 forks source link

Maximum network bandwidth #11

Closed ruslanslobozhenuk closed 2 months ago

ruslanslobozhenuk commented 2 months ago

What is the maximum network bandwidth in your tests?

aZholtikov commented 2 months ago

Theoretically depends on the number of redirects. Each redirect takes about 20-30 milliseconds + 20-30 for a direct connection. Example - sending and receiving confirmation when sending through 2 intermediate devices will take approximately 60-90 milliseconds (assuming the route is already known). Under ideal conditions, with empty message queues in the devices and the same number of forwardings both from and to the destination. Maximum 218 bytes per message.

In reality, a 500Kb transfer with 3 forwardings takes up to 5 minutes (in my network with 164 devices) during an OTA update. P.S. Without OTA, it's about 200Kb per minute.