Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for recovering disk cache power down based on novel nonvolatile storage

A power failure recovery and disk caching technology, applied in the protection of storage content from loss, protection of internal/peripheral computer components, program control devices, etc., can solve the problems of wasting computer computing resources, data loss, and reducing the overall performance of computer systems. Achieve the effect of improving security and reliability, high speed and large capacity

Inactive Publication Date: 2017-05-31
BEIHANG UNIV
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Before the 1980s, in a computer system without a cache, the contradiction between the high-speed processing capability of the CPU and the low-speed access speed of the memory caused the CPU to often need to suspend the execution of instructions to wait for the memory to complete data access. It seriously wastes the computing resources of the computer and reduces the overall performance of the computer system
However, after an unexpected power failure of the system, the dirty data in the cache cannot be written back to the disk due to the loss of the corresponding relationship with the cached disk blocks, resulting in a large amount of data loss

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 for recovering disk cache power down based on novel nonvolatile storage
  • Method for recovering disk cache power down based on novel nonvolatile storage
  • Method for recovering disk cache power down based on novel nonvolatile storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0018] The Linux I / O frame schematic diagram in the disk cache power-down recovery of the present invention, as figure 1 As shown, it includes the virtual file system layer, block I / O layer, and physical device layer. The block I / O layer is the I / O processing layer under the block-based file system, and the Device Mapper module 1 is located in the block I / O layer, which is a module parallel to modules such as MDRAID and DRBD. Device Mapper module 1 provides the dmsetup command in the user space to manage the target device, and provides the device creation initialization interface.ctr1-1, the device uninstall processing interface.dtr 1-2, and the device running status interface.status 1-3 in the kernel space , bio processing interface, map1-4 and other programming interfaces are used to develop software modules based on the Device Mapper fram...

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

Provided is a method for recovering disk power down based on a novel nonvolatile storage. According to the method, a Linux Kernel Device Mapper frame is adopted, an AEP is adopted in cache equipment in the bottom layer, open source software dm-cache is adopted as a chief source, on the basis of achieving disk cache basic functions, a power down recovering module is added, a byte writing method is adopted to timely write metadata of a cache equipment control structure and a cache block back to a cache control block and a metadata area of the AEP so as to retain in real time an operational scene of the cache module. When power down occurs in a system accidentally and the system is restarted, the operational scene of the cache module can be recovered through the method of reloading a total control data structure which is stored in the cache equipment in the cache control block of the AEP and the metadata information of the cache block in the metadata area of the AEP so as to make the system operate at a sate before the power down, and in this way, the purpose of recovering the data in the disk cache block is achieved.

Description

technical field [0001] The invention belongs to the technical field of disk cache power failure recovery under Linux operating system, relates to the secondary development of open source disk cache software dm-cache, and specifically relates to the development of a Linux Kernel Device Mapper framework, based on dm-cache, based on A power-off recovery method for a disk cache of a new non-volatile memory AEP (Apache Pass, a non-volatile memory developed by Intel Corporation). Background technique [0002] In a typical computer system, it takes 250,000ns to sequentially read 1MB of data from the memory, and 30,000,000ns to read 1MB of data from the disk. The speed difference between the two is more than a hundred times. Imagine that in an application scenario with a heavy disk I / O load, it only takes one unit of time for data to be exchanged between the CPU and the memory, but it takes one hundred units of time for the data to be transferred between the memory and the disk. ex...

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 Applications(China)
IPC IPC(8): G06F9/44G06F12/16G06F21/79
CPCG06F8/22G06F12/16G06F21/79
Inventor 阮利郝海东肖利民
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products