A multi-volume cache flushing management system and method

Through the multi-volume cache flush management system, real-time monitoring and management of the cache module and BBU module solves the problem of cluster performance degradation caused by multi-volume cache flush and improves the availability and performance stability of the entire system.

CN114721598BActive Publication Date: 2024-10-18INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210412208.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-19
Publication Date
2024-10-18
Estimated Expiration
2042-04-19

AI Technical Summary

Technical Problem

Flushing multiple volumes of cache in multi-control array storage causes cluster performance to degrade, affecting the overall system availability. It is difficult to effectively manage and balance the timing of cache swap-in and swap-out using existing technology.

Method used

Design a multi-volume cache flush management system, including a multi-volume cache flush management module, a cache module, a disk array module and a BBU module. By monitoring the flush speed in real time and calculating the maximum amount of data that can be carried according to the data pattern, the cache The module and BBU module are dynamically managed to achieve strategic cache flush control.

Benefits of technology

Without affecting reliability, it improves cluster performance stability, improves the availability of the entire system, and simplifies the structure, which has broad application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114721598B_ABST
    Figure CN114721598B_ABST
Patent Text Reader

Abstract

The present invention provides a multi-volume cache flush management system and method, belonging to the field of storage technology, the system includes a multi-volume cache flush management module, a cache module, a disk array module and a BBU module; the multi-volume cache flush management module is connected to the cache module, the disk array module and the BBU module, and the cache module is also connected to the BBU module and the disk array module; the multi-volume cache flush management module is used to monitor the flush speed of the cache module to the disk array module in real time, manage the flush of the cache module to the disk array module according to the maximum amount of data that can be carried under each data mode, and manage the BBU module. The present invention dynamically manages the BBU module, the cache module and the disk array module through the multi-volume cache flush management module, especially performs strategic cache flush control in the performance mode, ensures the stability of cluster performance without affecting reliability, and thus improves the availability of the whole system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of storage technology, and in particular relates to a multi-volume cache flushing management system and method. Background Art

[0002] Currently, multi-control array storage usually uses cache to improve the performance of the whole machine. Generally, the performance of multiple volumes in the cluster is required to be evenly distributed. Even if the performance of each volume is random and uneven locally, it is still approximately balanced overall. However, local imbalances can easily lead to different timings for cache swapping in and out of each volume. If it happens to coincide with the multi-volume cache being flushed, it is very easy to cause cluster performance to decline, thereby affecting the availability of the entire system.

[0003] This is a shortcoming of the prior art. Therefore, it is very necessary to provide a multi-volume cache flushing management system and method to address the above defects in the prior art. Summary of the invention

[0004] In view of the defect of the prior art that if multiple volumes in a storage cluster are unevenly distributed, flushing of multiple volume caches will cause cluster performance to degrade, affecting the availability of the entire system, the present invention provides a multi-volume cache flushing management system and method to solve the above technical problems.

[0005] In a first aspect, the present invention provides a multi-volume cache flush management system, including a multi-volume cache flush management module, a cache module, a disk array module and a BBU module;

[0006] The multi-volume cache flush management module is connected to the cache module, the disk array module and the BBU module, and the cache module is also connected to the BBU module and the disk array module;

[0007] The multi-volume cache flush management module is used to monitor the flush speed of the cache module to the disk array module in real time, manage the flushing of the cache module to the disk array module according to the maximum data volume that can be carried under each data mode, and manage the BBU module.

[0008] Further, the cache module includes a memory and a cache;

[0009] The cache module is controlled by the multi-volume cache flush management module, and sends the flush speeds of the standard large data blocks and the standard small data blocks in the sequential write scenario and the random write scenario to the multi-volume cache flush management module;

[0010] The disk array module controls the multi-volume cache flush management module and receives the flush data from the cache module;

[0011] The BBU module is controlled by the multi-volume cache flush management module and provides backup power for the cache modules in each data mode.

[0012] Furthermore, it also includes a serial port module, an indication module and a wireless module;

[0013] The serial port module is connected to the multi-volume cache flushing management module, the indication module and the wireless module;

[0014] The serial port module is used to exchange information with the multi-volume cache flush management module, preset parameters, and enable corresponding functions;

[0015] The indication module is used to be controlled by the serial port module and indicate the real-time status of the multi-volume cache flushing management module externally;

[0016] The wireless module is used to convert the serial port module signal into a WIFI signal to realize the wireless connection between the multi-volume cache flushing management module and the outside.

[0017] Furthermore, the multi-volume cache flush management module, cache module, disk array module and indication module are all arranged on the board.

[0018] Furthermore, the multi-volume cache flush management module uses a programmable logic device, such as an ARM single-chip microcomputer.

[0019] In a second aspect, the present invention provides a multi-volume cache flush management method based on the first aspect, comprising the following steps:

[0020] S1. The multi-volume cache flush management module monitors the flush speed of the cache module to the disk array module in real time;

[0021] S2. The multi-volume cache flush management module calculates the maximum amount of data that the disk array module can carry in each data mode;

[0022] S3. The multi-volume cache flush management module manages the flushing of the cache module to the disk array module and manages the BBU module according to the maximum amount of data that the disk array module can carry in each data mode.

[0023] Furthermore, the specific steps of step S1 are as follows:

[0024] S11. The multi-volume cache flush management module monitors the flush speed of the cache module to the disk array module;

[0025] S12. The multi-volume cache flush management module statistics cache module flushes the disk array module using a standard large data block in a sequential write scenario;

[0026] S13. The multi-volume cache flush management module statistics cache module flushes the disk array module using standard small data blocks in a sequential write scenario;

[0027] S14. The multi-volume cache flush management module statistics cache module flush speed of the disk array module using standard large data blocks in random write scenarios;

[0028] S15. The multi-volume cache flush management module counts the flush speed of the cache module to the disk array module using standard small data blocks in a random write scenario.

[0029] Furthermore, the standard large data block is a 256KB data block, and the standard small data block is a 4KB data block.

[0030] Furthermore, the specific steps of step S2 are as follows:

[0031] S21. The multi-volume cache flush management module determines whether the cache module has a standard small data block random write mode for flushing to the disk array module;

[0032] If yes, go to step S22;

[0033] If not, proceed to step S23;

[0034] S22. The multi-volume cache flush management module aggregates the standard small data block random write into the standard large data block sequential write;

[0035] S23. The multi-volume cache flush management module determines the first maximum amount of data that the back-end disk array module can carry in the high-performance mode at the same time according to the maximum data volume calculation formula;

[0036] S24. The multi-volume cache flush management module determines the second maximum amount of data that the back-end disk array module can carry in the normal performance mode at the same time according to the maximum data volume calculation formula;

[0037] S25. The multi-volume cache flush management module determines the third maximum data volume in the high-reliability mode that the back-end disk array module can carry at the same time according to the maximum data volume calculation formula.

[0038] Furthermore, the maximum data volume calculation formula is: maximum data volume > number of volumes flushed simultaneously × flushing speed. Standard small data block random writes are aggregated into standard large data block sequential writes, which do not occupy the system CPU computing power and are offloaded to the dedicated hardware module of the multi-volume cache flushing management module.

[0039] Furthermore, the specific steps of step S3 are as follows:

[0040] S31. The multi-volume cache flush management module determines the data mode of the disk array module;

[0041] When the data mode is the high performance mode, proceed to step S32;

[0042] When the data mode is the normal performance mode, go to step S33;

[0043] When the data mode is the high reliability mode, proceed to step S34;

[0044] S32. The multi-volume cache flush management module sets the maximum ratio of the number of volumes flushed simultaneously in the high-performance mode to the total number of volumes, and sets the backup power mode of the BBU module, determines whether to start the flush thread, and determines whether to directly flush the volume;

[0045] S33. The multi-volume cache flush management module sets the maximum ratio of the number of volumes flushed at the same time in the normal performance mode to the total number of volumes, and sets the backup power mode of the BBU module, determines whether to start the flush thread, and determines whether to directly flush the volume;

[0046] S34. The multi-volume cache flush management module sets the maximum ratio of the number of volumes flushed simultaneously to the total number of volumes in the high reliability mode, sets the backup power mode of the BBU module, determines whether to start the flush thread, and determines whether to directly flush the volume.

[0047] Furthermore, the specific steps of step S32 are as follows:

[0048] S321. The multi-volume cache flush management module sets the upper limit of the ratio of the number of volumes that the cache module flushes to the disk array module at the same time to the total number of volumes to a first ratio A%;

[0049] S322. The multi-volume cache flush management module determines whether the ratio of the number of volumes to be flushed to the total number of volumes exceeds a second ratio B%;

[0050] If yes, go to step S323;

[0051] If not, proceed to step S324;

[0052] S323. The multi-volume cache flush management module activates a flush thread to perform volume flushing;

[0053] S324. The multi-volume cache flush management module determines whether the dirty page ratio exceeds a third ratio C%;

[0054] If yes, go to step S325;

[0055] If not, proceed to step S326;

[0056] S325. The multi-volume cache flush management module directly flushes the volume, and returns to step S324;

[0057] S326. The multi-volume cache flush management module notifies the BBU module to enter the maximum one-time backup power mode to increase the available write cache capacity of the storage cluster;

[0058] The specific steps of step S33 are as follows:

[0059] S331. The multi-volume cache flush management module sets the upper limit of the ratio of the number of volumes that the cache module flushes to the disk array module at the same time to the total number of volumes to the fourth ratio A1%;

[0060] S332. The multi-volume cache flush management module determines whether the ratio of the number of volumes to be flushed to the total number of volumes exceeds the fifth ratio B1%;

[0061] If yes, go to step S333;

[0062] If not, proceed to step S334;

[0063] S333. The multi-volume cache flush management module activates a flush thread to perform volume flushing;

[0064] S334. The multi-volume cache flush management module determines whether the dirty page ratio exceeds the sixth ratio C1%;

[0065] If yes, go to step S335;

[0066] If not, proceed to step S336;

[0067] S335. The multi-volume cache flush management module directly flushes the volume, and returns to step S334;

[0068] S336. The multi-volume cache flush management module notifies the BBU module to enter the maximum secondary backup power mode;

[0069] The specific steps of step S34 are as follows:

[0070] S341. The multi-volume cache flush management module sets the upper limit of the proportion of the number of volumes that the cache module flushes to the disk array module at the same time to the total number of volumes to the seventh proportion A2%;

[0071] S342. The multi-volume cache flush management module determines whether the ratio of the number of volumes to be flushed to the total number of volumes exceeds the eighth ratio B2%;

[0072] If yes, go to step S343;

[0073] If not, proceed to step S344;

[0074] S343. The multi-volume cache flush management module activates a flush thread to perform volume flushing;

[0075] S344. The multi-volume cache flush management module determines whether the dirty page ratio exceeds the ninth ratio C2%;

[0076] If yes, go to step S345;

[0077] If not, proceed to step S346;

[0078] S345. The multi-volume cache flush management module directly flushes the volume, and returns to step S344;

[0079] S346. The multi-volume cache flush management module notifies the BBU module to enter the maximum secondary backup power mode. A, B, C, A1, B1, C1, A2, B2 and C2 are system preset parameters and can be adjusted in the system or through the serial port module.

[0080] The beneficial effects of the present invention are:

[0081] The multi-volume cache flushing management system and method provided by the present invention dynamically manages the BBU module, cache module and disk array module through the multi-volume cache flushing management module, especially performs strategic cache flushing management and control in performance mode, thereby ensuring the stability of cluster performance without affecting reliability, thereby improving the availability of the entire system.

[0082] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect.

[0083] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0085] Figure 1 It is a schematic diagram of the multi-volume cache flushing management system of the present invention.

[0086] Figure 2 It is a flow chart of Embodiment 3 of the multi-volume cache flushing management method of the present invention.

[0087] Figure 3 It is a flow chart of Embodiment 4 of the multi-volume cache flushing management method of the present invention.

[0088] In the figure, 1-multi-volume cache flush management module; 2-cache module; 3-disk array module; 4-BBU module; 5-serial port module; 6-indicator module; 7-wireless module. DETAILED DESCRIPTION

[0089] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0090] BBU is the abbreviation of Battery Backup Unit, which is a battery backup module.

[0091] Embodiment 1:

[0092] like Figure 1 As shown, the present invention provides a multi-volume cache flush management system, including a multi-volume cache flush management module 1, a cache module 2, a disk array module 3 and a BBU module 4;

[0093] The multi-volume cache flush management module 1 is connected to the cache module 2, the disk array module 3 and the BBU module 4, and the cache module 2 is also connected to the BBU module 4 and the disk array module 3;

[0094] The multi-volume cache flush management module 1 is used to monitor the flush speed of the cache module 2 to the disk array module 3 in real time, manage the flushing of the cache module 2 to the disk array module 3 according to the maximum data volume that can be carried under each data mode, and manage the BBU module 4.

[0095] Embodiment 2:

[0096] like Figure 1 As shown, the present invention provides a multi-volume cache flush management system, including a multi-volume cache flush management module 1, a cache module 2, a disk array module 3 and a BBU module 4;

[0097] The multi-volume cache flushing management module 1 is connected to the cache module 2, the disk array module 3 and the BBU module 4. The cache module 2 is also connected to the BBU module 4 and the disk array module 3. The multi-volume cache flushing management module 1 adopts a programmable logic device.

[0098] The multi-volume cache flushing management module 1 is used to monitor the flushing speed of the cache module 2 to the disk array module 3 in real time, manage the flushing of the cache module 2 to the disk array module 3 according to the maximum amount of data that can be carried in each data mode, and manage the BBU module 4;

[0099] The cache module 2 includes a memory and a cache;

[0100] The cache module 2 is controlled by the multi-volume cache flushing management module 1, and sends the flushing speeds of the standard large data blocks and the standard small data blocks in the sequential writing scenario and the random writing scenario to the multi-volume cache flushing management module 1;

[0101] The disk array module 3 controls the multi-volume cache flushing management module 1 and receives the flushing data from the cache module 2;

[0102] The BBU module 4 is controlled by the multi-volume cache flush management module 1 and provides backup power for the cache modules 2 in each data mode;

[0103] It also includes a serial port module 5, an indication module 6 and a wireless module 7;

[0104] The serial port module 5 is connected to the multi-volume cache flushing management module 1, the indication module 6 and the wireless module 7;

[0105] The serial port module 5 is used to exchange information, preset parameters and enable corresponding functions with the multi-volume cache flushing management module 1;

[0106] The indication module 6 is used to be controlled by the serial port module 5 and to indicate the real-time status of the multi-volume cache flushing management module 1 to the outside.

[0107] The wireless module 7 is used to convert the signal of the serial port module 5 into a WIFI signal, so as to realize the wireless connection between the multi-volume cache flushing management module 1 and the outside;

[0108] The multi-volume cache flushing management module 1, the cache module 2, the disk array module 3 and the indication module 6 are all arranged on the board.

[0109] Embodiment 3:

[0110] like Figure 2 As shown, the present invention provides a multi-volume cache flush management method based on the above-mentioned embodiment 1 or embodiment 2, comprising the following steps:

[0111] S1. The multi-volume cache flush management module monitors the flush speed of the cache module to the disk array module in real time;

[0112] S2. The multi-volume cache flush management module calculates the maximum amount of data that the disk array module can carry in each data mode;

[0113] S3. The multi-volume cache flush management module manages the flushing of the cache module to the disk array module and manages the BBU module according to the maximum amount of data that the disk array module can carry in each data mode.

[0114] Embodiment 4:

[0115] like Figure 3As shown, the present invention provides a multi-volume cache flush management method based on the above-mentioned embodiment 1 or embodiment 2, comprising the following steps:

[0116] S1. The multi-volume cache flush management module monitors the flush speed of the cache module to the disk array module in real time; the specific steps are as follows:

[0117] S11. The multi-volume cache flush management module monitors the flush speed of the cache module to the disk array module;

[0118] S12. The multi-volume cache flush management module statistics cache module flushes the disk array module using a standard large data block in a sequential write scenario;

[0119] S13. The multi-volume cache flush management module statistics cache module flushes the disk array module using standard small data blocks in a sequential write scenario;

[0120] S14. The multi-volume cache flush management module statistics cache module flush speed of the disk array module using standard large data blocks in random write scenarios;

[0121] S15. The multi-volume cache flush management module statistics cache module flush speed of the disk array module using standard small data blocks in random write scenarios;

[0122] The standard large data block is a 256KB data block, and the standard small data block is a 4KB data block;

[0123] S2. The multi-volume cache flush management module calculates the maximum amount of data that the disk array module can carry in each data mode; the specific steps are as follows:

[0124] S21. The multi-volume cache flush management module determines whether the cache module has a standard small data block random write mode for flushing to the disk array module;

[0125] If yes, go to step S22;

[0126] If not, proceed to step S23;

[0127] S22. The multi-volume cache flush management module aggregates the standard small data block random write into the standard large data block sequential write;

[0128] S23. The multi-volume cache flush management module determines the first maximum amount of data that the back-end disk array module can carry in the high-performance mode at the same time according to the maximum data volume calculation formula;

[0129] S24. The multi-volume cache flush management module determines the second maximum amount of data that the back-end disk array module can carry in the normal performance mode at the same time according to the maximum data volume calculation formula;

[0130] S25. The multi-volume cache flush management module determines the third maximum amount of data that the back-end disk array module can carry in the high-reliability mode at the same time according to the maximum data volume calculation formula;

[0131] The formula for calculating the maximum data volume is: maximum data volume > number of volumes refreshed simultaneously × refresh speed;

[0132] S3. The multi-volume cache flush management module manages the flushing of the cache module to the disk array module and the BBU module according to the maximum amount of data that the disk array module can carry in each data mode. The specific steps are as follows:

[0133] S31. The multi-volume cache flush management module determines the data mode of the disk array module;

[0134] When the data mode is the high performance mode, proceed to step S32;

[0135] When the data mode is the normal performance mode, go to step S33;

[0136] When the data mode is the high reliability mode, proceed to step S34;

[0137] S32. The multi-volume cache flush management module sets the maximum ratio of the number of volumes flushed simultaneously in the high-performance mode to the total number of volumes, and sets the backup power mode of the BBU module, determines whether to start the flush thread, and determines whether to directly flush the volume; end;

[0138] S33. The multi-volume cache flush management module sets the maximum ratio of the number of volumes flushed simultaneously in the normal performance mode to the total number of volumes, and sets the backup power mode of the BBU module, determines whether to start the flush thread, and determines whether to directly flush the volume; end;

[0139] S34. The multi-volume cache flush management module sets the maximum ratio of the number of volumes flushed simultaneously to the total number of volumes in the high reliability mode, sets the backup power mode of the BBU module, determines whether to start the flush thread, and determines whether to directly flush the volume.

[0140] In the above embodiment 4, the specific steps of step S32 are as follows:

[0141] S321. The multi-volume cache flush management module sets the upper limit of the ratio of the number of volumes that the cache module flushes to the disk array module at the same time to the total number of volumes to 20%;

[0142] S322. The multi-volume cache flush management module determines whether the ratio of the number of volumes to be flushed to the total number of volumes exceeds 90%;

[0143] If yes, go to step S323;

[0144] If not, proceed to step S324;

[0145] S323. The multi-volume cache flush management module activates a flush thread to perform volume flushing;

[0146] S324. The multi-volume cache flush management module determines whether the dirty page ratio exceeds 85%;

[0147] If yes, go to step S325;

[0148] If not, proceed to step S326;

[0149] S325. The multi-volume cache flush management module directly flushes the volume, and returns to step S324;

[0150] S326. The multi-volume cache flush management module notifies the BBU module to enter the maximum one-time backup power mode to increase the available write cache capacity of the storage cluster;

[0151] The specific steps of step S33 are as follows:

[0152] S331. The multi-volume cache flush management module sets the upper limit of the proportion of volumes that the cache module flushes to the disk array module at the same time to 50% of the total number of volumes;

[0153] S332. The multi-volume cache flush management module determines whether the ratio of the number of volumes to be flushed to the total number of volumes exceeds 80%;

[0154] If yes, go to step S333;

[0155] If not, proceed to step S334;

[0156] S333. The multi-volume cache flush management module activates a flush thread to perform volume flushing;

[0157] S334. The multi-volume cache flush management module determines whether the dirty page ratio exceeds 70%;

[0158] If yes, go to step S335;

[0159] If not, proceed to step S336;

[0160] S335. The multi-volume cache flush management module directly flushes the volume, and returns to step S334;

[0161] S336. The multi-volume cache flush management module notifies the BBU module to enter the maximum secondary backup power mode;

[0162] The specific steps of step S34 are as follows:

[0163] S341. The multi-volume cache flush management module sets the upper limit of the proportion of volumes that the cache module flushes to the disk array module at the same time to 90% of the total number of volumes;

[0164] S342. The multi-volume cache flush management module determines whether the ratio of the number of volumes to be flushed to the total number of volumes exceeds 50%;

[0165] If yes, go to step S343;

[0166] If not, proceed to step S344;

[0167] S343. The multi-volume cache flush management module activates a flush thread to perform volume flushing;

[0168] S344. The multi-volume cache flush management module determines whether the dirty page ratio exceeds 40%;

[0169] If yes, go to step S345;

[0170] If not, proceed to step S346;

[0171] S345. The multi-volume cache flush management module directly flushes the volume, and returns to step S344;

[0172] S346. The multi-volume cache flush management module notifies the BBU module to enter the maximum secondary backup power mode.

[0173] Although the present invention has been described in detail by referring to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A multi-volume cache flushing management system, characterized in that: It comprises a multi-volume cache flushing management module (1), a cache module (2), a disk array module (3) and a BBU module (4); The multi-volume cache flushing management module (1) is connected to the cache module (2), the disk array module (3) and the BBU module (4); the cache module (2) is also connected to the BBU module (4) and the disk array module (3); A multi-volume cache flushing management module (1) is used to monitor in real time the flushing speed of the cache module (2) to the disk array module (3), manage the flushing of the cache module (2) to the disk array module (3) according to the maximum amount of data that can be carried in each data mode, and manage the BBU module (4); The cache module (2) includes a memory and a cache; The cache module (2) is controlled by the multi-volume cache flushing management module (1), and sends the flushing speed of the standard large data block and the standard small data block in the sequential writing scenario and the random writing scenario to the multi-volume cache flushing management module (1); The disk array module (3) controls the multi-volume cache flushing management module (1) and receives the flushing data from the cache module (2); The BBU module (4) is controlled by the multi-volume cache flush management module (1) and provides backup power for the cache module (2) in each data mode; It also includes a serial port module (5), an indication module (6) and a wireless module (7); The serial port module (5) is connected to the multi-volume cache flushing management module (1), the indication module (6) and the wireless module (7); The serial port module (5) is used to perform information exchange, parameter preset and corresponding function activation with the multi-volume cache flush management module (1); An indication module (6) is used to be controlled by the serial port module (5) and to indicate externally the real-time status of the multi-volume cache flushing management module (1); The wireless module (7) is used to convert the serial port module (5) signal into a WIFI signal, thereby realizing wireless connection between the multi-volume cache refresh management module (1) and the outside.

2. The multi-volume cache flush management system according to claim 1, characterized in that: The multi-volume cache flushing management module (1), the cache module (2), the disk array module (3) and the indication module (6) are all arranged on a board.

3. The multi-volume cache flush management system according to claim 1, characterized in that: The multi-volume cache flush management module (1) adopts a programmable logic device.

4. A multi-volume cache flush management method based on any one of claims 1 to 3, characterized in that: The steps include: S1. The multi-volume cache flush management module monitors the flush speed of the cache module to the disk array module in real time; S2. The multi-volume cache flush management module calculates the maximum amount of data that the disk array module can carry in each data mode; S3. The multi-volume cache flush management module manages the flushing of the cache module to the disk array module and manages the BBU module according to the maximum amount of data that the disk array module can carry in each data mode.

5. The multi-volume cache flush management method according to claim 4, characterized in that: The specific steps of step S1 are as follows: S11. The multi-volume cache flush management module monitors the flush speed of the cache module to the disk array module; S12. The multi-volume cache flush management module statistics cache module flushes the disk array module using a standard large data block in a sequential write scenario; S13. The multi-volume cache flush management module statistics cache module flushes the disk array module using standard small data blocks in a sequential write scenario; S14. The multi-volume cache flush management module statistics cache module flush speed of the disk array module using standard large data blocks in random write scenarios; S15. The multi-volume cache flush management module counts the flush speed of the cache module to the disk array module using standard small data blocks in a random write scenario.

6. The multi-volume cache flush management method according to claim 4, characterized in that: The specific steps of step S2 are as follows: S21. The multi-volume cache flush management module determines whether the cache module has a standard small data block random write mode for flushing to the disk array module; If yes, go to step S22; If not, proceed to step S23; S22. The multi-volume cache flush management module aggregates the standard small data block random write into the standard large data block sequential write; S23. The multi-volume cache flush management module determines the first maximum amount of data that the back-end disk array module can carry in the high-performance mode at the same time according to the maximum data volume calculation formula; S24. The multi-volume cache flush management module determines the second maximum amount of data that the back-end disk array module can carry in the normal performance mode at the same time according to the maximum data volume calculation formula; S25. The multi-volume cache flush management module determines the third maximum data volume in the high-reliability mode that the back-end disk array module can carry at the same time according to the maximum data volume calculation formula.

7. The multi-volume cache flush management method according to claim 4, characterized in that: The specific steps of step S3 are as follows: S31. The multi-volume cache flush management module determines the data mode of the disk array module; When the data mode is the high performance mode, proceed to step S32; When the data mode is the normal performance mode, go to step S33; When the data mode is the high reliability mode, proceed to step S34; S32. The multi-volume cache flush management module sets the maximum ratio of the number of volumes flushed simultaneously in the high-performance mode to the total number of volumes, and sets the backup power mode of the BBU module, determines whether to start the flush thread, and determines whether to directly flush the volume; end; S33. The multi-volume cache flush management module sets the maximum ratio of the number of volumes flushed simultaneously in the normal performance mode to the total number of volumes, and sets the backup power mode of the BBU module, determines whether to start the flush thread, and determines whether to directly flush the volume; end; S34. The multi-volume cache flush management module sets the maximum ratio of the number of volumes flushed simultaneously to the total number of volumes in the high reliability mode, sets the backup power mode of the BBU module, determines whether to start the flush thread, and determines whether to directly flush the volume.

8. The multi-volume cache flush management method according to claim 4, characterized in that: The specific steps of step S32 are as follows: S321. The multi-volume cache flushing management module sets the upper limit of the ratio of the number of volumes that the cache module flushes to the disk array module at the same time to the total number of volumes to a first ratio A; S322. The multi-volume cache flush management module determines whether the ratio of the number of volumes to be flushed to the total number of volumes exceeds a second ratio B; If yes, go to step S323; If not, proceed to step S324; S323. The multi-volume cache flush management module activates a flush thread to perform volume flushing; S324. The multi-volume cache flush management module determines whether the dirty page ratio exceeds the third ratio C%; If yes, go to step S325; If not, proceed to step S326; S325. The multi-volume cache flush management module directly flushes the volume, and returns to step S324; S326. The multi-volume cache flush management module notifies the BBU module to enter the maximum one-time backup power mode to increase the available write cache capacity of the storage cluster; The specific steps of step S33 are as follows: S331. The multi-volume cache flush management module sets the upper limit of the ratio of the number of volumes that the cache module flushes to the disk array module at the same time to the total number of volumes to the fourth ratio A1%; S332. The multi-volume cache flush management module determines whether the ratio of the number of volumes to be flushed to the total number of volumes exceeds the fifth ratio B1%; If yes, go to step S333; If not, proceed to step S334; S333. The multi-volume cache flush management module activates a flush thread to perform volume flushing; S334. The multi-volume cache flush management module determines whether the dirty page ratio exceeds the sixth ratio C1%; If yes, go to step S335; If not, proceed to step S336; S335. The multi-volume cache flush management module directly flushes the volume, and returns to step S334; S336. The multi-volume cache flush management module notifies the BBU module to enter the maximum secondary backup power mode; The specific steps of step S34 are as follows: S341. The multi-volume cache flush management module sets the upper limit of the proportion of the number of volumes that the cache module flushes to the disk array module at the same time to the total number of volumes to the seventh proportion A2%; S342. The multi-volume cache flush management module determines whether the ratio of the number of volumes to be flushed to the total number of volumes exceeds the eighth ratio B2%; If yes, go to step S343; If not, proceed to step S344; S343. The multi-volume cache flush management module activates a flush thread to perform volume flushing; S344. The multi-volume cache flush management module determines whether the dirty page ratio exceeds the ninth ratio C2%; If yes, go to step S345; If not, proceed to step S346; S345. The multi-volume cache flush management module directly flushes the volume, and returns to step S344; S346. The multi-volume cache flush management module notifies the BBU module to enter the maximum secondary backup power mode.

Citation Information

Patent Citations

  • Caching date storing method of disk array and disk array

    CN102122257A

  • Organizing management method and system of dirty data in cache and storage system

    CN107844436A

  • Method for refreshing cache data in storage system

    CN109753446A

  • Memory module package with address bus buffering

    US5680342A