Real-Time Vehicle Operating System Analysis, Construction and Testing

Shichun Yang, Shizhuang Li, Bide Hao, Qianlong Duan, Wenlong Chen, Fan Zhou

Abstract

Linux as a GPOS has the advantages of high average system throughput performance, a large number of open-source solutions, etc. It is a mature and complete operating system that can be used for in-vehicle system development. However, the vehicle in motion will produce a large number of real-time tasks, that need to be processed by the system promptly, and Linux's kernel preemption mechanism and interrupt mechanism are not designed to deal with real-time tasks, so they need to be improved. In this paper, we analyze the operation principle of each part of the Linux system, expound on the shortcomings of Linux as a real-time system, and then analyze the enhancement principle of Preempt_RT and Xenomai two kinds of patches on Linux real-time, and finally, we analyze the experimental data by carrying out experiments and applying probabilistic statistics to derive the results of Xenomai and Preempt_RT for Xenomai and Preempt_RT improve the task response latency of Linux system by 250% and 114%, respectively.
BibTeX
@inproceedings{yang2024real,
  author = {Shichun Yang and Shizhuang Li and Bide Hao and Qianlong Duan and Wenlong Chen and Fan Zhou},
  title = {{Real-Time Vehicle Operating System Analysis, Construction and Testing}},
  booktitle = {INDIN},
  year = {2024},
  doi = {10.1109/indin58382.2024.10774284},
}

Loading related content...

Figure