Lockmeter: highly-informative instrumentation for spin locks in the linux® kernel

  • Authors:
  • Ray Bryant;John Hawkes

  • Affiliations:
  • IBM® Linux Technology Center, Austin, Texas;SGI(TM), Mountain View, California

  • Venue:
  • ALS'00 Proceedings of the 4th annual Linux Showcase & Conference - Volume 4
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

Lockmeter is a tool for instrumenting the spin locks in a multiprocessor Linux kernel. Lockmeter was designed to make minimal cache disruptions, taking care to both minimize cache misses and also to minimize interprocessor cache coherency operations. Lockmeter is "highly informative" in the sense that not only does it record overall statistics for each spin lock, it also reports (where possible) these statistics on a per caller basis. This allows one to readily identify which portions of the kernel code are responsible for causing lock contention. In this paper, we describe the capabilities and implementation of Lockmeter version 1.3.