Real-Time Performance and Response Latency Measurements of Linux Kernels on Single-Board Computers

This research performs real-time measurements of Linux kernels with real-time support provided by the PREEMPT_RT patch on embedded development devices such as BeagleBoard and Raspberry Pi. The experimental measurements of the Linux real-time performance on these devices are based on real-time software modules developed specifically for the purposes of this research. Taking in consideration the constraints of the specific hardware platforms under investigation, new measurements software was developed. The measurement algorithms are designed upon response and periodic task models. Measurements investigate latencies of real-time applications at user and kernel space. An outcome of this research is that the proposed performance measurements approach and evaluation methodology could be applied and deployed on other Linux-based boards and platforms. Furthermore, the results demonstrate that the PREEMPT_RT patch overall improves the Linux kernel real-time performance compared to the standard one. The reduced worst-case latencies on such devices running Linux with real-time support could make them potentially more suitable for real-time applications as long as a latency value of about 160 μs, as an upper bound, is an acceptable safety margin.

[1]  Frangiskos V. Topalis,et al.  Embedded Microcontroller with a CCD Camera as a Digital Lighting Control System , 2019, Electronics.

[2]  Mor Harchol-Balter,et al.  Scheduling for efficiency and fairness in systems with redundancy , 2017, Perform. Evaluation.

[3]  Yair Wiseman,et al.  Medium-Term Scheduler as a Solution for the Thrashing Effect , 2006, Comput. J..

[4]  Muhammad Adeel Pasha,et al.  Energy-Efficient Multicore Scheduling for Hard Real-Time Systems , 2018, ACM Trans. Embed. Comput. Syst..

[5]  Václav Kaczmarczyk,et al.  Real-time capabilities of Linux RTAI , 2016 .

[6]  Orven E. Llantos,et al.  Design and Implementation of Real-Time Mobile-based Water Temperature Monitoring System , 2017 .

[7]  Nikos Petrellis,et al.  COTS-Based Architectural Framework for Reliable Real-Time Control Applications in Manufacturing , 2020 .

[8]  George K. Adam,et al.  DALI LED Driver Control System for Lighting Operations Based on Raspberry Pi and Kernel Modules , 2019, Electronics.

[9]  Slim Ben Saoud,et al.  Impact of the Linux Real-time Enhancements on the System Performances for Multi-core Intel Architectures , 2011 .

[10]  Nikos Petrellis,et al.  COTS-Based Real-Time System Development: An Effective Application in Pump Motor Control , 2020, Comput..

[11]  Cristian Duran-Faundez,et al.  Open-Source Electronics Platforms as Enabling Technologies for Smart Cities: Recent Developments and Perspectives , 2018, Electronics.

[12]  Alan Burns,et al.  A survey of hard real-time scheduling for multiprocessor systems , 2011, CSUR.

[13]  Carlos Garre,et al.  Performance Comparison of Real-Time and General-Purpose Operating Systems in Parallel Physical Simulation with High Computational Cost , 2014 .

[14]  Michel Dagenais,et al.  Linux Low-Latency Tracing for Multicore Hard Real-Time Systems , 2015 .

[15]  Giuseppe Massari,et al.  The Real-Time Linux Kernel , 2019, ACM Comput. Surv..

[16]  Mahbubur Rahman,et al.  Implementation of LPWAN over white spaces for practical deployment , 2019, IoTDI.

[17]  Nathan Fisher,et al.  Optimized trusted execution for hard real-time applications on COTS processors , 2019, RTNS.

[18]  Michel Dagenais,et al.  Survey and Analysis of Kernel and Userspace Tracers on Linux , 2018, ACM Comput. Surv..

[19]  Stanislav Kurkovsky,et al.  Raspberry Pi as a Platform for the Internet of Things Projects: Experiences and Lessons , 2017, ITiCSE.

[20]  Enrico Bini,et al.  rt-muse: measuring real-time characteristics of execution platforms , 2017, Real-Time Systems.