SPRADH0 August 2024 AM625 , AM6442 , AM69 , TDA4VM
By default, ksoftirqs associated with each core are scheduled as “TS”, “time-sliced”, “time-sharing”, or “SCHED_OTHER” scheduling policy (these are four different names for the same scheduling policy). This is a standard round-robin time-sharing policy that is intended for all processes that do not require special real-time mechanisms. Since ksoftirqs are used by ethernet-related interrupts that EtherCAT packets use, verifying that ksoftirqs are scheduled with as high a priority as possible in a real time scheme is important. Therefore, change from “TS” to “FIFO”, where possible. In other words, use “SCHED_FIFO” with priority higher than the -56 the EtherCAT task is set to. This procedure can be performed with the chrt -f -p <priority> <process id>
command.