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

Incomplete buffer received #6

Open
Dhruval360 opened this issue Apr 11, 2023 · 1 comment
Open

Incomplete buffer received #6

Dhruval360 opened this issue Apr 11, 2023 · 1 comment

Comments

@Dhruval360
Copy link

Whenever I run three instances of rc_genicam_camera, I see a [ WARN] [1681181861.204876667]: rc_genicam_camera: Incomplete buffer received warning. I followed all the network related optimizations mentioned in the documentation.

networkDevice=$(basename /sys/class/net/e*)

read -p "Is this the Network Device? $networkDevice  (y/n) " answer

if [[ "$answer" == "y" || "$answer" == "" ]]; then
    echo "Proceeding..."
elif [[ "$answer" == "n" ]]; then
    read -p "Enter the Network Device: " networkDevice
else
    echo "Invalid input. Please enter 'y' or 'n'."
    exit
fi
echo Turning $networkDevice off...
sudo ifconfig $networkDevice down
echo Set $networkDevice\'s MTU to 9000
sudo ifconfig $networkDevice mtu 9000
echo Turning $networkDevice on...
sudo ifconfig $networkDevice up
sudo sysctl -w net.core.netdev_max_backlog=48000
sudo sysctl -w net.core.rmem_max=2147483647

I have also verified that my network connection has enough bandwidth. Could you help me understand why this is happening and how I could mitigate this issue?

Platform:
NVIDIA Jetson Orin
5.10.104-tegra

Do let me know what more information I could share to help you debug this issue faster.
Thanks!

@flixr
Copy link
Member

flixr commented Apr 21, 2023

While average bandwidth might be sufficient, you probably loose packets in the peaks.
You could check if you loose packets in your switch and/or use a more powerful switch with larger buffer.
And of course check on the Orin if you see packets that are dropped by the kernel because you didn't read them fast enough, check nic statistics and if you send pause frames (which would indicate too much data).

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