WO2019101087A1 - Slow-disk detection method, and storage array - Google Patents

Slow-disk detection method, and storage array Download PDF

Info

Publication number
WO2019101087A1
WO2019101087A1 PCT/CN2018/116608 CN2018116608W WO2019101087A1 WO 2019101087 A1 WO2019101087 A1 WO 2019101087A1 CN 2018116608 W CN2018116608 W CN 2018116608W WO 2019101087 A1 WO2019101087 A1 WO 2019101087A1
Authority
WO
WIPO (PCT)
Prior art keywords
disk
slow
probability
parameter
storage array
Prior art date
Application number
PCT/CN2018/116608
Other languages
French (fr)
Chinese (zh)
Inventor
连涛
曹红强
仇幼成
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019101087A1 publication Critical patent/WO2019101087A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance

Definitions

  • the present application relates to the field of computer technology, and more particularly to a slow disk detection method and a memory array.
  • a storage array typically includes a disk array. Affected by various factors, the disk in the disk array may have a slow response to input and output (I/O) in the latter part of the life cycle, and may even fail to respond to I/O. This type of disk is called a slow disk.
  • I/O input and output
  • the present application provides a slow disk detection method and a storage array, which can improve the accuracy of slow disk detection.
  • a slow disk detection method is provided, which is performed by a storage array, the storage array including at least one disk set, each disk set including at least one disk, the method comprising: detecting the storage array N disk parameter values of each disk in at least one disk set, wherein N is a positive integer greater than or equal to 2; calculating a slow disk probability of each disk according to the N disk parameter values of each disk; The slow disk in each disk set is judged according to the slow disk probability of each disk.
  • the above technical solution detects N disk parameter values of each disk in at least one disk set.
  • the result of slow disk detection is more accurate than the traditional method of slow disk detection based only on the factor of I/O average service time. .
  • the calculating, according to the N disk parameter values of each disk, a slow disk probability of each disk comprising: determining, by using each disk parameter value of each detected disk a parameter interval that falls within, wherein each of the disk parameters corresponds to at least one parameter interval; determining a probability corresponding to a parameter interval in which each disk parameter value of each detected disk falls, wherein each of the parameters The parameter interval in which the disk parameter values fall corresponds to a probability; calculating the slow disk probability of each disk according to the probability corresponding to the N disk parameters of each disk; determining according to the slow disk probability of each disk The slow disk in the disk set.
  • each disk parameter corresponding to each disk set corresponds to a weight
  • the slowness of each disk is calculated according to a probability corresponding to the N disk parameters of each disk.
  • the disk probability includes: calculating a slow disk probability of each disk according to a probability corresponding to the N disk parameters of each disk and a weight corresponding to the N disk parameters of each disk.
  • the probability corresponding to the N disk parameters of each disk may be weighted and summed according to the weight corresponding to the N disk parameters, and the total probability that each disk is a slow disk is determined.
  • the result of slow disk detection is more accurate by considering the N disk parameters of each disk.
  • each of the disk sets has the same disk characteristics.
  • the disk characteristics of the same disk set are the same, which is equivalent to the slow disk detection under the premise of eliminating the influence of the disk characteristics on the slow disk detection result, so that the result of the slow disk detection is more accurate.
  • At least one of the disk characteristics corresponding to different disk sets is different.
  • a storage array in a second aspect, includes at least one disk set, each disk set includes at least one disk, and the storage array includes: a detecting unit, configured to detect in the storage array N disk parameter values of each disk in at least one disk set, where N is a positive integer greater than or equal to 2; a computing unit configured to calculate each of the disks according to N disk parameter values of each disk The slow disk probability; the determining unit is configured to determine the slow disk in each disk set according to the slow disk probability of each disk.
  • the above technical solution detects N disk parameter values of each disk in at least one disk set.
  • the result of slow disk detection is more accurate than the traditional method of slow disk detection based only on the factor of I/O average service time. .
  • the calculating unit is specifically configured to: determine a parameter interval in which each disk parameter value of each detected disk falls, wherein each disk parameter corresponds to at least one a parameter interval; determining a probability corresponding to a parameter interval in which each disk parameter value of each of the detected disks falls, wherein the parameter interval in which each disk parameter value falls corresponds to a probability; Calculating the probability of the slow disk of each disk according to the probability corresponding to the N disk parameters of each disk; determining the slow disk in the disk set according to the slow disk probability of each disk.
  • each of the disk parameters corresponding to each disk set corresponds to a weight
  • the calculating unit is specifically configured to: according to the probability and location of the N disk parameters of each disk Calculate the slow disk probability of each disk by the weight corresponding to the N disk parameters of each disk.
  • the probability corresponding to the N disk parameters of each disk may be weighted and summed according to the weight corresponding to the N disk parameters, and the total probability that each disk is a slow disk is determined.
  • the result of slow disk detection is more accurate by considering the N disk parameters of each disk.
  • each of the disk sets has the same disk characteristics.
  • the disk characteristics of the same disk set are the same, which is equivalent to the slow disk detection under the premise of eliminating the influence of the disk characteristics on the slow disk detection result, so that the result of the slow disk detection is more accurate.
  • At least one of the disk characteristics corresponding to different disk sets is different.
  • a memory array comprising a processor and a memory, the memory for storing computer instructions, the processor for executing computer instructions stored in the memory, when the computer instructions are executed, The processor is operative to perform the method of any of the first aspect or the first aspect of the first aspect.
  • a computer storage medium comprising computer instructions that, when executed on a computer, cause the computer to perform the first aspect or any of the possible implementations of the first aspect Methods.
  • a computer program product comprising instructions for causing said computer to perform said first aspect or any of the possible implementations of the first aspect, when said computer program product is run on a computer Methods.
  • FIG. 1 is a diagram showing an example of the structure of a memory array to which an embodiment of the present invention is applicable.
  • FIG. 2 is a schematic flowchart of a slow disk detecting method according to an embodiment of the present invention.
  • FIG. 3 is a diagram showing an example of a grouping manner of a disk to be detected according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a slow disk probability model corresponding to an I/O average service time of a disk.
  • FIG. 5 is a schematic diagram of a slow disk probability model corresponding to the number of I/Os in which the I/O processing time exceeds a preset threshold.
  • FIG. 6 is a schematic structural diagram of a memory array according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a memory array according to an embodiment of the present invention.
  • FIG. 1 is a diagram showing an example of the structure of a memory array to which an embodiment of the present invention is applicable.
  • the disk array 100 can be located inside the disk frame 110.
  • the disk frame may include a plurality of disk slots, and each disk slot may have one disk 120 placed.
  • the disk mentioned in the present application may be, for example, a solid state drive (SSD), a serial advanced technology attachment (SATA) disk, and a serial attached small computer system interface (serial attached small computer system interface, SAS) disk, near-line SAS (near line-SAS, NL-SAS) disk, etc.
  • the storage array shown in FIG. 1 may be, for example, a redundant array of independent disks (RAID).
  • the embodiment of the invention provides a slow disk detection method, which can improve the accuracy of slow disk detection.
  • the embodiments of the present invention are described in detail below with reference to FIG.
  • FIG. 2 is a schematic flowchart of a slow disk detecting method according to an embodiment of the present invention.
  • the method of Figure 2 can be performed by a storage array, such as a processor in a storage array in which the disk is located.
  • the method of FIG. 2 may include steps 210-230, which are described in detail below.
  • step 210 N disk parameter values of each disk in at least one disk set in the storage array are detected, where N is a positive integer greater than or equal to 2.
  • the disks in the disk array can be divided into different disk sets according to different disk characteristics, and the disks in the disk set have the same disk characteristics.
  • the disk characteristics can be, for example, the hardware characteristics of the disk or the type of service stored on the disk.
  • the embodiment of the present invention does not specifically limit the type of hardware features of the disk, and the hardware features of the disk may be various.
  • the hardware features can include at least one of the following: type of disk, speed, protocol type.
  • the disk type may include, for example, at least one of the following types: SSD, SATA, SAS, NL-SAS, and the like.
  • the rotational speed of the disk may include, for example, at least one of the following rotational speeds: 5400 rpm, 7200 rpm, 10,000 rpm, 15,000 rpm.
  • the protocol type of the disk may include, for example, at least one of the following protocols: a non-volatile memory express (NVME) protocol, an internet small computer system interface (ISCSI) protocol, and an advanced technology accessory. (advanced technology attachment, ATA) agreement.
  • NVME non-volatile memory express
  • ISCSI internet small computer system interface
  • ATA advanced technology accessory.
  • the type of service stored on the disk may be, for example, when the disk is allocated to the upper layer application, and the data generated by the upper layer application is stored on the disk, and different upper layer applications may generate different data. Types of.
  • the type of service stored on the disk can be selected as the disk domain to which the disk belongs, and the hardware characteristics of the disk are selected as the type and/or speed of the disk.
  • the disk to be detected can be divided into four detection domains (also referred to as disk sets) as shown in FIG.
  • the disk in the detection domain 1 meets the following conditions: the disk domain to which it belongs is disk domain 0, the disk is SAS disk, and the disk speed is 10,000 rpm.
  • the disk in the detection domain 2 meets the following conditions: the disk domain to which it belongs is disk domain 0, the disk is SAS disk, and the disk speed is 15000 rpm.
  • the disk in the detection domain 3 meets the following conditions: the disk domain to which it belongs is the disk domain 1 and the disk is the SDD disk.
  • the disk in the detection domain 4 meets the following conditions: the disk domain to which it belongs is the disk domain 2, and the disk is the NVME disk.
  • the disk domain to which it belongs is the disk domain 1
  • the disk is the SDD disk.
  • the disk in the detection domain 4 meets the following conditions: the disk domain to which it belongs is the disk domain 2, and the disk is the NVME disk.
  • at least one of the corresponding disk characteristics in different detection domains (disk sets) may have different disk characteristics.
  • the hard disk in the detection domain 1 - detection domain 4 may be sequentially detected. Alternatively, it is also possible to perform slow disk detection on the disks in the four detection domains in parallel.
  • the object detected by the slow disk is selected as a hardware feature of the disk and/or a disk set having the same service type stored on the disk. And detecting multiple parameter values for the disk in the disk set, so that the result of the slow disk detection is more accurate.
  • the N disk parameter values of each disk can be N factors for measuring whether the disk is a slow disk.
  • the N disk parameters may include, for example, some or all of the following factors: I/O average service time, I/O processing time exceeding the preset threshold, and number of unresponsive I/Os. Wait.
  • the average I/O service time can be, for example, the average time that the disk itself needs to process a single I/O.
  • the number of I/Os whose I/O processing time exceeds a preset threshold can be, for example, the time that the disk processing I/O exceeds the setting.
  • the number of I/Os of the threshold time, and the number of unresponsive I/Os may be, for example, the number of I/Os that are not responding to all I/Os of the disk.
  • step 220 the slow disk probability of each disk is calculated according to the N disk parameter values of each disk.
  • the parameter interval in which each disk parameter value of each disk detected may be determined, wherein each disk parameter may correspond to at least one parameter interval.
  • the slow disk probability of each disk can be calculated by the probability corresponding to the parameter interval in which each disk parameter value of each disk falls. Detailed description will be made below in conjunction with specific embodiments.
  • Figure 4 is a slow disk probability model corresponding to the I/O average service time of the disk. As shown in FIG. 4, when the I/O average service time of the disk is in the interval 0-S 1 , the probability that the disk is a slow disk is x%. When the I/O average service time of the disk is in the interval S 1 -S 2 , the probability that the disk is a slow disk is y%. When the I/O average service time of the disk is in the interval S 2 -S 3 , the probability that the disk is a slow disk is z%. As can be seen from Figure 4, as the average I/O service time of the disk is longer, the probability that the disk is a slow disk is greater. Therefore, the disk I/O average service time can be used as a measure of whether a disk is a slow disk.
  • FIG. 5 is a slow disk probability model corresponding to the number of I/Os in which the I/O processing time exceeds a preset threshold. As shown in FIG. 5, the probability that the number of I/Os in the normal disk exceeds t 3 (the set threshold time) by the total number of I/Os is p% (also referred to as slow disk).
  • the probability that the I/O processing time in the slow disk exceeds t 3 (the set threshold time) by the total number of I/Os is m%.
  • the number of I/Os in which the I/O processing time in the slow disk exceeds the preset threshold is greater than the number of I/Os in the normal disk that exceeds the preset threshold. The greater the probability that the disk is a slow disk. . Therefore, the number of I/Os that the I/O processing time exceeds the preset threshold can be used as a measure of whether the disk is a slow disk.
  • the probability that each of the N disks is a slow disk under K factors can be weighted and summed to determine the total probability that each disk is a slow disk.
  • x 1% probability that D 1 is represented by slow disk y 1% D 1 represents the probability of the disk at a slower factor 2 at a factor.
  • x 2 % represents the probability that D 1 is a slow disk under factor 1
  • y 2 % represents the probability that D 1 is a slow disk under factor 2, and so on.
  • x 1 % represents the probability that D 1 is a slow disk under factor 1
  • w 1 represents the weight of factor 1
  • y 1 % represents the probability that D 1 is a slow disk under factor 2
  • w 2 represents the weight of factor 2 value.
  • step 230 the slow disk in each disk set is determined according to the slow disk probability of each disk.
  • N disk parameter values of each disk in at least one disk set are detected.
  • the result of slow disk detection is more accurate than the traditional method of slow disk detection based only on the factor of I/O average service time. .
  • the slow disk probability of each disk mentioned in step 230 may be the probability that the disk is a slow disk in one detection period, and may also include the probability that the disk is a slow disk in each detection period in multiple detection periods.
  • the suspected slow disk corresponding to each detection period may be selected from each disk according to the probability that each disk is a slow disk in each detection cycle of a plurality of detection cycles and a preset threshold. Then, the slow disk can be determined from the suspected slow disks corresponding to the multiple detection cycles (for example, the number of suspected disks in each disk is greater than the preset number of times, or the disk having the largest number of suspected disks in each disk is determined to be slow. plate).
  • the suspected slow disk corresponding to each detection period described above can be understood as a disk whose total probability of slow disks is greater than a preset threshold in each detection period (hereinafter, the probability that the disk is a slow disk in a certain detection period)
  • the condition that is greater than the preset threshold is called condition one).
  • the suspected slow disk corresponding to each cycle may be a slow disk or multiple slow disks. If a disk is a suspected slow disk corresponding to a certain detection period, the detection cycle may also be referred to as a slow cycle of the disk, indicating that the disk has a slow I/O response time during the detection cycle.
  • the embodiment of the present invention does not directly determine the slow disk detection result of a certain detection period as the final slow disk detection result, but comprehensively determines whether the slow disk is included in the disk to be detected based on the slow disk detection result of the multiple detection cycles. This slow disk detection method will make the slow disk detection result more accurate.
  • the above suspected slow disk corresponding to each detection cycle is determined based on the condition one above.
  • the suspected slow disk corresponding to the detection period may also be determined by considering various other conditions. For example, it may be determined whether the data of the detection period satisfies the following condition 2: the probability of the disk with the highest probability of concentration in each disk is greater than the U (U is greater than 1) times of other disks in the disk set. If the condition 2 is not satisfied, it is determined that there is no suspected slow disk in the detection period; if the condition two is satisfied, it is determined whether there is a disk that satisfies the condition 1 in the detection period; if yes, the disk is determined as the detection The suspected slow disk corresponding to the cycle.
  • condition 2 the probability of the disk with the highest probability of concentration in each disk is greater than the U (U is greater than 1) times of other disks in the disk set. If the condition 2 is not satisfied, it is determined that there is no suspected slow disk in the detection period; if the condition two is satisfied, it is determined whether there is
  • condition three it may be determined whether the data of the detection period satisfies the following condition three: at least L (L is a positive integer not less than 1) disks in the disk set to undertake data services. If the condition 3 is not satisfied, it is determined that there is no suspected slow disk in the detection period; if the condition three is satisfied, it is determined whether there is a disk that satisfies the condition 1 in the detection period; if yes, the disk is determined as the detection The suspected slow disk corresponding to the cycle. It should be noted that the foregoing condition 1, condition 2, and condition three may be combined in any combination, and the embodiment of the present invention is not limited thereto.
  • the slow disk detecting method provided by the embodiment of the present invention is described in detail above with reference to FIG. 2 to FIG. 5 .
  • the memory array provided by the embodiment of the present invention will be described in detail below with reference to FIG. 6 .
  • the memory array of Figure 6 can be used to perform the various steps above.
  • the memory array of FIG. 6 may include a detecting unit 610, a calculating unit 620, and a determining unit 630.
  • the detecting unit 610 is configured to detect N disk parameter values of each disk in the at least one disk set in the storage array, where N is a positive integer greater than or equal to 2.
  • the calculating unit 620 is configured to calculate a slow disk probability of each disk according to the N disk parameter values of each disk.
  • the determining unit 630 is configured to determine, according to the slow disk probability of each disk, the slow disk in each disk set.
  • the calculating unit 620 may be specifically configured to: determine a parameter interval in which each disk parameter value of each detected disk falls, wherein each of the disk parameters corresponds to at least a parameter interval; determining a probability corresponding to a parameter interval in which each of the detected disk parameter values falls, wherein the parameter interval in which each disk parameter value falls corresponds to a probability; Calculating the probability of the slow disk of each disk according to the probability corresponding to the N disk parameters of each disk; determining the slow disk in the disk set according to the slow disk probability of each disk.
  • each disk parameter corresponding to each disk set corresponds to a weight
  • the calculating unit 620 is further configured to: respond to the N disk parameters of each disk.
  • the probability of the disk and the weight corresponding to the N disk parameters of each disk calculate the slow disk probability of each disk.
  • each of the disk sets has the same disk characteristics.
  • At least one of the disk characteristics corresponding to different disk sets is different.
  • FIG. 7 is a schematic structural diagram of a memory array according to an embodiment of the present invention.
  • the memory array 700 of Figure 7 can perform the slow disk detection method described in any of the embodiments of Figures 2 through 5.
  • the memory array 700 of FIG. 7 can include a memory 710 and a processor 720.
  • Memory 710 can be used to store programs.
  • the processor 720 can be configured to execute a program stored in the memory 710. When the program stored in the memory 710 is executed, the processor 720 can be used to execute the slow disk detection method described in any of the above embodiments.
  • the term "and/or” is merely an association relationship describing an associated object, indicating that there may be three relationships.
  • a and/or B may indicate that A exists separately, and A and B exist simultaneously, and B cases exist alone.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • an optical medium such as a digital video disc (DVD)
  • a semiconductor medium such as a solid state disk (SSD)
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program code. .

Abstract

A slow-disk detection method, and a storage array. The method is performed by the storage array, the storage array comprises at least one set of disks, and each set of disks comprises at least one disk. The method comprises: detecting N disk parameter values of each disk of the at least one set of disks in the storage array (210), wherein N is a positive integer greater than or equal to 2; calculating a slow-disk probability of each disk according to the N disk parameter values of the disk (220); and determining a slow disk in each set of disks according to the slow-disk probability of each disk (230). The invention detects the N disk parameter values of each disk of the at least one set of disks, so as to take multiple disk parameter values of each disk into consideration during a slow-disk detection process, thereby improving the accuracy of slow-disk detection results.

Description

慢盘检测方法和存储阵列Slow disk detection method and storage array 技术领域Technical field
本申请涉及计算机技术领域,并且更具体地,涉及一种慢盘检测方法和存储阵列。The present application relates to the field of computer technology, and more particularly to a slow disk detection method and a memory array.
背景技术Background technique
存储阵列通常包括磁盘阵列。受到各种因素的影响,磁盘阵列中的磁盘在生命周期的后段可能会出现输入输出(input output,I/O)响应慢的问题,甚至有可能无法对I/O进行响应。这种类型的磁盘称为慢盘。A storage array typically includes a disk array. Affected by various factors, the disk in the disk array may have a slow response to input and output (I/O) in the latter part of the life cycle, and may even fail to respond to I/O. This type of disk is called a slow disk.
慢盘的存在会对上层业务造成影响,例如会导致业务数据的处理不及时。因此,需要对磁盘阵列中的慢盘进行慢盘检测,并对慢盘上承载的业务数据进行隔离。The existence of a slow disk can affect the upper layer services, for example, the processing of business data is not timely. Therefore, you need to perform slow disk detection on the slow disk in the disk array and isolate the service data carried on the slow disk.
传统技术通常基于I/O平均服务时间进行慢盘检测。例如,如果某个磁盘在检测周期内的I/O平均服务时间大于预设阈值,则将该磁盘判定为慢盘。但是,由于磁盘会受到不同业务模型的影响,会导致慢盘检测的结果不准确。Traditional techniques typically perform slow disk detection based on the I/O average service time. For example, if a disk has an I/O average service time in the detection period that is greater than a preset threshold, the disk is determined to be a slow disk. However, because the disk is affected by different business models, the results of slow disk detection are inaccurate.
发明内容Summary of the invention
本申请提供一种慢盘检测方法和存储阵列,可以提高慢盘检测的准确性。The present application provides a slow disk detection method and a storage array, which can improve the accuracy of slow disk detection.
第一方面,提供了一种慢盘检测方法,由存储阵列执行,所述存储阵列包括至少一个磁盘集,每个磁盘集包括至少一个磁盘,所述方法包括:侦测所述存储阵列中的至少一个磁盘集中的每个磁盘的N个磁盘参数值,其中,N为大于或等于2的正整数;根据所述每个磁盘的N个磁盘参数值计算所述每个磁盘的慢盘概率;根据所述每个磁盘的慢盘概率判断所述每个磁盘集中的慢盘。In a first aspect, a slow disk detection method is provided, which is performed by a storage array, the storage array including at least one disk set, each disk set including at least one disk, the method comprising: detecting the storage array N disk parameter values of each disk in at least one disk set, wherein N is a positive integer greater than or equal to 2; calculating a slow disk probability of each disk according to the N disk parameter values of each disk; The slow disk in each disk set is judged according to the slow disk probability of each disk.
上述技术方案侦测至少一个磁盘集中的每个磁盘的N个磁盘参数值。在慢盘检测过程中,通过考虑每个磁盘的多个磁盘参数值,与传统的仅基于I/O平均服务时间这一因素进行慢盘检测的方式相比,使得慢盘检测的结果更准确。The above technical solution detects N disk parameter values of each disk in at least one disk set. In the slow disk detection process, by considering the value of multiple disk parameters of each disk, the result of slow disk detection is more accurate than the traditional method of slow disk detection based only on the factor of I/O average service time. .
在一种可能的实现方式中,所述根据所述每个磁盘的N个磁盘参数值计算每个磁盘的慢盘概率,包括:判断所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间,其中,所述每个磁盘参数对应至少一个参数区间;确定所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间对应的概率,其中,所述每个磁盘参数值所落入的参数区间对应一个概率;根据所述每个磁盘的N个磁盘参数对应的概率计算所述每个磁盘的慢盘概率;根据所述每个磁盘的慢盘概率判断所述磁盘集中的慢盘。In a possible implementation manner, the calculating, according to the N disk parameter values of each disk, a slow disk probability of each disk, comprising: determining, by using each disk parameter value of each detected disk a parameter interval that falls within, wherein each of the disk parameters corresponds to at least one parameter interval; determining a probability corresponding to a parameter interval in which each disk parameter value of each detected disk falls, wherein each of the parameters The parameter interval in which the disk parameter values fall corresponds to a probability; calculating the slow disk probability of each disk according to the probability corresponding to the N disk parameters of each disk; determining according to the slow disk probability of each disk The slow disk in the disk set.
在一种可能的实现方式中,所述每个磁盘集中对应的每个磁盘参数对应一个权值,所述根据所述每个磁盘的N个磁盘参数对应的概率计算所述每个磁盘的慢盘概率,包括:根据所述每个磁盘的N个磁盘参数对应的概率及所述每个磁盘的N个磁盘参数对应的权重计算所述每个磁盘的慢盘概率。In a possible implementation, each disk parameter corresponding to each disk set corresponds to a weight, and the slowness of each disk is calculated according to a probability corresponding to the N disk parameters of each disk. The disk probability includes: calculating a slow disk probability of each disk according to a probability corresponding to the N disk parameters of each disk and a weight corresponding to the N disk parameters of each disk.
上述技术方案中,可以根据N个磁盘参数对应的权值,对每个磁盘的N个磁盘参数对应的概率进行加权求和,确定每个磁盘为慢盘的总概率。通过综合考虑每个磁盘的N个磁盘参数,使得慢盘检测的结果更准确。In the foregoing technical solution, the probability corresponding to the N disk parameters of each disk may be weighted and summed according to the weight corresponding to the N disk parameters, and the total probability that each disk is a slow disk is determined. The result of slow disk detection is more accurate by considering the N disk parameters of each disk.
在一种可能的实现方式中,所述每个磁盘集具有相同的磁盘特性。In one possible implementation, each of the disk sets has the same disk characteristics.
上述技术方案中,同一个磁盘集中的磁盘特性相同,相当于在排除了磁盘特性对慢盘检测结果的影响的前提下,再进行慢盘检测,使得慢盘检测的结果更准确。In the above technical solution, the disk characteristics of the same disk set are the same, which is equivalent to the slow disk detection under the premise of eliminating the influence of the disk characteristics on the slow disk detection result, so that the result of the slow disk detection is more accurate.
在一种可能的实现方式中,不同磁盘集对应的所述磁盘特性中至少有一个磁盘特性不同。In a possible implementation manner, at least one of the disk characteristics corresponding to different disk sets is different.
第二方面,提供了一种存储阵列,所述存储阵列包括至少一个磁盘集,每个磁盘集包括至少一个磁盘,所述存储阵列包括:侦测单元,用于侦测所述存储阵列中的至少一个磁盘集中的每个磁盘的N个磁盘参数值,其中,N为大于或等于2的正整数;计算单元,用于根据所述每个磁盘的N个磁盘参数值计算所述每个磁盘的慢盘概率;判断单元,用于根据所述每个磁盘的慢盘概率判断所述每个磁盘集中的慢盘。In a second aspect, a storage array is provided, the storage array includes at least one disk set, each disk set includes at least one disk, and the storage array includes: a detecting unit, configured to detect in the storage array N disk parameter values of each disk in at least one disk set, where N is a positive integer greater than or equal to 2; a computing unit configured to calculate each of the disks according to N disk parameter values of each disk The slow disk probability; the determining unit is configured to determine the slow disk in each disk set according to the slow disk probability of each disk.
上述技术方案侦测至少一个磁盘集中的每个磁盘的N个磁盘参数值。在慢盘检测过程中,通过考虑每个磁盘的多个磁盘参数值,与传统的仅基于I/O平均服务时间这一因素进行慢盘检测的方式相比,使得慢盘检测的结果更准确。The above technical solution detects N disk parameter values of each disk in at least one disk set. In the slow disk detection process, by considering the value of multiple disk parameters of each disk, the result of slow disk detection is more accurate than the traditional method of slow disk detection based only on the factor of I/O average service time. .
在一种可能的实现方式中,所述计算单元具体用于:判断所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间,其中,所述每个磁盘参数对应至少一个参数区间;确定所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间对应的概率,其中,所述每个磁盘参数值所落入的参数区间对应一个概率;根据所述每个磁盘的N个磁盘参数对应的概率计算所述每个磁盘的慢盘概率;根据所述每个磁盘的慢盘概率判断所述磁盘集中的慢盘。In a possible implementation manner, the calculating unit is specifically configured to: determine a parameter interval in which each disk parameter value of each detected disk falls, wherein each disk parameter corresponds to at least one a parameter interval; determining a probability corresponding to a parameter interval in which each disk parameter value of each of the detected disks falls, wherein the parameter interval in which each disk parameter value falls corresponds to a probability; Calculating the probability of the slow disk of each disk according to the probability corresponding to the N disk parameters of each disk; determining the slow disk in the disk set according to the slow disk probability of each disk.
在一种可能的实现方式中,所述每个磁盘集中对应的每个磁盘参数对应一个权值,所述计算单元具体用于:根据所述每个磁盘的N个磁盘参数对应的概率及所述每个磁盘的N个磁盘参数对应的权重计算所述每个磁盘的慢盘概率。In a possible implementation, each of the disk parameters corresponding to each disk set corresponds to a weight, and the calculating unit is specifically configured to: according to the probability and location of the N disk parameters of each disk Calculate the slow disk probability of each disk by the weight corresponding to the N disk parameters of each disk.
上述技术方案中,可以根据N个磁盘参数对应的权值,对每个磁盘的N个磁盘参数对应的概率进行加权求和,确定每个磁盘为慢盘的总概率。通过综合考虑每个磁盘的N个磁盘参数,使得慢盘检测的结果更准确。In the foregoing technical solution, the probability corresponding to the N disk parameters of each disk may be weighted and summed according to the weight corresponding to the N disk parameters, and the total probability that each disk is a slow disk is determined. The result of slow disk detection is more accurate by considering the N disk parameters of each disk.
在一种可能的实现方式中,所述每个磁盘集具有相同的磁盘特性。In one possible implementation, each of the disk sets has the same disk characteristics.
上述技术方案中,同一个磁盘集中的磁盘特性相同,相当于在排除了磁盘特性对慢盘检测结果的影响的前提下,再进行慢盘检测,使得慢盘检测的结果更准确。In the above technical solution, the disk characteristics of the same disk set are the same, which is equivalent to the slow disk detection under the premise of eliminating the influence of the disk characteristics on the slow disk detection result, so that the result of the slow disk detection is more accurate.
在一种可能的实现方式中,不同磁盘集对应的所述磁盘特性中至少有一个磁盘特性不同。In a possible implementation manner, at least one of the disk characteristics corresponding to different disk sets is different.
第三方面,提供了一种存储阵列,包括处理器和存储器,所述存储器用于存储计算机指令,所述处理器用于执行所述存储器中存储的计算机指令,当所述计算机指令被执行时,所述处理器用于执行上述第一方面或第一方面的任意可能的实现方式中的方法。In a third aspect, a memory array is provided, comprising a processor and a memory, the memory for storing computer instructions, the processor for executing computer instructions stored in the memory, when the computer instructions are executed, The processor is operative to perform the method of any of the first aspect or the first aspect of the first aspect.
第四方面,提供了一种计算机存储介质,包括计算机指令,当所述计算机指令在计算机上运行时,使得所述计算机执行如上述第一方面或第一方面的任意可能的实现方式中所述的方法。In a fourth aspect, a computer storage medium is provided, comprising computer instructions that, when executed on a computer, cause the computer to perform the first aspect or any of the possible implementations of the first aspect Methods.
第五方面,提供了一种包含指令的计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如上述第一方面或第一方面的任意可能的实现方式中所述的方法。In a fifth aspect, a computer program product comprising instructions for causing said computer to perform said first aspect or any of the possible implementations of the first aspect, when said computer program product is run on a computer Methods.
附图说明DRAWINGS
图1是可应用本发明实施例的存储阵列的结构示例图。1 is a diagram showing an example of the structure of a memory array to which an embodiment of the present invention is applicable.
图2是本发明实施例提供的慢盘检测方法的示意性流程图。FIG. 2 is a schematic flowchart of a slow disk detecting method according to an embodiment of the present invention.
图3是本发明实施例提供的待检测的磁盘的分组方式的示例图。FIG. 3 is a diagram showing an example of a grouping manner of a disk to be detected according to an embodiment of the present invention.
图4是与磁盘的I/O平均服务时间对应的慢盘概率模型的示意图。4 is a schematic diagram of a slow disk probability model corresponding to an I/O average service time of a disk.
图5是与I/O处理时间超过预设阈值的I/O个数对应的慢盘概率模型的示意图。FIG. 5 is a schematic diagram of a slow disk probability model corresponding to the number of I/Os in which the I/O processing time exceeds a preset threshold.
图6是本发明实施例提供的存储阵列的示意性结构图。FIG. 6 is a schematic structural diagram of a memory array according to an embodiment of the present invention.
图7是本发明实施例提供的存储阵列的示意性结构图。FIG. 7 is a schematic structural diagram of a memory array according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
图1是可应用本发明实施例的存储阵列的结构示例图。如图1所示,磁盘阵列100可以位于盘框110内部。盘框可以包括多个盘槽,每个磁盘槽可以放置一张磁盘120。本申请提及的磁盘例如可以是固态硬盘(solid state drives,SSD),串行高级技术附加装置(serial advanced technology attachment,SATA)盘,串行连接小型计算机系统接口(serial attached small computer system interface,SAS)盘,近线SAS(near line-SAS,NL-SAS)盘等。图1所示的存储阵列例如可以是独立磁盘冗余阵列(redundant array of independent disks,RAID)。1 is a diagram showing an example of the structure of a memory array to which an embodiment of the present invention is applicable. As shown in FIG. 1, the disk array 100 can be located inside the disk frame 110. The disk frame may include a plurality of disk slots, and each disk slot may have one disk 120 placed. The disk mentioned in the present application may be, for example, a solid state drive (SSD), a serial advanced technology attachment (SATA) disk, and a serial attached small computer system interface (serial attached small computer system interface, SAS) disk, near-line SAS (near line-SAS, NL-SAS) disk, etc. The storage array shown in FIG. 1 may be, for example, a redundant array of independent disks (RAID).
本发明实施例提供一种慢盘检测方法,可以提高慢盘检测准确率。下面结合图2对本发明实施例进行详细描述。The embodiment of the invention provides a slow disk detection method, which can improve the accuracy of slow disk detection. The embodiments of the present invention are described in detail below with reference to FIG.
图2是本发明实施例提供的慢盘检测方法的示意性流程图。图2的方法可以由存储阵列执行,例如可以是磁盘所在的存储阵列中的处理器。图2的方法可以包括步骤210-230,下面分别对步骤210-230进行详细描述。FIG. 2 is a schematic flowchart of a slow disk detecting method according to an embodiment of the present invention. The method of Figure 2 can be performed by a storage array, such as a processor in a storage array in which the disk is located. The method of FIG. 2 may include steps 210-230, which are described in detail below.
在步骤210中,侦测所述存储阵列中的至少一个磁盘集中的每个磁盘的N个磁盘参数值,其中,N为大于或等于2的正整数。In step 210, N disk parameter values of each disk in at least one disk set in the storage array are detected, where N is a positive integer greater than or equal to 2.
应理解,可以按照不同的磁盘特性将磁盘阵列中的磁盘分成不同的磁盘集,该磁盘集中的磁盘具有相同的磁盘特性。磁盘特性例如可以是磁盘的硬件特征,也可以是磁盘上存储的业务类型。It should be understood that the disks in the disk array can be divided into different disk sets according to different disk characteristics, and the disks in the disk set have the same disk characteristics. The disk characteristics can be, for example, the hardware characteristics of the disk or the type of service stored on the disk.
本发明实施例对磁盘的硬件特征的类型不做具体限定,该磁盘的硬件特征可以有多种。例如,硬件特征可以包括以下中的至少一种:磁盘的类型,转速,协议类型。The embodiment of the present invention does not specifically limit the type of hardware features of the disk, and the hardware features of the disk may be various. For example, the hardware features can include at least one of the following: type of disk, speed, protocol type.
磁盘类型例如可以包括以下类型中的至少一种:SSD、SATA、SAS、NL-SAS等。磁盘的转速例如可以包括以下转速中的至少一种:5400转/分钟、7200转/分钟、10000转/分钟、15000转/分钟。磁盘的协议类型例如可以包括以下协议中的至少一种:非易失内存表达(non-volatile memory express,NVME)协议、因特网小型计算机系统接口(internet small computer system interface,ISCSI)协议、先进技术附件(advanced technology attachment,ATA)协议等。The disk type may include, for example, at least one of the following types: SSD, SATA, SAS, NL-SAS, and the like. The rotational speed of the disk may include, for example, at least one of the following rotational speeds: 5400 rpm, 7200 rpm, 10,000 rpm, 15,000 rpm. The protocol type of the disk may include, for example, at least one of the following protocols: a non-volatile memory express (NVME) protocol, an internet small computer system interface (ISCSI) protocol, and an advanced technology accessory. (advanced technology attachment, ATA) agreement.
可选地,在一些实施例中,磁盘上存储的业务类型例如可以是当磁盘分给上层应用使用时,上层应用所产生的数据存储在该磁盘上,不同的上层应用将会产生不同的数据类型。Optionally, in some embodiments, the type of service stored on the disk may be, for example, when the disk is allocated to the upper layer application, and the data generated by the upper layer application is stored on the disk, and different upper layer applications may generate different data. Types of.
下面结合图3对每个磁盘集对应的磁盘特性进行详细说明。参见图3,可以将磁盘 上存储的业务类型选取为磁盘所属的硬盘域,并将磁盘的硬件特征选取为磁盘的类型和/或转速。如图3所示,基于待检测磁盘的上述特征,可以将待检测的磁盘划分至如图3所示的4个检测域(也可称为磁盘集)。检测域1中的磁盘满足如下条件:所属的硬盘域为硬盘域0,磁盘为SAS盘,磁盘的转速为10000转/分钟。检测域2中的磁盘满足如下条件:所属的硬盘域为硬盘域0,磁盘为SAS盘,磁盘的转速为15000转/分钟。检测域3中的磁盘满足如下条件:所属的硬盘域为硬盘域1,磁盘为SDD盘。检测域4中的磁盘满足如下条件:所属的硬盘域为硬盘域2,磁盘为NVME盘。图3中,不同的检测域(磁盘集)中对应的磁盘特性中可以至少有一个磁盘特性不同。The disk characteristics corresponding to each disk set will be described in detail below with reference to FIG. Referring to Figure 3, the type of service stored on the disk can be selected as the disk domain to which the disk belongs, and the hardware characteristics of the disk are selected as the type and/or speed of the disk. As shown in FIG. 3, based on the above characteristics of the disk to be detected, the disk to be detected can be divided into four detection domains (also referred to as disk sets) as shown in FIG. The disk in the detection domain 1 meets the following conditions: the disk domain to which it belongs is disk domain 0, the disk is SAS disk, and the disk speed is 10,000 rpm. The disk in the detection domain 2 meets the following conditions: the disk domain to which it belongs is disk domain 0, the disk is SAS disk, and the disk speed is 15000 rpm. The disk in the detection domain 3 meets the following conditions: the disk domain to which it belongs is the disk domain 1 and the disk is the SDD disk. The disk in the detection domain 4 meets the following conditions: the disk domain to which it belongs is the disk domain 2, and the disk is the NVME disk. In Figure 3, at least one of the corresponding disk characteristics in different detection domains (disk sets) may have different disk characteristics.
实际检测过程中,可以依次对检测域1-检测域4中的硬盘进行慢盘检测。或者,也可以并行地对4个检测域中的盘分别进行慢盘检测。During the actual detection process, the hard disk in the detection domain 1 - detection domain 4 may be sequentially detected. Alternatively, it is also possible to perform slow disk detection on the disks in the four detection domains in parallel.
本发明实施例将慢盘检测的对象选取为磁盘的硬件特征和/或磁盘上存储的业务类型相同的一个磁盘集。并对该磁盘集中的磁盘侦测多个参数值,使得慢盘检测的结果更准确。In the embodiment of the present invention, the object detected by the slow disk is selected as a hardware feature of the disk and/or a disk set having the same service type stored on the disk. And detecting multiple parameter values for the disk in the disk set, so that the result of the slow disk detection is more accurate.
应理解,每个磁盘的N个磁盘参数值均可为用于衡量磁盘是否为慢盘的N个因素。该N个磁盘参数例如可以包括以下因素中的部分或全部因素:I/O平均服务时间,I/O处理时间超过预设阈值的I/O个数,以及未被响应的I/O个数等。I/O平均服务时间例如可以是磁盘本身处理单个I/O需要消耗的平均时间,I/O处理时间超过预设阈值的I/O个数例如可以是磁盘处理I/O的时间超过设定阈值时间的I/O个数,未被响应的I/O个数例如可以是磁盘所有的I/O里没有响应的I/O个数。It should be understood that the N disk parameter values of each disk can be N factors for measuring whether the disk is a slow disk. The N disk parameters may include, for example, some or all of the following factors: I/O average service time, I/O processing time exceeding the preset threshold, and number of unresponsive I/Os. Wait. The average I/O service time can be, for example, the average time that the disk itself needs to process a single I/O. The number of I/Os whose I/O processing time exceeds a preset threshold can be, for example, the time that the disk processing I/O exceeds the setting. The number of I/Os of the threshold time, and the number of unresponsive I/Os may be, for example, the number of I/Os that are not responding to all I/Os of the disk.
在步骤220中,根据所述每个磁盘的N个磁盘参数值计算所述每个磁盘的慢盘概率。In step 220, the slow disk probability of each disk is calculated according to the N disk parameter values of each disk.
可选地,在一些实施例中,可以通过判断所侦测的每个磁盘的每个磁盘参数值所落入的参数区间,其中每个磁盘参数可对应至少一个参数区间。并可通过每个磁盘的每个磁盘参数值所落入的参数区间对应的概率计算每个磁盘的慢盘概率。下面结合具体的实施例进行详细的说明。Optionally, in some embodiments, the parameter interval in which each disk parameter value of each disk detected may be determined, wherein each disk parameter may correspond to at least one parameter interval. The slow disk probability of each disk can be calculated by the probability corresponding to the parameter interval in which each disk parameter value of each disk falls. Detailed description will be made below in conjunction with specific embodiments.
以I/O平均服务时间作为磁盘的一个参数值为例,对于单个磁盘,通常来说,I/O平均服务时间越长,磁盘为慢盘的概率越大。图4是与磁盘的I/O平均服务时间对应的慢盘概率模型。如图4所示,当磁盘的I/O平均服务时间在区间0-S 1时,该磁盘为慢盘的概率为x%。当磁盘的I/O平均服务时间在区间S 1-S 2时,该磁盘为慢盘的概率为y%。当磁盘的I/O平均服务时间在区间S 2-S 3时,该磁盘为慢盘的概率为z%。从图4可以看出,随着磁盘的I/O平均服务时间越长,磁盘为慢盘的概率越大。因此,磁盘I/O平均服务时间可以作为衡量磁盘是否为慢盘的因素。 Taking the I/O average service time as a parameter value of the disk, for a single disk, generally, the longer the average I/O service time, the greater the probability that the disk is a slow disk. Figure 4 is a slow disk probability model corresponding to the I/O average service time of the disk. As shown in FIG. 4, when the I/O average service time of the disk is in the interval 0-S 1 , the probability that the disk is a slow disk is x%. When the I/O average service time of the disk is in the interval S 1 -S 2 , the probability that the disk is a slow disk is y%. When the I/O average service time of the disk is in the interval S 2 -S 3 , the probability that the disk is a slow disk is z%. As can be seen from Figure 4, as the average I/O service time of the disk is longer, the probability that the disk is a slow disk is greater. Therefore, the disk I/O average service time can be used as a measure of whether a disk is a slow disk.
以I/O处理时间超过预设阈值的I/O个数为每个磁盘的一个参数值为例,对于单个磁盘,通常来说,I/O处理时间超过预设阈值的I/O个数越多,磁盘为慢盘的概率越大。图5是与I/O处理时间超过预设阈值的I/O个数对应的慢盘概率模型。如图5所示,正常盘中I/O处理时间超过t 3(设定的阈值时间)的I/O个数占I/O总个数的概率为p%(也可称为慢盘该率),慢盘中I/O处理时间超过t 3(设定的阈值时间)的I/O个数占I/O总个数的概率为m%。由于慢盘中I/O处理时间超过预设阈值的I/O个数比正常盘中I/O处理时间超过预设阈值的I/O个数越多,该磁盘为慢盘的概率越大。因此,I/O处理时间超过预设阈值的I/O个数可以作为衡量磁盘是否为慢盘的因素。 For example, if the I/O processing time exceeds the preset threshold, the number of I/Os is a parameter value of each disk. For a single disk, the I/O processing time exceeds the preset threshold. The more you have, the more likely the disk is to be a slow disk. FIG. 5 is a slow disk probability model corresponding to the number of I/Os in which the I/O processing time exceeds a preset threshold. As shown in FIG. 5, the probability that the number of I/Os in the normal disk exceeds t 3 (the set threshold time) by the total number of I/Os is p% (also referred to as slow disk). Rate), the probability that the I/O processing time in the slow disk exceeds t 3 (the set threshold time) by the total number of I/Os is m%. The number of I/Os in which the I/O processing time in the slow disk exceeds the preset threshold is greater than the number of I/Os in the normal disk that exceeds the preset threshold. The greater the probability that the disk is a slow disk. . Therefore, the number of I/Os that the I/O processing time exceeds the preset threshold can be used as a measure of whether the disk is a slow disk.
上文提及的K个因素的重要性可能并不相同,因此,如表1所示,可以按照各因素重要性的不同给其赋予不同的权值。The importance of the K factors mentioned above may not be the same, so as shown in Table 1, different weights may be assigned to each factor according to its importance.
表1Table 1
Figure PCTCN2018116608-appb-000001
Figure PCTCN2018116608-appb-000001
然后,可以根据每个因素的权值,对N个磁盘中的每个磁盘在K个因素下为慢盘的概率进行加权求和,确定每个磁盘为慢盘的总概率。Then, according to the weight of each factor, the probability that each of the N disks is a slow disk under K factors can be weighted and summed to determine the total probability that each disk is a slow disk.
作为一个示例,如表2所示,对于磁盘D 1,x 1%表示D 1在因素1下为慢盘的概率,y 1%表示D 1在因素2下为慢盘的概率。对于磁盘D2,x 2%表示D 1在因素1下为慢盘的概率,y 2%表示D 1在因素2下为慢盘的概率,以此类推。 As one example, as shown in Table 2, to the disk D 1, x 1% probability that D 1 is represented by slow disk, y 1% D 1 represents the probability of the disk at a slower factor 2 at a factor. For disk D2, x 2 % represents the probability that D 1 is a slow disk under factor 1, y 2 % represents the probability that D 1 is a slow disk under factor 2, and so on.
表2Table 2
Figure PCTCN2018116608-appb-000002
Figure PCTCN2018116608-appb-000002
然后,可以基于各个因素的权值,计算出确定每个磁盘为慢盘的总概率。如表3所示,磁盘D 1被判定为慢盘的概率可以通过下式计算:P(D 1)=x 1%*w 1+y 1%*w 2+……。其中,x 1%表示D 1在因素1下为慢盘的概率,w 1表示因素1的权值,y 1%表示D 1在因素2下为慢盘的概率,w 2表示因素2的权值。 Then, based on the weights of the various factors, the total probability of determining each disk as a slow disk can be calculated. As shown in Table 3, the probability that the disk D 1 is determined to be a slow disk can be calculated by the following equation: P(D 1 ) = x 1 % * w 1 + y 1 % * w 2 + .... Where x 1 % represents the probability that D 1 is a slow disk under factor 1, w 1 represents the weight of factor 1, y 1 % represents the probability that D 1 is a slow disk under factor 2, and w 2 represents the weight of factor 2 value.
表3table 3
Figure PCTCN2018116608-appb-000003
Figure PCTCN2018116608-appb-000003
在步骤230中,根据所述每个磁盘的慢盘概率判断所述每个磁盘集中的慢盘。In step 230, the slow disk in each disk set is determined according to the slow disk probability of each disk.
在本申请实施例中,侦测至少一个磁盘集中的每个磁盘的N个磁盘参数值。在慢盘检测过程中,通过考虑每个磁盘的多个磁盘参数值,与传统的仅基于I/O平均服务时间这一因素进行慢盘检测的方式相比,使得慢盘检测的结果更准确。In the embodiment of the present application, N disk parameter values of each disk in at least one disk set are detected. In the slow disk detection process, by considering the value of multiple disk parameters of each disk, the result of slow disk detection is more accurate than the traditional method of slow disk detection based only on the factor of I/O average service time. .
步骤230中提及的每个磁盘的慢盘概率可以是该磁盘在一个检测周期内为慢盘的概率,也可以包含磁盘在多个检测周期中的各检测周期内为慢盘的概率。例如,可以先根据每个磁盘在多个检测周期中的每个检测周期内为慢盘的概率以及预设阈值,从每个磁盘中选取每个检测周期对应的疑似慢盘。接着可以从多个检测周期对应的疑似慢盘中确定慢盘(如可以将每个磁盘中的作为疑似磁盘次数大于预设次数,或者每个磁盘中的作 为疑似磁盘次数最多的磁盘确定为慢盘)。The slow disk probability of each disk mentioned in step 230 may be the probability that the disk is a slow disk in one detection period, and may also include the probability that the disk is a slow disk in each detection period in multiple detection periods. For example, the suspected slow disk corresponding to each detection period may be selected from each disk according to the probability that each disk is a slow disk in each detection cycle of a plurality of detection cycles and a preset threshold. Then, the slow disk can be determined from the suspected slow disks corresponding to the multiple detection cycles (for example, the number of suspected disks in each disk is greater than the preset number of times, or the disk having the largest number of suspected disks in each disk is determined to be slow. plate).
上文描述的每个检测周期对应的疑似慢盘可以理解为在该每个检测周期内为慢盘的总概率大于预设阈值的磁盘(下文将磁盘在某个检测周期内为慢盘的概率大于预设阈值这一条件称为条件一)。每个周期对应的疑似慢盘可以是一个慢盘,也可以包括多个慢盘。如果某个磁盘为某个检测周期对应的疑似慢盘,也可以将该检测周期称为该磁盘的慢周期,表示该磁盘在该检测周期的I/O响应速度较慢。The suspected slow disk corresponding to each detection period described above can be understood as a disk whose total probability of slow disks is greater than a preset threshold in each detection period (hereinafter, the probability that the disk is a slow disk in a certain detection period) The condition that is greater than the preset threshold is called condition one). The suspected slow disk corresponding to each cycle may be a slow disk or multiple slow disks. If a disk is a suspected slow disk corresponding to a certain detection period, the detection cycle may also be referred to as a slow cycle of the disk, indicating that the disk has a slow I/O response time during the detection cycle.
本发明实施例并非将某个检测周期的慢盘检测结果直接确定为最终的慢盘检测结果,而是基于多个检测周期的慢盘检测结果综合地确定待检测的磁盘中是否包含慢盘,这种慢盘检测方式会使得慢盘检测结果更加准确。The embodiment of the present invention does not directly determine the slow disk detection result of a certain detection period as the final slow disk detection result, but comprehensively determines whether the slow disk is included in the disk to be detected based on the slow disk detection result of the multiple detection cycles. This slow disk detection method will make the slow disk detection result more accurate.
上文基于条件一判定各检测周期对应的疑似慢盘。可选地,在某些实施例中,还可以综合考虑其他多种条件确定检测周期对应的疑似慢盘。例如,可以先判断该检测周期的数据是否满足如下条件二:每个磁盘集中概率最大的磁盘的概率大于磁盘集中其他磁盘的U(U大于1)倍。如果条件二未被满足,则确定该检测周期不存在疑似慢盘;如果条件二被满足,则判定该检测周期内是否存在满足上述条件一的磁盘;如果存在,则将该磁盘判定为该检测周期对应的疑似慢盘。又如,可以先判断该检测周期的数据是否满足如下条件三:磁盘集中至少有L(L为不小于1的正整数)个磁盘承接数据业务。如果条件三未被满足,则确定该检测周期不存在疑似慢盘;如果条件三被满足,则判定该检测周期内是否存在满足上述条件一的磁盘;如果存在,则将该磁盘判定为该检测周期对应的疑似慢盘。需要说明的是,上文提及的条件一、条件二、条件三可以任一组合,本发明实施例对此并不限定。The above suspected slow disk corresponding to each detection cycle is determined based on the condition one above. Optionally, in some embodiments, the suspected slow disk corresponding to the detection period may also be determined by considering various other conditions. For example, it may be determined whether the data of the detection period satisfies the following condition 2: the probability of the disk with the highest probability of concentration in each disk is greater than the U (U is greater than 1) times of other disks in the disk set. If the condition 2 is not satisfied, it is determined that there is no suspected slow disk in the detection period; if the condition two is satisfied, it is determined whether there is a disk that satisfies the condition 1 in the detection period; if yes, the disk is determined as the detection The suspected slow disk corresponding to the cycle. For another example, it may be determined whether the data of the detection period satisfies the following condition three: at least L (L is a positive integer not less than 1) disks in the disk set to undertake data services. If the condition 3 is not satisfied, it is determined that there is no suspected slow disk in the detection period; if the condition three is satisfied, it is determined whether there is a disk that satisfies the condition 1 in the detection period; if yes, the disk is determined as the detection The suspected slow disk corresponding to the cycle. It should be noted that the foregoing condition 1, condition 2, and condition three may be combined in any combination, and the embodiment of the present invention is not limited thereto.
上文中结合图2至图5,详细描述了本发明实施例提供的慢盘检测方法,下面将结合图6,详细描述本发明实施例提供的存储阵列。图6的存储阵列可用于执行上文中的各个步骤。图6的存储阵列可以包括侦测单元610、计算单元620以及判断单元630。The slow disk detecting method provided by the embodiment of the present invention is described in detail above with reference to FIG. 2 to FIG. 5 . The memory array provided by the embodiment of the present invention will be described in detail below with reference to FIG. 6 . The memory array of Figure 6 can be used to perform the various steps above. The memory array of FIG. 6 may include a detecting unit 610, a calculating unit 620, and a determining unit 630.
侦测单元610,可用于侦测所述存储阵列中的至少一个磁盘集中的每个磁盘的N个磁盘参数值,其中,N为大于或等于2的正整数。The detecting unit 610 is configured to detect N disk parameter values of each disk in the at least one disk set in the storage array, where N is a positive integer greater than or equal to 2.
计算单元620,可用于根据所述每个磁盘的N个磁盘参数值计算所述每个磁盘的慢盘概率。The calculating unit 620 is configured to calculate a slow disk probability of each disk according to the N disk parameter values of each disk.
判断单元630,可用于根据所述每个磁盘的慢盘概率判断所述每个磁盘集中的慢盘。The determining unit 630 is configured to determine, according to the slow disk probability of each disk, the slow disk in each disk set.
可选地,在一些实施例中,计算单元620可具体用于:判断所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间,其中,所述每个磁盘参数对应至少一个参数区间;确定所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间对应的概率,其中,所述每个磁盘参数值所落入的参数区间对应一个概率;根据所述每个磁盘的N个磁盘参数对应的概率计算所述每个磁盘的慢盘概率;根据所述每个磁盘的慢盘概率判断所述磁盘集中的慢盘。Optionally, in some embodiments, the calculating unit 620 may be specifically configured to: determine a parameter interval in which each disk parameter value of each detected disk falls, wherein each of the disk parameters corresponds to at least a parameter interval; determining a probability corresponding to a parameter interval in which each of the detected disk parameter values falls, wherein the parameter interval in which each disk parameter value falls corresponds to a probability; Calculating the probability of the slow disk of each disk according to the probability corresponding to the N disk parameters of each disk; determining the slow disk in the disk set according to the slow disk probability of each disk.
可选地,在一些实施例中,所述每个磁盘集中对应的每个磁盘参数对应一个权值,所述计算单元620还可具体用于:根据所述每个磁盘的N个磁盘参数对应的概率及所述每个磁盘的N个磁盘参数对应的权重计算所述每个磁盘的慢盘概率。Optionally, in some embodiments, each disk parameter corresponding to each disk set corresponds to a weight, and the calculating unit 620 is further configured to: respond to the N disk parameters of each disk. The probability of the disk and the weight corresponding to the N disk parameters of each disk calculate the slow disk probability of each disk.
可选地,在一些实施例中,所述每个磁盘集具有相同的磁盘特性。Optionally, in some embodiments, each of the disk sets has the same disk characteristics.
可选地,在一些实施例中,不同磁盘集对应的所述磁盘特性中至少有一个磁盘特性不同。Optionally, in some embodiments, at least one of the disk characteristics corresponding to different disk sets is different.
图7是本发明实施例提供的存储阵列的示意性结构图。图7中的存储阵列700可以 执行图2至图5的任一实施例描述的慢盘检测方法。图7的存储阵列700可以包括存储器710和处理器720。存储器710可用于存储程序。处理器720可用于执行所述存储器710中存储的程序。当存储器710中存储的程序被执行时,所述处理器720可用于执行上文任一实施例描述的慢盘检测方法。FIG. 7 is a schematic structural diagram of a memory array according to an embodiment of the present invention. The memory array 700 of Figure 7 can perform the slow disk detection method described in any of the embodiments of Figures 2 through 5. The memory array 700 of FIG. 7 can include a memory 710 and a processor 720. Memory 710 can be used to store programs. The processor 720 can be configured to execute a program stored in the memory 710. When the program stored in the memory 710 is executed, the processor 720 can be used to execute the slow disk detection method described in any of the above embodiments.
应理解,在本发明实施例中,术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系。例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that in the embodiment of the present invention, the term "and/or" is merely an association relationship describing an associated object, indicating that there may be three relationships. For example, A and/or B may indicate that A exists separately, and A and B exist simultaneously, and B cases exist alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其他任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如数字视频光盘(digital video disc,DVD))、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)). .
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存 储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program code. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application. It should be covered by the scope of protection of this application. Therefore, the scope of protection of the present application should be determined by the scope of the claims.

Claims (10)

  1. 一种慢盘检测的方法,由存储阵列执行,其特征在于,所述存储阵列包括至少一个磁盘集,每个磁盘集包括至少一个磁盘,所述方法包括:A method for slow disk detection is performed by a storage array, wherein the storage array includes at least one disk set, each disk set includes at least one disk, and the method includes:
    侦测所述存储阵列中的至少一个磁盘集中的每个磁盘的N个磁盘参数值,其中,N为大于或等于2的正整数;Detecting N disk parameter values of each disk in at least one disk set in the storage array, where N is a positive integer greater than or equal to 2;
    根据所述每个磁盘的N个磁盘参数值计算所述每个磁盘的慢盘概率;Calculating a slow disk probability of each disk according to the N disk parameter values of each disk;
    根据所述每个磁盘的慢盘概率判断所述每个磁盘集中的慢盘。The slow disk in each disk set is judged according to the slow disk probability of each disk.
  2. 如权利要求1所述的方法,其特征在于,所述根据所述每个磁盘的N个磁盘参数值计算每个磁盘的慢盘概率,包括:The method of claim 1, wherein the calculating the slow disk probability of each disk according to the N disk parameter values of each disk comprises:
    判断所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间,其中,所述每个磁盘参数对应至少一个参数区间;Determining a parameter interval in which each disk parameter value of each of the detected disks falls, wherein each disk parameter corresponds to at least one parameter interval;
    确定所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间对应的概率,其中,所述每个磁盘参数值所落入的参数区间对应一个概率;Determining a probability corresponding to a parameter interval in which each of the detected disk parameter values falls, wherein the parameter interval in which each disk parameter value falls corresponds to a probability;
    根据所述每个磁盘的N个磁盘参数对应的概率计算所述每个磁盘的慢盘概率;Calculating a slow disk probability of each disk according to a probability corresponding to the N disk parameters of each disk;
    根据所述每个磁盘的慢盘概率判断所述磁盘集中的慢盘。Determining the slow disk in the disk set according to the slow disk probability of each disk.
  3. 如权利要求1或2所述的方法,其特征在于,所述每个磁盘集中对应的每个磁盘参数对应一个权值,The method according to claim 1 or 2, wherein each disk parameter corresponding to each disk set corresponds to a weight,
    所述根据所述每个磁盘的N个磁盘参数对应的概率计算所述每个磁盘的慢盘概率,包括:根据所述每个磁盘的N个磁盘参数对应的概率及所述每个磁盘的N个磁盘参数对应的权重计算所述每个磁盘的慢盘概率。Calculating the slow disk probability of each disk according to the probability corresponding to the N disk parameters of each disk, including: a probability corresponding to the N disk parameters of each disk and each of the disks The weight corresponding to the N disk parameters calculates the slow disk probability of each disk.
  4. 如权利要求1至3中任一项所述的方法,其特征在于,所述每个磁盘集具有相同的磁盘特性。The method of any of claims 1 to 3, wherein each of the sets of disks has the same disk characteristics.
  5. 如权利要求1至4中任一项所述的方法,其特征在于,不同磁盘集对应的所述磁盘特性中至少有一个磁盘特性不同。The method according to any one of claims 1 to 4, characterized in that at least one of the disk characteristics corresponding to different disk sets is different.
  6. 一种存储阵列,其特征在于,所述存储阵列包括至少一个磁盘集,每个磁盘集包括至少一个磁盘,所述存储阵列包括:A storage array, wherein the storage array includes at least one disk set, each disk set includes at least one disk, and the storage array includes:
    侦测单元,用于侦测所述存储阵列中的至少一个磁盘集中的每个磁盘的N个磁盘参数值,其中,N为大于或等于2的正整数;a detecting unit, configured to detect N disk parameter values of each disk in the at least one disk set in the storage array, where N is a positive integer greater than or equal to 2;
    计算单元,用于根据所述每个磁盘的N个磁盘参数值计算所述每个磁盘的慢盘概率;a calculating unit, configured to calculate a slow disk probability of each disk according to the N disk parameter values of each disk;
    判断单元,用于根据所述每个磁盘的慢盘概率判断所述每个磁盘集中的慢盘。a determining unit, configured to determine, according to the slow disk probability of each disk, the slow disk in each disk set.
  7. 如权利要求6所述的存储阵列,其特征在于,所述计算单元具体用于:The storage array of claim 6, wherein the computing unit is specifically configured to:
    判断所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间,其中,所述每个磁盘参数对应至少一个参数区间;Determining a parameter interval in which each disk parameter value of each of the detected disks falls, wherein each disk parameter corresponds to at least one parameter interval;
    确定所述侦测的每个磁盘的每个磁盘参数值所落入的参数区间对应的概率,其中,所述每个磁盘参数值所落入的参数区间对应一个概率;Determining a probability corresponding to a parameter interval in which each of the detected disk parameter values falls, wherein the parameter interval in which each disk parameter value falls corresponds to a probability;
    根据所述每个磁盘的N个磁盘参数对应的概率计算所述每个磁盘的慢盘概率;Calculating a slow disk probability of each disk according to a probability corresponding to the N disk parameters of each disk;
    根据所述每个磁盘的慢盘概率判断所述磁盘集中的慢盘。Determining the slow disk in the disk set according to the slow disk probability of each disk.
  8. 如权利要求7所述的存储阵列,其特征在于,所述每个磁盘集中对应的每个磁盘参数对应一个权值,The storage array according to claim 7, wherein each disk parameter corresponding to each disk set corresponds to a weight,
    所述计算单元具体用于:根据所述每个磁盘的N个磁盘参数对应的概率及所述每个磁盘的N个磁盘参数对应的权重计算所述每个磁盘的慢盘概率。The calculating unit is specifically configured to: calculate a slow disk probability of each disk according to a probability corresponding to the N disk parameters of each disk and a weight corresponding to the N disk parameters of each disk.
  9. 如权利要求6至8中任一项所述的存储阵列,其特征在于,所述每个磁盘集具有相同的磁盘特性。A storage array according to any one of claims 6 to 8 wherein each of said sets of disks has the same disk characteristics.
  10. 如权利要求6至9中任一项所述的存储阵列,其特征在于,不同磁盘集对应的所述磁盘特性中至少有一个磁盘特性不同。The storage array according to any one of claims 6 to 9, wherein at least one of the disk characteristics corresponding to different disk sets is different.
PCT/CN2018/116608 2017-11-22 2018-11-21 Slow-disk detection method, and storage array WO2019101087A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711170428.0A CN109815037B (en) 2017-11-22 2017-11-22 Slow disk detection method and storage array
CN201711170428.0 2017-11-22

Publications (1)

Publication Number Publication Date
WO2019101087A1 true WO2019101087A1 (en) 2019-05-31

Family

ID=66601044

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/116608 WO2019101087A1 (en) 2017-11-22 2018-11-21 Slow-disk detection method, and storage array

Country Status (2)

Country Link
CN (1) CN109815037B (en)
WO (1) WO2019101087A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416639A (en) * 2020-11-16 2021-02-26 新华三技术有限公司成都分公司 Slow disk detection method, device, equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241343B (en) * 2019-07-19 2024-02-23 深信服科技股份有限公司 Slow disk detection method and device, electronic equipment and readable storage medium
CN111984481A (en) * 2020-08-14 2020-11-24 苏州浪潮智能科技有限公司 Slow disk detection method and device based on distributed storage
CN115934003B (en) * 2023-03-09 2023-05-16 浪潮电子信息产业股份有限公司 Method, device and equipment for identifying slow disk in disk array and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810062A (en) * 2014-03-05 2014-05-21 华为技术有限公司 Slow disk detection method and device
CN106354590A (en) * 2015-07-17 2017-01-25 中兴通讯股份有限公司 Method and apparatus for disk detection
CN106407052A (en) * 2015-07-31 2017-02-15 华为技术有限公司 Disk detection method and apparatus
CN106407051A (en) * 2015-07-31 2017-02-15 华为技术有限公司 Slow disk detection method and device
CN106557389A (en) * 2015-09-29 2017-04-05 成都华为技术有限公司 A kind of slow disk detection method and device
CN106897178A (en) * 2017-02-21 2017-06-27 曲阜师范大学 A kind of slow disk detection method and system based on extreme learning machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7971093B1 (en) * 2008-01-16 2011-06-28 Network Appliance, Inc. Apparatus and method to proactively address hard disk drive inefficiency and failure
JP2010009442A (en) * 2008-06-30 2010-01-14 Fujitsu Ltd Disk array system, disk controller, and its reconstruction processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810062A (en) * 2014-03-05 2014-05-21 华为技术有限公司 Slow disk detection method and device
CN106354590A (en) * 2015-07-17 2017-01-25 中兴通讯股份有限公司 Method and apparatus for disk detection
CN106407052A (en) * 2015-07-31 2017-02-15 华为技术有限公司 Disk detection method and apparatus
CN106407051A (en) * 2015-07-31 2017-02-15 华为技术有限公司 Slow disk detection method and device
CN106557389A (en) * 2015-09-29 2017-04-05 成都华为技术有限公司 A kind of slow disk detection method and device
CN106897178A (en) * 2017-02-21 2017-06-27 曲阜师范大学 A kind of slow disk detection method and system based on extreme learning machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416639A (en) * 2020-11-16 2021-02-26 新华三技术有限公司成都分公司 Slow disk detection method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109815037B (en) 2021-07-20
CN109815037A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
WO2019101087A1 (en) Slow-disk detection method, and storage array
US10168946B2 (en) Extent migration in multi-tier storage systems
US9866573B2 (en) Dynamic malicious application detection in storage systems
US20180184232A1 (en) Detecting trigger conditions to dynamically update a model based on sensor data in a fog computing environment
US9906543B2 (en) Automated abnormality detection in service networks
US11204827B2 (en) Using a machine learning module to determine when to perform error checking of a storage unit
US7917677B2 (en) Smart profiler
US8301860B2 (en) Identifying dynamically changing virtual storage devices
US10310937B2 (en) Dynamically restoring disks based on array properties
JP6640242B2 (en) System and method for improving quality of service in a hybrid storage system
AU2016351383A1 (en) Performance monitoring in a distributed storage system
US20230057068A1 (en) Request throttling using pi-es controller
JP2017215966A (en) Technologies for limiting performance variation in storage device
US20160048433A1 (en) System, apparatus, and method to dynamically change system recoveries based on system load
US20120047264A1 (en) System and method to dynamically allocate electronic mailboxes
US11023354B2 (en) Hyper-converged infrastructure (HCI) log system
TW201822054A (en) Network attack pattern determination apparatus, determination method, and computer program product thereof
US9135191B1 (en) Techniques for storage network bandwidth management
US10853512B2 (en) System and method of operating an information handling system with a management controller
CN111831389A (en) Data processing method and device and storage medium
US11277375B1 (en) Sender policy framework (SPF) configuration validator and security examinator
US11144427B2 (en) Storage system performance models based on empirical component utilization
WO2022072017A1 (en) Methods and systems for multi-resource outage detection for a system of networked computing devices and root cause identification
JP2018532184A (en) System and method for provisioning frequently used image segments from cache
EP3339810A1 (en) Detecting trigger conditions to dynamically update a model based on sensor data in a fog computing environment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18880725

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18880725

Country of ref document: EP

Kind code of ref document: A1