-
Notifications
You must be signed in to change notification settings - Fork 47
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
Trying to achieve max bandwidth results in (some) packets not being sent #10
Comments
I had an issue where when I compiled in release mode only every other ping was being responded to. And the breadcrumbs that led me there: |
@birkenfeld Are you using a F7 or F4 ? If using a F7, could you try the master branch to see if your problem persists ? This might also be caused by the lack of Edit: Also, could you see if #16 applies to your case ? |
I'm using an F429. Thanks for the suggestions, I will try master and stuff from #16 when I'm back at work. |
@birkenfeld You should probably test #17 instead of master now. Let me know if you find any problems. |
Unfortunately, I tested with current master, with the "fence" feature both disabled and enabled, and could reproduce the problem. Is #16 still relevant? Is there an example how to put the buffers in SRAM2? |
Yes, it's still relevant, you can see an example here: rust-embedded/cortex-m-rt#282, but you should use SRAM2/3 instead, also, beware that Could you provide the code (a reduced one, preferably) so we can see if we can reproduce it ? That together with your |
Will do; should be ready later today. |
Oh, I just realized that the |
I've put up the reproducing example as #21, I've not yet experimented with dcache. |
Ok, update to this issue: Right now Now, there is still one more question, do we ever send the ARP packet ? Edit: Also, after talking to adam, I came to the conclusion that caching shouldn't be a problem on the F4, since it only caches the flash. |
Closing this as the problem was tracked down in smoltcp, issue here smoltcp-rs/smoltcp#319, and fixes here smoltcp-rs/smoltcp#368 and here smoltcp-rs/smoltcp#369. |
Basically, we identified smoltcp-rs/smoltcp#319 as not smoltcp's fault.
If you will have time to check this out with a reproducer, I will boil down my code to the bare minimum.
The text was updated successfully, but these errors were encountered: