Joint Time-and Event-Triggered Scheduling in the Linux Kernel

06/28/2023
by   Gautam Gala, et al.
0

There is increasing interest in using Linux in the real-time domain due to the emergence of cloud and edge computing, the need to decrease costs, and the growing number of complex functional and non-functional requirements of real-time applications. Linux presents a valuable opportunity as it has rich hardware support, an open-source development model, a well-established programming environment, and avoids vendor lock-in. Although Linux was initially developed as a general-purpose operating system, some real-time capabilities have been added to the kernel over many years to increase its predictability and reduce its scheduling latency. Unfortunately, Linux currently has no support for time-triggered (TT) scheduling, which is widely used in the safety-critical domain for its determinism, low run-time scheduling latency, and strong isolation properties. We present an enhancement of the Linux scheduler as a new low-overhead TT scheduling class to support offline table-driven scheduling of tasks on multicore Linux nodes. Inspired by the Slot shifting algorithm, we complement the new scheduling class with a low overhead slot shifting manager running on a non-time-triggered core to provide guaranteed execution time to real-time aperiodic tasks by using the slack of the time-triggered tasks and avoiding high-overhead table regeneration for adding new periodic tasks. Furthermore, we evaluate our implementation on server-grade hardware with Intel Xeon Scalable Processor.

READ FULL TEXT
research
07/03/2023

Energy-aware Time- and Event-triggered KVM Nodes

Industries are considering the adoption of cloud and edge computing for ...
research
05/25/2011

Scheduling of Hard Real-Time Multi-Thread Periodic Tasks

In this paper we study the scheduling of parallel and real-time recurren...
research
06/26/2023

Agile Development of Linux Schedulers with Ekiben

Kernel task scheduling is important for application performance, adaptab...
research
03/22/2022

RT-Bench: an Extensible Benchmark Framework for the Analysis and Management of Real-Time Applications

Benchmarking is crucial for testing and validating any system, even more...
research
03/20/2014

Task Resource Self-adaptive Embedded Real-time Operating System Microkernel for Wireless Sensor Nodes

Wireless Sensor Networks (WSNs) are used in many application fields, suc...
research
03/26/2021

ReaDmE: Read-Rate Based Dynamic Execution Scheduling for Intermittent RF-Powered Devices

This paper presents a method for remotely and dynamically determining th...
research
07/09/2023

Towards a RISC-V Open Platform for Next-generation Automotive ECUs

The complexity of automotive systems is increasing quickly due to the in...

Please sign up or login with your details

Forgot password? Click here to reset