-
公开(公告)号:US10768826B2
公开(公告)日:2020-09-08
申请号:US15883029
申请日:2018-01-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Jinghui Li , Jindong Zhang , Cheng Huang
Abstract: The present invention provides a disk detection method and apparatus. The method includes: collecting a set of N pieces of real-time data that are in a one-to-one correspondence with N input/output I/O-related counters of a disk, where the N I/O-related counters include an I/O response time of the disk and a counter affecting the I/O response time; the I/O response time is a time between delivery of an operation request by an application and reception of a response of the disk to the request; determining, according to the N pieces of real-time data, whether the I/O response time is abnormal; and outputting a detection result if the I/O response time is abnormal, where the detection result is used to represent that the I/O response time is abnormal.
-
公开(公告)号:US20180157438A1
公开(公告)日:2018-06-07
申请号:US15884413
申请日:2018-01-31
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Jindong Zhang , Jinghui Li , Xuewen Gong
IPC: G06F3/06
CPC classification number: G06F3/0653 , G06F3/0604 , G06F3/0611 , G06F3/0616 , G06F3/0655 , G06F3/0659 , G06F3/0676 , G06F11/0754 , G06F11/16 , G06F11/3034 , G06F11/3419
Abstract: A slow-disk detection method is disclosed, the method includes: periodically performing sampling in a detection period; each time sampling is performed, obtaining a first delay of data reading or writing that is performed on a hard disk in current sampling, and a first-delay-related indicator value; determining a first range to which the first-delay-related indicator value belongs; and if the first range is full, calculating a first ratio of the first delay to an average delay in a range; and each time after one detection period ends and before a next detection period starts, if a quantity of all delay-related indicator values fall within all full ranges is greater than or equal to a second threshold, calculating an average value of first ratios; and if the average value of the first ratios is greater than or equal to a third threshold, determining that the hard disk is a slow disk.
-