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

Method for refreshing cache data in storage system

A storage system and data cache technology, applied in the storage field, can solve the problem of low download speed and achieve the effect of improving efficiency

Inactive Publication Date: 2019-05-14
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The object of the present invention is to provide a method, device, storage server and storage system for flashing cached data in a storage system, so as to solve the problem of low flushing speed from the cache to the disk array in the traditional storage system

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 refreshing cache data in storage system
  • Method for refreshing cache data in storage system
  • Method for refreshing cache data in storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] The following is an introduction to Embodiment 1 of a method for flashing cached data in a storage system provided by the present invention, see figure 1 , embodiment one includes:

[0049] Step S101: Obtain a target cache block in the cache of the storage system.

[0050]This embodiment is applied to a storage system, and the storage system includes a storage server for storing data and a client for sending data requests. More specifically, this embodiment is applied to a storage server in the storage system. When the client writes data to the storage server, it usually returns the request after writing the data into the cache of the storage server, and then the storage server then flushes the data in the cache to the back-end disk array.

[0051] In this embodiment, the cached storage space is divided according to a certain granularity, and the divided storage space with equal granularity is called a cache block, and all data written by the client is stored in the ca...

Embodiment approach

[0089] As an optional implementation, the device also includes:

[0090] Writing module 505: for writing each cache block in the preset number of cache blocks into a corresponding disk array respectively.

[0091]As an optional implementation manner, the cache block search module 503 includes:

[0092] The first direction lookup unit 5031: for starting from the target cache block in the cache block linked list, along the first direction of the cache block linked list according to the order in which the address offset value is changed by one offset value unit, Search the cache blocks one by one until the number of the found cache blocks exceeds the length of the RAID stripe or there is no cache block not found in the first direction of the cache block linked list.

[0093] The second direction search unit 5032: if the number of found cache blocks does not exceed the length of the RAID stripe, and there is no cache block not found in the first direction of the cache block list,...

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 refreshing cache data in a storage system. A target cache block in a cache of a storage system can be obtained; searching a cache block linked list where the target cache block is located; The method comprises the steps that a preset number of cache blocks with continuous address offset values are searched for in a cache block linked list, finally, a write instruction is generated according to the searched cache blocks and issued to a disk array, downbrushing of cache data is achieved, and the preset number is a small numerical value between the RAID stripelength and the total number of the cache blocks in the cache block linked list. Visibly, according to the method, in the brushing-down process, the continuous cache blocks with the number close to the RAID stripe length can be searched for, a write instruction is built according to the cache blocks, the purpose of brushing down a plurality of disk arrays at the same time is achieved, and the brushing-down efficiency of the cache is remarkably improved. In addition, the invention further provides a device for refreshing the cache data under the storage system, the storage server and the storage system, and the effects of the device and the storage system correspond to those of the method.

Description

technical field [0001] The present invention relates to the field of storage, in particular to a method, device, storage server and storage system for flashing cached data in a storage system. Background technique [0002] The storage system includes a storage server for storing data and a client for sending data requests. Generally, in order to improve the response time of write requests, data is written to the cache of the storage server and then returned, and the data written to the cache is then asynchronously refreshed. written to the backend disk. The speed at which the cache flushes data to the disk array in the storage system has a great impact on the storage performance of the storage system, such as the impact on the response delay of the client request. Therefore, how to improve the flushing speed of the storage system to the disk array is urgently needed solutions by those skilled in the art. Contents of the invention [0003] The object of the present invent...

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/0868
Inventor 王永刚
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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