Method for writing caches of storage servers in hybrid modes

A storage server and write cache technology, which is applied in the direction of memory system, instrument, memory address/allocation/relocation, etc., can solve the problems of reducing read and write speed, improve read and write performance, reduce read and write and refresh frequency, and improve The effect of reading and writing speed

Inactive Publication Date: 2015-01-07
INSPUR GROUP CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the processor's write operation must wait for the disk's write operation to complete, which reduces the read and write speed.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The write-back method and the write-through method are mixed. When there is enough free space in the disk cache, the write-back method is used to improve the read and write performance; when the available space in the disk cache drops to a certain threshold, the write-through method is used. The method reduces the read-write and refresh frequency of the disk cache, and improves the read-write speed of the disk cache to a certain extent. Specific steps are as follows:

[0013] 1) When there is enough free space in the disk cache, use the write-back method;

[0014] When the disk cache receives a write request, it first looks it up in the disk cache. If it hits, it will be directly copied to the corresponding block. If it does not hit, it will allocate a free memory area and copy the data to this memory area. After a certain period of time, flush the dirty data to disk;

[0015] 2) When the available space in the disk cache drops to a certain threshold, the write-throug...

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 for writing caches of storage servers in hybrid modes. The method has the advantages that the hybrid modes of a write-back process and a write-through process are adopted, and the write-back process is adopted when sufficient spaces are available in the caches of disks, so that the read-write performance can be improved; the write-through process is adopted when the spaces available in the caches of the disk are reduced and reach a certain threshold value, so that read-write and refresh frequencies of the caches of the disks can be reduced, and the read-write speeds of the caches of the disks can be increased to a certain degree.

Description

technical field [0001] The invention relates to the technical field of computer storage server design, in particular to a method for a storage server to write cache in a hybrid manner. Background technique [0002] Write strategy is an important symbol to distinguish different disk cache design schemes. Common write strategies for disk caching include write-back and write-through. [0003] Write back method (write back), that is, when performing a write operation, it is not written to the disk, but written to the disk cache in the memory. When the data in the disk cache is replaced, it is written back to the disk. The data in the disk cache of the write-back method will be inconsistent with the data in the disk. A flag is set when the disk cache is written, and this bit is cleared when the data in the disk cache is written back to the disk. According to the value of this bit, each block in the disk cache has two states: clean (clean) and dirty (dirty), the state is "dirty...

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/08G06F12/0868
Inventor 王闯孙冰勇戴鸿君于治楼
Owner INSPUR GROUP 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