Cache read-write operation method and system for flashcache hybrid storage system

A hybrid storage, read and write operation technology, applied in the field of storage systems, can solve the problem of low cache read and write efficiency, and achieve the effect of improving read and write efficiency

Inactive Publication Date: 2017-10-31
INST OF MICROELECTRONICS CHINESE ACAD OF SCI
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the flashcache hybrid storage system, in the cache read and write operation method, after receiving the read and write operation request from the upper layer, the spin lock operation is performed first, and the corresponding operation can only be performed after the operable access value is returned. Read and write operations, the spin lock is shared by the entire cache, so that only one read and write operation request can perform operations on the cache at a time, which is equivalent to the serialization operation of the cache, and the read and write efficiency of the cache is low

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
  • Cache read-write operation method and system for flashcache hybrid storage system
  • Cache read-write operation method and system for flashcache hybrid storage system
  • Cache read-write operation method and system for flashcache hybrid storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0036] In the following description, a lot of specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, and those skilled in the art can do it without departing from the meaning of the present invention. By analogy, the present invention is therefore not limited to the specific examples disclosed below.

[0037] The present invention proposes a cache read-write operation method of a flashcache hybrid storage system, wherein a read-write lock is set in a metadata structure corresponding to each cache block in the cache, and the method includes:

[0038] S01, judging that the operation request is a read operation ...

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 cache read-write operation method for a flashcache hybrid storage system. A read-write lock is arranged in a metadata structure corresponding to each cache block in a cache. The method comprises the steps that whether an operation request is read operation or write operation is judged; if the operation request is read operation, the metadata structure corresponding to the cache block which the operation request points to is asked for a reader lock, read operation is performed, and write operation on the corresponding cache block is rejected when the reader lock is in a locked state; and if the operation request is write operation, the metadata structure corresponding to the cache block which the operation request points to is asked for a writer lock, write operation is performed, and read operation and other write operation on the corresponding cache block are rejected when the writer lock is in a locked state. Through the method, parallel operation on the cache is realized, and the read-write efficiency of the cache is improved.

Description

technical field [0001] The invention relates to the field of storage systems, in particular to a cache read and write operation method and system of a flashcache hybrid storage system. Background technique [0002] With the rapid development of the Internet industry and the rise of technologies such as cloud computing and big data, the processing speed of the storage system has become more and more important. Mechanical hard disk (Hard Disk Drive, HDD) is the main way of large-capacity storage at present. Its capacity can be continuously increased, but the processing speed is difficult to increase, which has become an important factor restricting the speed of the storage system. Solid State Drives (SSD) are made of solid state electronic memory chip arrays, which are very suitable for handling a large number of read and write accesses, but they are expensive and have a limited lifespan. Therefore, based on the two storage media of mechanical hard drives and solid state drive...

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): G06F3/06
CPCG06F3/061G06F3/064G06F3/0685
Inventor 吴方鸣陈岚郝晓冉
Owner INST OF MICROELECTRONICS CHINESE ACAD OF SCI
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