-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lock in C33 using ethernet adapter and TCP connection in a long run #240
Comments
Adding...
|
@Eduardo-Lopes can you try applying this PR #234 ? It should improve things drastically. /cc @andreagilardoni |
@Eduardo-Lopes As I remember I encountered this issue while dealing with #234, it has to be something related to missing deallocation of pbuf. If you use #234 this should be fixed. That PR should be able to handle higher loads with ethernet, I will also provide some docs on how to tweak performances to reach the highest possible performances, if you need that now I can provide that to you. That PR also addresses issues on memory leakage of Server classes. Any feedback is appreciated. |
Thanks! I was trying to compile the PR with e2 Studio, but no success.
If there is a way that you can help me.
My case doesn't involve high performance, but reliability.
…On Wed, Jan 17, 2024, 06:42 Andrea Gilardoni ***@***.***> wrote:
@Eduardo-Lopes <https://github.com/Eduardo-Lopes> As I remember I
encountered this issue while dealing with #234
<#234>, it has to be
something related to missing deallocation of pbuf. If you use #234
<#234> this should be
fixed. That PR should be able to handle higher loads with ethernet, I will
also provide some docs on how to tweak performances to reach the highest
possible performances, if you need that now I can provide that to you.
—
Reply to this email directly, view it on GitHub
<#240 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIWXSAU7W5H4LUDGI34UX3YO6MHLAVCNFSM6AAAAABB3FQZEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJVGQ2DCMBZGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I don't know how to help you with e2 Studio, you can have a try with arduino IDE or arduino-cli. As described, #234 also addresses reliability. |
Hey all.
I implemented a HTTP server on C33.
But in a stress test, the board doesn't do well.
I take the smallest sample.
and the python code to call
I take a deep look at the source code too. It looks like a problem in lwip function
tcp_output that doesn't clean the recv buffer in some way.
And it looks like that is something low level because the C33 stops responding to ping too.
In lwip functions is called tcp_write to add the buffer and tcp_output to send the buffer, but tcp_write keeps returning ERR_MEM.
Also, there is no SDCard on the shield.
Any help?
The text was updated successfully, but these errors were encountered: