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 re

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 als

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 mainl

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

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

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
Owner ZHEJIANG UNIVIEW TECH
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