Abstract
Abstract
In order to solve the real-time problem of Linux system for loongson3A, the real-time enhancement design of Linux kernel is carried out by using the idea of PREEMPT_RT patch, the performance analysis support based on ftrace tool is improved, and the real-time optimization method based on reserved core scheduling is proposed. The real-time performance of the system is tested from four aspects: context switching, interrupt response, scheduling latency and network latency. Five context switching methods are proposed, including active switching, priority preemptive switching, semaphores, message queuing and signal distribution latency. A test method based on the internal timer of the PCI board is designed. The test results show that the maximum latency of real-time Linux system based on Loongson3A3000 is less than 30us, the reserved core scheduling latency is the minimum, and the maximum jitter of network communication latency is less than 120us. In conclusion, the system based on loongson3A3000 can meet the demand for hard real-time applications at millisecond level.
Subject
General Physics and Astronomy
Reference15 articles.
1. Analysis of real-time mechanism of RT-Linux;Wu;Journal of Computer Applications,2002
2. RTAI: Real time application interface;Mantegazza;Linux Journal,2000
3. Real-time capabilities of Linux RTAI;Arm;IFAC PapersOnLine,2016
4. Real-time control architecture based on Xenomai using ROS packages for a service robot;Delgado;The Journal of Systems & Software,2019
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Research and Test on Software Performance Index of Open CNC System;2021 7th International Conference on Computer and Communications (ICCC);2021-12-10
2. DDS Performance Evaluation for PREEMPT_RT Linux;2021 International Conference on Computer, Blockchain and Financial Development (CBFD);2021-04