Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for dynamically adjusting reading order number and writing order number in storage device Cache

A technology of dynamic adjustment and storage equipment, applied in the direction of input/output to record carrier, etc., can solve the problems of inconvenience, unable to automatically adapt to the random read and write application model, and the system performance cannot be maximized, so as to improve the system performance. Effect

Active Publication Date: 2014-10-08
ZHEJIANG UNIVIEW TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing technology can only be changed manually according to the business situation, which is very inconvenient and cannot automatically adapt to various application models such as random read and write, sequential read and write, and pseudo-random read and write.
If the number of read and write commands fixedly configured cannot be well adapted to the current application model, it will cause the system performance to not be at its best

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 dynamically adjusting reading order number and writing order number in storage device Cache
  • Method and device for dynamically adjusting reading order number and writing order number in storage device Cache
  • Method and device for dynamically adjusting reading order number and writing order number in storage device Cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] Please refer to figure 2 , this embodiment includes the following implementation steps:

[0055] Step 21: Count the number of random write commands R_num and the total number of write commands T_num issued by the write cache within the cycle time T; and count the number of read commands Raid_r and the number of write commands Raid_w received by the RAID within the cycle time T.

[0056] Step 22. According to the random write pressure obtained by the R_num and T_num, the actual read and write pressure of the RAID layer obtained by Raid_r and Raid_w, and the upper limit of the total number of commands issued by the Cache, Up_n, dynamically adjust the distribution of the Cache layer The number of write commands Wn and the number of read commands Rn to the RAID layer.

[0057] The current system with the Cache layer processing module can count the commands sent to the RAID layer after the upper layer business reaches the write cache. The RAID layer processing module can ...

Embodiment 2

[0070] Please refer to image 3 , this embodiment includes the following implementation steps:

[0071] Step 31: Count the number of random read commands RR_num and the total number of read commands RT_num issued by the read cache within the cycle time T; and count the number of read commands Raid_r and the number of write commands Raid_w received by the RAID within the cycle time T.

[0072] Step 32, according to the random read pressure obtained by the RR_num and RT_num, the actual read and write pressure of the RAID layer obtained by Raid_r and Raid_w, and the upper limit of the total number of commands issued by the Cache Up_n to dynamically adjust the distribution of the Cache layer The number of write commands Wn and the number of read commands Rn to the RAID layer. .

[0073] The current system with the Cache layer processing module can also count the commands sent to the RAID layer after the upper-layer business reaches the write-read cache. The present invention ma...

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 dynamically adjusting the reading order number and the writing order number in a storage device Cache. The method comprises the steps that the random writing order number R_num and the total writing order number T_num which are issued by the writing Cache are counted within a periodic time T; the reading order number Raid_r and the writing order number Raid_w which are received by an RAID are counted within the periodic time T; the writing order number Wn and the reading order number Rn which are sent to an RAID layer by a Cache layer are dynamically adjusted according to the random writing pressure obtained by the R_num and the T_num, the actual reading and writing pressure, obtained by the Raid_r and the Raid_w, of the RAID layer and the upper limit value Up_n of the total order number issued by the Cache. The function that various order numbers can be obtained respectively through layers of an existing system is utilized, an arithmetic is designed and adjusted according to an actual situation which can be reflected through a relation of the order numbers, so that according to a service reading and writing situation, the issuing values of the reading order number and the writing order number of the Cache layer are finely and dynamically adjusted, and the system performance is better improved.

Description

technical field [0001] The invention relates to the technical field of video monitoring, in particular to a method and a device for dynamically adjusting the number of cache read and write commands. Background technique [0002] RAID (Redundant Array of Independent Disks, Redundant Array of Independent Disks) has been widely used in various fields of data reading and writing. In order to improve system performance, a RAID array usually introduces a cache memory. As we all know, Cache is the memory space allocated by the storage system for the array. [0003] A storage system structure such as figure 1 As shown, it is divided into business application layer, Cache layer, RAID control layer and physical disk layer. Among them, the Cache layer is a part of the system memory partitioned as the cache of the RAID array. If it is a read cache, the read-ahead function is usually used to provide system read performance; if it is a write cache, after the system business application...

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/06
Inventor 石岩陈继芬
Owner ZHEJIANG UNIVIEW TECH