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.
External IDs:dblp:conf/indin/YangLHDC024
Loading