-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
large File Uplink fails due to PacketOutOfOrder #1265
Comments
You mentioned there were also asserts. Can you post them as well? I'm guessing there was a queue overflow. |
Assert file "/home/sheershak/F-Prime/App/build-fprime-automatic-raspberrypi/F-Prime/Svc/FileUplink/FileUplinkComponentAc.cpp": Line: 1757 8 |
May need to add a throttling mechanism in the GDS as this is likely an overflow of incoming packets. |
At one point we had discussed the idea of flow control on interfaces that could support it, e.g. network. The network "radio" ACKs each uplinked file packet, and the ground won't send the next until it sees the ACK. |
This problem seems to be driven by a queue overflowing (error 8 above). The best fix would be to increase the file uplink queue size. We could also make a discussion to talk about what to do when the radio is substantially faster than file uplink. |
Problem Description
When uplinking a big file(>1MB), f' throws PacketOutOfOrder.
Example Events:
022-02-08T03:58:03.286Z | 0x7ff | fileUplink.PacketOutOfOrder | WARNING_HI | Received packet 49 after packet 34
2022-02-08T03:58:03.304Z | 0x7ff | fileUplink.PacketOutOfOrder | WARNING_HI | Received packet 54 after packet 49
How to Reproduce
Expected Behavior
FileUplink should be able to upload files without losing packets.
Maybe put a delay in GDS while sending files or make changes in fprime to request for missed packets or account for out of order packets.
Related to nasa/fprime-gds#43
The text was updated successfully, but these errors were encountered: