CN-115543209-B - Method for monitoring execution speed of SDS (sodium dodecyl sulfate) storage domain and related components
Abstract
The invention discloses a method for monitoring the execution speed of an SDS (sodium dodecyl sulfate) storage domain and a related component, which relate to the field of the SDS storage domain, and the method comprises the steps of acquiring the current execution time used by the SDS to execute the current operation, judging that the current operation possibly has a problem when the current execution time is larger than an execution time threshold value corresponding to the current operation one by one, and controlling a prompt module to send out corresponding first prompt information.
Inventors
- ZHAO YUXIN
Assignees
- 济南浪潮数据技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20221021
Claims (7)
- 1. A method for monitoring execution speed of an SDS storage domain, comprising: acquiring the current execution time used by the SDS to execute the current operation; When the current execution time is greater than an execution time threshold, controlling a prompt module to send out corresponding first prompt information, wherein the execution time threshold corresponds to the current operation one by one; The determining process of the execution time threshold comprises the following steps: determining all historical execution time used by the SDS to execute the current operation in a target historical time period; determining the average execution time for the SDS to execute the current operation according to all the historical execution times; determining the execution time threshold according to the average execution time; Determining the execution time threshold according to the average execution time includes: Determining N times the average execution time as the execution time threshold, wherein N is not less than 1; after the control prompt module sends out the corresponding first prompt information, the method further comprises the following steps: when an instruction for drawing an execution time distribution diagram is received, determining all optimized execution time for executing the current operation by SDS in a preset time before the instruction is received; Drawing an execution time distribution diagram according to all the optimized execution time, wherein the horizontal axis of the execution time distribution diagram is time, and the vertical axis is probability density corresponding to the time; and when the execution time distribution diagram does not accord with normal distribution in the average execution time from 0 to N times, the control prompt module sends out corresponding second prompt information.
- 2. The method for monitoring execution speed of an SDS storage domain according to claim 1, wherein obtaining a current execution time for the SDS to execute a current operation comprises: acquiring a first execution time from platform layer operation to calling of a bottom layer, a second execution time used by the bottom layer operation and a third execution time used by returning to a front end from the bottom layer when the SDS executes the current operation; and determining the sum of the first execution time, the second execution time and the third execution time as the current execution time.
- 3. The method for monitoring execution speed of an SDS storage domain according to claim 1, wherein obtaining a current execution time for the SDS to execute a current operation comprises: acquiring a first execution time from platform layer operation to calling of a bottom layer, a second execution time used by the bottom layer operation and a third execution time used by returning to a front end from the bottom layer when the SDS executes the current operation; when the current execution time is greater than an execution time threshold, the method comprises the following steps: When the first execution time is greater than a first execution time threshold, the second execution time is greater than a second execution time threshold, or the third execution time is greater than a third execution time threshold, determining that the current execution time is greater than an execution time threshold; The control prompt module sends out corresponding first prompt information, including: the control prompt module sends out a first prompt message corresponding to the operation which is larger than the execution time threshold.
- 4. A method of monitoring the execution speed of an SDS storage domain according to any of claims 1 to 3, further comprising, after obtaining a current execution time for the SDS to execute a current operation: judging whether the current execution time is not greater than an execution time maximum threshold value or not, wherein the execution time maximum threshold value is greater than the execution time threshold value; If yes, a step of controlling the prompt module to send out a corresponding first prompt when the current execution time is greater than an execution time threshold value is entered; if not, the control prompt module sends out corresponding third prompt information.
- 5. A system for monitoring the execution speed of an SDS storage domain comprising: a current execution time acquisition unit for acquiring a current execution time used by the SDS to execute a current operation; the first prompting unit is used for controlling the prompting module to send out corresponding first prompting information when the current execution time is greater than an execution time threshold value, and the execution time threshold value corresponds to the current operation one by one; The system for monitoring the execution speed of the SDS memory domain further comprises: A history execution time determining unit configured to determine all history execution times for the SDS to execute the current operation within a target history period; an average time determining unit configured to determine an average execution time for the SDS to execute the current operation according to all of the historical execution times; An execution time threshold determining unit configured to determine the execution time threshold according to the average execution time; the execution time threshold determining unit includes: an execution time threshold determining subunit configured to determine N times the average execution time as the execution time threshold, where N is not less than 1; The system for monitoring the execution speed of the SDS memory domain further comprises: the optimal execution time determining unit is used for determining all optimal execution time for executing the current operation by SDS in a preset time before receiving the instruction when the instruction for drawing the execution time distribution map is received after the control prompt module sends corresponding first prompt information; An execution time distribution diagram drawing unit, configured to draw an execution time distribution diagram according to all the optimized execution times, where a horizontal axis of the execution time distribution diagram is time, and a vertical axis of the execution time distribution diagram is probability density corresponding to the time; And the second prompt unit is used for controlling the prompt module to send out corresponding second prompt information when the execution time distribution diagram does not accord with normal distribution in the average execution time from 0 to N times.
- 6. An apparatus for monitoring execution speed of an SDS storage domain, comprising: A memory for storing a computer program; A processor for implementing the steps of the method for monitoring the execution speed of an SDS storage domain as claimed in any of claims 1 to 4 when executing said computer program.
- 7. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of monitoring the execution speed of an SDS storage domain as claimed in any of claims 1 to 4.
Description
Method for monitoring execution speed of SDS (sodium dodecyl sulfate) storage domain and related components Technical Field The invention relates to the field of SDS (sodium dodecyl sulfate) memory domains, in particular to a method for monitoring the execution speed of an SDS memory domain and related components. Background In the cloud computing management platform, a software defined storage (Software Defined Storage, SDS) is taken as an essential component of a super fusion infrastructure (Hyper Converged Infrastructure, HCI), and the performance of the SDS directly dominates that of the HCI, so that the performance of the SDS is essential to be monitored. In the prior art, the index for characterizing the performance of SDS generally only includes the transmission rate and usage of relevant hardware. For example, since there may be a case where a plurality of different operations are performed simultaneously in the process of performing a current operation by the SDS, such as the use rate of the storage resource and the cache resource of the SDS, the transmission rate of the migration and the recovery of the storage data, etc., it is difficult to determine which operation is a problem only by the transmission rate and the use condition of the above-mentioned related hardware without directly reflecting an index of the execution condition of a specific operation. In view of the above technical problems, it is an urgent need for a person skilled in the art to find a method capable of solving the above technical problems. Disclosure of Invention The invention aims to provide a method for monitoring the execution speed of an SDS (sodium dodecyl sulfate) storage domain and a related component, which can accurately judge which operation has a problem by acquiring the current execution time aiming at a specific operation according to the comparison result of the current execution time and an execution time threshold value. In order to solve the above technical problems, the present invention provides a method for monitoring the execution speed of an SDS storage domain, comprising: acquiring the current execution time used by the SDS to execute the current operation; When the current execution time is greater than an execution time threshold, the control prompt module sends out corresponding first prompt information, and the execution time threshold corresponds to the current operation one by one. Preferably, obtaining the current execution time used by the SDS to perform the current operation includes: acquiring a first execution time from platform layer operation to calling of a bottom layer, a second execution time used by the bottom layer operation and a third execution time used by returning to a front end from the bottom layer when the SDS executes the current operation; and determining the sum of the first execution time, the second execution time and the third execution time as the current execution time. Preferably, obtaining the current execution time used by the SDS to perform the current operation includes: acquiring a first execution time from platform layer operation to calling of a bottom layer, a second execution time used by the bottom layer operation and a third execution time used by returning to a front end from the bottom layer when the SDS executes the current operation; when the current execution time is greater than an execution time threshold, the method comprises the following steps: When the first execution time is greater than a first execution time threshold, the second execution time is greater than a second execution time threshold, or the third execution time is greater than a third execution time threshold, determining that the current execution time is greater than an execution time threshold; The control prompt module sends out corresponding first prompt information, including: the control prompt module sends out a first prompt message corresponding to the operation which is larger than the execution time threshold. Preferably, the determining of the execution time threshold includes: determining all historical execution time used by the SDS to execute the current operation in a target historical time period; determining the average execution time for the SDS to execute the current operation according to all the historical execution times; and determining the execution time threshold according to the average execution time. Preferably, determining the execution time threshold according to the average execution time includes: and determining N times of the average execution time as the execution time threshold, wherein N is not less than 1. Preferably, after the control prompt module sends out the corresponding first prompt message, the method further includes: when an instruction for drawing an execution time distribution diagram is received, determining all optimized execution time for executing the current operation by SDS in a preset time before the instruction is received