Nonvolatile memory data consistency updating method based on one-to-many page mapping

An update method and technology of memory data, applied in the direction of electrical digital data processing, multi-programming device, resource allocation, etc., can solve problems such as dependence

Active Publication Date: 2020-06-05
NAT UNIV OF DEFENSE TECH
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most of the internal implementations of such non-volatile programming libraries still rely on the log ...

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
  • Nonvolatile memory data consistency updating method based on one-to-many page mapping
  • Nonvolatile memory data consistency updating method based on one-to-many page mapping
  • Nonvolatile memory data consistency updating method based on one-to-many page mapping

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] like image 3 Shown, the present invention comprises the following steps:

[0056] The first step is to build a non-volatile memory consistent update system, which is released to user applications in the form of a dynamic link library. Non-volatile memory coherent update systems such as figure 1 As shown, it consists of a dynamic non-volatile memory allocation module, an update cycle management module, a memory access monitoring module, and a non-volatile data version management module.

[0057] The dynamic non-volatile memory allocation module is connected with the memory access monitoring module and the non-volatile data version management module, and the dynamic non-volatile memory allocation module receives pmalloc (size) requests or pfree (ptr) requests from user applications.

[0058] The dynamic non-volatile memory allocation module consists of a dynamic non-volatile memory allocator, a DRAM cache resource pool, and two non-volatile memory NVRAMs of the same si...

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 discloses a nonvolatile memory data consistency updating method based on one-to-many page mapping, and aims to solve the problem of double nonvolatile memory write operation overhead. According to the technical scheme, a nonvolatile memory consistency updating system consisting of a dynamic nonvolatile memory allocation module, an updating period management module, a memory access monitoring module and a nonvolatile data version management module is constructed; a dynamic nonvolatile memory allocation/release interface is provided for a user application program, and one DRAM cache and two nonvolatile backups are maintained for each nonvolatile memory object. The nonvolatile data version management module is used for consistently writing the content cached by the DRAM into a nonvolatile backup page corresponding to the DRAM cache page; in the consistency updating process, only one nonvolatile backup of the nonvolatile memory object is subjected to updating operation, and the other nonvolatile backup serves as a consistency data backup when a fault occurs. When the method is used for carrying out consistency updating operation on the nonvolatile memory, only single write-in of the nonvolatile memory is introduced.

Description

technical field [0001] The invention relates to the field of computer system software, in particular to a method for maintaining data consistency of non-volatile memory by means of one-to-many memory page mapping. Background technique [0002] The storage system of the current mainstream computer system can generally be divided into two levels: main memory and auxiliary memory. The main feature of the main memory device (such as DRAM) is to support byte-granularity addressing, fast access speed, and data loss after power failure, while the characteristic of the auxiliary storage device (such as disk) is to only support coarse-grained access (such as data blocks as unit), slow access speed, and non-volatile data. With the improvement of computer computing performance and the expansion of system scale, the above-mentioned storage level constraints make the storage system gradually become the bottleneck of the system's comprehensive performance. Under the above trend, a new s...

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): G06F9/50
CPCG06F9/5016G06F9/5022
Inventor 卢凯张文喆迟万庆王睿伯张伟董勇周恩强谢旻高颖慧吴振伟
Owner NAT UNIV OF DEFENSE TECH
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