Motion Jitter with LinuxCNC + EtherCAT

More
31 Jul 2025 12:14 #332597 by Abdulkareem
Motion Jitter with LinuxCNC + EtherCAT was created by Abdulkareem
I’m running LinuxCNC 2.9.4 on a fanless Venoen P12B with a PREEMPT_RT kernel and EtherCAT (IgH master + lcec HAL driver) connected to 5x EL8-EC400(COE) drives via an Intel I225-V NIC using the
igc
driver. Everything initializes correctly—slaves reach OP state, clocks sync, link is stable at 100Mb/s Full Duplex—but I still get intermittent motion jitter, especially after reboot.
cyclictest
shows good average latency (~2 µs) but occasional spikes up to 95 µs. I’ve tried kernel parameters like
intel_idle.max_cstate=1 processor.max_cstate=1
but that worsened the issue, likely due to the system’s passive cooling. I’d like to keep my current hardware and am looking for any software-based solution to eliminate jitter with the
igc
driver. Any help is greatly appreciated!

Please Log in or Create an account to join the conversation.

More
02 Aug 2025 16:36 #332685 by langdons
Replied by langdons on topic Motion Jitter with LinuxCNC + EtherCAT
Predictable latency is not the main issue, spikes are the problem.

Did you change the governor to performance?

askubuntu.com/a/1530756/1717310

It helped me.

Please Log in or Create an account to join the conversation.

Time to create page: 0.045 seconds
Powered by Kunena Forum