Invention Grant
- Patent Title: Method and apparatus for cache management of transaction processing in persistent memory
-
Application No.: US14980248Application Date: 2015-12-28
-
Publication No.: US10379954B2Publication Date: 2019-08-13
- Inventor: Jiwu Shu , Youyou Lu
- Applicant: TSINGHUA UNIVERSITY
- Applicant Address: CN Beijing
- Assignee: TSINGHUA UNIVERSITY
- Current Assignee: TSINGHUA UNIVERSITY
- Current Assignee Address: CN Beijing
- Agency: Wayne & Ken, LLC
- Agent Tony Hom
- Priority: CN201510289418 20150529
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/14 ; G06F12/02

Abstract:
The present invention provides a method and an apparatus for cache management of transaction processing in persistent memory. The method includes: when a transaction starts, reading old version data from non-volatile memory to a processor cache, and executing the transaction; during the execution of the transaction, allocating a space to generated new version data, and using a steal write-back technology to allow persistence of uncommitted data; when the transaction is committed or aborted, implementing forced persistence of transaction data to the non-volatile memory: after persistence of the transaction data or state is implemented to the non-volatile memory, writing the transaction data back to original data addresses, and using a no-force write-back technology to relax persistence of committed data to the non-volatile memory, where the transaction processing module periodically implements persistence of cached data to the non-volatile memory using bulk persistence; and when a system failure occurs, performing failure recovery processing on the transaction data. The method can reduce frequencies of data replication and data persistence in persistent memory.
Public/Granted literature
- US20160350216A1 METHOD AND APPARATUS FOR CACHE MANAGEMENT OF TRANSACTION PROCESSING IN PERSISTENT MEMORY Public/Granted day:2016-12-01
Information query