Method and system for protecting CPU Cache data after AC power failure

A data and data protection technology, applied in the storage field, can solve the problems that data cannot be effectively protected, increase write delay, increase delay, etc.

Inactive Publication Date: 2018-03-16
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, according to the current Intel ADR function, the data in the ADR safe zone does not include the CPU Cache, so the data in the CPU Cache cannot be effectively protected after power failure, which leads us to use NVDIMM-N or other non-volatile storage Some measures need to be taken to avoid data loss in CPU Cache
The current solution is to change the write mode of the CPU to non-write-through mode, that is, the write data does not pass through the CPU Cache, and the write completion signal is returned after

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
  • Method and system for protecting CPU Cache data after AC power failure
  • Method and system for protecting CPU Cache data after AC power failure
  • Method and system for protecting CPU Cache data after AC power failure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The core of the present invention is to provide a method for protecting CPU Cache data after AC power failure, for protecting the data in CPU Cache from being lost after AC power failure, and without affecting NVDIMM-N or other non-volatile storage media Excellent read and write performance, reducing latency.

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0044] figure 1 It is a flow chart of the first method for protecting CPU Cache data after AC power failure provided by the embodiment of the p...

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 method for protecting CPU Cache data after AC power failure. The method comprises the steps that a CPLD sends a data protection command to a CPU after receiving AC power failure information; and the CPU flashes data in a CPU Cache to a non-volatile storage medium after receiving the data protection instruction, thereby performing a subsequent ADR process after finishing the flashing. According to the method provided by the invention, the data in the CPU Cache can be effectively protected after the AC power failure only by adding the process of flashing the data in theCPU Cache to the non-volatile storage medium after the AC power failure on the premise of not changing the read-write performance of the non-volatile storage medium, so that the data in the CPU Cacheis protected from being not lost, the read-write performance of NVDIMM-N or other non-volatile storage mediums is not influenced, and the delay is shortened. The invention furthermore discloses a system for protecting the CPU Cache data after the AC power failure. The system also has the abovementioned beneficial effects, which are no longer repeated here.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method and system for protecting CPU Cache data after AC power failure. Background technique [0002] In the era of big data, the value of data is getting higher and higher. How to protect data from loss is a technical issue that technicians have been working hard to study. In many previous designs, the battery backup unit BBU is usually used for data protection after power failure, but the battery module in the BBU is usually bulky, requiring an additional increase in the size of the structure, and the charging time is long. Now NVDIMM-N, AEP (Apache Pass) and other non-volatile storage media are more and more popular. For example, for NVDIMM-N, after AC power failure, the system starts the ADR (Asynchronous DRAM Refresh) process, notifies the CPU of the AC power failure information, and the CPU refreshes the data in the ADR safe zone to DRAM, so that NVDIMM-N can rely on T...

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): G06F11/10G06F11/14G06F12/16
CPCG06F11/1064G06F11/141G06F11/1448G06F12/16
Inventor 张政
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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