A measurement-based analysis of the real-time performance of Linux

被引:40
作者
Abeni, L [1 ]
Goel, A [1 ]
Krasic, C [1 ]
Snow, J [1 ]
Walpole, J [1 ]
机构
[1] Oregon Grad Inst, Dept Comp Sci & Engn, Portland, OR USA
来源
EIGHTH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, PROCEEDINGS | 2002年
关键词
D O I
10.1109/RTTAS.2002.1137388
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper presents an experimental study of the latency behavior of the Linux OS. We identify major sources of latency in the kernel with the goal of providing real-time performance in a widely used general-purpose operating system. We quantib, each source of latency with a series of micro-benchmarks and also evaluate the effects of latency on a time-sensitive application. Our analysis shows that there are two main causes of latency in the OS: timer resolution and non-preemptable sections. Our experiments show that in the standard Linux kernel the timer resolution latency is predominant, and generally hides the non-preemptable section latency We use accurate timers to reduce timer resolution latency and then analyze the non-preemptable section latency for several variants of Linux.
引用
收藏
页码:133 / 142
页数:10
相关论文
共 23 条
[1]  
ABENI L, 2001, 3 REAL TIM LIN WORKS
[2]  
ABENI L, 2001, P IEEE REAL TIM SYST
[3]  
ANZINGER G, HIGH RESOLUTION TIME
[4]  
BARABANOV M, 1996, LINUX J MAR
[5]  
CHU HH, 1999, P IEEE INT C MULT CO
[6]  
CHUNG Y, 1998, P IEEE REAL TIM COMP
[7]  
GOYAL P, 1996, P 2 OSDI S OCT
[8]  
JONES M. B, 1996, P 7 ACM SIGOPS EUR W
[9]  
LOVE R, LINUX KERNEL PREEMPT
[10]  
MANTEGAZZA P, 2000, LINUX J, P72