{
  "slug": "memory-persistency",
  "term": "Memory persistency",
  "aliases": [
    "memory persistency model"
  ],
  "definition": "Memory persistency specifies the permitted ordering of durable updates relative to other memory events and system failure.",
  "note": "The recovery observer captures surviving state and is distinct from the observers used to reason about inter-thread visibility. A persistence domain describes protected components, whereas a persistency model describes ordering. [retrospective]\n\nStrict, epoch and strand models preserve different dependencies. At an assumed 500 ns latency, Table 1 gives persist-bound insert rates of 0.034 (strict), 0.17 (epoch) and 12 (strand) for one-thread Copy While Locked, normalized to that configuration's instruction-rate denominator. These are not measured persistent-memory hardware throughput. The modeled bottleneck rule min(1, rate) caps strand at 1, not 12; dividing by 0.034 gives about 29.4. [pelley14]\n\nThe authors' 2023 retrospective explains the motivation. In 2014, memory interconnects lacked an interface to describe and enforce write ordering, and ordering enforced at the processor was insufficient for failure tolerance with acceptable performance. [retrospective]",
  "status": "research",
  "advantages": [
    {
      "text": "Separates the question of ordering from the question of which hardware makes stores durable, so recovery code can be reasoned about at the level of the memory model.",
      "citationIds": [
        "retrospective"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Relaxed models require persist barriers or similar annotations in software, so correctness depends on placing them wherever recovery needs ordering.",
      "citationIds": [
        "pelley14"
      ]
    },
    {
      "text": "The quantitative comparison uses queue microbenchmarks with assumed persist latencies, so it does not predict the performance of a particular memory device.",
      "citationIds": [
        "pelley14"
      ]
    }
  ],
  "related": [
    "ralloc",
    "durable-linearizability",
    "persistence-domain",
    "persistence-ordering",
    "persistent-memory",
    "strict-persistency",
    "epoch-persistency",
    "strand-persistency"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-05",
  "citations": [
    {
      "id": "pelley14",
      "title": "Pelley, Chen and Wenisch. Memory Persistency. ISCA 2014, pp. 265-276; sections 7-8.1, Table 1; section 8.2, Figures 4-5.",
      "url": "https://courses.grainger.illinois.edu/ece598ms/fa2019/papers/paper61.pdf",
      "accessed": "2026-10-28"
    },
    {
      "id": "han21",
      "title": "Han and Kimura. Durable Queue Implementations Built on a Formally Defined Strand Persistency Model. JIP 29 (2021), pp. 823-838, sections 2-3.",
      "url": "https://www.jstage.jst.go.jp/article/ipsjjip/29/0/29_823/_pdf/-char/en",
      "accessed": "2026-10-19"
    },
    {
      "id": "retrospective",
      "title": "Steven Pelley, Peter M. Chen and Thomas F. Wenisch. RETROSPECTIVE: Memory Persistency. ISCA retrospective, 2023; sections I-II.",
      "url": "https://bpb-us-w2.wpmucdn.com/sites.coecis.cornell.edu/dist/7/587/files/2023/06/Pelley_2014_Memory.pdf",
      "accessed": "2026-10-22"
    },
    {
      "id": "hesela-pmem",
      "title": "Hesela. Persistent memory: DAX is not a durable commit.",
      "url": "https://hesela.com/analyses/pmem-persistence-domains-dax/#persistency-models",
      "accessed": "2026-10-19"
    }
  ],
  "provenance": [
    "pelley14 re-read on 2026-10-28 in sections 7-8, Table 1 and Figures 4-5; correction separates modeled capacity from effective throughput.",
    "Table 1 values are normalized persist-bound insert rates. The existing linked Hesela calculation applies the instruction-rate ceiling before computing ratios; no new benchmark.",
    "retrospective is the 2023 retrospective by the same authors, re-read in sections I and II for the 2014 interconnect context."
  ]
}
