GPU computing power pool intelligent management method

By analyzing the virtual CPU and computing power resources of the physical CPU in the GPU computing power pool in time periods, we can identify computing power abnormalities, solve the problem of being unable to detect computing power abnormalities in the existing technology, and achieve the optimal management and use of computing power resources. Improved efficiency.

CN118733267AActive Publication Date: 2024-10-01ANHUI JIYUAN SOFTWARE CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202410870438.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-01
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

Existing technology cannot effectively detect and troubleshoot whether there are abnormal usage of computing power in the physical CPU's computing power usage in different periods of time, resulting in abnormal usage of computing power resources.

Method used

By dividing a day into multiple time periods, the number of physical CPUs generated, used, and computing resource usage of virtual CPUs in the GPU computing pool are analyzed by time period, and the virtual allocation rate and computing resource usage rate are calculated to determine The virtual data difference within the period is used to identify abnormal computing power usage.

Benefits of technology

It realizes real-time monitoring and abnormal judgment of the computing power usage of physical CPU in the GPU computing power pool, and takes timely measures to optimize resource allocation, improve the efficiency of computing power resources and avoid resource grabbing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733267A_ABST
    Figure CN118733267A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent management method for a GPU (Graphics Processing Unit) computing power pool, which relates to the technical field of GPU computing power pool management, and comprises the following steps of: obtaining time period virtual data vectors corresponding to a physical CPU (Central Processing Unit) in each time period, obtaining a real-time virtual data vector of the physical CPU in the GPU computing power pool in real time, obtaining a virtual data difference value between the real-time virtual data vector and the time period virtual data vector of the corresponding time period; according to the virtual difference value, judging and generating an occupancy computing power exception identifier; according to the method, the occupation computing power abnormity condition is warned through the occupation computing power abnormity identifier, so that the system can take corresponding response measures in time to ensure the stability and the performance of the GPU computing power pool, and through the method, the use condition of the physical CPU in the GPU computing power pool can be monitored in real time, and the safety of the GPU computing power pool is improved. And whether the condition of abnormal occupied computing power exists or not is judged according to the computing power use conditions of the physical CPU in different time periods, so that measures are taken in time to optimize resource configuration and performance management, and the use efficiency of computing power resources is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of GPU computing power pool management, and in particular to a GPU computing power pool intelligent management method. Background Art

[0002] The digital and intelligent transformation of the power grid is inseparable from the construction and improvement of artificial intelligence infrastructure and management platforms. Establishing a stable, efficient, and easy-to-use AI platform computing power empowerment platform, namely a GPU pooling management platform, is an urgent need to promote the exploration and implementation of artificial intelligence in the power grid field. We plan to study and build an independent and controllable AI computing power resource pool, improve the utilization rate of existing GPU computing power resources through computing power segmentation and pooled scheduling, support the development of domestically produced GPU computing power resources, build a hybrid resource pool of GPU computing power resources, and effectively alleviate the cost-effectiveness of AI computing power resources.

[0003] With the widespread application of technologies such as big data, the Internet of Things, and cloud computing, the amount of data in various industries has exploded. These data need to be processed, analyzed, and mined to extract valuable information. GPUs, with their powerful parallel computing capabilities, have shown great advantages in data processing, machine learning, deep learning, and other fields. Therefore, the demand for GPU computing power has also surged. Although the number of virtual CPUs can exceed the number of physical CPUs, the actual computing resources available to each virtual machine are still limited by the total computing power of the physical server.

[0004] However, when the physical GPU is divided into virtual GPUs and computing power is scheduled, it is impossible to detect and troubleshoot whether there is any abnormal computing power usage of the physical CPU in different time periods, resulting in computing power abnormalities. Based on this, a GPU computing power pool intelligent management method is proposed. Summary of the invention

[0005] The purpose of the present invention is to provide a method for intelligent management of GPU computing power pool, which solves the technical problem that it is impossible to detect and troubleshoot whether there is abnormal computing power usage of the physical CPU in different time periods, resulting in abnormal computing power.

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] A method for intelligent management of a GPU computing power pool comprises the following steps:

[0008] Step 1: Obtain the number of virtual CPUs generated and used in the GPU computing pool and the physical computing resource usage of the virtual CPUs;

[0009] Step 2: Divide a day into n time periods evenly, where n refers to different time periods and is a positive integer;

[0010] Step 3: Analyze the number of virtual CPUs generated and used by the physical CPU in the GPU computing power pool by time period to obtain the virtual allocation rate corresponding to the physical CPU in each time period;

[0011] Step 4: Analyze the physical computing resource usage of the virtual CPU corresponding to the physical CPU in the GPU computing pool by time period to obtain the computing resource usage rate corresponding to the physical CPU in each time period;

[0012] Step 5: According to the virtual allocation rate E and computing resource utilization rate corresponding to the physical CPU in each time period, obtain the time period virtual data vector corresponding to the physical CPU in each time period, obtain the real-time virtual data vector of the physical CPU in the GPU computing power pool, and the virtual data difference between the time period virtual data vector and the corresponding time period, and generate an abnormal computing power occupation mark based on the virtual difference.

[0013] As a further solution of the present invention, the specific method of obtaining the virtual allocation rate corresponding to each physical CPU in each time period is:

[0014] S1: Select a target time period from each time period;

[0015] S2: Obtain the number of virtual CPUs generated and used in the target time period every day within the preset number of days T of the physical CPU, and mark the ratio between the number of used and the number of generated as the time period allocation rate FT, where T is a positive integer and is the preset number of days; obtain the number of values ​​a that satisfy |FT-Fp|≤Y1 in the time period allocation rate FT, compare and analyze the number a with the preset threshold value Q1, and obtain the virtual allocation rate of the physical CPU in the target time period according to the comparison and analysis results, where Fp is the mean value of FT and Y1 is the preset value;

[0016] S3: Repeat steps S1-S2 to obtain the virtual allocation rate En corresponding to the physical CPU in each time period.

[0017] As a further solution of the present invention: the specific method of comparing and analyzing the quantity a with the preset threshold value Q1 is:

[0018] When the number a is greater than the preset threshold Q1, the average of the time period allocation rate FT is used as the virtual allocation rate of the physical CPU in the target time period; when the number a is less than or equal to the preset threshold Q1, the average of the maximum and minimum values ​​in the time period allocation rate FT is used as the virtual allocation rate of the physical CPU in the target time period.

[0019] As a further solution of the present invention, the specific method of obtaining the computing resource utilization rate corresponding to the physical CPU in each time period is:

[0020] S01: Select the same period as in step S1 as the target period;

[0021] S02: The ratio between the physical computing resource usage of the virtual CPU corresponding to the physical CPU in the target period within the preset number of days T every day and the total computing power Z of the physical CPU is marked as the period resource occupancy rate GT corresponding to the physical CPU in the target period every day; the standard deviation M1 of the period resource occupancy rate GT is calculated by the standard deviation calculation formula, and the standard deviation M1 of the period resource occupancy rate GT is compared and analyzed with the preset threshold value Q2, and the computing resource utilization rate of the physical CPU in the target period is obtained according to the comparison and analysis results;

[0022] S3: Repeat the above steps S01-S02 to obtain the computing resource usage Kn corresponding to the physical CPU in each time period.

[0023] As a further solution of the present invention, the specific method of comparing and analyzing the occupancy rate GT with the preset threshold value Q2 is:

[0024] When the standard deviation M1 is greater than the preset threshold Q2, the average of the maximum and minimum values ​​of the time period resource occupancy rate GT is used as the computing resource utilization rate of the physical CPU in the target time period. When the standard deviation M1 is less than or equal to the preset threshold Q2, the average Gp of the time period resource occupancy rate GT is used as the computing resource utilization rate of the physical CPU in the target time period.

[0025] As a further solution of the present invention: the standard deviation calculation formula is specifically: Where i is a positive integer and Gp is ​​the mean of GT.

[0026] As a further solution of the present invention, the specific method of obtaining the time period virtual data vector corresponding to each time period of the physical CPU is:

[0027] The dimensions of the virtual allocation rate En and the computing resource utilization rate Kn corresponding to the physical CPU in each time period are removed, and their values ​​are taken to obtain the time period virtual data vectors corresponding to the physical CPU in each time period.

[0028] As a further solution of the present invention: the specific method of obtaining the real-time virtual data vector of the physical CPU is:

[0029] The ratio between the real-time usage number and the real-time generation number of the virtual CPUs of the physical CPU in the GPU computing power pool is marked as the real-time virtual allocation rate of the physical CPU, and the ratio between the real-time physical computing power resource usage of the virtual CPU corresponding to the physical CPU and the total computing power Z of the physical CP physical CPU is marked as the real-time computing power resource utilization rate of the physical CPU. The dimensions of the real-time virtual allocation rate and the real-time computing power resource utilization rate of the physical CPU are removed and their values ​​are taken to obtain the real-time virtual data vector U (VA, VB) of the physical CPU in the GPU computing power pool.

[0030] As a further solution of the present invention: the specific method of obtaining the virtual data difference between the real-time virtual data vector and the period virtual data vector of its period is:

[0031] According to the time period of obtaining the real-time virtual data vector, the time period virtual data vector (RA, RB) of the corresponding time period is obtained, and the time period virtual data vector (RA, RB) of the corresponding time period is obtained. The virtual data difference H between the real-time virtual data vector and the period virtual data vector of its period is obtained by calculation.

[0032] As a further solution of the present invention: the specific method of determining and generating the abnormal occupied computing power mark is:

[0033] When the virtual data difference H is greater than the preset threshold value Q3, an abnormal occupied computing power flag is generated, otherwise no processing is performed.

[0034] Beneficial effects of the present invention:

[0035] (1) The present invention uses an abnormal computing power usage mark to warn of abnormal computing power usage, so that the system can take corresponding response measures in time, such as notifying the administrator, adjusting the computing power allocation strategy, starting backup resources, etc., to ensure the stability and performance of the GPU computing power pool. Through this method, the use of the physical CPU in the GPU computing power pool can be monitored in real time, and the computing power usage of the physical CPU in different time periods can be judged whether there is an abnormal computing power usage, so as to take measures to optimize resource allocation and performance management in time. By finely managing and monitoring the use of the GPU computing power pool, resource allocation is optimized, the use efficiency of computing power resources is improved, and possible abnormal situations can be identified and handled in time;

[0036] (2) The present invention selects a time period with a larger idle coefficient value as the target processing period, that is, a time period in which the physical CPU's physical computing power resources in the GPU computing power pool are less used and there are relatively more idle virtual CPUs and physical computing power resources as the target processing period, and processes the planned task data to be processed. This is beneficial for further utilizing the idle computing power resources of the physical CPU while processing the planned task data to be processed, thereby avoiding resource snatching as much as possible.

[0037] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:

[0039] Figure 1 It is a schematic diagram of the framework structure of the method of the present invention;

[0040] Figure 2 It is a schematic diagram of the process structure of generating an abnormal mark of occupied computing power in the present invention. DETAILED DESCRIPTION

[0041] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] Embodiment 1

[0044] See also Figure 1-Figure 2 As shown, the present invention is a method for intelligent management of GPU computing power pool, comprising the following steps:

[0045] Step 1: Obtain the virtual data of the physical CPU in the GPU computing power pool, that is, the number of virtual CPUs generated and used, and at the same time obtain the physical computing power resource usage of the virtual CPU corresponding to the physical CPU;

[0046] It should be noted that these data can be obtained from the GPU computing power data usage record and are existing data, so they will not be elaborated here;

[0047] Step 2: Divide a day into n time periods. The time intervals between the time periods can be the same or different, and are determined by relevant operators based on actual needs and application scenarios. Here, the time interval between each time period is one hour, and n refers to different time periods, and n is a positive integer;

[0048] Step 3: According to each time period, analyze the virtual data of the physical CPU in the GPU computing pool by time period, and obtain the virtual allocation rate corresponding to the physical CPU in each time period according to the analysis results. The specific method is as follows:

[0049] S1: Select any time period from each time period as the target time period;

[0050] S2: obtain the virtual data of the physical CPU within the target period every day within the preset number of days T, that is, the number of virtual CPUs generated and used by the physical CPU within the target period every day. T is the preset number of days, which is a positive integer. Here, the value is 90, which refers to the time range of 90 days from the moment the data is obtained. The day the data is obtained is not included.

[0051] Obtain the number of virtual CPUs generated AT and used BT within the target time period of the physical CPU every day within the preset number of days T, and mark the ratio between the used number and the generated number as the time period allocation rate FT of the physical CPU within the target time period every day within the preset number of days T, that is, FT=BT / AT;

[0052] The number a of values ​​that meet the preset screening condition J1 in the time period allocation rate FT is obtained, and the number a is compared and analyzed with the preset threshold value Q1. When the number a is greater than the preset threshold value Q1, it means that the time period allocation rate of the physical CPU in the target time period is not much different every day within the preset number of days T, and the values ​​are relatively close. Therefore, the mean value of the time period allocation rate FT is representative, and then the mean value Fp of the time period allocation rate FT is used as the virtual allocation rate E1 of the physical CPU in the target time period; when the number a is less than or equal to the preset threshold value Q1, it means that the time period allocation rate of the physical CPU in the target time period is quite different every day within the preset number of days T, so the mean value of the time period allocation rate FT is not representative, and then the mean value of the maximum and minimum values ​​in the time period allocation rate FT is used as the virtual allocation rate E1 of the physical CPU in the target time period, that is, E1=(F min +F max ) / 2, where F max is the maximum value in FT, F min is the minimum value in FT;

[0053] The preset screening condition J1 is specifically: |FT-Fp|≤Y1, where Fp is the mean value of FT, Y1 is the preset value, and the specific value is formulated by relevant personnel according to actual needs;

[0054] S3: Repeat the above steps S1-S2 to obtain the virtual allocation rate En corresponding to the physical CPU in each time period;

[0055] The virtual allocation rate En corresponding to the physical CPU in each time period is used to represent the ratio of the number of virtual CPUs used in each time period to the number of virtual CPUs generated, that is, the utilization rate of the virtual CPUs in each time period is represented. The larger the value of the virtual allocation rate En is, the higher the utilization rate of the virtual CPUs in the corresponding time period is, and vice versa.

[0056] Step 4: According to each time period, analyze the physical computing resource usage of the virtual CPU corresponding to the physical CPU in the GPU computing pool by time period, and obtain the computing resource usage rate corresponding to the physical CPU in each time period according to the analysis results. The specific method is as follows:

[0057] S01: Select the same period as in step S1 as the target period;

[0058] S02: Obtain the physical computing resource usage LT of the virtual CPUs corresponding to the target time period within a preset number of days T every day, and mark the ratio between the daily physical computing resource usage LT and the total computing power Z of the physical CPU as the time period resource occupancy rate GT corresponding to the physical CPU in the target time period every day;

[0059] Calculate the standard deviation using the formula Calculate the standard deviation M1 of the resource occupancy rate GT of the time period, where i is a positive integer and Gp is ​​the mean value of GT;

[0060] The standard deviation M1 of the resource utilization rate GT in each period is compared with the preset threshold Q2. When the standard deviation M1 is greater than the preset threshold Q2, it means that the difference between the resource utilization rates GT in each period is large and the value distribution is relatively uneven. Therefore, the mean value of the resource utilization rate GT in each period is not representative. Then, the mean value of the maximum and minimum values ​​of the resource utilization rate GT in the period is taken as the computing resource utilization rate K1 of the physical CPU in the target period, that is, K1 = (G min +G max ) / 2, where G max is the maximum value in GT, G min is the minimum value in GT;

[0061] When the standard deviation M1 is less than or equal to the preset threshold Q2, it means that the difference between the resource occupancy rates GT in each period is small and the value distribution is relatively uniform. Then the mean value Gp of the resource occupancy rate GT in each period is used as the computing resource utilization rate K1 of the physical CPU in the target period.

[0062] S3: Repeat the above steps S01-S02 to obtain the computing resource utilization rate Kn corresponding to the physical CPU in each time period;

[0063] Step 5: According to the virtual allocation rate En and computing resource utilization rate Kn corresponding to the physical CPU in each time period, obtain the time period virtual data vector corresponding to the physical CPU in each time period, obtain the real-time virtual data vector of the physical CPU in the GPU computing power pool in real time, and obtain the virtual data difference between the real-time virtual data vector and the time period virtual data vector corresponding to the time period according to the time period of obtaining the real-time virtual data vector. According to the virtual difference, generate the abnormal mark of occupied computing power. The specific method is as follows:

[0064] The virtual allocation rate En and computing resource utilization rate Kn corresponding to the physical CPU in each time period are quantified, and then the time period virtual data vector corresponding to the physical CPU in each time period is obtained, which is expressed as Xn(AEn, BKn);

[0065] The specific method of quantization processing is: remove the dimensions of the virtual allocation rate En and the computing resource utilization rate Kn corresponding to the physical CPU in each time period, and take their values;

[0066] The specific method to obtain the real-time virtual data vector of the physical CPU in the GPU computing power pool is:

[0067] The real-time virtual data of the physical CPU in the GPU computing power pool and the real-time physical computing power resource usage of the virtual CPU corresponding to the physical CPU are obtained in real time, and then the ratio between the number of virtual CPUs used and the number of virtual CPUs generated in the real-time virtual data is marked as the real-time virtual allocation rate of the physical CPU, and the ratio between the real-time physical computing power resource usage of the virtual CPU corresponding to the physical CPU and the total computing power Z of the physical CPU of the physical CP is marked as the real-time computing power resource usage rate of the physical CPU;

[0068] The real-time virtual allocation rate and real-time computing resource utilization rate of the physical CPU are quantified to obtain the real-time virtual data vector U (VA, VB) of the physical CPU in the GPU computing pool;

[0069] The specific method of obtaining the virtual data difference between the real-time virtual data vector and the period virtual data vector of its period is:

[0070] According to the time period for obtaining the real-time virtual data vector, obtaining the time period virtual data vector (RA, RB) of the corresponding time period; Calculate and obtain the virtual data difference H between the real-time virtual data vector and the time period virtual data vector of the time period;

[0071] The specific method for determining whether to generate abnormal hashrate usage is as follows:

[0072] Compare and analyze each virtual data difference H with the preset threshold value Q3. When the virtual data difference H is greater than the preset threshold value Q3, an abnormal occupied computing power flag is generated. When the virtual data difference H is less than or equal to the preset threshold value Q3, no processing is performed. The specific value of the preset threshold value Q needs to be formulated by relevant personnel according to actual needs.

[0073] Divide a day into different time periods, and analyze the virtual data of the physical CPU by time period to obtain the virtual allocation rate of each time period. Further analyze the virtual allocation rate of each time period to obtain the virtual allocation rate of each time period. Analyze the computing resource utilization rate of the physical CPU in each time period to obtain the computing resource utilization rate of each time period. Combine the virtual allocation rate and the computing resource utilization rate to obtain the virtual data vector of each time period. Compare the difference between the real-time virtual data and the virtual data of each time period, determine and generate an abnormal mark of occupied computing power, and determine whether there is an abnormal situation of occupied computing power.

[0074] The abnormal computing power usage mark is used to warn of abnormal computing power usage so that the system can take corresponding response measures in time, such as notifying the administrator, adjusting the computing power allocation strategy, starting backup resources, etc., to ensure the stability and performance of the GPU computing power pool. This method can monitor the usage of the physical CPU in the GPU computing power pool in real time, and determine whether there is abnormal computing power usage based on the computing power usage of the physical CPU in different time periods, so as to take timely measures to optimize resource configuration and performance management. Through refined management and monitoring of the usage of the GPU computing power pool, resource allocation is optimized, the utilization efficiency of computing power resources is improved, and possible abnormal situations are identified and handled in a timely manner.

[0075] Embodiment 2

[0076] As the second embodiment of the present invention, when the present application is implemented, compared with the first embodiment, the technical solution of the present embodiment is different from that of the first embodiment only in the present embodiment;

[0077] According to the virtual allocation rate En and computing resource utilization rate Kn corresponding to the physical CPU in each time period, the virtual allocation coefficient corresponding to the physical CPU in each time period is calculated as follows:

[0078] The sum of the products of the virtual allocation rate En and computing resource utilization rate Kn corresponding to the physical CPU in each time period and their corresponding preset fixed coefficients β1 and β2 is obtained, and marked as the virtual allocation coefficient PYn corresponding to each time period, PYn = En × β1 + Kn × β2, and the specific values ​​of the preset fixed coefficients β1 and β2 are formulated by relevant personnel according to actual needs, satisfying 1 = β1 + β2 and β1 < β2;

[0079] Compare and analyze the virtual allocation coefficient PYn corresponding to each time period with the preset threshold value Q4. When the virtual allocation coefficient PYn is greater than the preset threshold value Q4, it means that the utilization rate of the virtual CPU and the utilization rate of computing resources of the physical CPU in the corresponding time period are both high; when the virtual allocation coefficient PYn is less than or equal to the preset threshold value Q4, it means that the utilization rate of the virtual CPU and the utilization rate of computing resources of the physical CPU in the corresponding time period are both low. The specific value of the preset threshold value Q4 needs to be formulated by relevant personnel according to actual needs;

[0080] When it is necessary to select a time period for processing the planned task data to be processed, first, the inverse of the virtual allocation coefficient PYn corresponding to the physical CPU in each time period is marked as the resource idle coefficient XZn corresponding to the physical CPU in each time period; then the time period with the largest value of the resource idle coefficient XZn is used as the target processing time period for the planned task data to be processed;

[0081] The larger the value corresponding to the resource idle coefficient XZn is, the smaller the proportion of virtual CPU usage of the physical CPU in the corresponding period to the number of virtual CPU generation is, and the smaller the physical computing power resources used by the physical CPU in the GPU computing power pool are in the corresponding period, which means that there are relatively more idle virtual CPUs and physical computing power resources in the corresponding period. It can be used as the target processing period for the planned task data to be processed, which is conducive to further utilizing the idle computing power resources of the physical CPU while processing the planned task data to be processed, and avoiding resource snatch as much as possible.

[0082] A time period with a larger idle coefficient value is selected as the target processing period, that is, the physical CPU's physical computing power resource usage in the GPU computing power pool is relatively small, and the idle virtual CPU and physical computing power resources are relatively more. The time period is used as the target processing period to process the planned task data to be processed. This is beneficial for further utilizing the idle computing power resources of the physical CPU while processing the planned task data to be processed, and avoiding resource grabbing as much as possible.

[0083] Embodiment 3

[0084] As the third embodiment of the present invention, when the present application is specifically implemented, compared with the first and second embodiments, the technical solution of this embodiment is to combine the solutions of the first and second embodiments mentioned above for implementation.

[0085] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.

[0086] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A GPU computing power pool intelligent management method, characterized in that: The following steps are involved: Step 1: Obtain the number of virtual CPUs generated and used in the GPU computing pool and the physical computing resource usage of the virtual CPUs; Step 2: Divide a day into n time periods evenly, where n refers to different time periods and is a positive integer; Step 3: Analyze the number of virtual CPUs generated and used by the physical CPU in the GPU computing power pool by time period to obtain the virtual allocation rate corresponding to the physical CPU in each time period; Step 4: Analyze the physical computing resource usage of the virtual CPU corresponding to the physical CPU in the GPU computing pool by time period to obtain the computing resource usage rate corresponding to the physical CPU in each time period; Step 5: According to the virtual allocation rate E and computing resource utilization rate corresponding to the physical CPU in each time period, obtain the time period virtual data vector corresponding to the physical CPU in each time period, obtain the real-time virtual data vector of the physical CPU in the GPU computing power pool, and the virtual data difference between the time period virtual data vector and the corresponding time period, and generate an abnormal computing power occupation mark based on the virtual difference.

2. A GPU computing power pool intelligent management method according to claim 1, characterized in that: The specific method of obtaining the virtual allocation rate corresponding to the physical CPU in each time period is: S1: Select a target time period from each time period; S2: Obtain the number of virtual CPUs generated and used during the target period of each day within the preset number of days T of the physical CPU, and mark the ratio between the number of used and the number of generated as the period allocation rate FT, where T is a positive integer and the preset number of days; Obtain the number a of values ​​that satisfy |FT-Fp|≤Y1 in the time period allocation rate FT, compare and analyze the number a with the preset threshold value Q1, and obtain the virtual allocation rate of the physical CPU in the target time period according to the comparison and analysis results, where Fp is the average value of FT and Y1 is the preset value; S3: Repeat steps S1-S2 to obtain the virtual allocation rate En corresponding to the physical CPU in each time period.

3. A GPU computing power pool intelligent management method according to claim 2, characterized in that: The specific method of comparing and analyzing the quantity a with the preset threshold value Q1 is: When the number a is greater than the preset threshold Q1, the average of the time period allocation rate FT is used as the virtual allocation rate of the physical CPU in the target time period; when the number a is less than or equal to the preset threshold Q1, the average of the maximum and minimum values ​​in the time period allocation rate FT is used as the virtual allocation rate of the physical CPU in the target time period.

4. A GPU computing power pool intelligent management method according to claim 3, characterized in that: The specific method to obtain the computing resource utilization rate corresponding to the physical CPU in each time period is: S01: Select the same period as in step S1 as the target period; S02: The ratio between the physical computing resource usage of the virtual CPU corresponding to the physical CPU in the target period within the preset number of days T every day and the total computing power Z of the physical CPU is marked as the period resource occupancy rate GT corresponding to the physical CPU in the target period every day; the standard deviation M1 of the period resource occupancy rate GT is calculated by the standard deviation calculation formula, and the standard deviation M1 of the period resource occupancy rate GT is compared and analyzed with the preset threshold value Q2, and the computing resource utilization rate of the physical CPU in the target period is obtained according to the comparison and analysis results; S3: Repeat the above steps S01-S02 to obtain the computing resource usage Kn corresponding to the physical CPU in each time period.

5. A GPU computing power pool intelligent management method according to claim 4, characterized in that: The specific method of comparing and analyzing the occupancy rate GT with the preset threshold value Q2 is as follows: When the standard deviation M1 is greater than the preset threshold Q2, the average of the maximum and minimum values ​​of the time period resource occupancy rate GT is used as the computing resource utilization rate of the physical CPU in the target time period. When the standard deviation M1 is less than or equal to the preset threshold Q2, the average Gp of the time period resource occupancy rate GT is used as the computing resource utilization rate of the physical CPU in the target time period.

6. A GPU computing power pool intelligent management method according to claim 5, characterized in that: The standard deviation calculation formula is as follows: Where i is a positive integer and Gp is ​​the mean of GT.

7. A GPU computing power pool intelligent management method according to claim 5, characterized in that: The specific method of obtaining the time period virtual data vector corresponding to each time period of the physical CPU is: The dimensions of the virtual allocation rate En and the computing resource utilization rate Kn corresponding to the physical CPU in each time period are removed, and their values ​​are taken to obtain the time period virtual data vectors corresponding to the physical CPU in each time period.

8. A GPU computing power pool intelligent management method according to claim 7, characterized in that: The specific method of obtaining the real-time virtual data vector of the physical CPU is: The ratio between the real-time usage number and the real-time generation number of the virtual CPUs of the physical CPU in the GPU computing power pool is marked as the real-time virtual allocation rate of the physical CPU, and the ratio between the real-time physical computing power resource usage of the virtual CPU corresponding to the physical CPU and the total computing power Z of the physical CP physical CPU is marked as the real-time computing power resource utilization rate of the physical CPU. The dimensions of the real-time virtual allocation rate and the real-time computing power resource utilization rate of the physical CPU are removed and their values ​​are taken to obtain the real-time virtual data vector U (VA, VB) of the physical CPU in the GPU computing power pool.

9. A GPU computing power pool intelligent management method according to claim 8, characterized in that: The specific method of obtaining the virtual data difference between the real-time virtual data vector and the period virtual data vector of its period is: According to the time period of obtaining the real-time virtual data vector, the time period virtual data vector (RA, RB) of the corresponding time period is obtained, and the time period virtual data vector (RA, RB) of the corresponding time period is obtained. The virtual data difference H between the real-time virtual data vector and the period virtual data vector of its period is obtained by calculation.

10. A GPU computing power pool intelligent management method according to claim 9, characterized in that: The specific method for determining whether to generate abnormal hashrate usage is as follows: When the virtual data difference H is greater than the preset threshold value Q3, an abnormal occupied computing power flag is generated, otherwise no processing is performed.

Citation Information

Patent Citations

  • Method and equipment for scheduling virtual machine

    CN102937912A

  • Resource early warning method and device, electronic equipment and storage medium

    CN115426274A

  • Method and device for scheduling physical core

    CN116225685A

  • Method, device and equipment for monitoring resource pool in cloud platform and medium

    CN116860459A

  • Monitoring management system and method based on cloud computing

    CN116939158A