Persistent internal 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, which can solve problems such as the large impact of CPU cache efficiency, impact on overall performance, and multiple flushes, to reduce data persistence overhead and state tracking. The cost, the effect of strong applicability

Active Publication Date: 2015-09-02
TSINGHUA UNIV
View PDF4 Cites 48 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) oper...

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 internal memory transaction processing cache management method and device
  • Persistent internal memory transaction processing cache management method and device
  • Persistent internal 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 invention provides a persistent internal memory transaction processing cache management method and device. The method comprises the steps of reading, by a transaction, original data from a nonvolatile internal memory to a processor for caching before the start of the transaction, and executing the transaction by the processor; allocating, by the transaction, a space for produced new data during the execution of the transaction, and adopting a cache stealing write-back technique to allow persisting of un-submitted data; forcibly persisting transaction data or state to the nonvolatile internal memory during the submission or interruption of the transaction; writing back the transaction data to an original data address after the transaction data or state has been persisted to the nonvolatile internal memory, and adopting a cache non-forced write-back technique to not forcibly persist submitted data to the nonvolatile internal memory; periodically persisting, by the transaction, cache data to the nonvolatile internal memory by means of forced integral brush-back; performing fault recovery processing on the transaction data when a fault occurs in a system. By adopting the method, the data replication and data persisting frequency in the persistent internal memory can be reduced.

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 -Torque Transfer 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
IPC IPC(8): G06F12/08
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