acassis commented on issue #17299: URL: https://github.com/apache/nuttx/issues/17299#issuecomment-3517237880
@mennovf yes, I think it is a BUG (or at least a contradictory behavior according to documentation). Possible solutions: - Use a positive value to CONFIG_NET_RECV_BUFSIZE this way the readhead buffers are freed early - Other alternative is running recv and send in different threads, but as you said you don't have access to the control flow it is not an option - Increase the total IOB pool size, it could "mask" the issue, that could be enough for some low-end (low network performance) IoT devices The proper solution should fix the network code to use unthrottled buffer allocation to avoid the outbond sends been starved by read-ahead. @jkivilin @linguini1 @xiaoxiang781216 @wengzhe any suggestion? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
