-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
Lots of missing packets talking to a GigE camera: debugging suggestions? #894
Comments
I poked at this a bit more. In short, I wasn't setting the socket buffer size properly, and fixing that made it work. Notes: The socket buffer size can be set like this:
This sets the
The setting ends up in
Which is used in multiple places in https://lxr.linux.no/#linux+v6.7.1/net/ipv4/udp.c If the data comes in faster than it can be read, it's stored in this buffer; if The buffer size should be set to a bit more than the ArvBuffer payload size probably. I would guess aravis already does that by default, but it wasn't working on my machine. I'm going to take a look to get more detail in a bit. |
Hi. I'm seeing a consistent issue where my camera cannot receive even one successful image due to missing gige packets. It's similar to #434. I can do my own debugging, but I'm hoping you can suggest some better ways to do that. Observations:
So given all that, any suggestions? In your experience, are the packets being lost in the OS? If so, it should be possible to use perf, or something, to see conclusively where the packet loss is occurring. What do you do, usually?
Thank you very much for aravis. It's truly incredible. I'm now porting the 3rd set of my cameras to use it, and more or less, it's working perfectly.
The text was updated successfully, but these errors were encountered: