DocumentCode :
2940984
Title :
Delayed Processing Technique in Critical Sections for Real-Time Linux
Author :
Dai, Maobing ; Ishikawa, Yutaka
Author_Institution :
Grad. Sch. of Inf. Sci. & Technol., Univ. of Tokyo, Tokyo, Japan
fYear :
2009
fDate :
16-18 Nov. 2009
Firstpage :
269
Lastpage :
275
Abstract :
In a real-time Linux system, the critical sections are thought to be one of the main factors causing problems with the start of real-time tasks. Traditional approaches for overcoming this issue either provide less of a guarantee on the worst-case latency time of real-time tasks, or have heavy overhead on normal Linux tasks. In this paper, to guarantee the start time of a real-time task, the execution of a normal Linux task will be delayed, made to wait at the beginning of a critical section, on the assumption that the future execution of this section would lead to an unacceptable delay time in the start of the coming real-time task. In addition to this, to reduce the latency time of the real-time task, a technique is proposed in which hardware interrupts will not be prohibited in the most kernel´s critical sections, so the timer interrupt can enter the kernel with no or less delay time. Experimental results showed that the worst-case start latency of a real-time task is reduced to 16.7% of that in Linux 2.6.20, and the penalty to the normal tasks is light, in contrast to traditional approaches. The proposed technique is useful not only for constructing a real-time Linux, but also for developing other real-time systems in which the critical sections are significantly long.
Keywords :
Linux; operating system kernels; critical sections; delayed processing technique; kernel; latency; real-time Linux; real-time tasks; Clocks; Delay effects; File systems; Graphics; Hardware; Information science; Kernel; Linux; Real time systems; Resource management; critical sections; real-time OS; timer interrupter;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Dependable Computing, 2009. PRDC '09. 15th IEEE Pacific Rim International Symposium on
Conference_Location :
Shanghai
Print_ISBN :
978-0-7695-3849-5
Type :
conf
DOI :
10.1109/PRDC.2009.49
Filename :
5370997
Link To Document :
بازگشت