Data caching method and device

A data cache and cache technology, applied in the storage field, can solve the problems of low cache utilization and a large number of duplicate data, and achieve the effect of improving cache utilization, saving cache resources, and improving overall performance.

Active Publication Date: 2021-03-26
MACROSAN TECH
View PDF15 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In some special application scenarios, for example, when destroying a LUN, a write command will carry multiple duplicate destruction data. If the cache space is still allocated according to the logical space corresponding to the write command, there will be a large amount of duplicate data in the cache, causing the cache Utilization rate is not high

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
  • Data caching method and device
  • Data caching method and device
  • Data caching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application.

[0055] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application are also intended to include plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any and all possible combinations of one or more of the a...

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 data caching method and device, which are applied to a caching module, and the caching module is used for managing a cache included in storage equipment. When the caching module receives a write command, to-be-written data included in the write command is identified, if the to-be-written data is composed of multiple pieces of repeated data, a cache space of a preset size is allocated to only one piece of repeated data, and the size of the cache space is far smaller than the size of a logic space corresponding to the write command. Caching resources can be effectively saved, the cache utilization rate is improved, and the overall performance of storage equipment is improved.

Description

technical field [0001] The present application relates to the field of storage technologies, and in particular to a data caching method and device. Background technique [0002] In order to improve the response speed of the storage device, a cache is usually used to terminate a write command of a Logical Unit Number (English: LogicalUnit Number, abbreviation: LUN). That is, after the data is written into the cache, the execution result is first returned to the LUN, and then the data in the cache is flushed to the disk according to the preset policy. [0003] When writing data into the cache, the cache space is usually allocated according to the size of the logical space corresponding to the write command (the logical space into which the data is to be written). In some special application scenarios, for example, when destroying a LUN, a write command will carry multiple duplicate destruction data. If the cache space is still allocated according to the logical space correspo...

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/06G06F12/0877
CPCG06F12/0653G06F12/0877
Inventor 上官应兰
Owner MACROSAN TECH
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