Xenomai latency test not good
Dear Sir:
I have a Intel Atom J1900, using Ubuntu 16.04, Kernel version:4.9.24, patch with xenomai 3.0.5, using ipipe-core-4.9.24-x86-2.patch.
When I start to run the latency test, I get this result(it is not good):/******************************************************/RTT| 00:00:43 (periodic user-mode task, 100 us period, priority 99)RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worstRTD| 0.192| 0.621| 10.228| 5| 0| 0.070| 130.271RTD| 0.312| 0.512| 116.038| 6| 0| 0.070| 130.271RTD| 0.311| 0.513| 6.818| 6| 0| 0.070| 130.271RTD| 0.311| 0.609| 13.132| 6| 0| 0.070| 130.271RTD| 0.178| 0.643| 10.743| 6| 0| 0.070| 130.271RTD| 0.309| 0.482| 4.416| 6| 0| 0.070| 130.271RTD| 0.057| 0.549| 10.501| 6| 0| 0.057| 130.271RTD| 0.297| 0.643| 16.239| 6| 0| 0.057| 130.271RTD| 0.164| 0.683| 9.876| 6| 0| 0.057| 130.271RTD| 0.308| 0.410| 2.888| 6| 0| 0.057| 130.271RTD| 0.139| 0.474| 169.443| 7| 0| 0.057| 169.443RTD| 0.318| 0.400| 2.924| 7| 0| 0.057| 169.443RTD| 0.318| 0.442| 3.559| 7| 0| 0.057| 169.443RTD| 0.137| 0.434| 3.379| 7| 0| 0.057| 169.443RTD| 0.316| 0.465| 125.119| 8| 0| 0.057| 169.443RTD| 0.316| 0.410| 5.106| 8| 0| 0.057| 169.443RTD| 0.231| 0.477| 3.953| 8| 0| 0.057| 169.443RTD| 0.303| 0.549| 5.225| 8| 0| 0.057| 169.443RTD| 0.279| 0.443| 6.689| 8| 0| 0.057| 169.443RTD| 0.218| 0.428| 6.521| 8| 0| 0.057| 169.443RTD| 0.109| 0.468| 122.246| 9| 0| 0.057| 169.443/*****************************************************************************/
For the Intel X86 SMI thing,here is my system setting(could not be disabled):/**********************************************************************************/root@googol:/home/googol# dmesg |grep -i xenomai[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.24 root=UUID=ba9a8ea7-08a9-4772-9744-da7b70a9360f ro quiet splash vt.handoff=7 xenomai.smi=enabled[ 1.694624] [Xenomai] scheduling class idle registered.[ 1.694626] [Xenomai] scheduling class rt registered.[ 1.694670] [Xenomai] SMI-enabled chipset found[ 1.694688] [Xenomai] SMI workaround failed![ 1.694731] I-pipe: head domain Xenomai registered.[ 1.695859] [Xenomai] Cobalt v3.0.5 (Sisyphus's Boulder) /**************************************************************************************/
The attached file is my kernel config file.According to the testing result, it seems that the system has large latency, so it is not good when doing realtime control.Could you help me to improve its realtime behavior, or guide me how to improve it?
--------------------------------
Best regards
Lukewen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 199994 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20190909/d0a443c8/attachment.obj>
Quoted 3 lines · 鲁克文 via Xenomai
Dear Sir:
I have a Intel Atom J1900, using Ubuntu 16.04, Kernel version:4.9.24, patch with xenomai 3.0.5, using ipipe-core-4.9.24-x86-2.patch.
When I start to run the latency test, I get this result(it is not good):/******************************************************/RTT| 00:00:43 (periodic user-mode task, 100 us period, priority 99)RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worstRTD| 0.192| 0.621| 10.228| 5| 0| 0.070| 130.271RTD| 0.312| 0.512| 116.038| 6| 0| 0.070| 130.271RTD| 0.311| 0.513| 6.818| 6| 0| 0.070| 130.271RTD| 0.311| 0.609| 13.132| 6| 0| 0.070| 130.271RTD| 0.178| 0.643| 10.743| 6| 0| 0.070| 130.271RTD| 0.309| 0.482| 4.416| 6| 0| 0.070| 130.271RTD| 0.057| 0.549| 10.501| 6| 0| 0.057| 130.271RTD| 0.297| 0.643| 16.239| 6| 0| 0.057| 130.271RTD| 0.164| 0.683| 9.876| 6| 0| 0.057| 130.271RTD| 0.308| 0.410| 2.888| 6| 0| 0.057| 130.271RTD| 0.139| 0.474| 169.443| 7| 0| 0.057| 169.443RTD| 0.318| 0.400| 2.924| 7| 0| 0.057| 169.443RTD| 0.318| 0.442| 3.559| 7| 0| 0.057| 169.443RTD| 0.137| 0.434| 3.379| 7| 0| 0.057| 169.443RTD| 0.316| 0.465| 125.119| 8| 0| 0.057| 169.443RTD| 0.316| 0.410| 5.106| 8| 0| 0.057| 169.443RTD| 0.231| 0.477| 3.953| 8| 0| 0.057| 169.443RTD| 0.303| 0.549| 5.225| 8| 0| 0.057| 169.443RTD| 0.279| 0.443| 6.689| 8| 0| 0.057| 169.443RTD| 0.218| 0.428| 6.521| 8| 0| 0.057| 169.443RTD| 0.109| 0.468| 122.246| 9| 0| 0.057| 169.443/*****************************************************************************/
Your email client mangled the linefeeds.
Quoted 2 lines
For the Intel X86 SMI thing,here is my system setting(could not be disabled):/**********************************************************************************/root@googol:/home/googol# dmesg |grep -i xenomai[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.24 root=UUID=ba9a8ea7-08a9-4772-9744-da7b70a9360f ro quiet splash vt.handoff=7 xenomai.smi=enabled[ 1.694624] [Xenomai] scheduling class idle registered.[ 1.694626] [Xenomai] scheduling class rt registered.[ 1.694670] [Xenomai] SMI-enabled chipset found[ 1.694688] [Xenomai] SMI workaround failed![ 1.694731] I-pipe: head domain Xenomai registered.[ 1.695859] [Xenomai] Cobalt v3.0.5 (Sisyphus's Boulder) /**************************************************************************************/
The attached file is my kernel config file.According to the testing result, it seems that the system has large latency, so it is not good when doing realtime control.Could you help me to improve its realtime behavior, or guide me how to improve it?
You may have to re-enable ACPI_PROCESSOR, even if Xenomai warns about this. I've seen cases where disabling it triggered the firmware to throttle the CPU and cause such high latencies.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux