CN108196935A - A kind of energy saving moving method of virtual machine towards cloud computing - Google Patents

A kind of energy saving moving method of virtual machine towards cloud computing Download PDF

Info

Publication number
CN108196935A
CN108196935A CN201711273007.0A CN201711273007A CN108196935A CN 108196935 A CN108196935 A CN 108196935A CN 201711273007 A CN201711273007 A CN 201711273007A CN 108196935 A CN108196935 A CN 108196935A
Authority
CN
China
Prior art keywords
physical host
virtual machine
host
overload
resource utilization
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
CN201711273007.0A
Other languages
Chinese (zh)
Other versions
CN108196935B (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.)
Nanjing Post and Telecommunication University
Nanjing University of Posts and Telecommunications
Original Assignee
Nanjing Post and Telecommunication University
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 Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN201711273007.0A priority Critical patent/CN108196935B/en
Publication of CN108196935A publication Critical patent/CN108196935A/en
Application granted granted Critical
Publication of CN108196935B publication Critical patent/CN108196935B/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/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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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
    • 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

Abstract

The present invention relates to a kind of energy saving moving methods of the virtual machine towards cloud computing, for the virtual machine migration method of more current mainstream, in the server overload of low capacity, using the virtual machine selection algorithm of minimum transition time, it is smaller on service performance influence, the service generated due to virtual machine (vm) migration and server overload loss of energy is made to maintain relatively low level;It is faster to release server overload problem using the virtual machine that minimum virtual machine (vm) migration algorithms selection is to be migrated in the server overload of large capacity, virtual machine (vm) migration number is reduced, the transport efficiency of virtual machine can be effectively improved.

Description

A kind of energy saving moving method of virtual machine towards cloud computing
Technical field
The present invention relates to a kind of energy saving moving methods of the virtual machine towards cloud computing, belong to Distributed Calculation and cloud computing skill Art field.
Background technology
At the beginning of 21 century, internet development is rapid, and computer technology is widely used in industry-by-industry.It is swift and violent with internet Development, information content also quickly increases, portfolio rapid growth to be processed needed for the operation systems such as website.It is big in order to quickly handle Increased information content, makes information timely be fed back, and use information is own services, and cloud computing is come into being.
Cloud computing is to develop to be a kind of emerging computation model by Distributed Calculation, parallel processing, grid computing. The computing capability of cloud computing is powerful, has wide range of applications, it not only provides IT resources and the application service of traditional sense, but also will The resource that support is included after all Internet technologies fusion such as IT, communication, TV, movement and Internet of Things uses and service application. The key technology of cloud computing development mainly has unified exchange framework, unified virtualization and unified computing system.
Cloud computing mode has many advantages:Ultra-large, virtualization is universal, cheap etc..But cloud computing there is also Some shortcomings, existing network bandwidth, the reliability for storing data and safety are that current limitation cloud computing technology is further sent out The key factor of exhibition.With the development of cloud computing, data center is established in each position, and data are carried out in cloud computation data center Analysis becomes an important process.Analysing content includes inquiry user journal to select advertisement serving policy, inquires network day Will detection Dos attacks, Query System Log establish error prediction model etc..In order to which the resource for making physical machine obtains abundant profit With, meanwhile, the energy consumption of physical machine is reduced, the migration of virtual machine is particularly important.
Virtual machine (vm) migration mainly has following three kinds of effects:First, reduce the influence that the physical server machine of delaying is brought;Second, Energy saving integration is carried out to data center;Third realizes the load balance of data center, is monitoring that server may break down , can be by virtual machine (vm) migration or when that will be closed to carrying out server, virtual machine (vm) migration is normal to operating status Or it does not need on the server closed.So as to avoid machine or closing the influence that brings because server is delayed;By using virtual machine The virtual machine being largely distributed on different physical servers can be integrated on a small amount of physical server, carry by migrating technology The utilization rate of high server, and by that by unnecessary server closing or suspend mode, can realize the energy saving of data center, Different to virtual machine selection algorithm to be migrated during virtual machine (vm) migration, the selection of virtual machine should meet three purposes as possible:It has crossed Carry server state can Rapid reversal, migrate the cost of generation, virtual machine redistributes the influence to cluster total energy consumption.At present Common virtual machine selection algorithm has:Stochastic selection algorithm, minimum utilization rate algorithm, maximum correlation algorithm, during minimum transition Between algorithm etc..These algorithms or make migration number higher, generate larger energy consumption or the performance band to service Carry out large effect.
Invention content
The technical problems to be solved by the invention are to provide a kind of energy saving moving method of the virtual machine towards cloud computing, are subtracting While few data center virtual machine (vm) migration number, time, the energy consumption generated during virtual machine (vm) migration can be effectively reduced, is carried High virtual machine (vm) migration efficiency.
In order to solve the above-mentioned technical problem the present invention uses following technical scheme:The present invention devises a kind of towards cloud computing The energy saving moving method of virtual machine, include the following steps:
Step A. obtains the resource utilization of each physical host respectively, and is more than default resource profit for resource utilization With the physical host of the rate upper limit, structure overload physical host set;It is less than default resource utilization lower limit for resource utilization Physical host, build low loading reason host complexes;Remaining physical host builds physical host set to be loaded, subsequently into Step B;
Step B. obtains the resource capacity of each physical host in overload physical host set respectively, and for overload physics Wherein resource capacity is greater than or equal to the physical host of default resource capacity threshold value, structure the first overload physics by host complexes Host complexes;Remaining physical host, structure the second overload physical host set, subsequently into step C;
Virtual machines of the step C. corresponding to for each physical host in the first overload physical host set, using minimum void Plan machine migration algorithm, selects virtual machine to be migrated;
Meanwhile the virtual machine corresponding to for each physical host in the second overload physical host set, it is moved using minimum Shift time algorithm selects virtual machine to be migrated;
Then, the selected virtual machine to be migrated of physical host set is overloaded by the first overload physical host set, second, Virtual machine set to be migrated is built, and enters step D;
The virtual machine in host complexes corresponding to each physical host is managed in low loading by step D., all adds in void to be migrated In plan machine set, virtual machine set to be migrated is updated, subsequently into step E;
Step E. is directed to each physical host in physical host set to be loaded, is arranged by its resource utilization ascending order Sequence updates physical host set to be loaded, then for the physical host in physical host set to be loaded, according to default resource The utilization rate upper limit and default reserved resource utilization, calculate and obtain physical host resource utilization stationary value, subsequently into step Rapid F;
Step F. is directed to each virtual machine in virtual machine set to be migrated, arbitrarily chooses a virtual machine (vm) migration extremely every time It is pressed on the primary physical host of resource utilization ascending sort in physical host set to be loaded, in virtual machine set to be migrated Middle deletion this virtual machine, and the resource utilization of the physical host is calculated, until the physical host resource utilization reaches object Host resource utilization rate stationary value is managed, then the physical host is removed into virtual machine set to be migrated;If so operation void to be migrated When in plan machine set there is no physical host is not present in virtual machine or physical host set to be loaded, then virtual machine migration method Terminate.
As a preferred technical solution of the present invention, in the step B, obtain as follows:
C=wc*cpu+wm*memo+wb*bandwidth
The resource capacity C of physical host is obtained, wherein, wcRepresent the physical host corresponding data center resources importance CPU weight, wmRepresent the memory weight of the physical host corresponding data center resources importance, wbRepresent that the physical host corresponds to The bandwidth weighting of data center resource importance, cpu represent the host CPU resources capacity of physical host, and memo is represented in host Resource capacity is deposited, bandwidth represents host bandwidth resource capacity.
As a preferred technical solution of the present invention, in the step C, for each in the first overload physical host set Virtual machine corresponding to platform physical host using minimum virtual machine (vm) migration algorithm, selects virtual machine to be migrated, including walking as follows Suddenly:
Step C1-1. initializes i=1, j=1, and enters step C1-2;
I-th physical host in step C1-2. selections the first overload physical host set, obtains i-th physics master respectively The resource usage amount of each virtual machine on machine, and descending sort is carried out for each virtual machine, subsequently into step C1-3;
Step C1-3., will jth platform virtual machine thereon for i-th physical host in the first overload physical host set It is added in by being removed on its physical host, and by the jth platform virtual machine into virtual machine set to be migrated, subsequently into step C1- 4;
Step C1-4. calculates the resource utilization for obtaining i-th physical host in the first overload physical host set, and sentences Whether the resource utilization of breaking is more than the default resource utilization upper limit, is, carries out adding 1 update, and return to step for the value of j C1-3;Otherwise by i-th physical host by being removed, and enter step C1-5 in the first overload physical host set;
Step C1-5. judges whether the first overload physical host set is empty, is then for the first overload physical host collection The virtual machine selection method to be migrated closed terminates;Otherwise it is carried out for the value of i plus 1 updates, and return to step C1-2.
As a preferred technical solution of the present invention, the resource utilization of the physical host obtains according to the following procedure:
First, host CPU resources capacity cpu, host memory resource capacity memo and the host bandwidth of physical host are obtained Resource capacity bandwidth;
Then, the CPU resources of virtual machine capacity cpu of each virtual machine on the physical host is obtained respectivelyn, virutal machine memory Resource capacity memonWith virtual machine bandwidth resources capacity bandwidthn
Finally, according to equation below:
The resource utilization hUtil of the physical host is obtained, wherein, n={ 1 ..., N }, N represent empty on the physical host The quantity of plan machine, wcRepresent the CPU weight of the physical host corresponding data center resources importance, wmRepresent the physical host pair Answer the memory weight of data center resource importance, wbRepresent the bandwidth power of the physical host corresponding data center resources importance Weight.
As a preferred technical solution of the present invention, in the step E, according to default resource utilization upper limit Tup, with And default reserved resource utilization r, as follows:
S=Tup-r
It calculates and obtains physical host resource utilization stationary value s.
The application system of the energy saving moving method of a kind of virtual machine towards cloud computing of the present invention, using more than technical side Case compared with prior art, has following technique effect:The designed energy saving moving method of virtual machine towards cloud computing of the invention, It is virtual using the minimum transition time in the server overload of low capacity for the virtual machine migration method of more current mainstream Machine selection algorithm, it is smaller on service performance influence, make the damage of the service performance generated due to virtual machine (vm) migration and server overload Mistake maintains relatively low level;It is to be migrated using minimum virtual machine (vm) migration algorithms selection in the server overload of large capacity Virtual machine, it is faster to release server overload problem, virtual machine (vm) migration number is reduced, the migration effect of virtual machine can be effectively improved Rate.
Description of the drawings
Fig. 1 is flow diagram of the present invention towards the energy saving moving method of virtual machine of cloud computing.
Specific embodiment
The specific embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
The present invention devises a kind of energy saving moving method of the virtual machine towards cloud computing, and virtual machine can be reduced in application The time of migration;The migration number of virtual machine is reduced simultaneously, reduces the energy consumption that virtual machine (vm) migration generates.Its principle is basis Physical machine is divided into large capacity physical machine and low capacity physical machine by the capacity difference of physical machine, for the former, during virtual machine (vm) migration Using the virtual machine that minimum transition number algorithms selection is to be migrated;For the latter, when virtual machine (vm) migration, uses the minimum transition time Algorithm carries out the selection of virtual machine, and different virtual machine migration methods is used according to the capacity difference of physical machine.As shown in Figure 1, In practical application, specifically comprise the following steps:
Step A. obtains the resource utilization of each physical host respectively, and is more than default resource profit for resource utilization With the physical host of the rate upper limit, structure overload physical host set;It is less than default resource utilization lower limit for resource utilization Physical host, build low loading reason host complexes;Remaining physical host builds physical host set to be loaded, subsequently into Step B.
In above-mentioned steps A, the resource utilization of physical host obtains according to the following procedure:
First, host CPU resources capacity cpu, host memory resource capacity memo and the host bandwidth of physical host are obtained Resource capacity bandwidth;
Then, the CPU resources of virtual machine capacity cpu of each virtual machine on the physical host is obtained respectivelyn, virutal machine memory Resource capacity memonWith virtual machine bandwidth resources capacity bandwidthn
Finally, according to equation below:
The resource utilization hUtil of the physical host is obtained, wherein, n={ 1 ..., N }, N represent empty on the physical host The quantity of plan machine, wcRepresent the CPU weight of the physical host corresponding data center resources importance, wmRepresent the physical host pair Answer the memory weight of data center resource importance, wbRepresent the bandwidth power of the physical host corresponding data center resources importance Weight.
Step B. obtains the resource capacity of each physical host in overload physical host set respectively, and for overload physics Wherein resource capacity is greater than or equal to the physical host of default resource capacity threshold value, structure the first overload physics by host complexes Host complexes;Remaining physical host, structure the second overload physical host set, subsequently into step C.
Wherein, it is obtained as follows in above-mentioned steps B:
C=wc*cpu+wm*memo+wb*bandwidth
The resource capacity C of physical host is obtained, wherein, wcRepresent the physical host corresponding data center resources importance CPU weight, wmRepresent the memory weight of the physical host corresponding data center resources importance, wbRepresent that the physical host corresponds to The bandwidth weighting of data center resource importance, cpu represent the host CPU resources capacity of physical host, and memo is represented in host Resource capacity is deposited, bandwidth represents host bandwidth resource capacity.
Virtual machines of the step C. corresponding to for each physical host in the first overload physical host set, using minimum void Plan machine migration algorithm, selects virtual machine to be migrated, includes the following steps:
Step C1-1. initializes i=1, j=1, and enters step C1-2.
I-th physical host in step C1-2. selections the first overload physical host set, obtains i-th physics master respectively The resource usage amount of each virtual machine on machine, and descending sort is carried out for each virtual machine, subsequently into step C1-3.
Step C1-3., will jth platform virtual machine thereon for i-th physical host in the first overload physical host set It is added in by being removed on its physical host, and by the jth platform virtual machine into virtual machine set to be migrated, subsequently into step C1- 4。
Step C1-4. calculates the resource utilization for obtaining i-th physical host in the first overload physical host set, and sentences Whether the resource utilization of breaking is more than the default resource utilization upper limit, is, carries out adding 1 update, and return to step for the value of j C1-3;Otherwise by i-th physical host by being removed, and enter step C1-5 in the first overload physical host set.
Step C1-5. judges whether the first overload physical host set is empty, is then for the first overload physical host collection The virtual machine selection method to be migrated closed terminates;Otherwise it is carried out for the value of i plus 1 updates, and return to step C1-2.
Meanwhile the virtual machine corresponding to for each physical host in the second overload physical host set, it is moved using minimum Shift time algorithm selects virtual machine to be migrated.
Then, the selected virtual machine to be migrated of physical host set is overloaded by the first overload physical host set, second, Virtual machine set to be migrated is built, and enters step D.
The virtual machine in host complexes corresponding to each physical host is managed in low loading by step D., all adds in void to be migrated In plan machine set, virtual machine set to be migrated is updated, subsequently into step E.
Step E. is directed to each physical host in physical host set to be loaded, is arranged by its resource utilization ascending order Sequence updates physical host set to be loaded, then for the physical host in physical host set to be loaded, according to default resource Utilization rate upper limit TupAnd default reserved resource utilization r, as follows:
S=Tup-r
It calculates and obtains physical host resource utilization stationary value s, subsequently into step F.
Step F. is directed to each virtual machine in virtual machine set to be migrated, arbitrarily chooses a virtual machine (vm) migration extremely every time It is pressed on the primary physical host of resource utilization ascending sort in physical host set to be loaded, in virtual machine set to be migrated Middle deletion this virtual machine, and the resource utilization of the physical host is calculated, until the physical host resource utilization reaches object Host resource utilization rate stationary value is managed, then the physical host is removed into virtual machine set to be migrated;If so operation void to be migrated When in plan machine set there is no physical host is not present in virtual machine or physical host set to be loaded, then virtual machine migration method Terminate.
The designed energy saving moving method of virtual machine towards cloud computing of above-mentioned technical proposal, the virtual machine of more current mainstream move For shifting method, in the server overload of low capacity, using the virtual machine selection algorithm of minimum transition time, to service performance Influence is smaller, and the service generated due to virtual machine (vm) migration and server overload loss of energy is made to maintain relatively low level; It is faster to release service using the virtual machine that minimum virtual machine (vm) migration algorithms selection is to be migrated during the server overload of large capacity Device overload problem reduces virtual machine (vm) migration number, can effectively improve the transport efficiency of virtual machine.Specifically when selection virtual machine into During row migration, traditional method is the common virtual machine selection algorithm of selection:Minimum utilization rate algorithm, maximum correlation algorithm, Minimum transition time algorithm etc..However, this do not consider that server capacity directly selects virtual machine (vm) migration algorithm, in server Capacity it is larger release server overload the problem of when, some efficiency of algorithm are not high;And when server capacity is smaller, the void of use Plan machine selection algorithm is likely to result in more migration number again, and larger impact is brought to service performance.It is this not consider to service The mode of device Capacity Selection virtual machine selection algorithm is less suitable.
With the virtual machine selection algorithm in the present invention, when carrying out virtual machine selection, according to the size of physical machine capacity Different virtual machine selection algorithms is selected, on the virtual machine (vm) migration to suitable physical machine in the physical machine of overload or low load.
This virtual machine selection algorithm largely reduces the time of virtual machine (vm) migration, reduces the migration of virtual machine Number, faster to release server overload problem, the energy consumption that so as to reduce virtual machine (vm) migration when generates, while can also keep The higher service quality of virtual machine when carrying out virtual machine (vm) migration, provides relatively stable service to the user.
Embodiments of the present invention are explained in detail above in conjunction with attached drawing, but the present invention is not limited to above-mentioned implementations Mode, within the knowledge of a person skilled in the art, can also be under the premise of present inventive concept not be departed from Make various variations.

Claims (5)

1. the energy saving moving method of a kind of virtual machine towards cloud computing, which is characterized in that include the following steps:
Step A. obtains the resource utilization of each physical host respectively, and is more than default resource utilization for resource utilization The physical host of the upper limit, structure overload physical host set;It is less than the object of default resource utilization lower limit for resource utilization Host is managed, builds low loading reason host complexes;Remaining physical host builds physical host set to be loaded, subsequently into step B;
Step B. obtains the resource capacity of each physical host in overload physical host set respectively, and for overload physical host Wherein resource capacity is greater than or equal to the physical host of default resource capacity threshold value, structure the first overload physical host by set Set;Remaining physical host, structure the second overload physical host set, subsequently into step C;
Virtual machines of the step C. corresponding to for each physical host in the first overload physical host set, using minimum virtual machine Migration algorithm selects virtual machine to be migrated;
Meanwhile for the virtual machine in the second overload physical host set corresponding to each physical host, during using minimum transition Between algorithm, select virtual machine to be migrated;
Then, by the first overload physical host set, the second overload selected virtual machine to be migrated of physical host set, structure Virtual machine set to be migrated, and enter step D;
The virtual machine in host complexes corresponding to each physical host is managed in low loading by step D., all adds in virtual machine to be migrated In set, virtual machine set to be migrated is updated, subsequently into step E;
Step E. is directed to each physical host in physical host set to be loaded, is ranked up by its resource utilization ascending order, Physical host set to be loaded is updated, then for the physical host in physical host set to be loaded, according to default resource profit With the rate upper limit and default reserved resource utilization, calculate and obtain physical host resource utilization stationary value, subsequently into step F;
Step F. is directed to each virtual machine in virtual machine set to be migrated, arbitrarily chooses a virtual machine (vm) migration every time to be added By on the primary physical host of resource utilization ascending sort in loading reason host complexes, deleted in virtual machine set to be migrated Except this virtual machine, and the resource utilization of the physical host is calculated, until the physical host resource utilization reaches physics master The physical host is then removed virtual machine set to be migrated by machine resource utilization stationary value;If so operation virtual machine to be migrated When in set there is no physical host is not present in virtual machine or physical host set to be loaded, then virtual machine migration method knot Beam.
A kind of 2. energy saving moving method of virtual machine towards cloud computing according to claim 1, which is characterized in that the step In B, obtain as follows:
C=wc*cpu+wm*memo+wb*bandwidth
The resource capacity C of physical host is obtained, wherein, wcRepresent the CPU power of the physical host corresponding data center resources importance Weight, wmRepresent the memory weight of the physical host corresponding data center resources importance, wbIt represents in the physical host corresponding data The bandwidth weighting of heart resource significance, cpu represent the host CPU resources capacity of physical host, and memo represents host memory resource Capacity, bandwidth represent host bandwidth resource capacity.
A kind of 3. energy saving moving method of virtual machine towards cloud computing according to claim 1, which is characterized in that the step In C, for the virtual machine corresponding to each physical host in the first overload physical host set, calculated using minimum virtual machine (vm) migration Method selects virtual machine to be migrated, includes the following steps:
Step C1-1. initializes i=1, j=1, and enters step C1-2;
I-th physical host in step C1-2. selections the first overload physical host set, obtains on i-th physical host respectively The resource usage amount of each virtual machine, and descending sort is carried out for each virtual machine, subsequently into step C1-3;
Step C1-3. for first overload physical host set in i-th physical host, will thereon jth platform virtual machine by it It is removed on physical host, and the jth platform virtual machine is added in into virtual machine set to be migrated, subsequently into step C1-4;Step Rapid C1-4. calculates the resource utilization for obtaining i-th physical host in the first overload physical host set, and judges resource profit Whether it is more than the default resource utilization upper limit with rate, is, carries out adding 1 update, and return to step C1-3 for the value of j;Otherwise will I-th physical host in the first overload physical host set by removing, and enter step C1-5;
Step C1-5. judges whether the first overload physical host set is empty, is then for the first overload physical host set Virtual machine selection method to be migrated terminates;Otherwise it is carried out for the value of i plus 1 updates, and return to step C1-2.
4. a kind of energy saving moving method of virtual machine towards cloud computing according to any one in claims 1 to 3, feature It is, the resource utilization of the physical host obtains according to the following procedure:
First, host CPU resources capacity cpu, host memory resource capacity memo and the host bandwidth resources of physical host are obtained Capacity bandwidth;
Then, the CPU resources of virtual machine capacity cpu of each virtual machine on the physical host is obtained respectivelyn, virutal machine memory resource Capacity memonWith virtual machine bandwidth resources capacity bandwidthn
Finally, according to equation below:
The resource utilization hUtil of the physical host is obtained, wherein, n={ 1 ..., N }, N represent virtual machine on the physical host Quantity, wcRepresent the CPU weight of the physical host corresponding data center resources importance, wmRepresent that the physical host corresponds to number According to the memory weight of center resources importance, wbRepresent the bandwidth weighting of the physical host corresponding data center resources importance.
A kind of 5. energy saving moving method of virtual machine towards cloud computing according to claim 1, which is characterized in that the step In E, according to default resource utilization upper limit TupAnd default reserved resource utilization r, as follows:
S=Tup-r
It calculates and obtains physical host resource utilization stationary value s.
CN201711273007.0A 2017-12-06 2017-12-06 Cloud computing-oriented virtual machine energy-saving migration method Active CN108196935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711273007.0A CN108196935B (en) 2017-12-06 2017-12-06 Cloud computing-oriented virtual machine energy-saving migration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711273007.0A CN108196935B (en) 2017-12-06 2017-12-06 Cloud computing-oriented virtual machine energy-saving migration method

Publications (2)

Publication Number Publication Date
CN108196935A true CN108196935A (en) 2018-06-22
CN108196935B CN108196935B (en) 2021-11-02

Family

ID=62573756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711273007.0A Active CN108196935B (en) 2017-12-06 2017-12-06 Cloud computing-oriented virtual machine energy-saving migration method

Country Status (1)

Country Link
CN (1) CN108196935B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120682A (en) * 2018-07-31 2019-01-01 佛山市甜慕链客科技有限公司 A kind of cloud computing rental management method based on shared device
CN109218438A (en) * 2018-10-12 2019-01-15 山东科技大学 A kind of performance optimization method of distributed cache server cluster
CN109800058A (en) * 2019-01-23 2019-05-24 山东超越数控电子股份有限公司 A kind of virtual machine Autonomic Migration Framework method
CN109828829A (en) * 2019-01-22 2019-05-31 重庆邮电大学 A kind of quick evacuation method of virtual machine based on the disaster early warning time
CN109947530A (en) * 2019-01-25 2019-06-28 西安交通大学 A kind of various dimensions virtual machine mapping method for cloud platform
CN109976875A (en) * 2019-03-01 2019-07-05 厦门市世纪网通网络服务有限公司 A kind of data monitoring method and device of super fusion cloud computing system
CN110401695A (en) * 2019-06-12 2019-11-01 北京因特睿软件有限公司 Cloud resource dynamic dispatching method, device and equipment
CN114546603A (en) * 2022-04-24 2022-05-27 睿至科技集团有限公司 Data processing method and system applied to Internet of things

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657215A (en) * 2013-11-19 2015-05-27 南京鼎盟科技有限公司 Virtualization energy-saving system in Cloud computing
CN104866375A (en) * 2015-05-22 2015-08-26 中国联合网络通信集团有限公司 Virtual machine migration method and apparatus
CN105159751A (en) * 2015-09-17 2015-12-16 河海大学常州校区 Energy-efficient virtual machine migration method in cloud data center
CN105430083A (en) * 2015-11-27 2016-03-23 成都微讯云通科技有限公司 Cloud platform deployment method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657215A (en) * 2013-11-19 2015-05-27 南京鼎盟科技有限公司 Virtualization energy-saving system in Cloud computing
CN104866375A (en) * 2015-05-22 2015-08-26 中国联合网络通信集团有限公司 Virtual machine migration method and apparatus
CN105159751A (en) * 2015-09-17 2015-12-16 河海大学常州校区 Energy-efficient virtual machine migration method in cloud data center
CN105430083A (en) * 2015-11-27 2016-03-23 成都微讯云通科技有限公司 Cloud platform deployment method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120682A (en) * 2018-07-31 2019-01-01 佛山市甜慕链客科技有限公司 A kind of cloud computing rental management method based on shared device
CN109218438A (en) * 2018-10-12 2019-01-15 山东科技大学 A kind of performance optimization method of distributed cache server cluster
CN109828829A (en) * 2019-01-22 2019-05-31 重庆邮电大学 A kind of quick evacuation method of virtual machine based on the disaster early warning time
CN109828829B (en) * 2019-01-22 2022-10-18 重庆邮电大学 Virtual machine rapid evacuation method based on disaster early warning time
CN109800058A (en) * 2019-01-23 2019-05-24 山东超越数控电子股份有限公司 A kind of virtual machine Autonomic Migration Framework method
CN109947530A (en) * 2019-01-25 2019-06-28 西安交通大学 A kind of various dimensions virtual machine mapping method for cloud platform
CN109947530B (en) * 2019-01-25 2021-09-07 西安交通大学 Multi-dimensional virtual machine mapping method for cloud platform
CN109976875A (en) * 2019-03-01 2019-07-05 厦门市世纪网通网络服务有限公司 A kind of data monitoring method and device of super fusion cloud computing system
CN110401695A (en) * 2019-06-12 2019-11-01 北京因特睿软件有限公司 Cloud resource dynamic dispatching method, device and equipment
CN114546603A (en) * 2022-04-24 2022-05-27 睿至科技集团有限公司 Data processing method and system applied to Internet of things
CN114546603B (en) * 2022-04-24 2022-07-29 睿至科技集团有限公司 Data processing method and system applied to Internet of things

Also Published As

Publication number Publication date
CN108196935B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN108196935A (en) A kind of energy saving moving method of virtual machine towards cloud computing
Tang et al. Migration modeling and learning algorithms for containers in fog computing
Qi et al. A QoS-aware virtual machine scheduling method for energy conservation in cloud-based cyber-physical systems
CN105159751B (en) The virtual machine migration method of energy efficient in a kind of cloud data center
CN110134495B (en) Container cross-host online migration method, storage medium and terminal equipment
CN108182105B (en) Local dynamic migration method and control system based on Docker container technology
Ferdaus et al. An algorithm for network and data-aware placement of multi-tier applications in cloud data centers
Reguri et al. Energy efficient traffic-aware virtual machine migration in green cloud data centers
CN109710374A (en) The VM migration strategy of task unloading expense is minimized under mobile edge calculations environment
CN104038392A (en) Method for evaluating service quality of cloud computing resources
Rajabzadeh et al. Energy-aware framework with Markov chain-based parallel simulated annealing algorithm for dynamic management of virtual machines in cloud data centers
CN104375897A (en) Cloud computing resource scheduling method based on minimum relative load imbalance degree
CN104539744B (en) A kind of the media edge cloud dispatching method and device of two benches cooperation
Grover et al. Agent based dynamic load balancing in Cloud Computing
Malekloo et al. Multi-objective ACO virtual machine placement in cloud computing environments
Monil et al. QoS-aware virtual machine consolidation in cloud datacenter
Zhou et al. Strategy optimization of resource scheduling based on cluster rendering
Swain et al. Efficient resource management in cloud environment
CN115718644A (en) Computing task cross-region migration method and system for cloud data center
CN109976879B (en) Cloud computing virtual machine placement method based on resource usage curve complementation
Deiab et al. Energy efficiency in cloud computing
Lin et al. A workload-driven approach to dynamic data balancing in MongoDB
Nadeem et al. Priority-aware virtual machine selection algorithm in dynamic consolidation
CN109062669A (en) Virtual machine migration method and system under a kind of Random Load
Tan et al. An energy-aware virtual machine placement algorithm in cloud data center

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