Warning: Rollback #18 (assert failed: tcp_update_rcv_ann_wnd) #2326
Replies: 8 comments 42 replies
-
you mean something like this?
I am using |
Beta Was this translation helpful? Give feedback.
-
happened again:
let me share the async req code also, maybe i am overlooking some issues here:
|
Beta Was this translation helpful? Give feedback.
-
@tbnobody : the fix seems to have a huge effect on watchdog: me-no-dev/ESPAsyncWebServer#1437 |
Beta Was this translation helpful? Give feedback.
-
@DaeMonSxy @tbnobody : I think I found something.... There were a bottlenek in this patch here: That was slowing down the reads at some point. I've reverted to the original code and this fixes the slowdown and I do not have ack timeouts anymore. Would you be able both of you to test release v3.2.10 ? I will wait for your feedback before releasing ESPAsyncWebServer again Thanks! |
Beta Was this translation helpful? Give feedback.
-
I've put something in place to run some benchmarks over some endpoints. => https://github.com/mathieucarbou/ESPAsyncWebServer?tab=readme-ov-file#performance With the fix, I can now reach that amount of concurrency. The limit begin set by |
Beta Was this translation helpful? Give feedback.
-
hi there, Going to test with : For the first look, the overall webserver is much faster, I will leave code run on my devices 24/7, so lets see tomorrow. |
Beta Was this translation helpful? Give feedback.
-
@DaeMonSxy @tbnobody : FYI I also took the time to fork AsyncTCPSock (AsyncTCP replacement based on BSD sockets which is also more performant since does not use the queue mechanism of AsyncTCP) and align it with AsyncTCP macros. You can see here some perf comparison: https://github.com/mathieucarbou/ESPAsyncWebServer?tab=readme-ov-file#performance AsyncTCPSock is definitely faster and also consumes about the same heap (maybe 1% more in my case but not so different). How to ignore AsyncTCP and use AsyncTCPSock instead: https://github.com/mathieucarbou/ESPAsyncWebServer?tab=readme-ov-file#dependencies Depending on the app, switching might bring more perf, especially in the case of an app doing heavy tasks like I have (electricity monitoring tasks) or like OpenDTU (rf scanning). Less cpu time in i/o serving requests means more cpu time available for other tasks. |
Beta Was this translation helpful? Give feedback.
-
Well ,early happyness,
|
Beta Was this translation helpful? Give feedback.
-
FYI @AloisKlingler and @tbnobody : mathieucarbou/AsyncTCP#24
Ref: #2180
If you happen to see the issue again with the new upcoming releases, please let me know.
Beta Was this translation helpful? Give feedback.
All reactions