Performance evaluation method and system for disk array, terminal and medium

The method evaluates disk array performance by determining processing speed levels and weight information based on response times, addressing the inaccuracy of existing technologies and enabling efficient and accurate performance assessment.

CN119201632AActive Publication Date: 2024-12-27RD DATA TECH (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411725153.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2024-12-27
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

Existing storage systems cannot accurately and effectively analyze the performance of disk arrays, which are often affected by slow disks, leading to decreased overall read and write speeds due to inherent performance issues or aging.

Method used

A method for evaluating disk array performance by obtaining the response time of each disk, determining processing speed levels based on response time, and calculating weight information to evaluate the overall performance of the disk array.

Benefits of technology

The method enables efficient and accurate performance evaluation of disk arrays by analyzing individual disk response times, improving the accuracy of performance assessment and allowing for targeted optimization and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201632A_ABST
    Figure CN119201632A_ABST
Patent Text Reader

Abstract

The invention discloses a disk array performance evaluation method and system, a terminal and a medium, and the method comprises the steps: obtaining the response duration of each disk in a disk array for processing IO operation, and determining the processing speed level corresponding to each disk based on the response duration, the higher the processing speed level is, the shorter the response duration is; weight information corresponding to the processing speed level of each disk is obtained, and the higher the processing speed level is, the smaller the weight information is; and evaluating the performance information of the disk array based on the average response duration of each disk and the weight information. According to the method and the device, the performance of the disk array can be integrally evaluated by analyzing the response duration of processing the IO operation by the single disk, the efficient performance evaluation is favorably realized, and the accuracy of the performance evaluation is improved by analyzing each disk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of disk performance evaluation, and in particular to a disk array performance evaluation method, system, terminal and medium. Background Art

[0002] In existing storage systems, the performance of disk arrays is often affected by a single slow disk, resulting in a decrease in overall read and write speeds. Although all disks appear to be working properly, some disks may have inherent performance issues or aging, resulting in extended response times and slow processing speeds, which in turn drags down the performance of the entire disk array. However, existing technologies cannot accurately and effectively analyze the performance of disk arrays.

[0003] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a disk array performance evaluation method, system, terminal and medium in view of the above-mentioned defects of the prior art, aiming to solve the problem that the prior art cannot accurately and effectively analyze the performance of the disk array.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows: In a first aspect, the present invention provides a method for evaluating the performance of a disk array, wherein the method comprises: Obtaining the response time of each disk in the disk array for processing an IO operation, and determining the processing speed level corresponding to each disk based on the response time, wherein the higher the processing speed level, the shorter the response time; Obtaining weight information corresponding to the processing speed level of each disk, wherein the higher the processing speed level, the smaller the weight information; Based on the average response time of each disk and the weight information, the performance information of the disk array is evaluated.

[0006] In one implementation, obtaining the response time of each disk in the disk array for processing an IO operation, and determining the processing speed level corresponding to each disk based on the response time, includes: Collect the number of IO operations processed by each disk within a preset time period, and the response time of each IO operation; Determine the average response time of each disk based on the number of times each disk processes the IO operation and the response time of each processing of the IO operation; Based on the average response time, a processing speed level corresponding to each disk is determined.

[0007] In one implementation, determining the processing speed level corresponding to each disk based on the average response time includes: Obtaining a disk type corresponding to each secondary disk in the disk array, and obtaining a grade classification rule corresponding to the disk type, wherein the grade classification rule reflects a corresponding relationship between a processing speed grade and an average response time; The average response time is matched with the grade classification rule to determine the processing speed grade corresponding to each disk.

[0008] In one implementation, obtaining the response time of each disk in the disk array for processing an IO operation, and determining the processing speed level corresponding to each disk based on the response time, includes: Collect the number of IO operations processed by each disk within a preset time period, and the response time of each IO operation; Obtain a preset first duration threshold, and compare all response durations corresponding to each disk with the first duration threshold; For each disk, determine the proportion of all response times that are greater than the first time threshold; Based on the proportion information, the processing speed level corresponding to each disk is determined.

[0009] In one implementation, the evaluating the performance information of the disk array based on the average response time of each disk and the weight information includes: Calculate the overall response time of the disk array based on the average response time of each disk and the weight information; Based on the overall response time, performance information of the disk array is evaluated.

[0010] In one implementation, the calculating the overall response time of the disk array based on the average response time of each disk and the weight information includes: For each disk, calculate the product of the response time and the corresponding weight information to obtain the first value of each disk; The first values ​​of all disks are added together to obtain a second value of the disk array, and the second value is used as the overall response time of the disk array.

[0011] In one implementation, the evaluating the performance information of the disk array based on the overall response time includes: Obtaining a preset second duration threshold, and determining a time difference based on the overall response duration and the preset second duration threshold; Based on the time difference, a performance interval corresponding to the time difference is determined, and response speed information reflected by the performance interval is used as performance information of the disk array.

[0012] In a second aspect, an embodiment of the present invention further provides a performance evaluation system for a disk array, wherein the system comprises: A speed grade determination module is used to obtain the response time of each disk in the disk array for processing IO operations, and determine the processing speed grade corresponding to each disk based on the response time, wherein the higher the processing speed grade, the shorter the response time; A weight information acquisition module, used to acquire weight information corresponding to the processing speed level of each disk, wherein the higher the processing speed level, the smaller the weight information; The performance information evaluation module is used to evaluate the performance information of the disk array based on the average response time of each disk and the weight information.

[0013] In a third aspect, an embodiment of the present invention further provides a terminal, wherein the terminal includes a memory, a processor, and a performance evaluation program for a disk array stored in the memory and executable on the processor, and when the processor executes the performance evaluation program for the disk array, the steps of the performance evaluation method for the disk array of any one of the above-mentioned schemes are implemented.

[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a performance evaluation program for a disk array is stored on the computer-readable storage medium, and when the performance evaluation program for the disk array is executed by a processor, the steps of the performance evaluation method for the disk array described in any one of the above-mentioned schemes are implemented.

[0015] Beneficial effects: Compared with the prior art, the present invention provides a performance evaluation method for a disk array. The present invention first obtains the response time of each disk in the disk array for processing IO operations, and based on the response time, determines the processing speed level corresponding to each disk, wherein the higher the processing speed level, the shorter the response time. Then, the weight information corresponding to the processing speed level of each disk is obtained, wherein the higher the processing speed level, the smaller the weight information. Finally, based on the average response time of each disk and the weight information, the performance information of the disk array is evaluated. The present invention can evaluate the performance of the disk array as a whole by analyzing the response time of a single disk for processing IO operations, which is conducive to achieving efficient performance evaluation, and by analyzing each disk, the accuracy of the performance evaluation is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1The present invention provides a flowchart of a preferred embodiment of a disk array performance evaluation method.

[0017] Figure 2 A schematic diagram of the architecture of a disk array performance evaluation system provided by an embodiment of the present invention.

[0018] Figure 3 A functional block diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0020] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations or steps, nor must they be executed in the order described. For example, some operations or steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0021] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms. It should be understood that, in order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish between identical or similar items with substantially identical functions and effects. For example, the first control information and the second control information are only used to distinguish different control information, and their order is not limited. Those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not necessarily limit the differences. It should be further understood that the term “and / or” used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0022] In order to solve the problems of the prior art, this embodiment provides a performance evaluation method for a disk array, which can evaluate the performance of the disk array as a whole by the response time of a single disk processing IO operations, which is conducive to achieving efficient performance evaluation, and by analyzing each disk, the accuracy of the performance evaluation is improved. In specific application, this embodiment first obtains the response time of each disk in the disk array to process IO operations, and based on the response time, determines the processing speed level corresponding to each disk, wherein the higher the processing speed level, the shorter the response time, and then obtains the weight information corresponding to the processing speed level of each disk, wherein the higher the processing speed level, the smaller the weight information. Finally, based on the average response time of each disk and the weight information, the performance information of the disk array is evaluated.

[0023] The disk array performance evaluation method of this embodiment can be applied to a terminal, which can be a computer, a mobile phone, a smart TV or other intelligent product terminal. Figure 1 As shown in , the performance evaluation method of the disk array of this embodiment includes the following steps: Step S100, obtaining the response time of each disk in the disk array for processing IO operations, and determining the processing speed level corresponding to each disk based on the response time, wherein the higher the processing speed level, the shorter the response time.

[0024] In this embodiment, the disk array includes several disks, and the number of disks is set according to actual needs. Each disk can be a disk of the same type or a disk of a different type, such as disk A is a mechanical hard disk and disk B is an SSD. In order to evaluate the overall performance of the disk array, this embodiment can analyze each disk in the disk array, analyze the response time of each disk processing IO operations respectively, and then determine the processing speed level corresponding to each disk. The processing speed level corresponds to the length of the response time for processing IO operations. The higher the processing speed level, the shorter the response time.

[0025] In one implementation, when analyzing the processing speed level corresponding to each disk, this embodiment includes the following steps: Step S101, collecting the number of IO operations processed by each disk within a preset time period, and the response time of each processing of the IO operation; Step S102: determining an average response time of each disk based on the number of times each disk processes IO operations and the response time of each processing of the IO operation; Step S103: Determine the processing speed level corresponding to each disk based on the average response time.

[0026] Specifically, this embodiment first collects the number of times each disk processes IO operations within a preset time period, as well as the response time of each processing of the IO operation, for each disk, and records the response time of each processing of the IO operation. Then, the number of times each disk processes IO operations and the response time of each processing of the IO operation are used to calculate the total response time of each disk within the preset time period, and then the average response time of each disk is determined. The average response time can reflect the feedback sensitivity of each disk to IO operations. The shorter the average response time, the more sensitive the disk is to the feedback of IO operations, that is, the faster the disk processes IO operations. Based on this, this embodiment can determine the processing speed level corresponding to each disk according to the determined average response time of each disk.

[0027] In specific applications, this embodiment can pre-set a grade division rule, which is set according to the type of disk. Therefore, this embodiment first obtains the disk type corresponding to each disk in the disk array, and obtains the grade division rule corresponding to the disk type, wherein the grade division rule reflects the corresponding relationship between the processing speed level and the average response time. For example, the grade division rule for a certain type of disk is: if the average response time is 5-10s, the corresponding processing speed level is level three, that is, the processing speed for IO operations is very fast; if the average response time is 10-15s, the corresponding processing speed level is level two, that is, the processing speed for IO operations is normal (that is, it meets the ordinary level or the preset standard level); if the average response time is 15-20s, the corresponding processing speed level is level one, that is, the processing speed for IO operations is very slow. Next, this embodiment matches the average response time of each disk with the grade division rule corresponding to the disk, thereby determining the processing speed level corresponding to each disk. This embodiment is conducive to accurately analyzing the overall performance of the entire disk array in subsequent steps by determining the processing speed level of each disk.

[0028] In another implementation, after obtaining the number of times each disk processes IO operations and the response time of each processing of the IO operation, the present embodiment can also obtain a preset first time threshold, and compare all response times corresponding to each disk with the first time threshold. Then, for each disk, determine the proportion information of all response times greater than the first time threshold, and the proportion information reflects the ratio between the number of times the response time of each disk is greater than the first time threshold and the total number of times. The present embodiment sets the first time threshold to measure the response time of each disk, which is conducive to analyzing whether the number of response times greater than the first time threshold is greater or the number of response times less than the first time threshold is greater in each disk. Further, based on the proportion information, the present embodiment can determine the processing speed level corresponding to each disk. Specifically, the present embodiment can also pre-set the level mapping information, and the level mapping information can also be set according to the type of the disk. The present embodiment first obtains the disk type corresponding to each disk in the disk array, and obtains the level mapping information corresponding to the disk type, wherein the level mapping information reflects the corresponding relationship between the processing speed level and the proportion information. For example, the level mapping information for a certain type of disk is: if the proportion information is greater than 70% (i.e., the ratio between the number of times the response time in the disk is greater than the first time threshold and the total number is greater than 70%), the corresponding processing speed level is level three, that is, the processing speed for IO operations is very fast; if the proportion information is 50-70% (i.e., the ratio between the number of times the response time in the disk is greater than the first time threshold and the total number is 50-70%), the corresponding processing speed level is level two, that is, the processing speed for IO operations is normal (i.e., it meets the ordinary level or the preset standard level); if the proportion information is less than 50% (i.e., the ratio between the number of times the response time in the disk is greater than the first time threshold and the total number is less than 50%), the corresponding processing speed level is level one, that is, the processing speed for IO operations is very slow. Based on the above-mentioned level mapping information, this embodiment will match the proportion information determined for each disk with the level mapping information corresponding to the disk, so as to determine the processing speed level corresponding to each disk.

[0029] Step S200: Obtain weight information corresponding to the processing speed level of each disk, wherein the higher the processing speed level, the smaller the weight information.

[0030] Since there are multiple disks in the disk array, and the processing speed level of each disk is different, that is, the average response time of each disk for processing IO operations is different, so the degree of influence of each disk on the overall performance of the disk array is also different. To this end, after obtaining the processing speed level of each disk, the weight information corresponding to the processing speed level of each disk is obtained respectively, and the weight information can reflect the degree of influence of the processing speed level of each disk on the overall performance of the disk array. In one implementation, the weight information of this embodiment is pre-set, and the weight information corresponding to each processing speed level is different, and the higher the processing speed level, the smaller the corresponding weight information, and the lower the processing speed level, the larger the corresponding weight information, which means that when the processing speed level of a certain disk is lower, that is, the slower the processing speed of IO operations, the greater the impact on the overall performance of the disk array.

[0031] Step S300: Evaluate the performance information of the disk array based on the average response time of each disk and the weight information.

[0032] After the weight information of each disk is determined, this embodiment can evaluate the performance information of the disk array based on the average response time of each disk and the weight information corresponding to the disk.

[0033] In one implementation, this embodiment includes the following steps when evaluating the performance information of the disk array: Step S301, calculating the overall response time of the disk array based on the average response time of each disk and the weight information; Step S302: Evaluate the performance information of the disk array based on the overall response time.

[0034] Specifically, this embodiment calculates the overall response time of the disk array based on the average response time of each disk and the weight information. In practical applications, this embodiment can calculate the product of the response time and the corresponding weight information for each disk to obtain the first value of each disk. Then, the first values ​​of all disks are added together to obtain the second value of the disk array, and the second value is used as the overall response time of the disk array. After obtaining the overall response time, this embodiment can determine the time difference based on the overall response time and the preset second time threshold. Then, based on the time difference, determine the performance interval corresponding to the time difference, and use the response speed information reflected by the performance interval as the performance information of the disk array.

[0035] In one implementation, the present embodiment pre-sets the performance reference information of the disk array, and the performance reference information is provided with a corresponding relationship between the numerical interval corresponding to the time difference and the performance interval. The performance interval of the present embodiment includes an excellent performance interval, a normal performance interval, and an abnormal performance interval. Each performance interval reflects the response speed information of the disk array to the IO operation. For example, the excellent performance interval reflects that the disk array has a fast response speed to the IO operation; the normal performance interval reflects that the disk array has a normal response speed to the IO operation (i.e., it meets the ordinary level or the preset standard level); the abnormal performance interval reflects that the disk array has a slow response speed to the IO operation. Therefore, after determining the time difference, the present embodiment can determine the numerical interval corresponding to the time difference, and then match the numerical interval of the time difference with the performance reference information to determine the performance interval, and then use the response speed information reflected by the performance interval as the performance information of the disk array, thereby realizing the evaluation of the overall information of the disk array.

[0036] In other implementations, after evaluating the performance information of the disk array, this embodiment can analyze whether the disk array needs to be optimized and maintained based on the performance information of the disk array. Moreover, when the disk array needs to be optimized or maintained, this embodiment can further locate the abnormal disk in the disk array and perform targeted optimization on the abnormal disk, so that the disk array can meet the use requirements and extend the service life of the disk array.

[0037] In summary, this embodiment can first obtain the response time of each disk in the disk array to process IO operations, and based on the response time, determine the processing speed level corresponding to each disk, wherein the higher the processing speed level, the shorter the response time. Then, obtain the weight information corresponding to the processing speed level of each disk, wherein the higher the processing speed level, the smaller the weight information. Finally, based on the average response time of each disk and the weight information, evaluate the performance information of the disk array. This embodiment can perform an overall evaluation of the performance of the disk array by analyzing the response time of a single disk to process IO operations, which is conducive to achieving efficient performance evaluation, and by analyzing each disk, the accuracy of the performance evaluation is improved.

[0038] Based on the above embodiments, the present invention also discloses a disk array performance evaluation system, such as Figure 2As shown in , the system includes: a speed level determination module 10, a weight information acquisition module 20 and a performance information evaluation module 30. Specifically, the speed level determination module 10 is used to obtain the response time of each disk in the disk array for processing IO operations, and based on the response time, determine the processing speed level corresponding to each disk, wherein the higher the processing speed level, the shorter the response time. The weight information acquisition module 20 is used to obtain the weight information corresponding to the processing speed level of each disk, wherein the higher the processing speed level, the smaller the weight information. The performance information evaluation module 30 is used to evaluate the performance information of the disk array based on the average response time of each disk and the weight information.

[0039] In one implementation, the speed grade determination module 10 includes: A first response time acquisition unit is used to acquire the number of times each disk processes IO operations within a preset time period, and the response time of each processing of the IO operation; A response time analysis unit, used to determine an average response time of each disk based on the number of times each disk processes an IO operation and the response time of each processing of the IO operation; The first speed grade determining unit is used to determine the processing speed grade corresponding to each disk based on the average response time.

[0040] In one implementation, the first speed level determining unit includes: A division rule determination subunit is used to obtain the disk type corresponding to each secondary disk in the disk array, and obtain the level division rule corresponding to the disk type, wherein the level division rule reflects the corresponding relationship between the processing speed level and the average response time; The processing speed grade determination subunit is used to match the average response time with the grade classification rule to determine the processing speed grade corresponding to each disk.

[0041] In one implementation, the speed grade determination module 10 includes: The second response time acquisition unit is used to acquire the number of times each disk processes IO operations within a preset time period, and the response time of each processing of the IO operation; A response time comparison unit, used to obtain a preset first time threshold, and compare all response times corresponding to each disk with the first time threshold; A proportion information determining unit, used to determine, for each disk, proportion information of all response durations that are greater than the first duration threshold; The second speed level determination unit is used to determine the processing speed level corresponding to each disk based on the proportion information.

[0042] In one implementation, the performance information evaluation module 30 includes: An overall response time calculation unit, used to calculate the overall response time of the disk array based on the average response time of each disk and the weight information; The performance information determining unit is used to evaluate the performance information of the disk array based on the overall response time.

[0043] In one implementation, the overall response duration calculation unit includes: A first value calculation subunit, configured to calculate, for each disk, the product of the response time and the corresponding weight information to obtain a first value for each disk; The second value operator unit is used to add the first values ​​of all disks to obtain the second value of the disk array, and use the second value as the overall response duration of the disk array.

[0044] In one implementation, the performance information determining unit includes: A time difference determination subunit, configured to obtain a preset second duration threshold, and determine a time difference based on the overall response duration and the preset second duration threshold; The performance interval determination subunit is used to determine the performance interval corresponding to the time difference based on the time difference, and use the response speed information reflected by the performance interval as the performance information of the disk array.

[0045] The working principles of each module in the disk array performance evaluation system of this embodiment are the same as the principles of each step in the above method embodiment, and will not be repeated here.

[0046] Each module in the above disk array performance evaluation system can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor in the terminal in the form of hardware, or can be stored in the memory in the terminal in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0047] Based on the above embodiment, the present invention further provides a terminal, the principle block diagram of the terminal can be as follows: Figure 3 The terminal may include one or more processors 100 ( Figure 3Only one is shown in the figure), a memory 101 and a computer program 102 stored in the memory 101 and executable on one or more processors 100, for example, a sleep analysis program based on multi-sensor data. When one or more processors 100 execute the computer program 102, the various steps in the embodiment of the sleep analysis method based on multi-sensor data can be implemented. Alternatively, when one or more processors 100 execute the computer program 102, the functions of various modules / units in the embodiment of the sleep analysis system based on multi-sensor data can be implemented, which is not limited here.

[0048] In one embodiment, the processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0049] In one embodiment, the memory 101 may be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device. Further, the memory 101 may also include both an internal storage unit of the electronic device and an external storage device. The memory 101 is used to store computer programs and other programs and data required by the terminal. The memory 101 may also be used to temporarily store data that has been output or is to be output.

[0050] Those skilled in the art will understand that Figure 3 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the terminal to which the scheme of the present invention is applied. The specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0051] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, operating database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double operational data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0052] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for evaluating the performance of a disk array, characterized in that: The method comprises: Obtaining the response time of each disk in the disk array for processing an IO operation, and determining the processing speed level corresponding to each disk based on the response time, wherein the higher the processing speed level, the shorter the response time; Obtaining weight information corresponding to the processing speed level of each disk, wherein the higher the processing speed level, the smaller the weight information; Based on the average response time of each disk and the weight information, the performance information of the disk array is evaluated.

2. The disk array performance evaluation method according to claim 1, characterized in that: The obtaining of the response time of each disk in the disk array for processing an IO operation, and determining the processing speed level corresponding to each disk based on the response time, includes: Collect the number of IO operations processed by each disk within a preset time period, and the response time of each IO operation; Determine the average response time of each disk based on the number of times each disk processes the IO operation and the response time of each processing of the IO operation; Based on the average response time, a processing speed level corresponding to each disk is determined.

3. The disk array performance evaluation method according to claim 2, characterized in that: Determining the processing speed level corresponding to each disk based on the average response time includes: Obtaining a disk type corresponding to each secondary disk in the disk array, and obtaining a grade classification rule corresponding to the disk type, wherein the grade classification rule reflects a corresponding relationship between a processing speed grade and an average response time; The average response time is matched with the grade classification rule to determine the processing speed grade corresponding to each disk.

4. The disk array performance evaluation method according to claim 1, characterized in that: The obtaining of the response time of each disk in the disk array for processing an IO operation, and determining the processing speed level corresponding to each disk based on the response time, includes: Collect the number of IO operations processed by each disk within a preset time period, and the response time of each IO operation; Obtain a preset first duration threshold, and compare all response durations corresponding to each disk with the first duration threshold; For each disk, determine the proportion of all response times that are greater than the first time threshold; Based on the proportion information, the processing speed level corresponding to each disk is determined.

5. The disk array performance evaluation method according to claim 1, characterized in that: The evaluating the performance information of the disk array based on the average response time of each disk and the weight information includes: Calculate the overall response time of the disk array based on the average response time of each disk and the weight information; Based on the overall response time, performance information of the disk array is evaluated.

6. The disk array performance evaluation method according to claim 5, characterized in that: The calculating the overall response time of the disk array based on the average response time of each disk and the weight information includes: For each disk, calculate the product of the response time and the corresponding weight information to obtain the first value of each disk; The first values ​​of all disks are added together to obtain a second value of the disk array, and the second value is used as the overall response time of the disk array.

7. The disk array performance evaluation method according to claim 5, characterized in that: The evaluating the performance information of the disk array based on the overall response time includes: Obtaining a preset second duration threshold, and determining a time difference based on the overall response duration and the preset second duration threshold; Based on the time difference, a performance interval corresponding to the time difference is determined, and response speed information reflected by the performance interval is used as performance information of the disk array.

8. A disk array performance evaluation system, characterized in that: The system comprises: A speed grade determination module is used to obtain the response time of each disk in the disk array for processing IO operations, and determine the processing speed grade corresponding to each disk based on the response time, wherein the higher the processing speed grade, the shorter the response time; A weight information acquisition module, used to acquire weight information corresponding to the processing speed level of each disk, wherein the higher the processing speed level, the smaller the weight information; The performance information evaluation module is used to evaluate the performance information of the disk array based on the average response time of each disk and the weight information.

9. A terminal, characterized in that: The terminal includes a memory, a processor, and a disk array performance evaluation program stored in the memory and executable on the processor. When the processor executes the disk array performance evaluation program, the steps of the disk array performance evaluation method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a performance evaluation program for a disk array. When the performance evaluation program for a disk array is executed by a processor, the steps of the performance evaluation method for a disk array as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Multi-disk array system and data writing method for multi-disk array system

    CN101566932A

  • Method and apparatus for disk detection

    CN106354590A

  • Hard disk detection method and device and computer readable storage medium

    CN107832202A

  • Method, device and equipment for writing IO based on RAID strip and readable medium

    CN113805800A

  • Slow disk isolation control method and device, equipment and storage medium

    CN115454703A