{
  "slug": "filesystem-aging",
  "term": "Filesystem aging",
  "aliases": [
    "file system aging"
  ],
  "definition": "Filesystem aging is the evolution of allocation layout through file operations that can degrade performance even when the logical contents remain comparable.",
  "note": "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. [conway17]\n\nA 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. [conway17]\n\nThe 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. [conway19]",
  "related": [
    "free-space-fragmentation",
    "dynamic-layout-score",
    "ssd-preconditioning",
    "ssd-steady-state",
    "active-lba-range",
    "winefs",
    "chopper"
  ],
  "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": [
    {
      "id": "conway17",
      "title": "Conway et al. File Systems Fated for Senescence? Nonsense, Says Science! FAST 2017, pp. 45-58, sections 3.3, 4 and 6.",
      "url": "https://www.usenix.org/system/files/conference/fast17/fast17-conway.pdf",
      "accessed": "2026-10-23"
    },
    {
      "id": "conway19",
      "title": "Conway et al. Filesystem Aging: It's more Usage than Fullness. HotStorage 2019, sections 3-5, Figures 1-3.",
      "url": "https://files.usenix.org/s3fs-public/cdn/hotstorage19-paper-conway.pdf",
      "accessed": "2026-11-05"
    },
    {
      "id": "hesela-aging",
      "title": "Hesela: filesystem-aging evidence, source reconciliation and throughput denominators",
      "url": "https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/#throughput-denominators",
      "accessed": "2026-10-20"
    }
  ],
  "status": "shipping",
  "advantages": [
    {
      "text": "Replaying a realistic update stream and comparing it with a freshly copied tree exposes layout effects that a newly written benchmark image hides.",
      "citationIds": [
        "conway17"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-21",
  "provenance": [
    "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."
  ]
}
