Persistent memory transaction processing cache management method and device

A transaction processing and cache management technology, applied in the field of persistent memory transaction processing cache management, it can solve problems such as multiple flushes, CPU cache efficiency has a large impact, and overall performance is affected, achieving strong applicability and reducing data persistence overhead. , the effect of reducing the state tracking cost

Active Publication Date: 2018-02-09
TSINGHUA UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional software transaction management method needs to introduce more flushing (such as clflush) and barrier (such as mfence) operations in the persistent memory, which has a great impact on the CPU cache efficiency, which in turn affects the overall performance of the system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Persistent memory transaction processing cache management method and device
  • Persistent memory transaction processing cache management method and device
  • Persistent memory transaction processing cache management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0030]In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", " The orientations or positional relationships indicated by "vertical", "horizontal", "top", "bottom", "inner" and "outer" are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and Simplified descriptions, rather than indicating or implying that the device or el...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

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.

Description

technical field [0001] The invention relates to the technical field of non-volatile main memory storage, in particular to a persistent memory transaction processing cache management method and device. Background technique [0002] Non-volatile memory (Non-Volatile Memory, NVM) is a new type of byte-addressable memory-level storage device, such as phase change memory (PCM, Phase Change Memory), spin torque memory (STT-RAM, Spin -TorqueTransfer RAM), Resistive RAM (RRAM, Resistive RAM), etc. Non-volatile memory has the advantages of low read and write latency, high bandwidth, non-volatility, and low energy consumption. Its read and write performance is close to traditional DRAM memory, and it provides the same persistence as traditional disk external memory. Therefore, memory-level persistent storage (also called "persistent memory") built with non-volatile memory can provide data persistence at the memory level without writing back to disk, greatly improving the performance ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/0802G06F11/07
CPCG06F11/1471G06F11/1474G06F12/0238G06F2212/1032G06F2212/22G06F2212/60G06F2212/601G06F2212/604G06F11/14
Inventor 舒继武陆游游
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products