Persistent Memory Buffering for Barrier-Safe Data Flush
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data structures in volatile memory are prone to overwriting and loss due to their non-persistent nature, leading to data integrity issues and difficulty in maintaining operation order during power failures or restarts, with backups being resource-intensive and disruptive during high-use times.
Innovation Solution
Implementing a hardware controller for volatile memory that determines completion of barrier operations and preserves snapshot copies, along with a secondary power supply to ensure data is flushed to non-volatile storage during power disruptions, and using auto-commit memory to guarantee data persistence through memory semantic operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If data structures are stored in volatile memory for fast access, then speed is improved, but reliability deteriorates due to data loss during power failures
Solution Approach 1:
The memory system is segmented into volatile memory regions for fast access and non-volatile memory regions for persistent storage. Data structures are partitioned such that frequently accessed portions reside in volatile memory while critical persistent data is stored in non-volatile memory, resolving the contradiction between speed and reliability.
Solution Approach 2:
The system performs preliminary actions by maintaining snapshots and backup copies of data structures in non-volatile memory before power failures can occur. This preliminary preparation ensures that data can be recovered without loss, maintaining reliability while allowing volatile memory to be used for fast access.
2Reliability
If backups are created to prevent data loss, then reliability is improved, but productivity deteriorates due to resource consumption and access disruption
Solution Approach 1:
The system creates simplified copies of data structures in non-volatile memory rather than full backups. These copies contain only the essential persistent data needed for recovery, reducing the resource overhead and access disruption while maintaining adequate protection against data loss.
Solution Approach 2:
The patent employs disposable snapshot copies that can be quickly created and discarded. These temporary backup structures provide necessary protection but are designed to be lightweight and short-lived, minimizing their impact on system productivity while still ensuring data reliability.
Data Source
AI summary
Apparatuses, systems, methods, and computer program products are disclosed for persistent memory management. Persistent memory management may include replicating a persistent data structure in volatile memory buffers of at least two non-volatile storage devices. Persistent memory management may include preserving a snapshot copy of data in association with completion of a barrier operation for the data. Persistent memory management may include determining which interface of a plurality of supported interfaces is to be used to flush data from a processor complex.


