CN109144231B - Virtualized power management method and device - Google Patents

Virtualized power management method and device Download PDF

Info

Publication number
CN109144231B
CN109144231B CN201811055926.5A CN201811055926A CN109144231B CN 109144231 B CN109144231 B CN 109144231B CN 201811055926 A CN201811055926 A CN 201811055926A CN 109144231 B CN109144231 B CN 109144231B
Authority
CN
China
Prior art keywords
virtual
power consumption
service system
central processing
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811055926.5A
Other languages
Chinese (zh)
Other versions
CN109144231A (en
Inventor
翁程飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811055926.5A priority Critical patent/CN109144231B/en
Publication of CN109144231A publication Critical patent/CN109144231A/en
Application granted granted Critical
Publication of CN109144231B publication Critical patent/CN109144231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45579I/O management, e.g. providing access to device drivers or storage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a virtualized power management method and device, and the method comprises the following steps: the method comprises the steps of determining the physical power consumption of a service system, obtaining the condition of each virtual function unit after the service system is virtualized, and determining the power consumption management of the virtual function unit after virtualization based on the physical power consumption of the service system and the condition of the virtual unit. By determining the power consumption management of the virtual function unit of the service system, the resource utilization rate is further improved on the basis of the existing service system hardware virtualization.

Description

Virtualized power management method and device
Technical Field
The present application relates to the field of virtualization technologies, and in particular, to a virtualized power management method and device.
Background
At present, with the continuous development of electronic technology, cloud computing has been widely applied to various IT fields, and the key core of cloud computing is virtualization of servers. In the prior art, a CPU (Central Processing Unit), a memory, a hard disk, and a PCIE card (external card supporting Peripheral Component Interface Express bus), such as a network card and a GPU (Graphics Processing Unit) card, can be virtualized in a mature manner.
Different virtual machines are created, and virtual CPUs in different quantities, virtual memories in different capacities and sizes, block storages in different sizes and object storages are distributed; meanwhile, the PCIE cards are divided into pieces by an SR-IOV technology (Single Root I/O Virtualization, a term of a virtual technology), so that resources can be accurately allocated according to the needs of customers and the utilization rate of the resources of a server system can be more effectively improved. However, at present, only the hardware design is virtualized, and the field of power supply is not involved.
Therefore, how to implement virtualized power management to improve resource utilization is an urgent problem to be solved.
Disclosure of Invention
In view of this, the present application provides a virtualized power management method, which can effectively perform virtualized power management on a service system, and further improve resource utilization on the existing basis.
The application provides a virtualized power management method, comprising:
determining a physical power consumption of a service system;
acquiring the condition of each virtualized functional unit of the service system after virtualization;
determining power consumption management of the virtualized virtual functional unit based on the physical power consumption of the service system and the condition of the virtual unit.
Preferably, the determining physical power consumption of a service system; the method comprises the following steps of obtaining physical power consumption of the following components, wherein the components comprise one or more of the following components:
central processing unit, storage device and network card.
Preferably, the obtaining of the condition of each virtualized functional unit of the service system is performed; the method comprises the following steps of obtaining the number of the following virtual function units, wherein the virtual function units comprise one or more of the following virtual function units:
virtual central processing unit, virtual network card.
Preferably, the obtaining of each virtualized functional unit of the service system includes:
the capacity of the virtual storage device is obtained.
Preferably, the determining the power consumption management of the virtualized virtual function unit based on the physical power consumption of the service system and the condition of the virtual unit includes one or more of the following modes:
allocating the power consumption of the virtual central processing units based on the physical power consumption of the central processing units and the number of the virtual central processing units; and/or
Allocating power consumption of a virtual storage device based on physical power consumption of the storage device and capacity of the virtual storage device; and/or
And distributing the power consumption of the virtual network cards based on the physical power consumption of the network cards and the number of the virtual network cards.
A virtualized power management device, comprising:
the memory is used for storing the application program and data generated by the operation of the application program;
the system comprises an acquisition device, a processing device and a control device, wherein the acquisition device is used for determining the physical power consumption of a service system;
the processor is used for running the application program to obtain the condition of each virtual functional unit after the service system is virtualized;
the processor is further configured to run the application program to determine power consumption management of the virtualized virtual functional unit based on the physical power consumption of the service system and a condition of the virtual unit.
Preferably, the acquisition device is used for obtaining the physical power consumption of the following components, wherein the components include one or more of the following components:
central processing unit, storage device and network card.
Preferably, the processor is configured to obtain the following number of virtual functional units, where the virtual functional units include one or more of the following virtual functional units:
virtual central processing unit, virtual network card.
Preferably, the processor is further configured to:
the capacity of the virtual storage device is obtained.
Preferably, the processor is further configured to:
allocating the power consumption of the virtual central processing units based on the physical power consumption of the central processing units and the number of the virtual central processing units; and/or
Allocating power consumption of a virtual storage device based on physical power consumption of the storage device and capacity of the virtual storage device; and/or
And distributing the power consumption of the virtual network cards based on the physical power consumption of the network cards and the number of the virtual network cards.
According to the technical scheme, when the virtualized power management needs to be performed on the service system, the physical function of the service system is determined, the condition of each virtualized functional unit of the service system is obtained, and finally the power consumption management of the virtualized virtual functional unit is determined according to the physical power consumption of the service system and the condition of the virtual unit. By determining the power consumption management of the virtual function unit of the service system, the resource utilization rate is further improved on the basis of the existing service system hardware virtualization.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment 1 of a virtualized power management method disclosed herein;
FIG. 2 is a flow chart of an embodiment 2 of a virtualized power management method as disclosed herein;
fig. 3 is a schematic structural diagram of an embodiment 1 of a virtualized power management device disclosed in the present application;
fig. 4 is a schematic structural diagram of a virtualized power management device in embodiment 2 disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, which is a flowchart of a method of embodiment 1 of the virtualized power management method disclosed in the present application, the method may include the following steps:
s101, determining physical power consumption of a service system;
when virtualized power management needs to be performed on a service system, the physical power consumption of the service system, i.e., the power supply obtained by the computing service system, is first determined. It should be noted that the service system described in this application may be a distributed server system, that is, a specific server, or a computer cluster system, that is, an array of multiple machine room servers.
S102, acquiring the condition of each virtual function unit after the service system is virtualized;
after determining the physical power consumption of the service system, the service system is further virtualized, for example, a central processing unit of the service system is virtualized, a memory of the service system is virtualized, and a hard disk of the service system is virtualized. After the service system is virtualized, the condition of each virtual function unit after the service system is virtualized is further obtained. For example, the capacity of the virtual memory is obtained.
S103, determining power consumption management of the virtualized virtual function unit based on the physical power consumption of the service system and the condition of the virtual unit.
And finally, determining a power consumption management strategy of each virtual function unit according to the determined physical power consumption of the service system and the condition of the virtual unit after the service system is subjected to virtualization processing. That is, it is determined how much power consumption needs to be allocated to each virtual functional unit.
In summary, in the above embodiments, when the service system needs to be virtualized for power management, first, the physical function of the service system is determined, then, the condition of each virtualized function unit of the service system is obtained, and finally, power management of the virtualized virtual function unit is determined according to the physical power consumption of the service system and the condition of the virtual unit. By determining the power consumption management of the virtual function unit of the service system, the resource utilization rate is further improved on the basis of the existing service system hardware virtualization.
Specifically, in the foregoing embodiment, one implementation manner of step 101 may be: obtaining physical power consumption of the following components, wherein the components include one or more of the following components:
central processing unit, storage device and network card.
That is, when determining the physical power consumption of the service system, the physical power consumption of the central processing unit of the service system may be obtained, the physical power consumption of the storage device of the service system may be obtained, the physical power consumption of the network card of the service system may be obtained, the physical power consumption of the central processing unit of the service system and the physical power consumption of the storage device of the service system may be obtained simultaneously, the physical power consumption of the central processing unit of the service system and the physical power consumption of the network card of the service system may be obtained simultaneously, the physical power consumption of the storage device of the service system and the physical power consumption of the network card of the service system may be obtained simultaneously, or the physical power consumption of the central processing unit of the system, the physical power consumption of the storage device of the service system and. The storage device of the service system may be: memory and/or hard disk of the service system.
Specifically, in the foregoing embodiment, one implementation manner of step 102 may be: obtaining the number of the following virtual function units, wherein the virtual function units comprise one or more of the following virtual function units:
central processing unit, network card.
That is, when obtaining each virtualized functional unit of the service system, the number of the virtual central processing units after the virtualization processing of the service system may be obtained, the number of the virtual network cards after the virtualization processing of the service system may be obtained, or the number of the virtual central processing units and the number of the virtual network cards after the virtualization processing of the service system may be obtained.
Specifically, in the foregoing embodiment, another implementation manner of step 102 may also be: the capacity of the virtual storage device is obtained.
That is, when each virtual functional unit in which the service system is virtualized is obtained, the capacity of the virtual storage device may be obtained after the service system is virtualized. For example, the capacity of the virtual hard disk of the service system, or the capacity of the virtual memory of the service system, etc. is obtained.
As shown in fig. 2, which is a flowchart of a method of embodiment 2 of the virtualized power management method disclosed in the present application, the method may include the following steps:
s201, respectively obtaining the physical power consumption of a central processing unit, a storage device and a network card of a service system;
when virtualized power management needs to be performed on a service system, the physical power consumption of the service system, i.e., the power supply obtained by the computing service system, is first determined. It should be noted that the service system described in this application may be a distributed server system, that is, a specific server, or a computer cluster system, that is, an array of multiple machine room servers.
And when the physical power consumption of the service system is determined, the physical power consumption of the central processing unit, the physical power consumption of the storage device and the physical power consumption of the network card are respectively obtained. It should be noted that the storage device may be a memory and/or a hard disk of the service system.
S202, acquiring the number of virtual central processing units and virtual network cards of the virtualized service system and the capacity of a virtual storage device;
and after the physical power consumption of the service system is determined, further performing virtualization processing on the service system, performing virtualization processing on a central processing unit of the service system, performing virtualization processing on a network card of the service system, performing virtualization processing on a storage device of the service system and the like. After the service system is virtualized, the condition of each virtual function unit after the service system is virtualized is further obtained. That is, the number of virtual central processing units and virtual network cards, and the capacity of the virtual storage device are obtained.
S203, distributing the power consumption of the virtual central processing units based on the physical power consumption of the central processing units and the number of the virtual central processing units;
and respectively distributing power consumption to each virtual central processing unit according to the determined physical power consumption of the central processing units of the service system and the obtained number of the virtual central processing units.
S204, distributing the power consumption of the virtual storage device based on the physical power consumption of the storage device and the capacity of the virtual storage device;
and distributing power consumption to the virtual storage device according to the determined physical power consumption of the storage device of the service system and the obtained capacity of the virtual storage device. For example, according to the determined physical power consumption of the memory and the capacity of the virtual memory, corresponding power consumption is allocated to the virtual memory.
S205, distributing the power consumption of the virtual network cards based on the physical power consumption of the network cards and the number of the virtual network cards.
And respectively distributing corresponding power consumption to each virtual network card according to the determined physical power consumption of the network card of the service system and the number of the virtual network cards.
In summary, in the above embodiments, by determining the physical power consumptions of the central processing unit, the storage device, and the network card, and acquiring the numbers of the virtual central processing unit and the virtual network card, and the capacity of the virtual storage device, power consumption can be respectively allocated to the virtual central processing unit, the virtual storage device, and the virtual network card, so that the resource utilization rate is further improved on the basis of the existing service system hardware virtualization.
As shown in fig. 3, which is a schematic structural diagram of an embodiment 1 of the virtualized power management device disclosed in this application, the device may include:
a memory 301 for storing an application program and data generated by the application program;
an acquisition device 302 for determining physical power consumption of a service system;
when virtualized power management needs to be performed on a service system, the physical power consumption of the service system, i.e., the power supply obtained by the computing service system, is first determined. It should be noted that the service system described in this application may be a distributed server system, that is, a specific server, or a computer cluster system, that is, an array of multiple machine room servers.
A processor 303, configured to run the application program to obtain a condition of each virtualized virtual function unit of the service system;
after determining the physical power consumption of the service system, the service system is further virtualized, for example, a central processing unit of the service system is virtualized, a memory of the service system is virtualized, and a hard disk of the service system is virtualized. After the service system is virtualized, the condition of each virtual function unit after the service system is virtualized is further obtained. For example, the capacity of the virtual memory is obtained.
The processor 303 is further configured to run the application program to determine power consumption management of the virtualized virtual functional unit based on the physical power consumption of the service system and the condition of the virtual unit.
And finally, determining a power consumption management strategy of each virtual function unit according to the determined physical power consumption of the service system and the condition of the virtual unit after the service system is subjected to virtualization processing. That is, it is determined how much power consumption needs to be allocated to each virtual functional unit.
In summary, in the above embodiments, when the service system needs to be virtualized for power management, first, the physical function of the service system is determined, then, the condition of each virtualized function unit of the service system is obtained, and finally, power management of the virtualized virtual function unit is determined according to the physical power consumption of the service system and the condition of the virtual unit. By determining the power consumption management of the virtual function unit of the service system, the resource utilization rate is further improved on the basis of the existing service system hardware virtualization.
Specifically, in the above embodiment, one implementation manner of determining the physical power consumption of a service system by the acquisition device may be: acquiring physical power consumption of the following components through an acquisition device, wherein the components comprise one or more of the following components:
central processing unit, storage device and network card.
That is, when determining the physical power consumption of the service system, the physical power consumption of the central processing unit of the service system may be obtained, the physical power consumption of the storage device of the service system may be obtained, the physical power consumption of the network card of the service system may be obtained, the physical power consumption of the central processing unit of the service system and the physical power consumption of the storage device of the service system may be obtained simultaneously, the physical power consumption of the central processing unit of the service system and the physical power consumption of the network card of the service system may be obtained simultaneously, the physical power consumption of the storage device of the service system and the physical power consumption of the network card of the service system may be obtained simultaneously, or the physical power consumption of the central processing unit of the system, the physical power consumption of the storage device of the service system and. The storage device of the service system may be: memory and/or hard disk of the service system.
Specifically, in the above embodiment, one implementation manner of the processor running the application program to obtain the condition of each virtualized functional unit of the service system may be: obtaining, by a processor, a number of the following virtual functional units, wherein the virtual functional units include one or more of the following virtual functional units:
central processing unit, network card.
That is, when obtaining each virtualized functional unit of the service system, the number of the virtual central processing units after the virtualization processing of the service system may be obtained, the number of the virtual network cards after the virtualization processing of the service system may be obtained, or the number of the virtual central processing units and the number of the virtual network cards after the virtualization processing of the service system may be obtained.
Specifically, in the above embodiment, another implementation manner of the processor running the application program to obtain the condition of each virtualized functional unit of the service system may also be: the capacity of the virtual storage device is obtained.
That is, when each virtual functional unit in which the service system is virtualized is obtained, the capacity of the virtual storage device may be obtained after the service system is virtualized. For example, the capacity of the virtual hard disk of the service system, or the capacity of the virtual memory of the service system, etc. is obtained.
As shown in fig. 4, which is a schematic structural diagram of a virtualized power management device embodiment 2 disclosed in this application, the device may include:
a memory 401 for storing an application program and data generated by the application program;
the acquisition device 402 is used for respectively acquiring the physical power consumption of a central processing unit, a storage device and a network card of the service system;
when virtualized power management needs to be performed on a service system, the physical power consumption of the service system, i.e., the power supply obtained by the computing service system, is first determined. It should be noted that the service system described in this application may be a distributed server system, that is, a specific server, or a computer cluster system, that is, an array of multiple machine room servers.
And when the physical power consumption of the service system is determined, the physical power consumption of the central processing unit, the physical power consumption of the storage device and the physical power consumption of the network card are respectively obtained. It should be noted that the storage device may be a memory and/or a hard disk of the service system.
A processor 403, configured to run the application program to obtain the number of virtual central processing units and virtual network cards after virtualization of the service system, and the capacity of the virtual storage device;
and after the physical power consumption of the service system is determined, further performing virtualization processing on the service system, performing virtualization processing on a central processing unit of the service system, performing virtualization processing on a network card of the service system, performing virtualization processing on a storage device of the service system and the like. After the service system is virtualized, the condition of each virtual function unit after the service system is virtualized is further obtained. That is, the number of virtual central processing units and virtual network cards, and the capacity of the virtual storage device are obtained.
A processor 403, further configured to allocate power consumption of the virtual central processing units based on physical power consumption of the central processing units and the number of the virtual central processing units;
and respectively distributing power consumption to each virtual central processing unit according to the determined physical power consumption of the central processing units of the service system and the obtained number of the virtual central processing units.
A processor 403, further configured to allocate power consumption of the virtual storage device based on physical power consumption of the storage device and capacity of the virtual storage device;
and distributing power consumption to the virtual storage device according to the determined physical power consumption of the storage device of the service system and the obtained capacity of the virtual storage device. For example, according to the determined physical power consumption of the memory and the capacity of the virtual memory, corresponding power consumption is allocated to the virtual memory.
The processor 403 is further configured to allocate power consumption of the virtual network card based on physical power consumption of the network card and the number of the virtual network cards.
And respectively distributing corresponding power consumption to each virtual network card according to the determined physical power consumption of the network card of the service system and the number of the virtual network cards.
In summary, in the above embodiments, by determining the physical power consumptions of the central processing unit, the storage device, and the network card, and acquiring the numbers of the virtual central processing unit and the virtual network card, and the capacity of the virtual storage device, power consumption can be respectively allocated to the virtual central processing unit, the virtual storage device, and the virtual network card, so that the resource utilization rate is further improved on the basis of the existing service system hardware virtualization.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (2)

1. A virtualized power management method, comprising:
determining a physical power consumption of a service system, the determining a physical power consumption of a service system; the method comprises the following steps of obtaining physical power consumption of the following components, wherein the components comprise one or more of the following components: a central processing unit, a storage device and/or a network card;
obtaining the condition of each virtualized functional unit of the service system after virtualization, including: obtaining the number of the following virtual function units, wherein the virtual function units comprise one or more of the following virtual function units: a virtual central processing unit and a virtual network card; and, obtaining a capacity of the virtual storage device;
based on the physical power consumption of the service system and the condition of the virtual unit, performing power consumption allocation on the virtual function unit, including:
allocating the power consumption of the virtual central processing units based on the physical power consumption of the central processing units and the number of the virtual central processing units; and/or
Allocating power consumption of a virtual storage device based on physical power consumption of the storage device and capacity of the virtual storage device; and/or
And distributing the power consumption of the virtual network cards based on the physical power consumption of the network cards and the number of the virtual network cards.
2. A virtualized power management device, comprising:
the memory is used for storing the application program and data generated by the operation of the application program;
the acquisition device is used for determining the physical power consumption of a service system and obtaining the physical power consumption of the following components, wherein the components comprise one or more of the following components: the system comprises a central processing unit, a storage device and a network card;
the processor is used for running the application program to obtain the condition of each virtual functional unit after the service system is virtualized, and comprises the following steps: obtaining the number of the following virtual function units, wherein the virtual function units comprise one or more of the following virtual function units: a virtual central processing unit and a virtual network card; and, obtaining a capacity of the virtual storage device;
the processor is further configured to run the application program to allocate power consumption to the virtual functional unit based on physical power consumption of the service system and a condition of the virtual functional unit, and includes: allocating the power consumption of the virtual central processing units based on the physical power consumption of the central processing units and the number of the virtual central processing units; and/or allocating power consumption of the virtual storage device based on physical power consumption of the storage device and capacity of the virtual storage device; and/or distributing the power consumption of the virtual network card based on the physical power consumption of the network card and the number of the virtual network cards.
CN201811055926.5A 2018-09-11 2018-09-11 Virtualized power management method and device Active CN109144231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811055926.5A CN109144231B (en) 2018-09-11 2018-09-11 Virtualized power management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811055926.5A CN109144231B (en) 2018-09-11 2018-09-11 Virtualized power management method and device

Publications (2)

Publication Number Publication Date
CN109144231A CN109144231A (en) 2019-01-04
CN109144231B true CN109144231B (en) 2021-07-16

Family

ID=64824753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811055926.5A Active CN109144231B (en) 2018-09-11 2018-09-11 Virtualized power management method and device

Country Status (1)

Country Link
CN (1) CN109144231B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455378A (en) * 2013-09-05 2013-12-18 华为技术有限公司 Resource distribution method of virtual clusters, device and system
CN104102531A (en) * 2014-08-06 2014-10-15 汉柏科技有限公司 Multi-network fusion system and multi-network fusion method based on virtual machine

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8327169B2 (en) * 2009-02-26 2012-12-04 International Business Machines Corporation Power management to maximize reduced power state for virtual machine platforms
US8839241B2 (en) * 2010-12-31 2014-09-16 Emc Corporation Virtual appliance deployment
CN102662750A (en) * 2012-03-23 2012-09-12 上海交通大学 Virtual machine resource optimal control method and control system based on elastic virtual machine pool
US9857858B2 (en) * 2012-05-17 2018-01-02 Intel Corporation Managing power consumption and performance of computing systems
CN106170744B (en) * 2014-12-31 2019-07-19 华为技术有限公司 Energy consumption of virtual machine determines method, physical machine and network system
US10503237B2 (en) * 2017-02-13 2019-12-10 Gbs Laboratories, Llc Mobile device virtualization solution based on bare-metal hypervisor with optimal resource usage and power consumption

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455378A (en) * 2013-09-05 2013-12-18 华为技术有限公司 Resource distribution method of virtual clusters, device and system
CN104102531A (en) * 2014-08-06 2014-10-15 汉柏科技有限公司 Multi-network fusion system and multi-network fusion method based on virtual machine

Also Published As

Publication number Publication date
CN109144231A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN111984407B (en) Data block read-write performance optimization method, system, terminal and storage medium
CN107783812B (en) Virtual machine memory management method and device
CN110399217B (en) Memory resource allocation method, device and equipment
JP5796722B2 (en) Computer server capable of supporting CPU virtualization
CN111104219A (en) Binding method, device, equipment and storage medium of virtual core and physical core
CN103309745A (en) Method and device for distributing virtual resource in cloud architecture
CN111338579B (en) Read-write cache optimization method, system, terminal and storage medium based on storage pool
US20200272526A1 (en) Methods and systems for automated scaling of computing clusters
CN112463356A (en) GPU heap manager memory address allocation method, system, terminal and storage medium
US11347541B2 (en) Methods and apparatus for virtual machine rebalancing
CN109558210B (en) Method and system for virtual machine to apply GPU (graphics processing Unit) equipment of host
US11048557B2 (en) Methods and modules relating to allocation of host machines
CN111510479B (en) Resource allocation method and device for heterogeneous cache system
CN104050189B (en) The page shares processing method and processing device
CN109144231B (en) Virtualized power management method and device
CN117112222A (en) Request processing method and device, electronic equipment and storage medium
CN105988871B (en) Remote memory allocation method, device and system
CN110908783A (en) Management and control method, system and equipment for virtual machine of cloud data center
CN114327862B (en) Memory allocation method and device, electronic equipment and storage medium
CN115098272A (en) GPU resource scheduling method, scheduler, electronic device and storage medium
CN110780992B (en) Cloud computing platform optimized deployment method, system, terminal and storage medium
CN105659216B (en) The CACHE DIRECTORY processing method and contents controller of multi-core processor system
CN114281516A (en) Resource allocation method and device based on NUMA attribute
CN107153578B (en) Method and device for improving CPU utilization rate
CN110955644A (en) IO control method, device, equipment and storage medium of storage system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant