{
  "slug": "x-ray",
  "term": "X-RAY",
  "aliases": [
    "eXclusive arRAY cache"
  ],
  "definition": "X-RAY is a research array-cache mechanism that infers host-cache contents from block traffic and inode timestamps to reduce cross-level duplication.",
  "note": "The array combines disk reads with persisted access-time changes in a recency list and estimates a boundary between resident and evicted host blocks. It needs filesystem semantics, not an added storage command. Partial-file access, timestamp granularity and delayed inode writes limit inference. [isca2004]\n\nEvaluation used trace-driven simulation with synthetic random/Zipf workloads and historical HTTP traces. Its simplified ext2-like model omitted some metadata traffic and assigned constant disk latency. Most performance experiments assumed spare bandwidth for placement reads; section 5.3.3 instead restricted them to idle time. [isca2004]\n\nThe paper divides false positives by predicted host-cache size, but false negatives by actual host-cache size. These are different denominators; the first is not the conventional false-positive rate among actual negatives. [isca2004]\n\nIn Hesela's constructed set example, 80 predicted residents overlap 100 actual residents in 60 blocks: 20/80 = 0.25 false-positive fraction and 40/100 = 0.40 false-negative fraction. The true-negative population is unspecified. The downloadable calculation is a metric illustration, not X-RAY simulation or measured cache performance. [hesela-metrics]\n\nLinux noatime suppresses access-driven updates, relatime selects them, and lazytime can defer persistence. Inference from these documented policies: a timestamp-driven observer can lose or receive late evidence even when reads occur. This is an observation-contract limitation, not a measured compatibility result for X-RAY on a current kernel. [mount]\n\nDEMOTE instead proposes returning clean host-cache victims to the array. Its interface and transfer costs differ from array-side inference; neither mechanism is cost-free. [wong2002]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "Cache-placement reads consume disk bandwidth; prediction accuracy alone does not establish end-to-end latency improvement.",
      "citationIds": [
        "isca2004"
      ]
    }
  ],
  "related": [
    "file-access-time",
    "relatime",
    "lazytime",
    "page-cache",
    "multi-queue-replacement",
    "cache-inclusion-property",
    "geiger"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "citations": [
    {
      "id": "isca2004",
      "title": "Bairavasundaram et al. X-RAY: A Non-Invasive Exclusive Caching Mechanism for RAIDs. ISCA 2004, sections 3-5; DOI 10.1109/ISCA.2004.1310773.",
      "url": "https://research.cs.wisc.edu/wind/Publications/xray-isca04.pdf",
      "accessed": "2026-12-02"
    },
    {
      "id": "mount",
      "title": "util-linux mount(8): noatime, relatime, strictatime and lazytime.",
      "url": "https://man7.org/linux/man-pages/man8/mount.8.html",
      "accessed": "2026-12-02"
    },
    {
      "id": "wong2002",
      "title": "Wong and Wilkes. My cache or yours? Making storage more exclusive. USENIX ATC 2002, section 1.1.",
      "url": "https://www.usenix.org/legacy/publications/library/proceedings/usenix02/full_papers/wong/wong_html/index.html",
      "accessed": "2026-12-02"
    },
    {
      "id": "hesela-metrics",
      "title": "Hesela: executable set-denominator illustration, assumptions and tests; no performance measurement.",
      "url": "https://hesela.dev/research/x-ray-metrics/README.md",
      "accessed": "2026-12-02"
    }
  ],
  "provenance": [
    "Primary-source synthesis and an original constructed arithmetic example; no paper replication or hardware experiment."
  ]
}
