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

A method and device for dynamically adjusting cache refresh strategy

A dynamic adjustment and caching technology, applied in the storage field, can solve problems such as video data cannot be read out, write performance degradation, data storage impact, etc., to achieve the effect of reducing the risk of power failure and improving write performance

Active Publication Date: 2017-02-01
ZHEJIANG UNIVIEW TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] If the high and low watermarks are not set well, it will have an adverse effect on data storage
For example, if the high and low watermarks are set too high, more data will be cached in the Cache. Once the storage device is powered off without UPS protection, the data will be lost.
Especially for monitoring business, random commands are more index information, once lost, it will cause a lot of video data to be unreadable; if the setting is too low, the writing performance will drop

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 method and device for dynamically adjusting cache refresh strategy
  • A method and device for dynamically adjusting cache refresh strategy
  • A method and device for dynamically adjusting cache refresh strategy

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to adapt to the situation that the size of the storage traffic changes significantly in some existing fields, the present invention provides a method for dynamically adjusting the cache refresh strategy. The method regularly monitors the occupation of the Cache space, and dynamically adjusts the high and low water levels of the Cache space, so as to increase the probability of swiping the storage array with striped data while ensuring that data will not be lost. The following describes in detail through specific embodiments.

[0018] The method for dynamically adjusting a cache refresh policy in this embodiment is applied to a storage device. For the implementation process of this method, please refer to figure 1 .

[0019] Step S11, determining the current quota utilization rate E of the storage array when the first timer expires;

[0020] Step S12, judging whether the quota utilization rate E is in a different quota utilization rate range from the quota ut...

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 method for dynamic regulation of a cache refreshing strategy. The method comprises the steps that A, when a first timer exceeds a set time, the quota use rate of an array is determined; B, whether the quota use rate and the quota use rate determined in the last loop are in different quota use rate regions or not is determined, if yes, the step C is conducted, and if not, the step D is conduced, wherein each quota use rate region corresponds to one preset high / low water-level line; C, the high / low water-level line of the array written in Cache space is adjusted to the preset high / low water-level line and the step A is conducted, wherein the preset high / low water-level line is a high / low water-level line corresponding to the quota use rate region where the current quota use rate is located; D, the high / low water-level line of the array written in the Cache space is not adjusted and the step A is conducted. The written cache quota use rate change is detected in real time, the use condition of the Cache written by a current user is judged, the refreshed high / low water-level line is dynamically adjusted, and the improvement of the writing performance and reduction of the risk of power down are facilitated.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method and device for dynamically adjusting a cache refresh strategy. Background technique [0002] The ultimate goal of storage is to write data to the disk; however, since the response speed of the disk usually cannot keep up with the needs of the upper-level business, it is usually necessary to increase the write cache. Moreover, in the current general-purpose storage products, Cache (high-speed cache memory, located between the CPU and the memory, small in scale but high in speed; usually composed of SRAM) is also used to improve the write performance of the array. Taking RAID5 as an example, after business data is written to the cache, the data in the cache will be flushed to the disk array if it can form a whole stripe. However, in the case of many random write commands, the chance of compiling the entire stripe to be flushed is reduced, which increases the data in the ...

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/0804G06F12/0871
Inventor 吴会堂许勇
Owner ZHEJIANG UNIVIEW 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