Disk detection method and apparatus

    公开(公告)号:US10768826B2

    公开(公告)日:2020-09-08

    申请号:US15883029

    申请日:2018-01-29

    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.

    Resource leak detection method, apparatus, and system

    公开(公告)号:US10289472B2

    公开(公告)日:2019-05-14

    申请号:US15441837

    申请日:2017-02-24

    Abstract: Embodiments of the present disclosure disclose a resource leak detection method, apparatus, and system that includes obtaining a target resource called when target code of a program runs, where the target code is partial code in program code, determining a first storage resource amount occupied by the target resource, determining whether the first storage resource amount occupied by the target resource satisfies a first preset condition, and if the first storage resource amount occupied by the target resource satisfies the first preset condition, determining a storage location of the target code as a resource leak location. In the embodiments of the present disclosure, the target code of the program can be tracked, and further, by means of detection, the storage location of the target code can be determined as the resource leak location.

    SLOW-DISK DETECTION METHOD AND APPARATUS
    4.
    发明申请

    公开(公告)号:US20180157438A1

    公开(公告)日:2018-06-07

    申请号:US15884413

    申请日:2018-01-31

    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.

    Methods and Apparatuses for Determining a Leak of Resource and Predicting Usage Condition of Resource
    5.
    发明申请
    Methods and Apparatuses for Determining a Leak of Resource and Predicting Usage Condition of Resource 有权
    确定资源泄漏和预测资源使用情况的方法与装置

    公开(公告)号:US20160041848A1

    公开(公告)日:2016-02-11

    申请号:US14922595

    申请日:2015-10-26

    Abstract: A method and an apparatus for determining a leak of a program running resource are disclosed that relate to the field of computer applications. The method for predicting a usage condition of a program running resource includes collecting program running resource usage at least once within each program running resource usage period; decomposing the collected program running resource usage into different resource components; for data contained in each resource component, determining a prediction function for the resource component; determining an overall prediction function for a program running resource according to the determined prediction functions for all the resource components; and predicting a usage condition of the program running resource based on the determined overall prediction function.

    Abstract translation: 公开了一种与计算机应用领域相关的用于确定程序运行资源的泄漏的方法和装置。 用于预测程序运行资源的使用状况的方法包括在运行资源使用期间的每个程序内至少收集一次运行资源使用的程序; 将收集的程序将资源使用分解为不同的资源组件; 对于包含在每个资源组件中的数据,确定所述资源组件的预测函数; 根据所确定的所有资源分量的预测函数,确定程序运行资源的总体预测功能; 以及基于所确定的总体预测函数来预测所述程序运行资源的使用条件。

    Resource Leak Detection Method, Apparatus, and System

    公开(公告)号:US20170168886A1

    公开(公告)日:2017-06-15

    申请号:US15441837

    申请日:2017-02-24

    Abstract: Embodiments of the present disclosure disclose a resource leak detection method, apparatus, and system that includes obtaining a target resource called when target code of a program runs, where the target code is partial code in program code, determining a first storage resource amount occupied by the target resource, determining whether the first storage resource amount occupied by the target resource satisfies a first preset condition, and if the first storage resource amount occupied by the target resource satisfies the first preset condition, determining a storage location of the target code as a resource leak location. In the embodiments of the present disclosure, the target code of the program can be tracked, and further, by means of detection, the storage location of the target code can be determined as the resource leak location.

Patent Agency Ranking