[etherlab-users] Xenomai (correct) configuration?

Mike Karam mike95gr at hotmail.com
Sat Apr 21 13:24:51 CEST 2018


Hello all,

it's Mike again, I'm trying know (don't hate me for this Jurgen) to run the Xenomai example with the native skin for comparison reasons (vs Preempt_RT).
The MSW and CSW are only 1 (seen in /proc/xenomai/stat), but the latency sometimes gets in the hundreds of μs. 
I run the latency test and the worst case is around 20-30 μs (good right?).

The system configurations are:
1) Ubuntu 16.04 with 3.18.20 kernel
2) Xenomai 2.6.5 with 3.18.20 Adeos patch
3) 82579LM Gigabit Network Controller (e1000e driver)
4) IgH Master for Linux 1.5.2 with native driver support
5) Infineon's XMC 4800 board

The configurations I did for the Xenomai build were namely:
CONFIG_CPU_FREQ – Disable
CONFIG_CPU_IDLE – Disable
CONFIG_ACPI_PROCESSOR – Disable
CONFIG_INTEL_IDLE – Disable
CONFIG_INPUT_PCSPKR – Disable
CONFIG_STAGING – Disable

The example is attached.

Can anyone please help me? 
I'm trying to determine whether I have not installed some features of
Xenomai correctly or my slave is not behaving correctly. If it's the
latter, the question remains, because I didn't have so high latencies
(around 200-300 μs) with the Preempt_RT patch, I checked it multiple times.

Best regards,
Mike Karam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ethercat_xen.c
Type: text/x-csrc
Size: 15909 bytes
Desc: ethercat_xen.c
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20180421/62bc04d3/attachment-0003.c>


More information about the Etherlab-users mailing list