Skip to main navigation Skip to search Skip to main content

Operating system profiling via latency analysis

  • Nikolai Joukov
  • , Avishay Traeger
  • , Rakesh Iyer
  • , Charles P. Wright
  • , Erez Zadok
  • Stony Brook University
  • IBM

Research output: Contribution to conferencePaperpeer-review

56 Scopus citations

Abstract

Operating systems are complex and their behavior depends on many factors. Source code, if available, does not directly help one to understand the OS’s behavior, as the behavior depends on actual workloads and external inputs. Runtime profiling is a key technique to prove new concepts, debug problems, and optimize performance. Unfortunately, existing profiling methods are lacking in important areas—they do not provide enough information about the OS’s behavior, they require OS modification and therefore are not portable, or they incur high overheads thus perturbing the profiled OS. We developed OSprof: a versatile, portable, and efficient OS profiling method based on latency distributions analysis. OSprof automatically selects important profiles for subsequent visual analysis. We have demonstrated that a suitable workload can be used to profile virtually any OS component. OSprof is portable because it can intercept operations and measure OS behavior from user-level or from inside the kernel without requiring source code. OSprof has typical CPU time overheads below 4%. In this paper we describe our techniques and demonstrate their usefulness through a series of profiles conducted on Linux, FreeBSD, and Windows, including client/server scenarios. We discovered and investigated a number of interesting interactions, including scheduler behavior, multi-modal I/O distributions, and a previously unknown lock contention, which we fixed.

Original languageEnglish
Pages89-102
Number of pages14
StatePublished - 2006
Event7th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2006 - Seattle, United States
Duration: Nov 6 2006Nov 8 2006

Conference

Conference7th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2006
Country/TerritoryUnited States
CitySeattle
Period11/6/0611/8/06

Fingerprint

Dive into the research topics of 'Operating system profiling via latency analysis'. Together they form a unique fingerprint.

Cite this