Chapter 22

Executing Slowly

This chapter is a short case study of a program whose intermittent performance problem is executing the identical code multiple times, but sometimes more slowly than normal in the presence of other programs. We are interested just in CPU and memory interference, not disk or network or lock delays, which are the subject of later chapters.

From our Chapter 20 framework, this chapter is about running but too slowly. We use IPC to distinguish this from the case of executing too much code. This chapter covers only one of the three reasons for running slowly—interference from other programs. Later chapters will touch on slow exits from idle and slow CPU clocks.

22.1 Overview

Interference that slows CPU-bound program ...

Get Understanding Software Dynamics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.