{
  "slug": "legoos",
  "term": "LegoOS",
  "aliases": [],
  "definition": "LegoOS is a research operating system that separates processor, memory and storage management into monitors running on disaggregated components.",
  "note": "Splitkernel: Components communicate through messages without cross-component cache coherence. A virtual node groups resources; writable shared memory across processors is not supported. [paper]\n\nMemory recovery: A secondary memory component holds a bounded log, drained to a storage backup file. Replication can be skipped when that log fills; a primary failure during this interval becomes an application error. Storage reliability remains an application responsibility, and processor-failure handling is deferred. [paper]\n\nEvidence boundary: Commodity servers emulate components. The MTTF comparison is a model based on hardware-replacement statistics and independent device failures, excluding transient failures; it is not an observed LegoOS fleet failure rate. [paper]\n\nArtifact map: ExCache is named pcache in the code, and p-local is named zerofill. The storage manager runs as a Linux kernel module. The pinned setup needs compatible x86 and RDMA hardware; its historical toolchain is not a current support guarantee. [artifact]\n\nCode boundary: The pinned replication sender builds a message and calls ibapi_send without checking a return value. That function alone does not demonstrate durable completion or a successful recovery path. [sender]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "related": [
    "mind",
    "infiniswap"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-15",
  "citations": [
    {
      "id": "paper",
      "title": "Shan et al. LegoOS: A Disseminated, Distributed OS for Hardware Resource Disaggregation. OSDI 2018, pp. 69-87, sections 3-6.",
      "url": "https://www.usenix.org/system/files/osdi18-shan.pdf",
      "accessed": "2026-11-15"
    },
    {
      "id": "artifact",
      "title": "LegoOS authors: code terminology, component layout and historical build prerequisites; pinned revision",
      "url": "https://github.com/WukLab/LegoOS/blob/1f4da8658c3bb20d7bd4088ec52237b8a617f0c7/README.md",
      "accessed": "2026-11-15"
    },
    {
      "id": "sender",
      "title": "LegoOS authors: processor replication sender; pinned revision",
      "url": "https://github.com/WukLab/LegoOS/blob/1f4da8658c3bb20d7bd4088ec52237b8a617f0c7/managers/processor/replication.c",
      "accessed": "2026-11-15"
    }
  ],
  "provenance": [
    "Primary-source synthesis and code inspection, not a native LegoOS execution, failure injection or performance replication.",
    "The distinction between a send call and durable completion is a code-level inference, not a claim that all replication paths fail. [sender]",
    "The OSDI 2018 paper is the original publication; the ATC 2019 presentation repeats that work. No DOI was supplied in the publisher's OSDI citation."
  ]
}
