{
  "slug": "canvas",
  "term": "Canvas",
  "aliases": [
    "Canvas remote memory"
  ],
  "definition": "Canvas is a research remote-memory swap system that isolates application swap paths and adapts allocation, prefetching and RDMA scheduling to reduce interference.",
  "note": "Mechanism: Canvas separates swap partitions, caches and RDMA scheduling by application. Reserving swap entries reduces repeat allocation locking; pressure releases reservations. Kernel prefetching can call on a modified runtime for semantic patterns. Scheduling balances applications and the timeliness of demand versus speculative reads. [paper]\n\nEvaluation scope: NSDI 2023 experiments used two machines, 25%/50% local working-set budgets and ten runs per application. Isolation-only and fully optimized configurations are different treatments. These results do not establish durability or adversarial security isolation. [paper]\n\nPercentage-point audit: Figure 14(b), GraphX-CC, reports contribution 52.1% to 62.8% and accuracy 46.9% to 52.4%. These are +10.7 and +5.5 percentage points, or approximately +20.5% and +11.7% relative changes. The paper's nearby percentage wording should not merge these denominators. Neither metric is application speedup. Contribution divides swap-cache-hit faults by all faults; accuracy divides those hits by prefetches. [paper] [arithmetic] [code]\n\nActivation boundary: The pinned scheduler initialization waits for configuration. The configuration helper calls the custom policy and application-configuration syscalls; loading the module alone is not evidence that the scheduler is active. This is static source inspection, not an observed running kernel. [scheduler] [configuration]\n\nReproduction boundary: The author instructions target Linux 5.5, cgroup-v1 and a specific MLNX_OFED release. The remote-swap instructions also offer BACKEND=DRAM for local-memory debugging; that path cannot measure network performance. Historical kernel-install and reboot recipes are not safe production-host setup advice. [readme] [backend]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "related": [
    "fastswap",
    "hermit"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-16",
  "citations": [
    {
      "id": "paper",
      "title": "Wang et al. Canvas: Isolated and Adaptive Swapping for Multi-Applications on Remote Memory. NSDI 2023, pp. 161-179; sections 4-6 and figure 14(b).",
      "url": "https://www.usenix.org/system/files/nsdi23-wang-chenxi.pdf",
      "accessed": "2026-11-16"
    },
    {
      "id": "readme",
      "title": "Canvas authors: pinned supported environment and cgroup-v1 setup",
      "url": "https://github.com/uclasystem/canvas/blob/4c51f0b9aa9081ae3ffefac7ad57d1bf1217094c/README.md",
      "accessed": "2026-11-16"
    },
    {
      "id": "backend",
      "title": "Canvas authors: scheduler activation and local-DRAM debugging backend",
      "url": "https://github.com/uclasystem/canvas/blob/4c51f0b9aa9081ae3ffefac7ad57d1bf1217094c/remoteswap/README.md",
      "accessed": "2026-11-16"
    },
    {
      "id": "scheduler",
      "title": "Canvas authors: rswap_scheduler_init and deferred configuration",
      "url": "https://github.com/uclasystem/canvas/blob/4c51f0b9aa9081ae3ffefac7ad57d1bf1217094c/remoteswap/client/rswap_scheduler.c",
      "accessed": "2026-11-16"
    },
    {
      "id": "configuration",
      "title": "Canvas authors: configuration helper and custom syscalls",
      "url": "https://github.com/uclasystem/canvas/blob/4c51f0b9aa9081ae3ffefac7ad57d1bf1217094c/remoteswap/configure/apply.c",
      "accessed": "2026-11-16"
    },
    {
      "id": "arithmetic",
      "title": "Hesela: explicit denominators from rounded figure 14(b) inputs",
      "url": "https://hesela.dev/research/canvas-prefetch-metrics.json",
      "accessed": "2026-11-16"
    },
    {
      "id": "code",
      "title": "Hesela: executable percentage-point and relative-change audit",
      "url": "https://hesela.dev/research/canvas-prefetch-metrics.mjs",
      "accessed": "2026-11-16"
    }
  ],
  "provenance": [
    "Primary-source synthesis, static code inspection and deterministic arithmetic, not a native Canvas run or benchmark replication.",
    "Published rounded percentages do not recover event counts, run-level variation or confidence intervals; no statistical significance is inferred.",
    "Pinned repository contents do not prove the exact configuration used for the published experiments."
  ]
}
