Filesystem aging
Filesystem aging is the evolution of allocation layout through file operations that can degrade performance even when the logical contents remain comparable.
This is layout history, not calendar age or NAND wear. A benchmark should distinguish within-file placement, locality between related files and the distribution of remaining free space. Image preparation and the subsequent device workload need separate controls, and a restored filesystem image does not establish identical SSD state. [1]
A worked example shows the scale: a 100 MiB file split into 200 pieces, read at 100 MiB/s with 5 ms per seek, takes twice as long as a contiguous copy. In a replayed version-control workload of 10,000 pulls, measured every 100 pulls against the same contents copied to a fresh partition, a few hundred pulls doubled read cost, and slowdowns exceeded 50x on a hard disk and reached 2-5x on an SSD. [1]
The follow-up separated a synthetic fragmentation workload from Git-history replay. Under Git replay, a fuller HDD added about 20% to ext4 read cost, with little extra cost for XFS/Btrfs on HDD or the tested filesystems on SSD. The synthetic workload produced stronger fullness effects, including an ext4 HDD outlier and Btrfs SSD write degradation. Its usually-below-20% read comparison concerned SSDs, with Btrfs excepted; it is not a universal fullness penalty. [2]
Relations
- related
- Free-space fragmentation, Dynamic layout score, SSD preconditioning, SSD steady state, Active LBA range, WineFS, Chopper
Advantages
- Replaying a realistic update stream and comparing it with a freshly copied tree exposes layout effects that a newly written benchmark image hides. [1]
Limitations
- Effects depend on workload, filesystem version, cache policy and hardware.
- Historical aging experiments are not a ranking of current filesystems.
- A throughput change alone does not determine per-request tail latency.
Citations
- Conway et al. File Systems Fated for Senescence? Nonsense, Says Science! FAST 2017, pp. 45-58, sections 3.3, 4 and 6.
- Conway et al. Filesystem Aging: It's more Usage than Fullness. HotStorage 2019, sections 3-5, Figures 1-3.
Further reading
Sources & caveats
- conway17 re-read 2026-10-23 for the fragmented-file example, the 10,000-pull replay and the hard-disk and SSD slowdowns.
- conway19 re-read 2026-10-23 for the fullness comparison and the write-side effect of free-space fragmentation.
- A companion analysis on throughput denominators is listed but not used in prose.
- 2026-11-05: corrected an overbroad fullness summary by separating workload and device comparisons; no new experiment.