Real-Time Scheduling Optimization via Physical Core Isolation and Hierarchical Task Classification on ARM-Linux

With the increasing demand for hard real-time performance in embedded systems (such as autonomous driving, industrial control), the problem of mutual interference caused by real-time and non-real-time tasks sharing CPU cores in the standard Linux kernel has become increasingly prominent, leading to uncontrollable increases in scheduling latency. To address this, this paper innovatively proposes and validates a hierarchical CPU resource partitioning mechanism for Linux systems on ARM multi-core platforms. This mechanism divides CPU cores into Real-Time cores (RT-CPU) and Non-Real-Time cores (NRT-CPU). By classifying tasks into three levels (hard real-time rt0, soft real-time rt1, non-real-time nrt) and deploying them onto dedicated cores (physical isolation), combined with a dynamic priority-sensitive migration strategy (e.g., migrating rt1 tasks to a high-priority queue on NRT-CPU when RT-CPU load >80%, forcibly migrating nrt tasks out when encountering real-time tasks on RT-CPU), it effectively reduces task execution latency and enhances deterministic guarantees for hard real-time tasks. Comparative experiments conducted on a Raspberry Pi 4B platform using cyclictest demonstrate that: compared to the standard kernel (Linux 5.10_stand), the optimized kernel (cs Linux 5.10_rt) reduces the minimum latency by 44%, decreases the average latency by 2%, and significantly compresses the maximum latency jitter; compared to the PREEMPT-RT patched kernel, it improves the minimum latency by 36%. This mechanism successfully eliminates direct interference from non-real-time tasks, providing reliable support for high real-time scenarios.

Authors

Institutions

Publication Details

Published
2025-07-11
DOI
https://doi.org/10.1109/cisat66811.2025.11181857
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Real-Time Scheduling Optimization via Physical Core Isolation and Hierarchical Task Classification on ARM-Linux

Tianyou Guo
Parallel Computing and Optimization Techniques
article

Real-Time Scheduling Optimization via Physical Core Isolation and Hierarchical Task Classification on ARM-Linux

Tianyou Guo
article en

Abstract

With the increasing demand for hard real-time performance in embedded systems (such as autonomous driving, industrial control), the problem of mutual interference caused by real-time and non-real-time tasks sharing CPU cores in the standard Linux kernel has become increasingly prominent, leading to uncontrollable increases in scheduling latency. To address this, this paper innovatively proposes and validates a hierarchical CPU resource partitioning mechanism for Linux systems on ARM multi-core platforms. This mechanism divides CPU cores into Real-Time cores (RT-CPU) and Non-Real-Time cores (NRT-CPU). By classifying tasks into three levels (hard real-time rt0, soft real-time rt1, non-real-time nrt) and deploying them onto dedicated cores (physical isolation), combined with a dynamic priority-sensitive migration strategy (e.g., migrating rt1 tasks to a high-priority queue on NRT-CPU when RT-CPU load >80%, forcibly migrating nrt tasks out when encountering real-time tasks on RT-CPU), it effectively reduces task execution latency and enhances deterministic guarantees for hard real-time tasks. Comparative experiments conducted on a Raspberry Pi 4B platform using cyclictest demonstrate that: compared to the standard kernel (Linux 5.10_stand), the optimized kernel (cs Linux 5.10_rt) reduces the minimum latency by 44%, decreases the average latency by 2%, and significantly compresses the maximum latency jitter; compared to the PREEMPT-RT patched kernel, it improves the minimum latency by 36%. This mechanism successfully eliminates direct interference from non-real-time tasks, providing reliable support for high real-time scenarios.

China University of Geosciences (Beijing) (CN)
Openalex Percentile: Top 71%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.