Calculation power energy consumption evaluation method and device, computer equipment and storage medium

By obtaining the usage information of virtual computing instances and calculating the energy consumption weight, the problem of difficulty in evaluating the overall computing power energy consumption of the data center in the prior art is solved, and a comprehensive evaluation and management of the energy consumption of a variety of physical resources is achieved.

CN119739589APending Publication Date: 2025-04-01CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411732476.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

The prior art is difficult to effectively evaluate the overall computing power consumption of a trusted data center, especially when dealing with heterogeneous computing power equipment and a variety of virtual computing power resources.

Method used

By obtaining the usage information of multiple virtual computing instances, the energy consumption weight of each virtual computing instance is determined, and energy consumption evaluation is performed on a variety of physical computing power resources based on this information. This method supports a comprehensive evaluation of the energy consumption of resources such as graphics processors, central processors, memory and hard disks.

Benefits of technology

It realizes an accurate assessment of the overall computing power energy consumption of a trusted data center, improves the referenceability and accuracy of the evaluation results, and can more effectively guide the energy consumption management and optimization of the data center.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739589A_ABST
    Figure CN119739589A_ABST
Patent Text Reader

Abstract

The invention provides a computing power energy consumption evaluation method and device, computer equipment and a storage medium, relates to the technical field of computers, and is used for effectively supporting the evaluation of the overall computing power energy consumption of a trusted data center. The method comprises the following steps: acquiring respective use information of a plurality of virtual computing instances; the plurality of virtual computing instances are divided based on a plurality of virtual computing power resources; one virtual computing power resource corresponds to one physical computing power resource; one virtual computing instance is used for scheduling partial resources of each virtual computing power resource in the multiple virtual computing power resources; the use information comprises energy consumption information, use amount information and request amount information; based on the request quantity information of each virtual computing instance, determining an energy consumption weight of each virtual computing instance; based on the respective usage amount information, energy consumption information and energy consumption weights of the plurality of virtual computing instances, determining energy consumption assessment results of the plurality of physical computing power resources; the energy consumption evaluation result is used for reflecting the energy consumption condition during the operation of various physical computing power resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and in particular, relates to a computing power energy consumption evaluation method, device, computer equipment and storage medium. Background Art

[0002] Against the backdrop of accelerating the construction of data center infrastructure, how to measure and represent computing power in order to accurately evaluate the computing capabilities of data centers has become an important research direction.

[0003] At present, the evaluation of the comprehensive performance of trusted data center nodes is mainly aimed at the evaluation of computing power units such as central processing units (CPU) and graphics processing units (GPU), and is generally evaluated for single, homogeneous computing devices. For example, the CPU main frequency, the number of floating-point operations per second (FLOPS) of the GPU, the bandwidth of the network, etc. This method cannot support the evaluation of the overall computing power and energy consumption of the trusted data center. Summary of the invention

[0004] The present application provides a computing power energy consumption evaluation method, apparatus, computer equipment and storage medium for effectively supporting the evaluation of the overall computing power energy consumption of a trusted data center.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, a computing power energy consumption assessment method is provided, comprising: obtaining usage information of each of a plurality of virtual computing instances. The plurality of virtual computing instances are divided based on a plurality of virtual computing power resources. A virtual computing power resource corresponds to a physical computing power resource. A virtual computing instance is used to schedule part of the resources of each of a plurality of virtual computing power resources. The usage information includes energy consumption information, usage information, and request quantity information. Based on the request quantity information of each virtual computing instance, the energy consumption weight of each virtual computing instance is determined. Based on the usage information, energy consumption information, and energy consumption weight of each of the plurality of virtual computing instances, the energy consumption assessment results of the plurality of physical computing power resources are determined. The energy consumption assessment results are used to reflect the energy consumption of a plurality of physical computing power resources during operation.

[0007] Optionally, the multiple physical computing resources include graphics processor resources, central processing unit resources, memory resources, and hard disk resources. The request amount information of each virtual computing instance includes the request amount of each virtual computing instance on each virtual computing resource. The energy consumption weight of each virtual computing instance includes the energy consumption weight of each virtual computing instance on each virtual computing resource. The method for determining the energy consumption weight of each virtual computing instance based on the request amount information of each virtual computing instance specifically includes: determining the scheduling water level of each virtual computing instance on any virtual computing resource based on the request amount of each virtual computing instance on any virtual computing resource and the total resource amount of any virtual computing resource, and obtaining the scheduling water level of each virtual computing instance on various virtual computing resources. Based on the scheduling water level of each virtual computing instance on various virtual computing resources, determine the energy consumption weight of each virtual computing instance. The energy consumption weight of each virtual computing instance on any virtual computing resource is equal to the scheduling water level of each virtual computing instance on any virtual computing resource divided by the total scheduling water level. The total scheduling water level is the sum of the scheduling water levels of each virtual computing instance on various virtual computing resources.

[0008] Optionally, the energy consumption information of the virtual computing instance includes the rated energy consumption, energy efficiency and computing power utilization of each virtual computing resource scheduled by the virtual computing instance. The usage information of each virtual computing instance includes the usage of each virtual computing instance on each virtual computing resource. The method for determining the energy consumption evaluation results of multiple physical computing resources based on the usage information, energy consumption information and energy consumption weight of each virtual computing instance specifically includes: determining the actual energy consumption of each virtual computing instance based on the usage information, energy consumption information and energy consumption weight of each virtual computing instance. The actual energy consumption of each virtual computing instance is the sum of the actual energy consumption of each virtual computing instance on various virtual computing resources. The actual energy consumption of each virtual computing instance on any virtual computing resource is the product of the rated energy consumption, energy efficiency, computing power utilization, energy consumption weight and resource utilization of any virtual computing resource. The resource utilization rate is the quotient of the usage of each virtual computing instance on any virtual computing resource divided by the total resource amount of any virtual computing resource. The sum of the actual energy consumption of each virtual computing instance is determined as the energy consumption evaluation result of multiple physical computing resources.

[0009] Optionally, the method further includes: obtaining a business computing power requirement. The business computing power requirement is used to indicate the computing power resources required when the business to be processed is running. Virtually isolating multiple virtual computing power resources according to the business computing power requirement to obtain multiple virtual computing instances.

[0010] In a second aspect, a computing power energy consumption assessment device is provided, including: an acquisition module and a processing module. The acquisition module is used to obtain the usage information of each of the multiple virtual computing instances. The multiple virtual computing instances are divided based on multiple virtual computing power resources. One virtual computing power resource corresponds to one physical computing power resource. A virtual computing instance is used to schedule part of the resources of each virtual computing power resource among multiple virtual computing power resources. The usage information includes energy consumption information, usage information and request quantity information. The processing module is used to determine the energy consumption weight of each virtual computing instance based on the request quantity information of each virtual computing instance. The processing module is also used to determine the energy consumption assessment results of multiple physical computing power resources based on the usage information, energy consumption information and energy consumption weights of each of the multiple virtual computing instances. The energy consumption assessment results are used to reflect the energy consumption of multiple physical computing power resources during operation.

[0011] Optionally, the multiple physical computing resources include graphics processor resources, central processing unit resources, memory resources and hard disk resources. The request amount information of each virtual computing instance includes the request amount of each virtual computing instance on each virtual computing resource. The energy consumption weight of each virtual computing instance includes the energy consumption weight of each virtual computing instance on each virtual computing resource. The processing module is specifically used to: determine the scheduling water level of each virtual computing instance on any virtual computing resource based on the request amount of each virtual computing instance on any virtual computing resource and the total resource amount of any virtual computing resource, and obtain the scheduling water level of each virtual computing instance on various virtual computing resources. Based on the scheduling water level of each virtual computing instance on various virtual computing resources, determine the energy consumption weight of each virtual computing instance. The energy consumption weight of each virtual computing instance on any virtual computing resource is equal to the scheduling water level of each virtual computing instance on any virtual computing resource divided by the total scheduling water level. The total scheduling water level is the sum of the scheduling water levels of each virtual computing instance on various virtual computing resources.

[0012] Optionally, the energy consumption information of the virtual computing instance includes the rated energy consumption, energy efficiency and computing power utilization of each virtual computing resource scheduled by the virtual computing instance. The usage information of each virtual computing instance includes the usage of each virtual computing instance on each virtual computing resource. The processing module is specifically used to: determine the actual energy consumption of each virtual computing instance based on the usage information, energy consumption information and energy consumption weight of each virtual computing instance. The actual energy consumption of each virtual computing instance is the sum of the actual energy consumption of each virtual computing instance on various virtual computing resources. The actual energy consumption of each virtual computing instance on any virtual computing resource is the product of the rated energy consumption, energy efficiency, computing power utilization, energy consumption weight and resource utilization of any virtual computing resource. The resource utilization rate is the quotient of the usage of each virtual computing instance on any virtual computing resource divided by the total resource amount of any virtual computing resource. The sum of the actual energy consumption of each virtual computing instance is determined as the energy consumption evaluation result of multiple physical computing resources.

[0013] Optionally, the acquisition module is further used to acquire the business computing power demand. The business computing power demand is used to indicate the computing power resources required when the business to be processed is running. The processing module is further used to virtually isolate multiple virtual computing power resources according to the business computing power demand to obtain multiple virtual computing instances.

[0014] In a third aspect, a computer device is provided, comprising a memory and a processor. The memory is used to store computer-executable instructions, and the processor is connected to the memory via a bus. When the computer device is running, the processor executes the computer-executable instructions stored in the memory, so that the computer device executes the computing power energy consumption evaluation method as described in any one of the first aspects.

[0015] The computer device may be a network device, or a part of a network device, such as a chip system in a network device. The chip system is used to support the network device to implement the functions involved in the first aspect and any possible implementation thereof, such as receiving, determining, and diverting the data and / or information involved in the above-mentioned service perception method. The chip system includes a chip, and may also include other discrete devices or circuit structures.

[0016] In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising computer execution instructions, which, when executed on a computer device, enables the computer device to execute a computing power energy consumption assessment method as described in any one of the first aspects.

[0017] It should be noted that the above computer instructions may be stored in whole or in part on the first readable storage medium, wherein the first readable storage medium may be packaged together with the processor of the routing device, or may be packaged separately from the processor of the routing device, which is not limited in this application.

[0018] In this application, the name of the above-mentioned routing device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.

[0019] These and other aspects of the present application will become more apparent from the following description.

[0020] The technical solution provided by this application brings at least the following beneficial effects:

[0021] Based on any of the above aspects, in the present application, since multiple virtual computing instances are divided based on multiple virtual computing resources. One virtual computing resource corresponds to one physical computing resource. One virtual computing instance is used to schedule part of the resources of each virtual computing resource in multiple virtual computing resources. Therefore, the present application can support the energy consumption evaluation results of multiple physical computing resources by evaluating the energy consumption of multiple virtual computing instances.

[0022] Moreover, after the computing power energy consumption evaluation device in the present application obtains the usage information of each of the multiple virtual computing instances, it can first determine the energy consumption weight of each virtual computing instance based on the request amount information of each virtual computing instance, and further determine the energy consumption evaluation results of multiple physical computing power resources based on the usage information, energy consumption information and energy consumption weight of each of the multiple virtual computing instances, thereby reflecting the energy consumption of multiple physical computing power resources during operation. Since the multi-dimensional information of the virtual computing instances is referenced, the energy consumption evaluation results have a high reference value and can accurately reflect the actual energy consumption of multiple virtual computing instances. Therefore, the present application can be used to effectively support the evaluation of the overall computing power energy consumption of a trusted data center. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic diagram of the structure of a computing power energy consumption evaluation system provided in an embodiment of the present application;

[0024] Figure 2 A schematic diagram of the hardware structure of a computing power energy consumption evaluation device provided in an embodiment of the present application;

[0025] Figure 3 A flowchart of a computing power energy consumption evaluation method provided in an embodiment of the present application;

[0026] Figure 4 A schematic diagram of the structure of a computing power energy consumption assessment device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0028] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0029] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and order of execution.

[0030] In addition, the terms "including" and "having" in the embodiments, claims and drawings of the present application are not exclusive. For example, a process, method, system, product or device including a series of steps or modules is not limited to the listed steps or modules, and may also include steps or modules that are not listed.

[0031] The following is a brief introduction to the application background of this application.

[0032] In the context of accelerating the construction of data center infrastructure, the industry has been constantly exploring how to measure and represent computing power. In a narrow sense, computing power is the ability of a server to output results after processing data. So far, the most widely used method to represent computing power is "floating point operations".

[0033] In a broad sense, computing power is a comprehensive concept that includes multiple connotations such as computing, storage, and transmission (network). It is a comprehensive indicator to measure the computing power of data centers. After CPU and GPU, in recent years, computing power devices such as data processors (DPU) and instruction processing units (IPU) used in specific field architectures such as driving safety alert systems (DSA) have emerged, as well as storage and network capabilities. How to comprehensively evaluate the energy consumption of these heterogeneous computing power in data centers is an urgent problem to be solved.

[0034] In response to the above problems, an embodiment of the present application provides a computing power energy consumption assessment method. In the present application, since multiple virtual computing instances are divided based on multiple virtual computing power resources. One virtual computing power resource corresponds to one physical computing power resource. A virtual computing instance is used to schedule part of the resources of each virtual computing power resource in multiple virtual computing power resources. Therefore, the present application can support the energy consumption assessment of multiple virtual computing instances and effectively determine the energy consumption assessment results of multiple physical computing power resources.

[0035] Moreover, after the computing power energy consumption evaluation device in the present application obtains the usage information of each of the multiple virtual computing instances, it can first determine the energy consumption weight of each virtual computing instance based on the request amount information of each virtual computing instance, and further determine the energy consumption evaluation results of multiple physical computing power resources based on the usage information, energy consumption information and energy consumption weight of each of the multiple virtual computing instances, thereby reflecting the energy consumption of multiple physical computing power resources during operation. Since the multi-dimensional information of the virtual computing instances is referenced, the energy consumption evaluation results have a high reference value and can accurately reflect the actual energy consumption of multiple virtual computing instances. Therefore, the present application can be used to effectively support the evaluation of the overall computing power energy consumption of a trusted data center.

[0036] The computing power energy consumption assessment method provided in the embodiment of the present application can be applied to the computing power energy consumption assessment device in the computing power energy consumption assessment system.

[0037] like Figure 1 , which is a schematic diagram of the structure of a computing power energy consumption evaluation system provided in an embodiment of the present application. The computing power energy consumption evaluation system may include a computing power energy consumption evaluation device 101 and a server cluster 102. The computing power energy consumption evaluation device 101 and the server cluster 102 may be connected.

[0038] In practical applications, there may be multiple computing power and energy consumption evaluation devices 101. For ease of description, this application takes one computing power and energy consumption evaluation device 101 as an example for description.

[0039] The computing power energy consumption evaluation device 101 is used to obtain the usage information of each of the multiple virtual computing instances, and determine the energy consumption weight of each virtual computing instance based on the request information of each virtual computing instance. Furthermore, the computing power energy consumption evaluation device 101 can determine the energy consumption evaluation results of multiple physical computing power resources based on the usage information, energy consumption information and energy consumption weight of each of the multiple virtual computing instances to reflect the energy consumption of multiple physical computing power resources during operation.

[0040] Optionally, the computing power energy consumption assessment device 101 may be a terminal, a server, or other equipment used for performing computing power energy consumption assessment. Figure 1The above is only an example of the device form of the computing power and energy consumption evaluation device 101, and does not limit the actual device form of the computing power and energy consumption evaluation device 101.

[0041] The terminal may be a user equipment (UE), an access terminal, a terminal unit, a user terminal terminal equipment, a mobile device, a wireless communication device, a terminal agent, a tablet computer (pad), a handheld device with wireless communication function, a computing device, or other processing devices connected to a wireless modem in a 5G network or a public land mobile network (PLMN) evolved after 5G. The embodiment of the present application is not limited to this.

[0042] The server may be a single server, or a server cluster composed of multiple servers. In some implementations, the server cluster may also be a distributed cluster. This embodiment of the application does not impose any limitation on this.

[0043] The server cluster 102 may be configured with a variety of physical computing resources to host multiple virtual computing instances.

[0044] like Figure 2 , which is a schematic diagram of the hardware structure of a computing power energy consumption evaluation device provided in an embodiment of the present application. The computing power energy consumption evaluation device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22, and the communication interface 23 can be connected through a bus 24.

[0045] The processor 21 is the control center of the computing power and energy consumption evaluation device, which can be a processor or a general term for multiple processing elements. For example, the processor 21 can be a CPU or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0046] As an embodiment, the processor 21 may include one or more CPUs, such as Figure 2 CPU0 and CPU1 are shown in the figure.

[0047] The memory 22 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0048] In a possible implementation, the memory 22 may exist independently of the processor 21, and the memory 22 may be connected to the processor 21 via a bus 24 for storing instructions or program codes. When the processor 21 calls and executes the instructions or program codes stored in the memory 22, the computing power energy consumption evaluation method provided in the following embodiments of the present application can be implemented.

[0049] In another possible implementation, the memory 22 may also be integrated with the processor 21 .

[0050] The communication interface 23 is used to connect the computing power energy consumption evaluation device to other devices through a communication network, and the communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 23 may include a receiving unit for receiving data and a sending unit for sending data.

[0051] The bus 24 may be an industrial standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industrial standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0052] It should be pointed out that Figure 2 The structure shown in the figure does not constitute a limitation on the computing power energy consumption evaluation device, except Figure 2In addition to the components shown, the computing power energy consumption assessment device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0053] like Figure 3 The figure is a flow chart of a computing power energy consumption evaluation method provided in an embodiment of the present application. The computing power energy consumption evaluation method can be applied to Figure 1 or Figure 2 The computing power energy consumption evaluation device shown. The computing power energy consumption evaluation method includes: S301-S303.

[0054] S301. The computing power and energy consumption evaluation device obtains usage information of each of multiple virtual computing instances.

[0055] Among them, multiple virtual computing instances are divided based on multiple virtual computing resources. One virtual computing resource corresponds to one physical computing resource. One virtual computing instance is used to schedule part of the resources of each virtual computing resource in multiple virtual computing resources. The usage information includes energy consumption information, usage information and request information.

[0056] In one possible approach, the multiple physical computing resources may include graphics processor resources, central processing unit resources, memory resources, and hard disk resources. Furthermore, the multiple physical computing resources may also include DPU resources, IPU resources, and / or other physical computing resources.

[0057] The usage information of each virtual computing instance includes the usage of each virtual computing instance on each virtual computing resource.

[0058] The request amount information of each virtual computing instance may include the request amount of each virtual computing instance on each virtual computing resource.

[0059] The energy consumption information of a virtual computing instance includes the rated energy consumption, energy efficiency, and computing power utilization of each virtual computing resource scheduled by the virtual computing instance. The rated energy consumption of a virtual computing resource refers to the expected energy consumption value set to maintain the virtual computing resource under normal operating conditions. The energy efficiency of a virtual computing resource refers to the amount of computing work completed by a unit of energy consumed by a virtual computing resource in the process of executing a computing task. The computing power utilization of a virtual computing resource refers to the degree to which the virtual computing resource is effectively utilized during actual operation, that is, the ratio between the used computing power and the total computing power.

[0060] The computing power and energy consumption evaluation device can track each virtual computing instance to obtain usage information of each virtual computing instance in multiple virtual computing instances. For example, the computing power and energy consumption evaluation device can track each virtual computing instance through a software agent program deployed in each virtual computing instance.

[0061] S302. The computing power energy consumption assessment device determines the energy consumption weight of each virtual computing instance based on the request quantity information of each virtual computing instance.

[0062] The energy consumption weight of each virtual computing instance includes the energy consumption weight of each virtual computing instance on each virtual computing resource.

[0063] The energy consumption weight of a virtual computing instance on a virtual computing resource can be used to characterize the scheduling frequency of the virtual computing instance for the virtual computing resource.

[0064] For example, the computing power energy consumption assessment device may divide the request amount of a virtual computing instance on a virtual computing power resource by the total request amount of the virtual computing instance on various virtual computing power resources to obtain the energy consumption weight of the virtual computing instance on the virtual computing power resource.

[0065] For another example, the computing power energy consumption evaluation device may divide the request amount of a virtual computing instance on a virtual computing resource by the total resource amount of the virtual computing resource to obtain the scheduling water level of the virtual computing instance on the virtual computing resource. Further, the computing power energy consumption evaluation device may divide the scheduling water level of the virtual computing instance on the virtual computing resource by the sum of the scheduling water levels of the virtual computing instance on various virtual computing resources to obtain the energy consumption weight of the virtual computing instance on the virtual computing resource.

[0066] In this way, the computing power energy consumption evaluation device can obtain the energy consumption weight of each virtual computing instance on each virtual computing power resource.

[0067] S303. The computing power energy consumption assessment device determines energy consumption assessment results of multiple physical computing power resources based on the usage information, energy consumption information and energy consumption weights of multiple virtual computing instances.

[0068] Among them, the energy consumption evaluation results are used to reflect the energy consumption of various physical computing resources during operation.

[0069] The computing power energy consumption assessment device can determine the actual energy consumption of each virtual computing instance based on the usage information, energy consumption information and energy consumption weight of each virtual computing instance.

[0070] Furthermore, the computing power energy consumption assessment device can determine the sum of the actual energy consumption of each virtual computing instance as the energy consumption assessment result of multiple physical computing power resources.

[0071] Alternatively, the computing power energy consumption assessment device may also average the actual energy consumption of each virtual computing instance to determine the energy consumption assessment result of multiple physical computing power resources.

[0072] In one embodiment, in the above S302, that is, when the computing power energy consumption assessment device determines the energy consumption weight of each virtual computing instance based on the request quantity information of each virtual computing instance, the embodiment of the present application provides an optional implementation method, including: S3021-S3022.

[0073] S3021. The computing power energy consumption assessment device determines the scheduling water level of each virtual computing instance on any virtual computing power resource based on the request amount of each virtual computing instance on any virtual computing power resource and the total resource amount of any virtual computing power resource, and obtains the scheduling water level of each virtual computing instance on various virtual computing power resources.

[0074]

[0075] Among them, D x Q is the scheduling level of a virtual computing instance on virtual computing resource x. x Q is the request amount of the virtual computing instance on the virtual computing resource x. z is the total amount of virtual computing resources x. Virtual computing resources x may be virtual computing resources corresponding to any one of a plurality of physical computing resources.

[0076] S3022. The computing power energy consumption evaluation device determines the energy consumption weight of each virtual computing instance based on the scheduling level of each virtual computing instance on various virtual computing power resources.

[0077] The energy consumption weight of each virtual computing instance on any virtual computing resource is equal to the scheduling water level of each virtual computing instance on any virtual computing resource divided by the total scheduling water level. The total scheduling water level is the sum of the scheduling water levels of each virtual computing instance on various virtual computing resources.

[0078]

[0079] Among them, H x is the energy consumption weight of a virtual computing instance on virtual computing resource x. x is the scheduling level of the virtual computing instance on the virtual computing resource x. z It is the sum of the scheduling water levels of the virtual computing instance on various virtual computing resources. The virtual computing resource x can be a virtual computing resource corresponding to any one of the multiple physical computing resources.

[0080] In one embodiment, in the above S303, that is, when determining the energy consumption evaluation results of multiple physical computing resources based on the usage information, energy consumption information and energy consumption weights of multiple virtual computing instances, an embodiment of the present application provides an optional implementation method, including: S3031-S3032.

[0081] S3031. The computing power energy consumption assessment device determines the actual energy consumption of each virtual computing instance based on the usage information, energy consumption information and energy consumption weight of each virtual computing instance.

[0082] The actual energy consumption of each virtual computing instance is the sum of the actual energy consumption of each virtual computing instance on various virtual computing resources. The actual energy consumption of each virtual computing instance on any virtual computing resource is the product of the rated energy consumption, energy efficiency, computing power utilization, energy weight and resource utilization rate of any virtual computing resource. The resource utilization rate is the quotient of the usage of each virtual computing instance on any virtual computing resource divided by the total amount of resources of any virtual computing resource.

[0083] S3032. The computing power energy consumption assessment device determines the sum of the actual energy consumption of each virtual computing instance as the energy consumption assessment result of multiple physical computing power resources.

[0084]

[0085] Among them, N z is the energy consumption evaluation result of multiple physical computing resources, that is, the sum of the actual energy consumption of each virtual computing instance. n is the number of multiple virtual computing instances. i is an integer greater than zero.

[0086] S ix H is the resource utilization rate of the ith virtual computing instance on the virtual computing resource x. ix is the energy consumption weight of the ith virtual computing instance on the virtual computing resource x. ix is the rated energy consumption of the i-th virtual computing instance on the virtual computing resource x. ix is the energy consumption efficiency of the i-th virtual computing instance on the virtual computing resource x. ix S is the computing power utilization of the i-th virtual computing instance on the virtual computing resource x. iy H is the resource utilization rate of the i-th virtual computing instance on the virtual computing resource y. iy is the energy consumption weight of the i-th virtual computing instance on the virtual computing resource y. iy is the rated energy consumption of the i-th virtual computing instance on the virtual computing resource y. iy is the energy consumption efficiency of the i-th virtual computing instance on the virtual computing resource y. iy is the computing power utilization of the i-th virtual computing instance on the virtual computing resource y.

[0087] It should be understood that, assuming that the i-th virtual computing instance is used to schedule two virtual computing resources x and y, the above ((S ix ×H ix ×E ix×L ix ×P ix )+(S iy ×H iy ×E iy ×L iy ×P iy )) is used to represent the sum of the actual energy consumption of the ith virtual computing instance on various virtual computing resources. If the ith virtual computing instance is also used to schedule other virtual computing resources, the above formula can be used to further calculate the sum.

[0088] In one embodiment, before the above S301, the computing power energy consumption evaluation method provided in the embodiment of the present application also includes: S401-S402.

[0089] S401. The computing power energy consumption assessment device obtains the business computing power demand.

[0090] Among them, the business computing power demand is used to indicate the computing power resources required when the business to be processed is running.

[0091] In one possible implementation, the staff can pre-set the business computing power requirements in the computing power energy consumption evaluation device. The computing power energy consumption evaluation device can read the business computing power requirements when needed to facilitate virtual isolation of multiple virtual computing power resources.

[0092] S402. The computing power energy consumption evaluation device virtually isolates multiple virtual computing power resources according to business computing power requirements to obtain multiple virtual computing instances.

[0093] In one achievable method, the computing power energy consumption assessment device can use container technology to divide a variety of virtual computing power resources into multiple virtual computing instances according to business computing power requirements, and deploy the multiple virtual computing instances in different containers, thereby achieving isolation of multiple virtual computing instances.

[0094] In the above-mentioned embodiments of the present application, it is possible to support the virtualization of a variety of heterogeneous physical computing resources into multiple virtual computing instances, which is similar to the virtualization in virtual machines. By performing a comprehensive energy consumption evaluation on each virtual computing instance, the overall energy consumption of the entire cluster can be obtained, thereby improving the accuracy and effectiveness of the performance evaluation results. It can better guide and advise the industry to judge industry development trends and provide ideas for future computing power planning and deployment.

[0095] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0096] The embodiment of the present application can divide the computing power energy consumption assessment device into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0097] like Figure 4 , which is a schematic diagram of the structure of a computing power energy consumption evaluation device provided in an embodiment of the present application. The computing power energy consumption evaluation device includes: an acquisition module 501 and a processing module 502.

[0098] Acquisition module 501 is used to obtain the usage information of each of the multiple virtual computing instances. The multiple virtual computing instances are divided based on multiple virtual computing resources. One virtual computing resource corresponds to one physical computing resource. A virtual computing instance is used to schedule part of the resources of each of the multiple virtual computing resources. The usage information includes energy consumption information, usage information and request quantity information. Processing module 502 is used to determine the energy consumption weight of each virtual computing instance based on the request quantity information of each virtual computing instance. Processing module 502 is also used to determine the energy consumption evaluation results of multiple physical computing resources based on the usage information, energy consumption information and energy consumption weights of each of the multiple virtual computing instances. The energy consumption evaluation results are used to reflect the energy consumption of multiple physical computing resources during operation.

[0099] Optionally, the multiple physical computing resources include graphics processor resources, central processing unit resources, memory resources and hard disk resources. The request amount information of each virtual computing instance includes the request amount of each virtual computing instance on each virtual computing resource. The energy consumption weight of each virtual computing instance includes the energy consumption weight of each virtual computing instance on each virtual computing resource. The processing module is specifically used to: determine the scheduling water level of each virtual computing instance on any virtual computing resource based on the request amount of each virtual computing instance on any virtual computing resource and the total resource amount of any virtual computing resource, and obtain the scheduling water level of each virtual computing instance on various virtual computing resources. Based on the scheduling water level of each virtual computing instance on various virtual computing resources, determine the energy consumption weight of each virtual computing instance. The energy consumption weight of each virtual computing instance on any virtual computing resource is equal to the scheduling water level of each virtual computing instance on any virtual computing resource divided by the total scheduling water level. The total scheduling water level is the sum of the scheduling water levels of each virtual computing instance on various virtual computing resources.

[0100] Optionally, the energy consumption information of the virtual computing instance includes the rated energy consumption, energy efficiency and computing power utilization of each virtual computing resource scheduled by the virtual computing instance. The usage information of each virtual computing instance includes the usage of each virtual computing instance on each virtual computing resource. The processing module is specifically used to: determine the actual energy consumption of each virtual computing instance based on the usage information, energy consumption information and energy consumption weight of each virtual computing instance. The actual energy consumption of each virtual computing instance is the sum of the actual energy consumption of each virtual computing instance on various virtual computing resources. The actual energy consumption of each virtual computing instance on any virtual computing resource is the product of the rated energy consumption, energy efficiency, computing power utilization, energy consumption weight and resource utilization of any virtual computing resource. The resource utilization rate is the quotient of the usage of each virtual computing instance on any virtual computing resource divided by the total resource amount of any virtual computing resource. The sum of the actual energy consumption of each virtual computing instance is determined as the energy consumption evaluation result of multiple physical computing resources.

[0101] Optionally, the acquisition module 501 is further used to acquire the business computing power demand. The business computing power demand is used to indicate the computing power resources required when the business to be processed is running. The processing module 502 is further used to virtually isolate multiple virtual computing power resources according to the business computing power demand to obtain multiple virtual computing instances.

[0102] Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include readable storage media and communication media, wherein the communication media includes any medium that is convenient for transmitting a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0103] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0104] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0105] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A computing power energy consumption evaluation method, characterized in that: include: Obtaining usage information of each of a plurality of virtual computing instances; the plurality of virtual computing instances are divided based on a plurality of virtual computing power resources; One virtual computing resource corresponds to one physical computing resource; A virtual computing instance is used to schedule part of the resources of each virtual computing resource among the multiple virtual computing resources; the usage information includes energy consumption information, usage information and request amount information; Determining an energy consumption weight of each virtual computing instance based on the request amount information of each virtual computing instance; Based on the usage information, energy consumption information and energy consumption weights of multiple virtual computing instances, energy consumption evaluation results of multiple physical computing resources are determined; the energy consumption evaluation results are used to reflect the energy consumption of the multiple physical computing resources during operation.

2. The computing power energy consumption evaluation method according to claim 1, characterized in that: The multiple physical computing resources include graphics processor resources, central processing unit resources, memory resources and hard disk resources; the request amount information of each virtual computing instance includes the request amount of each virtual computing instance on each virtual computing resource; the energy consumption weight of each virtual computing instance includes the energy consumption weight of each virtual computing instance on each virtual computing resource; The determining, based on the request amount information of each virtual computing instance, the energy consumption weight of each virtual computing instance includes: Based on the request amount of each virtual computing instance on any one virtual computing resource and the total resource amount of any one virtual computing resource, determine the scheduling water level of each virtual computing instance on any one virtual computing resource, and obtain the scheduling water level of each virtual computing instance on various virtual computing resources; Based on the scheduling water level of each virtual computing instance on various virtual computing power resources, the energy consumption weight of each virtual computing instance is determined; the energy consumption weight of each virtual computing instance on any one of the virtual computing power resources is equal to the scheduling water level of each virtual computing instance on any one of the virtual computing power resources divided by the total scheduling water level; the total scheduling water level is the sum of the scheduling water levels of each virtual computing instance on various virtual computing power resources.

3. The computing power energy consumption evaluation method according to claim 2, characterized in that: The energy consumption information of the virtual computing instance includes the rated energy consumption, energy consumption efficiency and computing power utilization rate of each virtual computing resource scheduled by the virtual computing instance; the usage information of each virtual computing instance includes the usage of each virtual computing instance on each virtual computing resource; the energy consumption evaluation results of the multiple physical computing resources are determined based on the usage information, energy consumption information and energy consumption weights of the multiple virtual computing instances, including: Based on the usage information, energy consumption information and energy consumption weight of each virtual computing instance, the actual energy consumption of each virtual computing instance is determined; the actual energy consumption of each virtual computing instance is the sum of the actual energy consumption of each virtual computing instance on various virtual computing resources; the actual energy consumption of each virtual computing instance on any one virtual computing resource is the product of the rated energy consumption, energy efficiency, computing power utilization, energy consumption weight and resource utilization rate of any one virtual computing resource; the resource utilization rate is the quotient of the usage of each virtual computing instance on any one virtual computing resource divided by the total amount of resources of any one virtual computing resource; The sum of the actual energy consumption of each virtual computing instance is determined as the energy consumption evaluation result of the multiple physical computing resources.

4. The computing power energy consumption evaluation method according to claim 1, characterized in that: The method further comprises: Obtaining business computing power requirements; the business computing power requirements are used to indicate the computing power resources required when the business to be processed is running; The multiple virtual computing resources are virtually isolated according to the business computing power requirements to obtain the multiple virtual computing instances.

5. A computing power energy consumption evaluation device, characterized in that: include: Acquisition module and processing module; The acquisition module is used to obtain usage information of each of the multiple virtual computing instances; the multiple virtual computing instances are divided based on multiple virtual computing resources; one virtual computing resource corresponds to one physical computing resource; one virtual computing instance is used to schedule part of the resources of each virtual computing resource in the multiple virtual computing resources; the usage information includes energy consumption information, usage information and request amount information; The processing module is used to determine the energy consumption weight of each virtual computing instance based on the request amount information of each virtual computing instance; The processing module is also used to determine the energy consumption evaluation results of multiple physical computing resources based on the usage information, energy consumption information and energy consumption weights of multiple virtual computing instances; the energy consumption evaluation results are used to reflect the energy consumption of the multiple physical computing resources during operation.

6. The computing power energy consumption evaluation device according to claim 5, characterized in that: The multiple physical computing resources include graphics processor resources, central processing unit resources, memory resources and hard disk resources; the request amount information of each virtual computing instance includes the request amount of each virtual computing instance on each virtual computing resource; the energy consumption weight of each virtual computing instance includes the energy consumption weight of each virtual computing instance on each virtual computing resource; the processing module is specifically used to: Based on the request amount of each virtual computing instance on any one virtual computing resource and the total resource amount of any one virtual computing resource, determine the scheduling water level of each virtual computing instance on any one virtual computing resource, and obtain the scheduling water level of each virtual computing instance on various virtual computing resources; Based on the scheduling water level of each virtual computing instance on various virtual computing power resources, the energy consumption weight of each virtual computing instance is determined; the energy consumption weight of each virtual computing instance on any one of the virtual computing power resources is equal to the scheduling water level of each virtual computing instance on any one of the virtual computing power resources divided by the total scheduling water level; the total scheduling water level is the sum of the scheduling water levels of each virtual computing instance on various virtual computing power resources.

7. The computing power energy consumption evaluation device according to claim 6, characterized in that: The energy consumption information of the virtual computing instance includes the rated energy consumption, energy consumption efficiency and computing power utilization rate of each virtual computing resource scheduled by the virtual computing instance; the usage information of each virtual computing instance includes the usage of each virtual computing instance on each virtual computing resource; the processing module is specifically used to: Based on the usage information, energy consumption information and energy consumption weight of each virtual computing instance, determining the actual energy consumption of each virtual computing instance; the actual energy consumption of each virtual computing instance is the sum of the actual energy consumption of each virtual computing instance on various virtual computing resources; The actual energy consumption of each virtual computing instance on any one virtual computing resource is the product of the rated energy consumption, energy efficiency, computing power utilization, energy consumption weight and resource utilization rate of any one virtual computing resource; the resource utilization rate is the quotient of the usage of each virtual computing instance on any one virtual computing resource divided by the total amount of resources of any one virtual computing resource; The sum of the actual energy consumption of each virtual computing instance is determined as the energy consumption evaluation result of the multiple physical computing resources.

8. The computing power energy consumption evaluation device according to claim 5, characterized in that: The acquisition module is further used to acquire the business computing power demand; the business computing power demand is used to indicate the computing power resources required when the business to be processed is running; The processing module is also used to virtually isolate the multiple virtual computing resources according to the business computing power requirements to obtain the multiple virtual computing instances.

9. A computer device, characterized in that: It includes a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the computer device is running, the processor executes the computer execution instructions stored in the memory, so that the computer device executes the computing power energy consumption assessment method as described in any one of claims 1-4.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes computer execution instructions, and when the computer execution instructions are executed on a computer device, the computer device executes the computing power energy consumption evaluation method according to any one of claims 1 to 4.

Citation Information

Cited By

  • GPU (Graphics Processing Unit) energy consumption-based computing power metering method and device for intelligent computing center cloud platform

    CN121255575A