Unlock instant, AI-driven research and patent intelligence for your innovation.

A cache management method and system

A cache management and storage system technology, which is applied in the field of cache management methods and systems, can solve the problems of cache utilization reduction and achieve the effect of improving utilization

Active Publication Date: 2018-06-29
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, there are two data blocks corresponding to the same physical address PA1 in the cache. Due to the existence of data copies in the cache, the utilization rate of the cache is reduced.

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
  • A cache management method and system
  • A cache management method and system
  • A cache management method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the accompanying drawings, which cannot be used to limit the protection scope of the present invention.

[0046] The present invention provides a cache management method for indexing the cache through two modes of the logical address (Logical Address) and the physical address (Physical Address) of the storage space, and the cache management module simultaneously maintains the retrieval of the logical address and the physical address to the cache information. When accessing data, first use the logical address to search, whether there is a corresponding data block in the cache, if not, continue to use the physical address to search, if it still cannot be retrieved, it is considered that there is no corresponding data block in the cache, then only The corresponding data block will be obtained from the disk and put into the cache. ...

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 cache management method and system, which includes: for an access request of an upper-layer application, whether there is a data block corresponding to the access request in the cache through a logical address search. When it is not found that the data block exists in the cache through the logical address, the physical address corresponding to the logical address is obtained, and whether the data block exists in the cache is retrieved through the physical address. When the data block exists in the cache through the physical address retrieval, the access request is processed in the cache. When the data block corresponding to the access request exists in the cache through the physical address, it is determined that the data block does not exist in the cache, and the data block is obtained from the underlying hardware storage device through the physical address. Put the obtained data block into the cache, add logical address index and physical address index to it, and process the access request in the cache. Through the solution of the present invention, it is possible to avoid caching multiple copies of the same data block in the cache, thereby improving the utilization rate of the cache.

Description

technical field [0001] The invention relates to the technical field of computer storage, in particular to a cache management method and system. Background technique [0002] In the storage system, in order to improve system performance, for an IO request for a data block, first check whether the requested data block is in the cache, if it is in the cache, directly process it in the cache; into the cache for processing. In a storage system with a deduplication function, after data deduplication, multiple logical blocks in the upper layer correspond to a physical block in the lower layer, and the IO request in the upper layer carries the logical address information of the data block, and the logical address index is used to find whether the cache is If the data block exists, the data block exists in the cache but cannot be retrieved. For example, assuming that the logical address LA1 and LA2 correspond to the physical address PA1 at the same time, if there is an IO request t...

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 Patents(China)
IPC IPC(8): G06F12/0802
Inventor 王永刚
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND