{
  "slug": "streamcache",
  "term": "StreamCache",
  "aliases": [],
  "definition": "StreamCache is a research page-cache design that tracks sequential file ranges and batches page allocation to accelerate buffered file scanning.",
  "note": "A per-file stream tracking tree records contiguous cached ranges and their dirty intervals. Range locks coordinate foreground access with background reclaiming; dirty-state tracking is separated from the page index. A shared memory pool and per-file free-page caches batch allocation. [streamcache-paper]\n\nThe main conference evaluation uses XFS on Linux 5.4 with eight NVMe SSDs in RAID 0. FastMap-cache is an adaptation of FastMap techniques to buffered I/O, not the original mmap interface. The LLM tests omit the baseline memory cap used elsewhere, so comparisons must retain that exception. [streamcache-paper]\n\nThese mechanisms change cache management, not just retention advice. RWF_DONTCACHE requests best-effort drop-behind for newly instantiated cache content; it neither installs StreamCache nor promises durable write completion. [rwf-api]\n\nThe journal extension adds CPU profiling and stability experiments. In section 6.4, Page cache, FastMap-cache and StreamCache name dirty-state variants within StreamCache with the other techniques held fixed, not three unchanged end-to-end systems. Figures 19-20 must retain this comparator scope. [streamcache-journal]\n\nSection 6.3 explains that moving page clearing away from allocation shifts cache-loading work into data copying. Lower allocation cost alone therefore does not measure total CPU savings. Time stability plots instantaneous bandwidth; it is not a request-latency percentile guarantee. [streamcache-journal]",
  "advantages": [
    {
      "text": "Retains transparent buffered access while targeting allocation and writeback interference.",
      "citationIds": [
        "streamcache-paper"
      ]
    }
  ],
  "limitations": [
    {
      "text": "The prototype's benchmark results do not establish gains on current kernels or a single contemporary SSD.",
      "citationIds": [
        "streamcache-paper"
      ]
    },
    {
      "text": "On 2026-12-04, the linked Zenodo record is public but its artifact files are restricted; a local reproduction requires access to those files.",
      "citationIds": [
        "streamcache-artifact"
      ]
    }
  ],
  "related": [
    "page-cache",
    "buffered-io",
    "fastmap",
    "rwf-dontcache",
    "dirty-page-throttling",
    "fsync"
  ],
  "citations": [
    {
      "id": "streamcache-paper",
      "title": "Li and Zhang. StreamCache: Revisiting Page Cache for File Scanning on Fast Storage Devices. USENIX ATC 2024, sections 4-6.",
      "url": "https://www.usenix.org/system/files/atc24-li-zhiyue.pdf",
      "accessed": "2026-12-04"
    },
    {
      "id": "streamcache-bibliography",
      "title": "USENIX ATC 2024: StreamCache, authors, proceedings and open-access paper.",
      "url": "https://www.usenix.org/conference/atc24/presentation/li-zhiyue",
      "accessed": "2026-12-04"
    },
    {
      "id": "rwf-api",
      "title": "Linux man-pages: readv(2), RWF_DONTCACHE semantics and limitations.",
      "url": "https://man7.org/linux/man-pages/man2/readv.2.html",
      "accessed": "2026-12-04"
    },
    {
      "id": "hesela-review",
      "title": "Hesela: StreamCache evidence scope and buffered-I/O comparison checklist.",
      "url": "https://hesela.dev/research/streamcache/README.md",
      "accessed": "2026-12-04"
    },
    {
      "id": "streamcache-artifact",
      "title": "Li. Artifact for ATC '24 paper #26, version v1. Zenodo DOI 10.5281/zenodo.11180773; file-access status checked 2026-12-04.",
      "url": "https://zenodo.org/records/11180773",
      "accessed": "2026-12-04"
    },
    {
      "id": "streamcache-journal",
      "title": "Li and Zhang. Building Stream-based Page Cache to Accelerate File Scanning on Fast Storage Devices. ACM TOS 22(3), article 22, 2026; sections 6.3-6.4.",
      "url": "https://doi.org/10.1145/3721486",
      "accessed": "2026-12-04"
    },
    {
      "id": "streamcache-journal-fulltext",
      "title": "Author-hosted journal full text, 29 pages; publication footer July 2026.",
      "url": "https://cloud.tsinghua.edu.cn/f/7c024e716d3845ec962d/",
      "accessed": "2026-12-04"
    },
    {
      "id": "hesela-journal-evidence",
      "title": "Hesela: machine-readable journal comparison scopes, provenance and publication-date distinctions.",
      "url": "https://hesela.dev/research/streamcache/journal-review.json",
      "accessed": "2026-12-04"
    }
  ],
  "status": "research",
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-04",
  "provenance": [
    "Full-paper source review, not a benchmark replication or an upstream-kernel availability claim.",
    "Li and Zhang, USENIX ATC 2024, pp. 1119-1134. No paper DOI is asserted; the proceedings URL is the verified bibliographic identifier.",
    "Journal full text reviewed, including sections 6.3-6.4 and the extension statement. The July 2026 version is distinguished from the 2024 conference paper and 2025 DOI-record creation; no journal benchmark was rerun."
  ]
}
