Cache space distribution method and device

A space allocation and caching technology, applied in the field of data management, which can solve the problem of low utilization of cache space.

Inactive Publication Date: 2014-05-07
HUAWEI TECH CO LTD
View PDF3 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a cache space allocation method to solve the problem that existi

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 space distribution method and device
  • Cache space distribution method and device
  • Cache space distribution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0056] The embodiment of the present invention provides a cache space allocation method to solve the problem that existing cache space allocation methods cannot accurately match business requirements, resulting in low cache space utilization.

[0057] Wherein, the cache space allocation method disclosed in the embodiment of the present invention is applied to a storage device, see figure 1 , the storage device provided by the embodiment of the present inventio...

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 embodiment of the invention provides a cache space distribution method and device. The method is applied to storage equipment comprising a cache; the space of the cache is divided into multiple cache areas, wherein the minimum unit of storage data of each cache area is different; the method comprises the steps of acquiring a data reading request, wherein the data reading request is carried with the data size of target data; determining the target cache area corresponding to the target data according to the data size of the target data, wherein the data size of the target data is smaller than or equal to the minimum unit of the storage data of the target cache area; amending a countering value which is used for indicating the access times of the target cache area; determining the capacity rate of the target cache area in the cache space according to the amended countering value; adjusting the capacity of the target cache area according to the cache rate. By the cache space distribution method, the problem that the utilization rate of the cache space is low as demands on a service cannot be precisely realized by the existing cache space distribution method.

Description

technical field [0001] The invention relates to the technical field of data management, in particular to a cache space allocation method and device. Background technique [0002] In order to improve data storage and access speed, data is usually cached in a high-speed cache, for example: SSD (Solid State Disk, solid state drive). [0003] Specifically, when the data corresponding to multiple services needs to be cached, it is necessary to allocate a cache space for each service first, and then cache the cached data of different services into the allocated cache space. However, after the system runs for a period of time, the cache data of each service will be adjusted. At this time, there will be a situation where the cache space of one service is insufficient, while the cache space of another service is too much, then the user needs to adjust Cache space allocation, delete part of the cache space corresponding to the business with too much cache space, and add the correspon...

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
IPC IPC(8): G06F12/08G06F12/0871
Inventor 周后兵
Owner HUAWEI TECH 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