Every spike equals the machine's uptime. Not correlated with it — equal to it, to within 0.3%. At 08:55 (20 min after boot) the counter jumped 1,223,591 ms; at 13:30 (295 min after boot) it jumped 17,704,148 ms. Two of the 27 jumped exactly twice uptime, meaning two events landed in the same 60-second sample.
Some supporting details:
- time_in_queue jumps by the identical amount in the same interval, to within a few ms. Both are per-request accumulators fed by the same subtraction.
- io_ticks stays completely normal (~230 ms, never above 9,937 in any interval — well under the 60,000 ms ceiling a 60s window allows). That's the proof it's not real: io_ticks measures wall-clock device-busy time and physically can't lie, and it says the disk was ~0.4% busy while write ticks claims days of latency.
- The actual I/O in spike intervals is unremarkable — ~5,100 write I/Os and ~160,000 sectors, statistically identical to quiet intervals.
The mechanism is a request whose start timestamp was zero (or boot-relative) when completion time was subtracted from it, so the "latency" recorded is the current jiffies value — i.e. uptime. Classic on virtio/NVMe under a hypervisor, or with a driver mishandling a requeued/timed-out request.
Two other things in the file worth knowing:
There's a reboot at 08:35:36. Counters reset to near-zero, and the sample gap is 120s there instead of 60s. Any naive diff across that boundary produces a −2.09 billion garbage value.
The pre-reboot data has the same bug. At 08:29:36, write ticks jumped 662,925,014 ms = 7.67 days, with time_in_queue up 662,925,035. Same signature — that was the previous boot's uptime.
The real writes. Once you drop the 27 corrupted intervals, the remaining 279 are clean and boring: median 490 ms per minute, max 3,926 ms, and 0.83 correlation with sectors written. Average per-write latency works out to 0.11 ms, consistent with SSD/NVMe. The genuine variation is just larger flush batches — the top clean intervals (08:37, 13:28, 13:34) all show ~500,000 sectors versus the typical ~160,000.
So: filter intervals where Δwrite ticks ≈ n × uptime_ms, split at the reboot, and use io_ticks as your sanity check going forward. Any latency conclusion drawn from the raw write ticks deltas is measuring a driver bug, not your storage.