Skip to content
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

Mac M1 and M2 packets dropping #4

Open
AgileEngineeringLLC opened this issue Jan 29, 2024 · 2 comments
Open

Mac M1 and M2 packets dropping #4

AgileEngineeringLLC opened this issue Jan 29, 2024 · 2 comments

Comments

@AgileEngineeringLLC
Copy link

Just a heads-up to others... My Linux boxes work just fine with the Firehose, but both my M1 and M2 macs drop ethernet packets randomly (shows up as IQ values of 0). Appears that the M1 and M2 macs have something wrong in their ethernet firmware or hardware.

@pmonta
Copy link
Owner

pmonta commented Mar 15, 2024

Might there be options in the macOS networking stack or device drivers to help with this? Back in the day I remember playing with things like the Linux driver's RX buffer size or interrupt threshold to decrease drops. Everything has been reliable at default settings of late, though.

By the way, if the dropped packets are single packets only, then the dropout is likely too short in duration to affect the GNSS signal processing. Large contiguous drops, though, of say more than 100 packets in a row, can start to be a problem. Each packet's payload has a timestamp inserted by the FPGA, so the packet2wav tool knows when to fill in with zeros; this means the timing of the sample stream emitted by packet2wav is undisturbed by dropped packets, but of course the SNR decreases because of the lost signal.

@AgileEngineeringLLC
Copy link
Author

I researched online and found others having the same issue. I tried several different OS setting changes, but none worked for me. So i gave up trying to use the M2 Mac for recording. The dropped packets were pretty large blocks, and the dropouts occur regularly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants