Method and device for flushing data

A technology for writing devices and data, applied in the directions of memory address/allocation/relocation, input/output to the record carrier, etc., can solve the problem of limited cache size, and achieve the effect of improving the utilization rate and improving the efficiency of reading and writing.

Active Publication Date: 2013-04-17
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method and device for flashing data to solve the problem of how to write the data that needs to be written to the disk to the disk as soon as possible when the cache size is limited

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 device for flushing data
  • Method and device for flushing data
  • Method and device for flushing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0033] Such as figure 1 Shown is a schematic diagram of the process of an embodiment of the method for flashing data of the present invention, the method comprising:

[0034] Step 101, creating a dirty page linked list corresponding to each logical unit (lun);

[0035] Wherein, the dirty page linked list is a two-way linked list, and the dirty order of the dirty pages corresponds to the position of the dirty page in the corresponding dirty page linked list;

[0036] This step is optional;

[0037] Step 102 , according to the trigger condition for flushing, trigger threads ...

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 method and a device for flushing data. The method comprises triggering threads in an asynchronous flash thread framework to complete flashing of corresponding dirty pages in a dirty page chain table, wherein the dirty pages are cache pages with data saved. According to the method and the device for flushing data, the data during cache can be written in discs rapidly, the cache usage rate is improved, and accordingly, the read-write efficiency is improved.

Description

technical field [0001] The invention relates to data storage technology, in particular to a method and device for flashing data. Background technique [0002] With the development of computer technology and storage technology, users have higher and higher requirements on the availability of storage systems. The so-called availability here includes all levels of the storage system, not only the storage itself, but also the methods of reading and writing stored data. At present, the bottleneck of the read and write speed of stored data is mainly that when the disk itself is read and written, it takes a long time for the magnetic head to find the track. Therefore, a cache is generally added to the storage system to increase the read and write speed. [0003] The function of the cache is to add a layer of virtual cache between the read and write requests of the storage controller and the disk read and write, which is used to temporarily store data. Improving the reading and w...

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/06
Inventor 王倩张在理
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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