{
  "slug": "diskseen",
  "term": "DiskSeen",
  "aliases": [],
  "definition": "DiskSeen is a research prefetching scheme that uses logical block layout and access history to predict disk reads.",
  "note": "It supplements file-level prefetching, including cross-file and metadata access opportunities. Logical block numbers are not a map of exact physical geometry. [diskseen07]\n\nDemand accesses update its history; speculative fetches alone do not count as demand. [diskseen07]\n\nWhile its block-table entry is retained, an unused prefetch can leave prefetched status after eviction. A later file-level candidate is then rejected; on-demand access clears that status. Separate resident and busy bits suppress redundant prefetches, so absent data need not mean absent history. This is the historical coordination rule, not a current Linux guarantee. [diskseen07]\n\nMemory partitioning is adaptive, but its feedback is bounded. Two 2,048-entry eviction histories guide prefetch/cache allocation. They missed thrashing in TPC-H Q17. Manually reducing the access-index gap T from 2,048 to 256 reduced the reported slowdown from 10% to 2.6%, relative to stock Linux; it did not produce a speedup. [diskseen07]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "The prototype lacks adaptive prefetch throttling despite its adaptive memory allocation, and can suffer from stale predictions and excessive history-table memory.",
      "citationIds": [
        "diskseen07"
      ]
    }
  ],
  "related": [
    "dulo",
    "table-based-prefetching",
    "prefetch-wastage",
    "readahead",
    "borg-block-reorganization",
    "c-miner",
    "quickmine"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-30",
  "citations": [
    {
      "id": "diskseen07",
      "label": "Ding et al., USENIX ATC 2007",
      "title": "Ding et al. DiskSeen: Exploiting Disk Layout and Access History to Enhance I/O Prefetch. USENIX ATC 2007, pp. 261-274; sections 2-4, especially 3.5 and 4.3.",
      "url": "https://www.usenix.org/event/usenix07/tech/full_papers/ding/ding.pdf",
      "accessed": "2026-11-28"
    },
    {
      "id": "hesela-layout",
      "title": "Hesela: layout-aware prefetching and the cost of a wrong prediction",
      "url": "https://hesela.com/analyses/o-direct-alignment-by-kernel/#disk-layout-prefetch",
      "accessed": "2026-11-09"
    }
  ],
  "provenance": [
    "Historical single-HDD Linux 2.6.11/ext3 prototype; no modern SSD performance inference or replication."
  ]
}
