School of Computer, Beijing University of Aeronautics and Astronautics
No. 37, XueYuan Road, HaiDian District, Beijing City, China
As Linux becomes more and more popular in many fields of science and industry, RTLinux is also widely used. But RTLinux only provides basic services -- it does not support dynamic memory management, and its I/O support is not good enough either. However, there is a facility called "RTFIFO" in RTLinux. But this method is inconvenient because developers have to provide a user space program for every real-time thread.
In this paper, we studied dynamic memory-management algorithms, and implemented the dynamic memory management module based on the TLSF algorithm in RTLinux. Then we analyzed I/O mechanism used in RTLinux and designed a new I/O mechanism, RTL-IO. We have already used RTL-IO into Cyber data acquisition simulation system.
This paper was originally presented at the Eighth Real-Time Linux Workshop held at the at the School for Information Science and Engineering, Lanzhou University, in Lanzhou, China.