Persistence domain
A persistence domain is the set of components whose stored contents are guaranteed to survive a specified failure under the platform's operating contract.
A store counts as persistent once it reaches the persistence domain. On one server platform, stores that leave the processor cache and enter the memory controller's write pending queue are covered, because the platform keeps enough power to flush that queue to persistent memory on failure. Processor caches are excluded since flushing them automatically would need much more backup power, so software must flush cache lines explicitly. [1]
One persistent-memory library maps these cases to three granularities. Page granularity applies to block storage, where persistence is requested through a system call such as msync or fsync. Cache-line granularity applies when the protected domain covers the memory controller but not the CPU caches, so lines must be flushed, usually followed by a barrier. Byte granularity applies when the domain also covers the caches, removing flushes but not necessarily barriers. [2]
Byte addressability describes selectable memory locations, not a requirement that application loads and stores be 64 bytes wide. Cache-line transfer size, persistence granularity and failure-atomic update size are separate properties. A persist operation may widen a range for alignment, but is neither atomic nor transactional. [2] [5] Persistency ordering is a separate question: it defines which update orders are permitted, not which components are protected. [4]
Relations
- related
- Stable storage, Persistent memory, Asynchronous DRAM Refresh, Extended Asynchronous DRAM Refresh, Persistence ordering, Power loss protection, Memory persistency, Direct Access, MAP_SYNC, FPTree, CLWB, CLFLUSHOPT
Advantages
- Declaring the coarsest acceptable granularity lets a mapping fail on a platform that cannot meet it, instead of silently relying on weaker protection. [2]
Limitations
- The requested PMDK granularity is the coarsest acceptable value, not a forced effective value: requesting PAGE also accepts CACHE_LINE or BYTE, while requesting CACHE_LINE rejects a PAGE-only mapping. Inspect the resulting map and use its associated persistence function. [2]
Citations
- Intel. Second Generation Xeon Processor Scalable Family Technical Overview: The Persistence Domain.
- PMDK 1.13.1. libpmem2(7), GRANULARITY (pinned source documentation).
- Steven Pelley, Peter M. Chen and Thomas F. Wenisch. RETROSPECTIVE: Memory Persistency. ISCA retrospective, 2023; sections I-II.
- PMDK 1.13.1. pmem2_get_persist_fn(3): alignment, early persistence and non-transactional behavior.
Further reading
Sources & caveats
- intel-adr re-read 2026-10-23 for the write pending queue, cache exclusion and 64-byte versus 4 KB access.
- pmdk-granularity re-read 2026-10-23 for page, cache-line and byte granularity and the storage-engine example.
- retrospective used as before for the ordering-versus-domain distinction.
- The map-sync entry links here because its crash guarantee assumes mapped stores are flushed into the persistence domain this entry defines.
- A companion analysis on DAX durability is listed but not used in prose.
- 2026-11-10: corrected the conflation of byte addressability with cache-line width and the claim that requesting PAGE gives up finer persistence. PMDK 1.13.1 explicitly permits a finer effective mapping.