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

Implementation method for disk array cache

An implementation method and a disk array technology, applied in the computer field, can solve the problems of wasting work time, reducing work efficiency, disk data loss, etc., and achieving the effects of improving read and write operation rate, improving work efficiency, and reducing work time.

Inactive Publication Date: 2013-09-18
DAWNING INFORMATION IND BEIJING
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the data that the user wants to write to the disk is not actually written to the disk, but only temporarily stored in the kernel space, so when the system crashes, all the disk data temporarily stored in the memory will be lost, not only to the user Bring unnecessary losses, but also waste a lot of working time, reducing work efficiency

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
  • Implementation method for disk array cache
  • Implementation method for disk array cache
  • Implementation method for disk array cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0023] figure 1 A schematic diagram of the overall cache structure. The overall cache structure includes two types of caches, kernel file cache 104 and disk array caches 106 , 108 and 110 . The cache of linux is based on the virtual file system, that is, a cache is set for each file, which is not described in detail in this article. The present invention is a cache for the underlying disk arrays, that is, a disk array cache is maintained for each disk array, which will be described in detail below. At first according to user's data request 102, carry out corresponding data processing in kernel file cache 104; When this user's data request 102 can't be completed in...

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 an implementation method for a disk array cache, which comprises the following steps: obtaining a data request from a to-be-processed queue; carrying out the corresponding data reading operation or the data writing operation in a cache tree according to the data request; writing data in the cache tree into a bottom layer disk array. Through the adoption of the method provided by the invention, most data reading and writing operation can be performed in the disk array cache, so that the interaction with the bottom layer disk array in each reading and writing operation can be left out, further the reading and writing speed is greatly increased, and the working efficiency is improved; in addition, a data writing back mechanism is provided to ensure that data stored temporarily in the disk array cache can be subjected to the backup in time, so that the read and written data cannot completely lose when the system breaks down, therefore, the system performance and data safety can be improved.

Description

technical field [0001] The present invention generally relates to the field of computer technology, and more specifically, relates to a method for implementing a disk array cache. Background technique [0002] Cache (that is, cache) exists between high-speed components and low-speed components inside the computer, and has become an important means to bridge the speed gap. Cache technology is introduced into the storage system to reduce the waiting time of storage access requests, thereby speeding up storage access. To a certain extent, it makes up the gap between the I / O processing speed of the storage device and the CPU processing speed. [0003] In the prior art, the operation of disk data on the Linux system is divided into two categories: Direct IO and Buffered IO. The former is an IO without kernel cache, which can directly write the memory of the user space to the disk or Read the disk data directly into the cache area of ​​the user space. This strategy is to use the...

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): G06F12/08G06F3/06G06F11/14
Inventor 袁清波张建斌边国伟苗艳超刘新春邵宗有
Owner DAWNING INFORMATION IND BEIJING
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