A Measurement-Based Analysis of the Real-Time Performance of Linux

  • Authors:
  • Luca Abeni;Ashvin Goel;Charles Krasic;Jim Snow;Jonathan Walpole

  • Affiliations:
  • -;-;-;-;-

  • Venue:
  • RTAS '02 Proceedings of the Eighth IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS'02)
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

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 quantify 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-preemptablesection latency. We use accurate timers to reduce timer resolution latency and then analyze the non-preemptable section latency for several variants of Linux.