Mnemosyne
Mnemosyne is a research system that exposes persistent memory to user programs through persistent regions, update primitives and durable memory transactions.
Logging: Its raw word log reserves one bit per 64-bit stored word to distinguish log generations. Recovery checks the expected generation, changing it at wraparound, and stops at a missing word. The payload occupies the other 63 bits. [3] [4]
Ordering: Detecting an incomplete log append does not make an append call durable. The paper separates append from flush and uses write-ahead redo logging for transactions. Its failure model assumes atomic writes of at least 64 bits. [1]
Worked model: A bounded Hesela example enumerates surviving-word subsets and shows counterexamples for a separately persisted tag, an old matching generation and payload corruption. It assumes trusted record length and head metadata, not a complete recovery engine. [6]
Contrast: Mnemosyne records new values for redo before installation; NV-Heaps copies whole objects into an undo log before modification. These are different recovery protocols. [1] [7]
Relations
Limitations
- The 2011 performance evaluation uses DRAM-based PCM emulation, not production persistent-memory hardware; its timing results do not establish performance on later devices. [1]
- A generation tag is not a checksum and cannot establish transaction validity independently of framing, ordering and safe space reuse. [6]
Citations
- Volos, Tack and Swift. Mnemosyne: Lightweight Persistent Memory. ASPLOS 2011, sections 2, 4.4, 5 and 6.1.
- Mnemosyne GCC port f9fc03f6: physical-log word layout and wraparound.
- Mnemosyne GCC port f9fc03f6: m_phlog_tornbit_check_consistency.
- Hesela. Torn-bit logging: a bounded crash-state model and its counterexamples.
- Coburn et al. NV-Heaps. ASPLOS 2011, section 3.5: whole-object undo logging.
Further reading
Sources & caveats
- The conference programme and original paper establish 2011; the pinned GCC-port README instead labels the paper ASPLOS 2012. The port is not identified as the exact evaluated revision.
- Source review and independent teaching model only. No native Mnemosyne build, persistent-memory hardware run or power-loss test was performed.