Completion latency (fio)
Completion latency in fio is the engine-dependent interval from submission of an I/O unit to observation of its completion.
For asynchronous I/O, observation includes fio reaping the completion; clat is not necessarily time spent only inside a storage device [1]. Pool compatible clat means using their own sample counts; a zero-sample mean does not measure zero latency [2].
A completion-latency log can contain individual observations or per-direction window summaries, depending on log_avg_msec and log_window_value. With averaging, a row is not one completed operation; partial windows are flushed at job completion. The timestamp is in milliseconds while latency values are in nanoseconds. [4]
Hesela's pinned null-engine fixture retains raw reports and logs, checks counts per direction, and reconstructs every histogram bin for its per-I/O runs. Its window-mean controls demonstrate that a reduced log row count need not mean fewer histogram observations. It is a reporting-consistency check, not a storage performance result. [5]
Relations
- related
- Submission latency (fio), Storage latency, Queue depth, IOPS, Latency histogram bin, Closed-loop load, Service time, Queueing delay
Citations
- fio documentation: interpreting slat, clat and lat; engine-dependent timing boundaries.
- fio 3.41 source: stat.c, add_ddir_lat_json and add_ddir_status_json; latency sample counts and directional runtime denominators.
- fio 3.41 pinned HOWTO: log_avg_msec, log_entries and Log File Formats; partial windows and per-direction rows.
- Hesela: executed fio 3.41 null-engine log/histogram reconciliation, raw evidence and replay checker