Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Quantitative Finance · Begrippenlijst

Wat is Measurement overhead?

Definition 5.2 Low-Latency Software · Hoofdstuk 5 — Measuring Latency

The measurement overhead of an instrumented region is the time the measurement itself adds: the clock reads, the fences around them, and recording the result. It is included in every figure taken and must be small against the quantity measured, or subtracted.

Cost of one read of each clock available to a Linux program (best of seven batches of a million calls, pinned to one CPU, clock source tsc, so every kernel clock is served in user space). Measured on a laptop (Intel Core Ultra 7 155H) under WSL2, no isolated cores. Data: bench_clocks.py.
Figure 5.1. Cost of one read of each clock available to a Linux program (best of seven batches of a million calls, pinned to one CPU, clock source tsc, so every kernel clock is served in user space). Measured on a laptop (Intel Core Ultra 7 155H) under WSL2, no isolated cores. Data: bench_clocks.py.
Lees in het hoofdstuk →