Hello Pavel,
thanks for your reply.
The screenshots you've provided show the kernel compile-time configuration option for high resolution timers, which I have enabled as well.
However http://elinux.org/High_Resolution_Timers describes a number of tests for whether high resolution timers are actually available at run time, and those come out negative despite:
# zcat /proc/config.gz |egrep "RT_FULL|HIGH_RES" CONFIG_HIGH_RES_TIMERS=y CONFIG_PREEMPT_RT_FULL=y # grep resolution /proc/timer_list .resolution: 10000000 nsecs .resolution: 10000000 nsecs .resolution: 10000000 nsecs [...] # grep event_handler /proc/timer_list event_handler: tick_handle_periodic event_handler: tick_handle_periodic # cyclictest -n -p 80 -i 500 -l 5000 # /dev/cpu_dma_latency set to 0us WARN: High resolution timers not available policy: fifo: loadavg: 0.00 0.00 0.00 2/105 335 T: 0 ( 335) P:80 I:500 C: 5000 Min: 1758 Act: 9748 Avg: 9743 Max: 9767
This was for HZ=100, latency goes down to 1ms for HZ=1000.
Can you confirm that the SDK kernel actually provides high-res timers at runtime?
Are there any plans to update the SDK kernel to 4.x over the next year or so?
Best regards,
Stefan