CN107301092A - A kind of cloud computing resource pool energy saving of system method, apparatus and system - Google Patents

A kind of cloud computing resource pool energy saving of system method, apparatus and system Download PDF

Info

Publication number
CN107301092A
CN107301092A CN201610236186.XA CN201610236186A CN107301092A CN 107301092 A CN107301092 A CN 107301092A CN 201610236186 A CN201610236186 A CN 201610236186A CN 107301092 A CN107301092 A CN 107301092A
Authority
CN
China
Prior art keywords
virtual network
integrated
network node
node
resource
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.)
Granted
Application number
CN201610236186.XA
Other languages
Chinese (zh)
Other versions
CN107301092B (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.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co 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 China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201610236186.XA priority Critical patent/CN107301092B/en
Publication of CN107301092A publication Critical patent/CN107301092A/en
Application granted granted Critical
Publication of CN107301092B publication Critical patent/CN107301092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • 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/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/503Resource availability
    • 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)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of cloud computing resource pool energy saving of system method, this method includes:When the resource overall availability of all virtual network nodes is less than the first predetermined threshold value, virtual network node to be integrated is determined;The virtual network service on virtual network node to be integrated is migrated to destination virtual network node.The present invention further simultaneously discloses a kind of cloud computing resource pool energy saving of system device, and a kind of cloud computing resource pool energy saving of system system.

Description

Energy-saving method, device and system for cloud computing resource pool system
Technical Field
The invention relates to the technical field of computers, in particular to an energy-saving method, device and system for a cloud computing resource pool system.
Background
With the vigorous development of cloud computing, the cloud computing is widely applied to various industries. The virtual network serving as the basic core function of cloud computing is also actively supported and promoted by Software Defined Network (SDN) manufacturers. Currently, in view of the performance (such as bandwidth, Central Processing Unit (CPU), memory) and stability (high availability)) of a cloud computing resource pool system, Virtual Network services are generally deployed on independent servers or SDN devices to support the demands of a huge Virtual cluster on Network bandwidth and other Network functions (such as load balancing, firewalls, Virtual Private Networks (VPNs)). When the actual deployment of the project is implemented, a plurality of servers or SDN equipment for bearing the virtual network service are considered from the aspects of capacity and expandability of a cloud computing resource pool system; even when the service scale increases, servers or SDN devices (hereinafter referred to as virtual network nodes) are deployed in a cluster manner, so that the energy consumption of the cloud computing resource pool system is higher and higher.
In order to reduce the energy consumption of a cloud computing resource pool system, the related technology provides an energy-saving mode of the cloud computing resource pool system, and one mode is that a virtual machine running on one physical machine is migrated to another physical machine from the aspects of performances such as a CPU (central processing unit), a memory and the like, so that a virtual machine group is integrated, and the energy consumption of the cloud computing resource pool system is reduced. And the other method is considered from the aspect of virtual machines, the virtual machines on the same virtual network are migrated to the same physical machine, and the purpose of integrating communication tunnels among the virtual machines based on the virtual switch is achieved, so that virtual machine clusters are integrated, and the energy consumption of the cloud computing resource pool system is reduced.
However, the energy-saving mode of the cloud computing resource pool system provided by the related technology has the following problems: the cloud computing resource pool system comprises computing resources and network resources, and the energy-saving mode of the cloud computing resource pool system provided by the related technology only reduces the energy consumption of the computing resources in the cloud computing resource pool system, namely only reduces the energy consumption required by virtual machines in the cloud computing resource pool system, and does not reduce the energy consumption of the network resources in the cloud computing resource pool system, namely does not reduce the energy consumption required by virtual network nodes in the cloud computing resource pool system.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide an energy saving method, an energy saving device, and an energy saving system for a cloud computing resource pool system, so as to reduce energy consumption of the cloud computing resource pool system.
A cloud computing resource pool system energy conservation method, the method comprising:
when the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value, determining the virtual network nodes to be integrated;
and migrating the virtual network service on the virtual network node to be integrated to a target virtual network node.
The method for determining the virtual network node to be integrated specifically comprises the following steps: and determining the virtual network nodes to be integrated from all the virtual network nodes according to the resource utilization rate of each virtual network node.
Wherein, the migrating the virtual network service on the virtual network node to be integrated to the target virtual network node includes:
judging whether the total resource residual quantity value of all the virtual network nodes is greater than or equal to the resource occupation quantity value of the virtual network node to be integrated;
and virtually migrating the virtual network service on the virtual network node to be integrated to a target virtual network node when the total remaining quantity value of the resources is determined to be greater than or equal to the resource occupation quantity value.
Wherein, when it is determined that the total remaining quantity of resources is greater than or equal to the resource occupation quantity, virtually migrating the virtual network service on the virtual network node to be integrated to a target virtual network node, including:
when the total resource residual quantity value is confirmed to be larger than or equal to the resource occupation quantity value, selecting a target virtual network node from the virtual network nodes which are not to be integrated according to the resource occupation quantity value of the virtual network service on the virtual network nodes to be integrated and the resource residual quantity value of the virtual network nodes which are not to be integrated;
migrating the virtual network service from the virtual network node to be integrated to the target virtual network node.
Wherein, the migrating the virtual network service on the virtual network node to be integrated to the target virtual network node further comprises: and controlling the virtual network nodes to be integrated to enter an energy-saving mode when the virtual network services which are not migrated do not exist on the virtual network nodes to be integrated.
Further, the method further comprises: and when the total resource utilization rate of all the virtual network nodes exceeds a second preset threshold value, adding the standby virtual network nodes into the cloud computing resource pool system.
An energy conservation apparatus for a cloud computing resource pool system, the apparatus comprising:
the confirming module is used for determining the virtual network nodes to be integrated when the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value;
and the migration module is used for migrating the virtual network service on the virtual network node to be integrated to the target virtual network node.
The confirmation module is specifically configured to determine a virtual network node to be integrated from all the virtual network nodes according to the resource utilization rate of each virtual network node.
The migration module is specifically configured to determine whether the total remaining quantity of resources of all the virtual network nodes is greater than or equal to the resource occupation quantity of the virtual network node to be integrated; and virtually migrating the virtual network service on the virtual network node to be integrated to a target virtual network node when the total remaining quantity value of the resources is determined to be greater than or equal to the resource occupation quantity value.
The migration module is specifically configured to select a target virtual network node from the virtual network nodes not to be integrated according to the resource occupancy amount value of the virtual network service on the virtual network node to be integrated and the resource remaining amount value of the virtual network node not to be integrated when it is determined that the total resource remaining amount value is greater than or equal to the resource occupancy amount value; migrating the virtual network service from the virtual network node to be integrated to the target virtual network node.
A cloud computing resource pool system energy conservation system, the system comprising: a virtual network control node and at least two virtual network nodes; wherein,
the virtual network control node is used for determining a virtual network node to be integrated when the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value; and migrating the virtual network service on the virtual network node to be integrated to a target virtual network node.
According to the energy-saving method, the energy-saving device and the energy-saving system for the cloud computing resource pool system, when the total resource utilization rate of all virtual network nodes is lower than a first preset threshold value, the virtual network nodes to be integrated are determined; and migrating the virtual network service on the virtual network node to be integrated to the target virtual network node. Therefore, the scale of the virtual network nodes in the cloud computing resource pool system can be integrated, the energy consumption of the cloud computing resource pool system is reduced, and the energy saving and emission reduction effects of the cloud computing resource pool system are improved.
Drawings
Fig. 1 is a schematic flowchart of an energy saving method for a cloud computing resource pool system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an energy saving device of a cloud computing resource pool system according to an embodiment of the present invention;
fig. 3 is a first schematic structural diagram of an energy saving system of a cloud computing resource pool system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a cloud computing resource pool system energy saving system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an embodiment of an energy saving system of a cloud computing resource pool system according to the present invention;
fig. 6 is a schematic flow chart of a specific embodiment of an energy saving method for a cloud computing resource pool system according to the present invention.
Detailed Description
In the embodiment of the invention, when the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value, the virtual network control node determines the virtual network nodes to be integrated; and the virtual network control node migrates the virtual network service on the virtual network node to be integrated to the target virtual network node.
The present invention will be described in further detail with reference to the following drawings and specific examples.
Fig. 1 is a schematic flow diagram of an energy saving method for a cloud computing resource pool system according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
step 101: and when the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value, determining the virtual network nodes to be integrated.
Specifically, in this step, when the total resource utilization of all virtual network nodes in the cloud computing resource pool system is lower than a first preset threshold, the virtual network control node determines a virtual network node to be integrated from all virtual network nodes in the cloud computing resource pool system.
It should be noted that, in practical applications, the virtual network control node may be implemented by a server. The virtual network node may be a server or an SDN device that carries a virtual network service.
It should be noted that, in the case that it is not determined that the total resource usage of all the virtual network nodes is lower than the first preset threshold, before this step, the energy saving method for the cloud computing resource pool system provided in the embodiment of the present invention may further include: and judging whether the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value or not. Therefore, whether the total resource utilization rate of the virtual network nodes in the cloud computing resource pool system is lower than a first preset threshold value or not can be determined, and the virtual network control node can know the traffic of the virtual network nodes in the cloud computing resource pool system.
Specifically, the determining whether the total resource utilization of all the virtual network nodes is lower than a first preset threshold may include that the virtual network control node determines whether the total bandwidth utilization of all the virtual network nodes is lower than a first preset threshold; the virtual network control node judges whether the total CPU utilization rate of all the virtual network nodes is lower than a second preset threshold value; the virtual network control node judges whether the total memory utilization rate of all the virtual network nodes is lower than a preset threshold value three or not; when the total bandwidth utilization rate is lower than a first preset threshold, the total CPU utilization rate is lower than a second preset threshold, and the total memory utilization rate is lower than a third preset threshold, the virtual network control node confirms that the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold, otherwise, the virtual network control node confirms that the total resource utilization rate of all the virtual network nodes is not lower than the first preset threshold.
The first preset threshold, the second preset threshold and the third preset threshold can be set according to actual requirements. If the actual requirements are that the total bandwidth utilization rate of all the virtual network nodes in the cloud computing resource pool system is lower than m%, the total CPU utilization rate is lower than n%, and the total memory utilization rate is lower than k%, the scale of the virtual network nodes in the cloud computing resource pool system needs to be integrated, and the energy consumption of the cloud computing resource pool system is reduced, the preset threshold value one can be set to m%, the preset threshold value two can be set to n%, and the preset threshold value three can be set to k%. It should be noted that the first preset threshold, the second preset threshold and the third preset threshold may be the same or different. Under the condition that all the virtual network nodes comprise a virtual network node A, a virtual network node B and a virtual network node C, the bandwidth utilization rate of the virtual network node A is A%, the bandwidth utilization rate of the virtual network node B is B% and the bandwidth utilization rate of the virtual network node C is C%, the total bandwidth utilization rate of all the virtual network nodes is A% + B% + C%, namely the total bandwidth utilization rate of all the virtual network nodes is the sum of A%, B% and C%.
Specifically, in this step 101, the virtual network node to be integrated is determined, where the virtual network control node determines the virtual network node to be integrated from all the virtual network nodes according to the resource utilization rate of each virtual network node. The virtual network control node determines the virtual network nodes to be integrated from all the virtual network nodes in the cloud computing resource pool system according to the resource utilization rate of each virtual network node in the cloud computing resource pool system.
It should be noted that the energy saving method for the cloud computing resource pool system provided by the embodiment of the present invention may further include: the virtual network node reports the resource utilization rate of the node to a virtual network control node at preset time intervals; the virtual network control node receives the resource usage of each virtual network node.
The preset time interval can be set according to the actual application condition. For example, in practical application, the resource usage rate of the virtual network node is reported to the virtual network control node at intervals of T1, the virtual network control node can control in real time, and the preset time interval can be set to T1 under the condition of energy consumption required by the virtual network node in the cloud computing resource pool system.
For example, in practical application, the resource statistics Agent on the virtual network node reports the bandwidth usage rate, the CPU usage rate, and the memory usage rate of the node to the virtual network control node every T1, and the virtual network control node receives the bandwidth usage rate, the CPU usage rate, and the memory usage rate of each virtual network node.
Specifically, the virtual network control node determines the virtual network nodes to be integrated from all the virtual network nodes according to the resource utilization rate of each virtual network node, and may include that the virtual network control node sorts each virtual network node according to the sequence of the current resource utilization rate of each virtual network node from large to small; and the virtual network control node determines the virtual network node with the minimum current resource utilization rate in all the virtual network nodes as the virtual network node to be integrated.
Step 102: and migrating the virtual network service on the virtual network node to be integrated to the target virtual network node.
Specifically, in this step, the virtual network control node may migrate the virtual network service on the virtual network node to be integrated to the target virtual network node.
The virtual network service may be a firewall, a VPN, a virtual router, etc.
Specifically, the step may include the virtual network control node determining whether the total resource remaining amount of all the virtual network nodes is greater than or equal to the resource occupation amount of the virtual network node to be integrated; and when the total residual quantity value of the resources is confirmed to be larger than or equal to the resource occupation quantity value, the virtual network control node migrates the virtual network services on the virtual network nodes to be integrated to the target virtual network nodes.
Specifically, the determining whether the total remaining resource amount of all the virtual network nodes is greater than or equal to the resource occupation amount of the virtual network node to be integrated may include the virtual network control node determining whether the total remaining broadband amount of all the virtual network nodes is greater than or equal to the broadband occupation amount of the virtual network node to be integrated; the virtual network control node judges whether the total residual quantity value of the CPUs of all the virtual network nodes is greater than or equal to the CPU occupation quantity value of the virtual network node to be integrated; the virtual network control node judges whether the total residual quantity of the memories of all the virtual network nodes is larger than or equal to the memory occupation quantity of the virtual network nodes to be integrated; when the total broadband residual quantity value is greater than or equal to the broadband occupation quantity value, the total CPU residual quantity value is greater than or equal to the CPU occupation quantity value, and the total memory residual quantity value is greater than or equal to the memory occupation quantity value, the virtual network control node confirms that the total resource residual quantity value of all the virtual network nodes is greater than or equal to the resource occupation quantity value of the virtual network node to be integrated, otherwise, the virtual network control node confirms that the total resource residual quantity value of all the virtual network nodes is not greater than or equal to the resource occupation quantity value of the virtual network node to be integrated.
For example, the total remaining amount of bandwidth may be represented by W', the bandwidth amount of each virtual network node may be represented by W, the total number of virtual network nodes of the cloud computing resource pool system may be represented by n, n is a natural number, and the bandwidth occupancy amount of each virtual network node may be represented by WnIndicating that the total residual value W' is W n- (W)1+W2+W3+……+Wn) (ii) a The total CPU residual quantity value can be represented by CPU', the CPU quantity value of each virtual network node can be represented by CPU, and the CPU occupation quantity value of each virtual network node can be represented by CPUnIndicating that the CPU total residual value CPU is equal to CPU n- (CPU)1+CPU2+CPU3+……+CPUn) (ii) a The total remaining amount of memory may be denoted by MEM', the amount of memory of each virtual network node may be denoted by MEM, and the amount of memory occupied by each virtual network node may be denoted by MEMnIndicating that the total residual memory value MEM' is MEM n- (MEM)1+MEM2+MEM3+……+MEMn)。
Specifically, when it is determined that the total resource remaining amount is greater than or equal to the resource occupation amount, the virtual network control node migrates the virtual network service on the virtual network node to be integrated to the target virtual network node, which may include, when it is determined that the total resource remaining amount is greater than or equal to the resource occupation amount, the virtual network control node selects the target virtual network node from the virtual network nodes not to be integrated according to the resource occupation amount of the virtual network service on the virtual network node to be integrated and the resource remaining amount of the virtual network node not to be integrated; the virtual network control node migrates the virtual network service from the virtual network node to be integrated to the target virtual network node.
Specifically, the non-to-be-integrated virtual network node is a virtual network node other than the to-be-integrated virtual network node in all the virtual network nodes. If all the virtual network nodes comprise a virtual network node A, a virtual network node B and a virtual network node C, if the virtual network node A is determined as a virtual network node to be integrated, the virtual network node B and the virtual network node C are virtual network nodes which are not to be integrated.
It should be noted that, when it is determined that the total remaining amount of resources is greater than or equal to the resource occupancy amount and before the target virtual network node is selected, when it is determined that the total remaining amount of resources is greater than or equal to the resource occupancy amount, the virtual network control node migrates the virtual network services on the virtual network nodes to be integrated to the target virtual network node, and may further include that the virtual network control node calculates the resource occupancy amount of each virtual network service on the virtual network nodes to be integrated; and the virtual network control nodes sort each virtual network service on the virtual network node to be integrated according to the sequence of the resource occupation values of the virtual network services from large to small.
Specifically, the virtual network control node selects a target virtual network node from the virtual network nodes not to be integrated according to the resource occupation quantity value of the virtual network service on the virtual network node to be integrated and the resource residual quantity value of the virtual network node not to be integrated, and migrates the virtual network service from the virtual network node to be integrated to the target virtual network node, which may be that the virtual network control node judges whether there is an untransferred virtual network service on the virtual network node to be integrated; when non-migrated virtual network services exist, the virtual network control node selects the virtual network service with the largest resource occupation value from the non-migrated virtual network services according to the sequencing result of the virtual network services; the virtual network control node compares the resource occupation quantity value of the virtual network service with the resource residual quantity value of the virtual network node to be integrated, and takes the virtual network node to be integrated, of which the resource residual quantity value is greater than or equal to the resource occupation quantity value of the virtual network service, as a target virtual network node to be selected; the virtual network control node selects a target virtual network node to be selected as a target virtual network node; the virtual network control node migrates the virtual network service from the virtual network node to be integrated to a target virtual network node; the virtual network control node updates the resource residual quantity value of the target virtual network node; and the virtual network control node returns to execute the judgment of whether the virtual network node to be integrated has the virtual network service which is not migrated.
Specifically, the step may further include that, when the virtual network service that is not migrated does not exist on the virtual network node to be integrated, the virtual network control node controls the virtual network node to be integrated to enter the energy saving mode.
Specifically, the virtual network control node controls the virtual network node to be integrated to enter an energy saving mode, which may be that the virtual network control node closes the virtual network node to be integrated; if the power of the virtual network node to be integrated is turned off, the virtual network node to be integrated is taken out of service.
Specifically, the virtual network control node controls the virtual network node to be integrated to enter an energy saving mode, or the virtual network control node may control the virtual network node to be integrated to run under an empty load.
Therefore, the scale of the virtual network nodes in the cloud computing resource pool system can be integrated, the energy consumption of the cloud computing resource pool system is reduced, and the energy saving and emission reduction effects of the cloud computing resource pool system are improved.
It should be noted that the energy saving method for the cloud computing resource pool system provided in the embodiment of the present invention may further include that when the total resource utilization of all the virtual network nodes exceeds the second preset threshold, the virtual network control node adds the standby virtual network node to the cloud computing resource pool system. Therefore, when the traffic of the virtual network nodes is large, the scale of the virtual network nodes in the cloud computing resource pool system can be expanded.
In order to realize the method, the invention discloses an energy-saving device of a cloud computing resource pool system.
Fig. 2 is a schematic structural diagram of an energy saving device of a cloud computing resource pool system according to an embodiment of the present invention, and as shown in fig. 2, the energy saving device of the cloud computing resource pool system includes:
a determining module 201, configured to determine a virtual network node to be integrated when a total resource utilization of all virtual network nodes is lower than a first preset threshold;
a migration module 202, configured to migrate the virtual network service on the virtual network node to be integrated to a target virtual network node.
Further, the determining module 201 is specifically configured to determine a virtual network node to be integrated from all the virtual network nodes according to the resource utilization rate of each virtual network node.
Further, the migration module 202 is specifically configured to determine whether the total remaining quantity of resources of all the virtual network nodes is greater than or equal to the resource occupation quantity of the virtual network node to be integrated; and virtually migrating the virtual network service on the virtual network node to be integrated to a target virtual network node when the total remaining quantity value of the resources is determined to be greater than or equal to the resource occupation quantity value.
Further, the migration module 202 is specifically configured to select a target virtual network node from the virtual network nodes not to be integrated according to the resource occupancy amount value of the virtual network service on the virtual network node to be integrated and the resource remaining amount value of the virtual network node not to be integrated when it is determined that the total resource remaining amount value is greater than or equal to the resource occupancy amount value; migrating the virtual network service from the virtual network node to be integrated to the target virtual network node.
In practical applications, the confirmation module 201 and the migration module 202 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like located in a server.
In order to realize the method, the invention discloses an energy-saving system of a cloud computing resource pool system.
Fig. 3 is a first schematic structural diagram of an energy saving system of a cloud computing resource pool system according to an embodiment of the present invention, and as shown in fig. 3, the energy saving system of the cloud computing resource pool system includes: a virtual network control node 301 and at least two virtual network nodes 302; wherein,
the virtual network control node 301 is configured to determine a virtual network node to be integrated when the total resource utilization of all the virtual network nodes is lower than a first preset threshold; and migrating the virtual network service on the virtual network node to be integrated to a target virtual network node.
It should be noted that, as shown in fig. 4, the virtual network control node 301 may include the confirmation module 201 and the migration module 202 described above. The confirmation module 201 is configured to determine a virtual network node to be integrated when the total resource utilization of all virtual network nodes is lower than a first preset threshold; the migration module 202 is configured to migrate the virtual network service on the virtual network node to be integrated to a target virtual network node.
In practical applications, the virtual network control node 301 and the virtual network node 302 may be implemented by servers.
In practical applications, the confirmation module 201 and the migration module 202 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like located in a server.
Fig. 5 is a schematic structural diagram of a specific embodiment of an energy-saving system of a cloud computing resource pool system provided in the present invention, and as shown in fig. 5, the energy-saving system of the cloud computing resource pool system includes: a virtual network control node 301 and at least two virtual network nodes 302; wherein,
the virtual network control node 301 is configured to determine a virtual network node to be integrated when the total resource utilization of all the virtual network nodes is lower than a first preset threshold; and migrating the virtual network service on the virtual network node to be integrated to a target virtual network node.
The virtual network node 302 comprises a resource statistics Agent 3021; the resource statistics Agent3021 is configured to report the resource usage rate of the node to the virtual network control node at preset time intervals; the virtual network control node 301 receives the resource utilization rate of each virtual network node, and calculates the total resource utilization rate of all the virtual network nodes according to the resource utilization rate of each virtual network node.
In practical applications, the virtual network control node 301 and the virtual network node 302 may be implemented by servers.
In practical applications, the resource statistics Agent3021 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like located in a server.
Fig. 6 is a schematic flow chart of a specific embodiment of an energy saving method for a cloud computing resource pool system, where as shown in fig. 6, the specific steps include:
step 601: and judging whether the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value or not.
Specifically, in this step, the virtual network control node may determine whether the total resource utilization of all the virtual network nodes is lower than a first preset threshold.
It should be noted that, in practical applications, the virtual network control node may be implemented by a server. The virtual network node may be a server or an SDN device that carries a virtual network service.
Specifically, the step may include the virtual network control node determining whether the total bandwidth utilization of all the virtual network nodes is lower than a preset threshold one; the virtual network control node judges whether the total CPU utilization rate of all the virtual network nodes is lower than a second preset threshold value; the virtual network control node judges whether the total memory utilization rate of all the virtual network nodes is lower than a preset threshold value three or not; when the total bandwidth utilization rate is lower than a first preset threshold, the total CPU utilization rate is lower than a second preset threshold, and the total memory utilization rate is lower than a third preset threshold, the virtual network control node confirms that the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold, otherwise, the virtual network control node confirms that the total resource utilization rate of all the virtual network nodes is not lower than the first preset threshold.
The first preset threshold, the second preset threshold and the third preset threshold can be set according to actual requirements. If the actual requirements are that the total bandwidth utilization rate of all the virtual network nodes in the cloud computing resource pool system is lower than m%, the total CPU utilization rate is lower than n%, and the total memory utilization rate is lower than k%, the scale of the virtual network nodes in the cloud computing resource pool system needs to be integrated, and the energy consumption of the cloud computing resource pool system is reduced, the preset threshold value one can be set to m%, the preset threshold value two can be set to n%, and the preset threshold value three can be set to k%. It should be noted that the first preset threshold, the second preset threshold and the third preset threshold may be the same or different. Under the condition that all the virtual network nodes comprise a virtual network node A, a virtual network node B and a virtual network node C, the bandwidth utilization rate of the virtual network node A is A%, the bandwidth utilization rate of the virtual network node B is B% and the bandwidth utilization rate of the virtual network node C is C%, the total bandwidth utilization rate of all the virtual network nodes is A% + B% + C%, namely the total bandwidth utilization rate of all the virtual network nodes is the sum of A%, B% and C%.
Specifically, when the total resource utilization is not lower than the first preset threshold, step 602 is executed; when the total resource utilization rate is lower than the first preset threshold, step 603 is executed.
Step 602: waiting for a preset time.
Specifically, in order to avoid determining whether the total resource utilization of all the virtual network nodes is lower than the first preset threshold too frequently, the step 601 may be executed again after waiting for a preset time.
The preset time can be set according to the actual application condition. In practical application, if the total resource utilization of all the virtual network nodes is judged to be lower than a first preset threshold after waiting for the time T, the control on the energy consumption of the cloud computing resource pool system is generally not affected, and the preset time can be set to be T.
Step 603: and sequencing the virtual network nodes according to the sequence of the current resource utilization rate of each virtual network node from large to small.
Specifically, in this step, the virtual network control node may rank each virtual network node according to a descending order of the current resource utilization rate of each virtual network node.
Step 604: and determining the virtual network node with the minimum current resource utilization rate in all the virtual network nodes as the virtual network node to be integrated.
Specifically, in this step, the virtual network control node may determine, as the virtual network node to be integrated, the virtual network node with the lowest current resource utilization rate among all the virtual network nodes.
Step 605: and calculating the total resource residual quantity value of all the virtual network nodes.
Specifically, in this step, the virtual network control node may calculate a total resource remaining amount value of all virtual network nodes in the cloud computing resource pool system.
Specifically, the step may include that the virtual network control node calculates a total remaining broadband value of all virtual network nodes in the cloud computing resource pool system; the virtual network control node calculates the total residual quantity value of the CPUs of all the virtual network nodes in the cloud computing resource pool system; and the virtual network control node calculates the total residual memory value of all the virtual network nodes in the cloud computing resource pool system.
For example, the total remaining amount of bandwidth may be represented by W', the bandwidth amount of each virtual network node may be represented by W, the total number of virtual network nodes of the cloud computing resource pool system may be represented by n, n is a natural number n, and the bandwidth occupancy amount of each virtual network node may be represented by WnIndicating that the total residual value W' is W n- (W)1+W2+W3+……+Wn) (ii) a The total CPU residual quantity value can be represented by CPU', the CPU quantity value of each virtual network node can be represented by CPU, and the CPU occupation quantity value of each virtual network node can be represented by CPUnIndicating that the CPU total residual value CPU is equal to CPU n- (CPU)1+CPU2+CPU3+……+CPUn) (ii) a The total remaining amount of memory may be denoted by MEM', the amount of memory of each virtual network node may be denoted by MEM, and the amount of memory occupied by each virtual network node may be denoted by MEMnIndicating that the total residual memory value MEM' is MEM n- (MEM)1+MEM2+MEM3+……+MEMn)。
Step 606: and judging whether the total resource residual quantity value of all the virtual network nodes is greater than or equal to the resource occupation quantity value of the virtual network node to be integrated.
Specifically, in this step, the virtual network control node may determine whether the total remaining amount of resources of all the virtual network nodes is greater than or equal to the resource occupation amount of the virtual network node to be integrated.
Specifically, when the total remaining amount of resources is greater than or equal to the resource occupation amount, step 607 is executed, otherwise, step 602 is returned.
Step 607: and sequencing each virtual network service on the virtual network node to be integrated according to the sequence of the resource occupation values of the virtual network services from large to small.
Specifically, in this step, the virtual network control node may sort each virtual network service on the virtual network node to be integrated according to a sequence of the resource occupation values of the virtual network services from large to small.
Step 608: and judging whether the virtual network service which is not migrated exists on the virtual network node to be integrated.
Specifically, in this step, the virtual network control node may determine whether the virtual network node to be integrated has the non-migrated virtual network service.
Specifically, when there is a virtual network service that has not been migrated, step 609 is performed, otherwise, step 613 is performed.
Step 609: and selecting the virtual network service with the largest resource occupation value from the non-migrated virtual network services according to the sequencing result of the virtual network services.
Specifically, in this step, the virtual network control node may select, according to the result of the sorting of the virtual network services, a virtual network service with a largest resource occupancy value from the non-migrated virtual network services.
Step 610: and comparing the resource occupation quantity value of the virtual network service with the resource residual quantity value of the virtual network node to be integrated, and taking the virtual network node to be integrated, of which the resource residual quantity value is greater than or equal to the resource occupation quantity value of the virtual network service, as a target virtual network node to be selected.
Specifically, in this step, the virtual network control node may compare the resource occupancy amount value of the virtual network service with a resource residual amount value of a virtual network node to be non-integrated, and use the virtual network node to be non-integrated, where the resource residual amount value is greater than or equal to the resource occupancy amount value of the virtual network service, as a target virtual network node to be selected.
Step 611: and selecting a target virtual network node to be selected as a target virtual network node, and migrating the virtual network service from the virtual network node to be integrated to the target virtual network node.
Specifically, in this step, the virtual network control node may select a target virtual network node to be selected as the target virtual network node, and migrate the virtual network service from the virtual network node to be integrated to the target virtual network node.
Step 612: and updating the resource residual quantity value of the target virtual network node.
Specifically, this step may be that the virtual network control node updates the resource surplus value of the target virtual network node.
Return to perform step 608.
Step 613: and controlling the virtual network node to be integrated to enter an energy-saving mode.
Specifically, in this step, the virtual network control node may control the virtual network node to be integrated to enter the energy saving mode.
Specifically, if the virtual network control node closes the virtual network node to be integrated; if the power of the virtual network node to be integrated is turned off, the virtual network node to be integrated is taken out of service. Or the virtual network control node controls the idle load operation of the virtual network node to be integrated.
Therefore, the scale of the virtual network nodes in the cloud computing resource pool system can be integrated, the energy consumption of the cloud computing resource pool system is reduced, and the energy saving and emission reduction effects of the cloud computing resource pool system are improved.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and it will be apparent to those skilled in the art that various modifications and variations can be made in the present invention, and the scope of the present invention is defined by the appended claims.

Claims (11)

1. A method for saving energy in a cloud computing resource pool system, the method comprising:
when the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value, determining the virtual network nodes to be integrated;
and migrating the virtual network service on the virtual network node to be integrated to a target virtual network node.
2. The method according to claim 1, wherein the determining of the virtual network node to be integrated specifically includes:
and determining the virtual network nodes to be integrated from all the virtual network nodes according to the resource utilization rate of each virtual network node.
3. The method of claim 1, wherein migrating the virtual network service on the virtual network node to be integrated to a target virtual network node comprises:
judging whether the total resource residual quantity value of all the virtual network nodes is greater than or equal to the resource occupation quantity value of the virtual network node to be integrated;
and virtually migrating the virtual network service on the virtual network node to be integrated to a target virtual network node when the total remaining quantity value of the resources is determined to be greater than or equal to the resource occupation quantity value.
4. The method according to claim 3, wherein the virtually migrating the virtual network service on the virtual network node to be integrated to the target virtual network node when it is determined that the total remaining amount of the resources is greater than or equal to the resource occupancy amount comprises:
when the total resource residual quantity value is confirmed to be larger than or equal to the resource occupation quantity value, selecting a target virtual network node from the virtual network nodes which are not to be integrated according to the resource occupation quantity value of the virtual network service on the virtual network nodes to be integrated and the resource residual quantity value of the virtual network nodes which are not to be integrated;
migrating the virtual network service from the virtual network node to be integrated to the target virtual network node.
5. The method according to claim 3, wherein migrating the virtual network service on the virtual network node to be integrated to a target virtual network node further comprises:
and controlling the virtual network nodes to be integrated to enter an energy-saving mode when the virtual network services which are not migrated do not exist on the virtual network nodes to be integrated.
6. The method of claim 1, further comprising:
and when the total resource utilization rate of all the virtual network nodes exceeds a second preset threshold value, adding the standby virtual network nodes into the cloud computing resource pool system.
7. An energy conservation apparatus for a cloud computing resource pool system, the apparatus comprising:
the confirming module is used for determining the virtual network nodes to be integrated when the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value;
and the migration module is used for migrating the virtual network service on the virtual network node to be integrated to the target virtual network node.
8. The apparatus according to claim 7, wherein the determining module is specifically configured to determine a virtual network node to be integrated from all the virtual network nodes according to a resource utilization rate of each of the virtual network nodes.
9. The apparatus according to claim 7, wherein the migration module is specifically configured to determine whether a total remaining amount of resources of all the virtual network nodes is greater than or equal to a resource occupation amount of the virtual network node to be integrated; and virtually migrating the virtual network service on the virtual network node to be integrated to a target virtual network node when the total remaining quantity value of the resources is determined to be greater than or equal to the resource occupation quantity value.
10. The apparatus according to claim 9, wherein the migration module is further configured to select a target virtual network node from the virtual network nodes not to be integrated according to the resource occupancy amount of the virtual network service on the virtual network node to be integrated and the resource remaining amount of the virtual network node not to be integrated when it is determined that the total remaining amount of resources is greater than or equal to the resource occupancy amount; migrating the virtual network service from the virtual network node to be integrated to the target virtual network node.
11. A cloud computing resource pool system energy conservation system, the system comprising: a virtual network control node and at least two virtual network nodes; wherein,
the virtual network control node is used for determining a virtual network node to be integrated when the total resource utilization rate of all the virtual network nodes is lower than a first preset threshold value; and migrating the virtual network service on the virtual network node to be integrated to a target virtual network node.
CN201610236186.XA 2016-04-15 2016-04-15 Energy-saving method, device and system for cloud computing resource pool system Active CN107301092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610236186.XA CN107301092B (en) 2016-04-15 2016-04-15 Energy-saving method, device and system for cloud computing resource pool system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610236186.XA CN107301092B (en) 2016-04-15 2016-04-15 Energy-saving method, device and system for cloud computing resource pool system

Publications (2)

Publication Number Publication Date
CN107301092A true CN107301092A (en) 2017-10-27
CN107301092B CN107301092B (en) 2020-11-10

Family

ID=60137613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610236186.XA Active CN107301092B (en) 2016-04-15 2016-04-15 Energy-saving method, device and system for cloud computing resource pool system

Country Status (1)

Country Link
CN (1) CN107301092B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769272A (en) * 2019-11-19 2020-02-07 深圳市网心科技有限公司 Node adjusting method and related equipment thereof
CN115277308A (en) * 2022-07-20 2022-11-01 杭州迪普科技股份有限公司 Method and device for deploying SSLVPN equipment in cloud resource pool
CN117132399A (en) * 2023-10-25 2023-11-28 广州捷晨教育科技有限公司 Resource management system applied to meta universe

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040158777A1 (en) * 2003-02-12 2004-08-12 International Business Machines Corporation Scalable method of continuous monitoring the remotely accessible resources against the node failures for very large clusters
CN102096461A (en) * 2011-01-13 2011-06-15 浙江大学 Energy-saving method of cloud data center based on virtual machine migration and load perception integration
CN102419718A (en) * 2011-10-28 2012-04-18 浪潮(北京)电子信息产业有限公司 Resource scheduling method
CN102890554A (en) * 2011-07-22 2013-01-23 鸿富锦精密工业(深圳)有限公司 Power supply management system and method
CN102937912A (en) * 2012-11-28 2013-02-20 华为技术有限公司 Method and equipment for scheduling virtual machine
CN104991822A (en) * 2015-06-30 2015-10-21 浪潮(北京)电子信息产业有限公司 Memory management method and apparatus
CN105208099A (en) * 2015-08-24 2015-12-30 浪潮(北京)电子信息产业有限公司 System framework for intelligently saving electricity by means of SDN technology in cloud server
CN105426241A (en) * 2015-11-16 2016-03-23 北京航空航天大学 Cloud computing data center based unified resource scheduling energy-saving method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040158777A1 (en) * 2003-02-12 2004-08-12 International Business Machines Corporation Scalable method of continuous monitoring the remotely accessible resources against the node failures for very large clusters
CN102096461A (en) * 2011-01-13 2011-06-15 浙江大学 Energy-saving method of cloud data center based on virtual machine migration and load perception integration
CN102890554A (en) * 2011-07-22 2013-01-23 鸿富锦精密工业(深圳)有限公司 Power supply management system and method
CN102419718A (en) * 2011-10-28 2012-04-18 浪潮(北京)电子信息产业有限公司 Resource scheduling method
CN102937912A (en) * 2012-11-28 2013-02-20 华为技术有限公司 Method and equipment for scheduling virtual machine
CN104991822A (en) * 2015-06-30 2015-10-21 浪潮(北京)电子信息产业有限公司 Memory management method and apparatus
CN105208099A (en) * 2015-08-24 2015-12-30 浪潮(北京)电子信息产业有限公司 System framework for intelligently saving electricity by means of SDN technology in cloud server
CN105426241A (en) * 2015-11-16 2016-03-23 北京航空航天大学 Cloud computing data center based unified resource scheduling energy-saving method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769272A (en) * 2019-11-19 2020-02-07 深圳市网心科技有限公司 Node adjusting method and related equipment thereof
CN115277308A (en) * 2022-07-20 2022-11-01 杭州迪普科技股份有限公司 Method and device for deploying SSLVPN equipment in cloud resource pool
CN115277308B (en) * 2022-07-20 2023-04-25 杭州迪普科技股份有限公司 Cloud resource pool SSLVPN equipment deployment method and device
CN117132399A (en) * 2023-10-25 2023-11-28 广州捷晨教育科技有限公司 Resource management system applied to meta universe

Also Published As

Publication number Publication date
CN107301092B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN108965485B (en) Container resource management method and device and cloud platform
Mann et al. Remedy: Network-aware steady state VM management for data centers
WO2018076791A1 (en) Resource load balancing control method and cluster scheduler
CN111614746B (en) Load balancing method and device of cloud host cluster and server
CN106133693B (en) Moving method, device and the equipment of virtual machine
WO2018000991A1 (en) Data balancing method and device
CN110830391A (en) Resource allocation method and device and cluster system
CN102932175B (en) The method of partitioning site subregion, device and server
US9641431B1 (en) System and methods for utilization-based balancing of traffic to an information retrieval system
US10541901B2 (en) Methods, systems and computer readable media for optimizing placement of virtual network visibility components
CN112583861A (en) Service deployment method, resource configuration method, system, device and server
CN102724277A (en) Virtual machine thermomigration method, virtual machine arrangement method, server and cluster system
CN110798517B (en) Decentralized cluster load balancing method and system, mobile terminal and storage medium
CN106681839B (en) Elastic calculation dynamic allocation method
CN108337179B (en) Link flow control method and device
CN107301092B (en) Energy-saving method, device and system for cloud computing resource pool system
KR102101120B1 (en) Resource allocation method for virtualized network function based on user grouping
CN111913670B (en) Processing method and device for load balancing, electronic equipment and storage medium
CN112703774A (en) Network slice management
CN104601680A (en) Resource management method and device
CN116225679A (en) Computing power network scheduling method, computing power network scheduling device and storage medium
CN105207856A (en) Load balancing system and method based on SDN virtual switch
CN117081983B (en) Data transmission method and device
CN108388471B (en) Management method based on double-threshold constraint virtual machine migration
CN114172817A (en) Virtual network function deployment method and system for edge computing

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