Method and device for configurating cache and electronic equipment and data read-write equipment
An electronic device and cache technology, applied in the information field, can solve the problems of wasting system bandwidth, fixed computing bandwidth, fixed RAID engine structure, etc., and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] Embodiments of the present invention provide a method for configuring a cache in a RAID computing system, such as figure 1 as shown, figure 1 It is a block flow diagram of a method for configuring a cache in a RAID computing system according to Embodiment 1 of the present invention, and the flow includes the following steps:
[0033] 101. Obtain the number of hard disks in the RAID computing system and the amount of data read and written in a single time;
[0034] 102. Divide the storage area of the cache in the RAID computing system according to the size of the cache in the RAID computing system, the number of the hard disks, and the amount of data read and written in a single time.
[0035] In this embodiment, step 101 can obtain the number of hard disks in the RAID computing system and the data volume of a single read and write through the software configuration register, and the data volume of the single read and write is a single time for each storage area in th...
Embodiment 2
[0041] Embodiments of the present invention provide a method for configuring a cache in a RAID computing system, such as figure 2 as shown, figure 2 It is a block flow diagram of a method for configuring a cache in a RAID computing system according to Embodiment 2 of the present invention, and the flow includes the following steps:
[0042] 201. Obtain the number n of hard disks in the RAID computing system and the amount p of data read and written in a single time.
[0043] Specifically, the number of hard disks in the RAID computing system and the data volume of a single read and write can be obtained through the software configuration register, and the data volume of a single read and write is based on the preset cache status in the RAID computing system The value of , which represents the size of the data volume for a single read and write of the storage area in the cache, and the strategy set by it will not be discussed in the present invention. The number of hard dis...
Embodiment 3
[0061] Embodiments of the present invention provide a method for reading and writing data in a cache in a RAID computing system, such as Figure 3a as shown, Figure 3a It is a flow chart of Embodiment 3 of the present invention, and the flow includes the following steps:
[0062] 301. Obtain the number n of hard disks in the RAID computing system and the amount p of data read and written in a single time.
[0063] 302. Acquire cache address line widths x1 and x2 corresponding to the number n of hard disks and the amount p of data read and written in a single time.
[0064] 303. According to the total address line width X of the cache, the address line width corresponding to the number of hard disks in the system, and the address line width corresponding to the amount of data read and written in a single time, obtain the number K of storage areas divided in the cache, where K=2 (x-x1-x2) .
[0065] 304. Divide storage areas in the cache according to the obtained number of ...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com