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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap