- LinuxCNC
- Installing LinuxCNC
- LinuxCNC and Linux and Ubuntu and PC and RPi ping issues with Mesa 7i96s
LinuxCNC and Linux and Ubuntu and PC and RPi ping issues with Mesa 7i96s
18 Feb 2024 21:01 - 18 Feb 2024 22:50 #293717
by RNZ
Replied by RNZ on topic LinuxCNC and Linux and Ubuntu and PC and RPi ping issues with Mesa 7i96s
I ran my RPi 5 and 7i96s overnight and completed 40 million pings with zero errors.
sudo chrt 99 ping -i .001 10.10.10.10 -c 40000000
At the same time in the background, I ran Latency Histogram and two Glxgears. I have attached photos in case anybody is interested in seeing the results.
I’m not sure what to make of the maximum ping time of just over 10 ms.
It seems that "hardware-irq-coalesce-rx-usecs 0" has fixed the issues I was having (aside from the 10 ms issue) at least on RPi 5 * GB with LinuxCNC 2.9.2.
======================================
What is this "coalesce" thing?
Interrupt coalesce settings (access.redhat.com/documentation/en-us/re...ing_networking/index)
"By using interrupt coalescing, the system collects network packets and generates a single interrupt for multiple packets. This increases the amount of data sent to the kernel with one hardware interrupt, which reduces the interrupt load, and maximizes the throughput."
=====================================
My /etc/network/interfaces looks like this:
=============================
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.10.11
hardware-irq-coalesce-rx-usecs 0
===========================
sudo chrt 99 ping -i .001 10.10.10.10 -c 40000000
At the same time in the background, I ran Latency Histogram and two Glxgears. I have attached photos in case anybody is interested in seeing the results.
I’m not sure what to make of the maximum ping time of just over 10 ms.
It seems that "hardware-irq-coalesce-rx-usecs 0" has fixed the issues I was having (aside from the 10 ms issue) at least on RPi 5 * GB with LinuxCNC 2.9.2.
======================================
What is this "coalesce" thing?
Interrupt coalesce settings (access.redhat.com/documentation/en-us/re...ing_networking/index)
"By using interrupt coalescing, the system collects network packets and generates a single interrupt for multiple packets. This increases the amount of data sent to the kernel with one hardware interrupt, which reduces the interrupt load, and maximizes the throughput."
=====================================
My /etc/network/interfaces looks like this:
=============================
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.10.11
hardware-irq-coalesce-rx-usecs 0
===========================
Last edit: 18 Feb 2024 22:50 by RNZ.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- LinuxCNC
- Installing LinuxCNC
- LinuxCNC and Linux and Ubuntu and PC and RPi ping issues with Mesa 7i96s
Time to create page: 0.683 seconds