Replies: 2 comments 3 replies
-
Can you check if the solution in #3014 works for you? |
Beta Was this translation helpful? Give feedback.
1 reply
-
The defaults are quite conservative - see https://docs.esp-rs.org/esp-hal/esp-wifi/0.12.0/esp32s3/esp_wifi/#wifi-performance-considerations |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With a simple application using embassy/esp-wifi/esp-mbedtls I'm downloading (over TLS) a 2.5MB binary file from Github, and it takes around 120 seconds.
Downloading to the computer which is on the same wifi network, is close to nothing.
I see data arrives in 16Kb blocks, with around 1sec delay between such blocks. no matter what buffers I use (whether for TCP buffers or for the read operations). So if I use 4K then 4 blocks are read fast and then it waits for around a second or so.
The application does nothing except that.
Is that expected behavior and the performance I should expect?
I believe it is not a TLS issue, so asking here rather than in the esp-mbedtls repo.
I didn't try looking if there are any esp-wifi optimizations, it's just that the difference between the laptop and the esp32 is really huge that it doesn't seem like optimization could get even close.
Edit:
I also found this issue that mention a default performance similar to what I see: #1605
Beta Was this translation helpful? Give feedback.
All reactions