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

Method and device for automatically adjusting Cache refreshing parameters

A parameter adjustment and automatic technology, applied in the direction of program control device, program loading/starting, input/output to record carrier, etc., can solve problems such as not being able to play the maximum role of Cache, business model and business volume changes, affecting business performance, etc.

Active Publication Date: 2014-10-08
ZHEJIANG UNIVIEW TECH
View PDF3 Cites 3 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
  • Method and device for automatically adjusting Cache refreshing parameters
  • Method and device for automatically adjusting Cache refreshing parameters
  • Method and device for automatically adjusting Cache refreshing 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 invention provides a method for automatically adjusting Cache refreshing parameters. The method includes the steps that firstly, whether read flow exists in a disk array or not is judged, and if yes, the second step is executed; secondly, when a refreshing strategy executed currently by the array is a high-low water line refreshing strategy, a high-low water line is up adjusted by a preset value each time until the high-low water line refreshing strategy is not met, or when the average equipment I / O operation waiting time await values each time of all disks in the array are not all smaller than a preset threshold value A, the number of bands in a band refreshing strategy is up adjusted by a preset value until the await values of all the disks in the array are smaller than the preset threshold value A. According to the scheme, when the service pressure is not high, data in the Cache can be written into the disks as soon as possible, and safety of the data is ensured; when the service pressure is high, the service performance can be met by adjusting the Cache refreshing 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
IPC IPC(8): G06F3/06G06F9/445
Inventor 陈继芬石岩
Owner ZHEJIANG UNIVIEW TECH
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