{
  "slug": "rimac",
  "term": "RIMAC",
  "aliases": [
    "Redundancy-based hierarchical cache"
  ],
  "definition": "RIMAC is a two-level cache design that reconstructs requested RAID data from cached or spinning-disk stripe units to avoid waking a standby disk.",
  "note": "The EuroSys 2006 design separates data in storage cache from parity in controller cache. Transformable Read in Cache (TRC) uses cached stripe units; Transformable Read on Disk (TRD) also reads non-standby members. [rimac]\n\nWrite transformation updates parity immediately, while writes destined for a sleeping disk can remain dirty in cache. The design assumes UPS-supported storage cache and nonvolatile or battery-backed parity cache; load and dirty-data thresholds can wake the disk. [rimac]\n\nThe evaluation extends DiskSim with three server traces and mostly five-disk RAID-5 configurations. It measures simulated energy and response time, not production hardware savings. [rimac]\n\nHesela's constructed byte example keeps A at 0x3c and changes B from 0xa5 to 0x5a. Combining old parity 0x99 with new B reconstructs 0xc3 instead of A; updated parity 0x66 restores 0x3c. This is an illustration of a violated consistency precondition, not a reported RIMAC bug or a replication. [example]\n\nThe 2008 IEEE journal article has three authors and a different title. Its metadata and reported maxima must not be silently substituted for the two-author conference version. [journal]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "The evaluated policy normally permits one standby member per small RAID-5 group. Reconstruction can add I/O to other disks; cache protection is an assumed precondition, not a crash-recovery proof.",
      "citationIds": [
        "rimac"
      ]
    }
  ],
  "related": [
    "drpm",
    "raid-5",
    "raid-write-hole",
    "parity-inconsistency",
    "hibernator"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-29",
  "citations": [
    {
      "id": "rimac",
      "title": "Yao and Wang. RIMAC: redundancy-based hierarchical cache architecture. EuroSys 2006, pp. 249-262, sections 3-7.",
      "url": "https://www.cs.fsu.edu/~awang/courses/cis6935_s2012/rimac.pdf",
      "accessed": "2026-11-29"
    },
    {
      "id": "bibliography",
      "title": "Jun Wang's laboratory publication list: EuroSys 2006 RIMAC and separate 2008 journal article.",
      "url": "https://www.cass.eecs.ucf.edu/publication/",
      "accessed": "2026-11-29"
    },
    {
      "id": "journal",
      "title": "Wang, Yao and Zhu. Exploiting in-memory and on-disk redundancy to conserve energy in storage systems. IEEE TC 57(6), 733-747 (2008). UCF metadata.",
      "url": "https://stars.library.ucf.edu/facultybib2000/1109/",
      "accessed": "2026-11-29"
    },
    {
      "id": "example",
      "title": "Hesela: reconstructing with mixed stripe versions; constructed XOR examples and exhaustive finite-domain tests.",
      "url": "https://hesela.dev/research/rimac-currency/README.md",
      "accessed": "2026-11-29"
    }
  ]
}
