A method and device for automatically adjusting cache refresh parameters

A parameter adjustment and automatic technology, which is applied in the direction of program control device, program loading/starting, input/output to record carrier, etc., can solve the problems affecting business performance, business model, disc IO processing capacity difference of business volume, business model and business Quantitative changes, etc.

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

AI Technical Summary

Problems solved by technology

This processing method does not distinguish between business models, business volumes, and disk IO processing capabilities
In fact, there may be differences in the business model, business volume, and disk IO processing capabilities on different arrays, and even the business model and business volume on the same array may also change.
If the cache is refreshed with a fixed threshold, not only the maximum effect of the cache cannot be exerted, but also the performance of the business may be affected

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Aiming at the technical problems mentioned in the background art, the present invention proposes a scheme for automatically adjusting Cache refresh parameters, and the scheme is applied to a storage array. The scheme of the present invention can write the data in the Cache to the disk as soon as possible when the business pressure is not high, so as to ensure the safety of the data; when the business pressure is high, the business performance can be guaranteed to meet the requirements by adjusting the Cache refresh parameters. Describe in detail below through specific embodiment.

[0036] Please see first figure 2 . figure 2 It is a flow chart for determining whether to perform Cache refresh parameter adjustment.

[0037] S21. Detect the flow of the array every T seconds.

[0038] S22. Determine whether there is read traffic on the array, if yes, execute step S23, otherwise execute step S24.

[0039] S23, enter into the process of dynamically adjusting the cache r...

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 present invention provides a method for automatically adjusting Cache refresh parameters. The method includes: A. judging whether the disk array has read traffic, and if so, performing step B; strategy, each time the high and low watermarks are adjusted to the preset value until the high and low watermark refresh strategy is not met; or, when the average waiting time of each device I / O operation await value of not every disk in the array is less than the preset threshold When A, the number of stripes in the stripe refresh policy is increased by the preset value each time until the await values ​​of all disks in the array are less than the preset threshold A. The scheme of the present invention can write the data in the Cache to the disk as soon as possible when the business pressure is not high, so as to ensure the safety of the data; when the business pressure is high, the business performance can be guaranteed to meet the requirements by adjusting the Cache refresh parameters.

Description

technical field [0001] The invention relates to the technical field of video monitoring, in particular to a method and device for automatically adjusting Cache refreshing parameters. Background technique [0002] Due to its authenticity, reliability, and universality, video surveillance technology has been widely used and developed rapidly in various industries such as security, transportation, finance, and education. The front-end encoding device writes the video data into the SAN resource of the back-end storage controller in the form of block direct storage. In order to improve performance, video data is usually stored using a cache memory Cache. The storage device allocates a certain cache space for each array, and returns success to the upper layer directly after the business data is written to the cache. The location of the Cache in the storage device such as figure 1 shown. [0003] The size of the Cache space is fixed, and data cannot be stored indefinitely. 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): G06F3/06G06F9/445
Inventor 陈继芬石岩
Owner ZHEJIANG UNIVIEW 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