CN109491788A - A kind of virtual platform implementation of load balancing and device - Google Patents

A kind of virtual platform implementation of load balancing and device Download PDF

Info

Publication number
CN109491788A
CN109491788A CN201811296874.0A CN201811296874A CN109491788A CN 109491788 A CN109491788 A CN 109491788A CN 201811296874 A CN201811296874 A CN 201811296874A CN 109491788 A CN109491788 A CN 109491788A
Authority
CN
China
Prior art keywords
cpu
adjusted
virtual
virtual platform
load balancing
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
CN201811296874.0A
Other languages
Chinese (zh)
Other versions
CN109491788B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811296874.0A priority Critical patent/CN109491788B/en
Publication of CN109491788A publication Critical patent/CN109491788A/en
Application granted granted Critical
Publication of CN109491788B publication Critical patent/CN109491788B/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

Abstract

The invention discloses a kind of virtual platform implementation of load balancing, comprising: obtains the corresponding CPU usage of every virtual machine in virtual platform;Judge whether the corresponding CPU usage of every virtual machine is more than preset first threshold in preset duration respectively;If so, determining that the CPU usage in virtual platform is lower than the available CPU of preset second threshold, and the process of the virtual machine more than first threshold is determined as process to be adjusted;Process to be adjusted and available CPU are done into compatibility binding, so as to process to be adjusted can be handled with CPU, realize the load balancing of virtual platform.To realize the load balancing of virtual platform, the performance of current business virtual machine is improved, it can be to avoid the generation of the fortuitous events such as delay machine.Correspondingly, a kind of virtual platform load balancing realization device, equipment and readable storage medium storing program for executing disclosed by the invention, similarly have above-mentioned technique effect.

Description

A kind of virtual platform implementation of load balancing and device
Technical field
The present invention relates to technical field of virtualization, more specifically to a kind of virtual platform load balancing realization side Method, device, equipment and readable storage medium storing program for executing.
Background technique
In virtual platform, to handle business process therein, i.e., every virtual machine is fixed to bind one or more CPU The corresponding business process of each CPU, generally qemu-kvm process.Virtual machine corresponds to several CPU, just corresponding several qemu- Kvm process, in this way can the decline of performance caused by frequent switching on different cpu to avoid process.
But when the corresponding CPU usage of certain virtual machine in virtual platform continues higher, show each CPU In qemu-kvm process it is busier, if such situation duration is too long, be just likely occurred the fortuitous events such as delay machine.It needs It is noted that due to the fixed binding CPU of every virtual machine, when the corresponding CPU usage of certain virtual machine is lasting higher When, the corresponding CPU of other virtual machines is likely to be at idle state.As it can be seen that the load of virtual platform can not in this case It keeps in balance, if not solving the problems, such as this, will cause the performance decline of busy virtual machine, while wasting in virtual platform Cpu resource.
Therefore, the load balancing for how realizing virtual platform improves the performance of virtual machine, is that those skilled in the art need It solves the problems, such as.
Summary of the invention
The purpose of the present invention is to provide a kind of virtual platform implementation of load balancing, device, equipment and readable deposit Storage media improves the performance of virtual machine to realize the load balancing of virtual platform.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of virtual platform implementation of load balancing, comprising:
Obtain the corresponding CPU usage of every virtual machine in virtual platform;
Judge whether the corresponding CPU usage of every virtual machine is more than preset first threshold in preset duration respectively;
If so, determine that the CPU usage in the virtual platform is lower than the available CPU of preset second threshold, and The process of virtual machine more than the first threshold is determined as process to be adjusted;The process to be adjusted is used with described CPU does compatibility binding, so that described can handle the process to be adjusted with CPU, realizes that the load of the virtual platform is equal Weighing apparatus.
Wherein, the corresponding CPU usage of every virtual machine obtained in virtual platform, comprising:
The corresponding CPU usage of every virtual machine in the virtual platform is obtained according to preset interval time.
It is wherein, described to handle the process to be adjusted with CPU, comprising:
The CPU and process to be adjusted described in CPU parallel processing corresponding more than the virtual machine of the first threshold.
Wherein, it is described can handle the process to be adjusted with CPU after, further includes:
The CPU usage for handling the process to be adjusted is obtained, and judges the CPU usage of the process to be adjusted pre- If whether being more than the first threshold in duration;
If so, CPU can be used described in determining, and the process to be adjusted can be made into compatibility binding with described of CPU, with CPU can be used to handle the process to be adjusted described in making, realize the load balancing of the virtual platform.
Wherein, further includes:
When the CPU usage of the process to be adjusted is lower than preset third threshold value, by the process to be adjusted and institute It states available CPU and does compatibility unbundlings.
Wherein, before the corresponding CPU usage of every virtual machine in acquisition virtual platform, further includes:
Monitor the corresponding CPU usage of every virtual machine in the virtual platform.
A kind of virtual platform load balancing realization device, comprising:
Module is obtained, for obtaining the corresponding CPU usage of every virtual machine in virtual platform;
Whether judgment module is more than pre- for judging the corresponding CPU usage of every virtual machine respectively in preset duration If first threshold;
Execution module, for when the corresponding CPU usage of virtual machine in preset duration be more than preset first threshold when, It determines that the CPU usage in the virtual platform is lower than the available CPU of preset second threshold, and will be more than first threshold The process of the virtual machine of value is determined as process to be adjusted;The process to be adjusted can be made into compatibility binding with described of CPU, with CPU can be used to handle the process to be adjusted described in making, realize the load balancing of the virtual platform.
Wherein, the acquisition mold is used for:
The corresponding CPU usage of every virtual machine in the virtual platform is obtained according to preset interval time.
A kind of virtual platform load balancing realization equipment, comprising:
Memory, for storing computer program;
Processor realizes that the load of virtual platform described in above-mentioned any one is equal when for executing the computer program The step of implementation method that weighs.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing The step of processor realizes virtual platform implementation of load balancing described in above-mentioned any one when executing.
By above scheme it is found that a kind of virtual platform implementation of load balancing provided in an embodiment of the present invention, packet It includes: obtaining the corresponding CPU usage of every virtual machine in virtual platform;Judge that the corresponding CPU of every virtual machine makes respectively It whether is more than preset first threshold in preset duration with rate;If so, determining the CPU usage in the virtual platform Lower than the available CPU of preset second threshold, and by be more than the first threshold virtual machine process be determined as it is to be adjusted into Journey;By the process to be adjusted and it is described compatibility binding can be made of CPU so that it is described can with CPU handle it is described it is to be adjusted into Journey realizes the load balancing of the virtual platform.
As it can be seen that the corresponding CPU usage of virtualization of the method in virtual platform is more than pre- in preset duration If first threshold when, just will be more than that the process of virtual machine of first threshold is determined as process to be adjusted, and by this it is to be adjusted into Journey and the available CPU determined do compatibility binding, so as to process to be adjusted can be handled with CPU, to realize described virtual The load balancing for changing platform, improves the performance of current business virtual machine, can be to avoid the generation of the fortuitous events such as delay machine.
Correspondingly, it a kind of virtual platform load balancing realization device provided in an embodiment of the present invention, equipment and readable deposits Storage media similarly has above-mentioned technique effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of virtual platform implementation of load balancing flow chart disclosed by the embodiments of the present invention;
Fig. 2 is another virtual platform implementation of load balancing flow chart disclosed by the embodiments of the present invention;
Fig. 3 is a kind of virtual platform load balancing realization device schematic diagram disclosed by the embodiments of the present invention;
Fig. 4 is that a kind of virtual platform load balancing disclosed by the embodiments of the present invention realizes equipment schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of virtual platform implementation of load balancing, device, equipment and readable storages Medium improves the performance of virtual machine to realize the load balancing of virtual platform.
Referring to Fig. 1, a kind of virtual platform implementation of load balancing provided in an embodiment of the present invention, comprising:
The corresponding CPU usage of every virtual machine in S101, acquisition virtual platform;
Specifically, there is more virtual machines in virtual platform, every virtualization is corresponding with CPU usage, therefore this reality Applying the CPU usage got in example is multiple data, these data and each virtual machine correspond.
S102, judge whether the corresponding CPU usage of every virtual machine is more than preset first in preset duration respectively Threshold value;If so, executing S103;If it is not, then executing S101;
S103, it determines that the CPU usage in virtual platform is lower than the available CPU of preset second threshold, and will be more than The process of the virtual machine of first threshold is determined as process to be adjusted, and executes S104;
S104, process to be adjusted and available CPU are done into compatibility binding, so as to process to be adjusted can be handled with CPU, realized The load balancing of virtual platform.
It should be noted that since CPU usage is multiple, it is therefore desirable to one by one by CPU usage and preset first Threshold value is compared, to determine the corresponding virtual machine process of CPU usage in preset duration being more than preset first threshold. Such as: when having 5 virtual machines, respectively A, B, C, D, E in virtual platform, acquisition to CPU usage be respectively 60%, 60%, 80%, 87%, 90%, it is assumed that preset first threshold is 85%, then being more than that the CPU usage of first threshold is 87% and 90%, corresponding virtual machine be D and E, therefore D and E be more than first threshold virtual machine, it is corresponding into Journey is process to be adjusted.As it can be seen that the quantity of process to be adjusted and being not fixed.
Similarly, it is assumed that preset second threshold is 70%, then can be the corresponding CPU of virtual machine A and B with CPU. As it can be seen that with the quantity of CPU and can be not fixed.It can according to actual needs be process selection to be adjusted when doing compatibility binding Suitably available CPU, therefore this specification is not specifically limited herein.
As it can be seen that present embodiments providing a kind of virtual platform implementation of load balancing, the method is flat in virtualization It just will be more than first threshold in preset duration when the corresponding CPU usage of virtualization in platform is more than preset first threshold The process of virtual machine be determined as process to be adjusted, and the process to be adjusted is done into compatibility binding with the available CPU determined, So as to process to be adjusted can be handled with CPU, to realize the load balancing of the virtual platform, current business void is improved The performance of quasi- machine, can be to avoid the generation of the fortuitous events such as delay machine.
The embodiment of the invention discloses another virtual platform implementation of load balancing, relative to a upper embodiment, The present embodiment has made further instruction and optimization to technical solution.
Referring to fig. 2, another virtual platform implementation of load balancing provided in an embodiment of the present invention, comprising:
The corresponding CPU usage of every virtual machine in S201, acquisition virtual platform;
S202, judge whether the corresponding CPU usage of every virtual machine is more than preset first in preset duration respectively Threshold value;If so, executing S203;If it is not, then executing S202;
S203, it determines that the CPU usage in virtual platform is lower than the available CPU of preset second threshold, and will be more than The process of the virtual machine of first threshold is determined as process to be adjusted, and executes S204;
S204, process to be adjusted and available CPU are done into compatibility binding, so as to process to be adjusted can be handled with CPU;
S205, the CPU usage for handling process to be adjusted is obtained, and judges the CPU usage of process to be adjusted default It whether is more than first threshold in duration;If so, executing S206;If it is not, then executing S202;
S206, determine that the CPU usage in virtual platform is lower than the available CPU of preset second threshold, and will be wait adjust Whole process and available CPU do compatibility binding, so as to process to be adjusted can be handled with CPU, realize that the load of virtual platform is equal Weighing apparatus.
It should be noted that the CPU that can detect process to be adjusted again is used after the completion of the binding of first time compatibility Rate, if repeatedly compatibility binding can be done for the suitably available CPU of process selection to be adjusted still above first threshold, until The CPU usage of process to be adjusted is lower than preset first threshold.
As it can be seen that present embodiments providing another virtual platform implementation of load balancing, the method is being virtualized It just will be more than the first threshold in preset duration when the corresponding CPU usage of virtualization in platform is more than preset first threshold The process of the virtual machine of value is determined as process to be adjusted, and the process to be adjusted is done compatibility with the available CPU determined and is tied up It is fixed, it can repeatedly adjust when needed, so as to process to be adjusted can be handled with CPU, to realize the virtual platform Load balancing improves the performance of current business virtual machine, can be to avoid the generation of the fortuitous events such as delay machine.
Based on above-mentioned any embodiment, it should be noted that the every virtual machine obtained in virtual platform is corresponding CPU usage, comprising: the corresponding CPU of every virtual machine in the virtual platform is obtained according to preset interval time Utilization rate.
Specifically, can be obtained according to preset interval time to determine that CPU usage continues higher virtual machine CPU usage;It certainly can be with the corresponding CPU usage of every virtual machine in virtual platform described in real-time monitoring.
Based on above-mentioned any embodiment, it should be noted that described to handle the process to be adjusted with CPU, comprising: institute State available CPU and process to be adjusted described in CPU parallel processing corresponding more than the virtual machine of the first threshold.That is: to be adjusted The former CPU and available CPU of process handle current process to be adjusted simultaneously, to improve treatment effeciency.
Based on above-mentioned any embodiment, it should be noted that further include: when the CPU usage of the process to be adjusted is low When preset third threshold value, the process to be adjusted can be made into compatibility unbundlings with described of CPU.That is: when process to be adjusted When not busy, compatibility unbundlings are carried out, to restore the original CPU binding relationship of virtual platform.
The core concept being described below according to the present invention carries out specific implementation process, specifically includes that monitoring adjusts a line Journey.Monitoring thread mainly monitors the corresponding CPU usage situation of every virtual machine, timing scan CPU usage, and is using When rate reaches certain threshold value, information is sent to adjustment thread, thread is adjusted according to information and adjusts the process.
Specifically, inquiring the corresponding CPU of every virtual machine and CPU usage feelings by virtual machine platform management software Condition is inquired the corresponding process ID of each CPU and is saved.Because the change frequency of CPU usage is very high, it is likely that exist due to void Pop-up mission inside quasi- machine leads to CPU, and sometime utilization rate is very high, to the processing that CPU usage is excessively high within the of short duration time It is nonsensical, therefore when the utilization rate of CPU continues excessively high, just it is adjusted.Such as: the frequency as unit of per minute carries out The detection of CPU usage, detected value is above threshold value and then is adjusted twice in succession.
When detection twice in succession all shows the process CPU usage of some virtual machine more than threshold value, monitoring thread meeting Message is sent to adjustment thread.Message content includes the title of virtual machine, and CPU number, corresponding process ID and CPU are used Rate.
After adjustment thread receives the message of monitoring thread, check in message whether the CPU usage for the process that corresponds to is still super Cross preset threshold value.If so, in searching platform all CPU utilization rate, the minimum CPU of utilization rate is selected, in message Process ID does the binding of CPU compatibility, operates in the process simultaneously on the minimum CPU of utilization rate, to improve virtual machine Performance.If it is not, then abandoning this time adjusting.
If the shared CPU usage of the virtual machine is still very high after having done adjustment, adjustment thread just will do it two Secondary adjustment, specifically: increase the CPU quantity of the virtual machine.
A kind of virtual platform load balancing realization device provided in an embodiment of the present invention is introduced below, is hereafter retouched A kind of virtual platform load balancing realization device and a kind of above-described virtual platform implementation of load balancing stated It can be cross-referenced.
Referring to Fig. 3, a kind of virtual platform load balancing realization device provided in an embodiment of the present invention, comprising:
Module 301 is obtained, for obtaining the corresponding CPU usage of every virtual machine in virtual platform;
Judgment module 302, for judge respectively the corresponding CPU usage of every virtual machine in preset duration whether be more than Preset first threshold;
Execution module 303, for being more than preset first threshold in preset duration when the corresponding CPU usage of virtual machine When, determine that CPU usage in the virtual platform is lower than the available CPU of preset second threshold, and will be more than described the The process of the virtual machine of one threshold value is determined as process to be adjusted;The process to be adjusted can be done compatibility with CPU and tied up with described It is fixed, so that described can handle the process to be adjusted with CPU, realize the load balancing of the virtual platform.
Wherein, the acquisition mold is used for:
The corresponding CPU usage of every virtual machine in the virtual platform is obtained according to preset interval time.
Wherein, the execution module is specifically used for:
The CPU and process to be adjusted described in CPU parallel processing corresponding more than the virtual machine of the first threshold.
Wherein, further includes:
Module is adjusted, for obtaining the CPU usage for handling the process to be adjusted, and judges the process to be adjusted Whether CPU usage is more than the first threshold in preset duration;If so, CPU can be used described in determining, and by described wait adjust Whole process can make compatibility binding with described of CPU, so that described can use CPU to handle the process to be adjusted, realize the void The load balancing of quasi-ization platform.
Wherein, further includes:
Unbind module, for when the CPU usage of the process to be adjusted is lower than preset third threshold value, will it is described to Adjustment process can make compatibility unbundlings with described of CPU.
Wherein, further includes:
Monitoring modular, for monitoring the corresponding CPU usage of every virtual machine in the virtual platform.
As it can be seen that present embodiments providing a kind of virtual platform load balancing realization device, comprising: obtain module, judgement Module and execution module.The corresponding CPU usage of every virtual machine in virtual platform is obtained by acquisition module first;So Judgment module judges whether the corresponding CPU usage of every virtual machine is more than preset first threshold in preset duration respectively afterwards Value;When the corresponding CPU usage of virtual machine is more than preset first threshold in preset duration, execution module determines virtualization CPU usage in platform is lower than the available CPU of preset second threshold, and the process of the virtual machine more than first threshold is true It is set to process to be adjusted;Process to be adjusted and available CPU are done into compatibility binding, so as to process to be adjusted can be handled with CPU, it is real The load balancing of existing virtual platform.Share out the work and help one another between such modules, Each performs its own functions, to realize virtual platform Load balancing, improve the performance of current business virtual machine, can be to avoid the generation of the fortuitous events such as delay machine.
Equipment, which is introduced, to be realized to a kind of virtual platform load balancing provided in an embodiment of the present invention below, is hereafter retouched A kind of virtual platform load balancing stated realizes equipment and a kind of above-described virtual platform implementation of load balancing And device can be cross-referenced.
Referring to fig. 4, a kind of virtual platform load balancing provided in an embodiment of the present invention realizes equipment, comprising:
Memory 401, for storing computer program;
Processor 402 realizes virtual platform described in above-mentioned any embodiment when for executing the computer program The step of implementation of load balancing.
A kind of readable storage medium storing program for executing provided in an embodiment of the present invention is introduced below, one kind described below is readable to deposit Storage media can be cross-referenced with a kind of above-described virtual platform implementation of load balancing, device and equipment.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing The step of virtual platform implementation of load balancing as described in above-mentioned any embodiment is realized when processor executes.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of virtual platform implementation of load balancing characterized by comprising
Obtain the corresponding CPU usage of every virtual machine in virtual platform;
Judge whether the corresponding CPU usage of every virtual machine is more than preset first threshold in preset duration respectively;
If so, determining that the CPU usage in the virtual platform is lower than the available CPU of preset second threshold, and will surpass The process for crossing the virtual machine of the first threshold is determined as process to be adjusted;The process to be adjusted can be made with described of CPU Compatibility binding realizes the load balancing of the virtual platform so that described can handle the process to be adjusted with CPU.
2. virtual platform implementation of load balancing according to claim 1, which is characterized in that the acquisition virtualization The corresponding CPU usage of every virtual machine in platform, comprising:
The corresponding CPU usage of every virtual machine in the virtual platform is obtained according to preset interval time.
3. virtual platform implementation of load balancing according to claim 1, which is characterized in that it is described can be at CPU Manage the process to be adjusted, comprising:
The CPU and process to be adjusted described in CPU parallel processing corresponding more than the virtual machine of the first threshold.
4. virtual platform implementation of load balancing according to claim 3, which is characterized in that it is described can be at CPU After managing the process to be adjusted, further includes:
The CPU usage for handling the process to be adjusted is obtained, and judges the CPU usage of the process to be adjusted when default It whether is more than the first threshold in long;
If so, CPU can be used described in determining, and the process to be adjusted can be made into compatibility binding with described of CPU, so that institute It states available CPU and handles the process to be adjusted, realize the load balancing of the virtual platform.
5. virtual platform implementation of load balancing according to any one of claims 1-4, which is characterized in that also wrap It includes:
When the CPU usage of the process to be adjusted be lower than preset third threshold value when, will the process to be adjusted with it is described can Compatibility unbundlings are done with CPU.
6. virtual platform implementation of load balancing according to claim 1, which is characterized in that obtain virtual platform In the corresponding CPU usage of every virtual machine before, further includes:
Monitor the corresponding CPU usage of every virtual machine in the virtual platform.
7. a kind of virtual platform load balancing realization device characterized by comprising
Module is obtained, for obtaining the corresponding CPU usage of every virtual machine in virtual platform;
Whether judgment module is more than preset for judging the corresponding CPU usage of every virtual machine respectively in preset duration First threshold;
Execution module, for determining when the corresponding CPU usage of virtual machine is more than preset first threshold in preset duration CPU usage in the virtual platform is lower than the available CPU of preset second threshold, and will be more than the first threshold The process of virtual machine is determined as process to be adjusted;The process to be adjusted can be made into compatibility binding with described of CPU, so that institute It states available CPU and handles the process to be adjusted, realize the load balancing of the virtual platform.
8. virtual platform load balancing realization device according to claim 7, which is characterized in that the acquisition mold For:
The corresponding CPU usage of every virtual machine in the virtual platform is obtained according to preset interval time.
9. a kind of virtual platform load balancing realizes equipment characterized by comprising
Memory, for storing computer program;
Processor realizes virtual platform as claimed in any one of claims 1 to 6 when for executing the computer program The step of implementation of load balancing.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing Calculation machine program realizes virtual platform load balancing realization side as claimed in any one of claims 1 to 6 when being executed by processor The step of method.
CN201811296874.0A 2018-11-01 2018-11-01 Method and device for realizing load balance of virtualization platform Active CN109491788B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811296874.0A CN109491788B (en) 2018-11-01 2018-11-01 Method and device for realizing load balance of virtualization platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811296874.0A CN109491788B (en) 2018-11-01 2018-11-01 Method and device for realizing load balance of virtualization platform

Publications (2)

Publication Number Publication Date
CN109491788A true CN109491788A (en) 2019-03-19
CN109491788B CN109491788B (en) 2022-12-09

Family

ID=65692124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811296874.0A Active CN109491788B (en) 2018-11-01 2018-11-01 Method and device for realizing load balance of virtualization platform

Country Status (1)

Country Link
CN (1) CN109491788B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362402A (en) * 2019-06-25 2019-10-22 苏州浪潮智能科技有限公司 A kind of load-balancing method, device, equipment and readable storage medium storing program for executing
CN110442423A (en) * 2019-07-09 2019-11-12 苏州浪潮智能科技有限公司 A kind of method and apparatus for realizing that virtual machine reserves CPU using control group
CN111488210A (en) * 2020-04-02 2020-08-04 腾讯科技(深圳)有限公司 Task scheduling method and device based on cloud computing and computer equipment
CN112835720A (en) * 2021-02-26 2021-05-25 杭州迪普科技股份有限公司 ARP aging thread management method and device and electronic equipment
CN113032098A (en) * 2021-03-25 2021-06-25 深信服科技股份有限公司 Virtual machine scheduling method, device, equipment and readable storage medium
CN113626196A (en) * 2021-08-12 2021-11-09 杭州海康威视数字技术股份有限公司 Task sending method and device

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533362A (en) * 2009-04-15 2009-09-16 南京联创科技股份有限公司 Inter-process CPU resource balance scheduling method
CN101976201A (en) * 2010-10-22 2011-02-16 北京航空航天大学 CPU affinity-based virtual CPU dynamic binding method
CN102508718A (en) * 2011-11-22 2012-06-20 杭州华三通信技术有限公司 Method and device for balancing load of virtual machine
CN102546920A (en) * 2011-01-04 2012-07-04 ***通信有限公司 Method, system and device of running process
CN102681913A (en) * 2011-12-21 2012-09-19 中兴通讯股份有限公司 Method and device for realizing live migration along virtual machines
CN102932418A (en) * 2012-09-27 2013-02-13 东软集团股份有限公司 Cloud application deploying method and device
CN102937912A (en) * 2012-11-28 2013-02-20 华为技术有限公司 Method and equipment for scheduling virtual machine
CN103064733A (en) * 2011-10-20 2013-04-24 电子科技大学 Cloud computing virtual machine live migration technology
CN103294540A (en) * 2013-05-17 2013-09-11 北京航空航天大学 Method of improving performance of Erlang virtual machines by Xeon Phi coprocessor
CN103503412A (en) * 2012-03-23 2014-01-08 华为技术有限公司 Method and device for scheduling resources
CN104809026A (en) * 2015-05-14 2015-07-29 苏州中晟宏芯信息科技有限公司 Method for borrowing CPU computing resources by using remote node
CN105740074A (en) * 2016-01-26 2016-07-06 中标软件有限公司 Cloud computing based virtual machine load balancing method
CN106161625A (en) * 2016-07-11 2016-11-23 浪潮(北京)电子信息产业有限公司 A kind of method of the cloud computing resources utilization rate for improving virtual machine
CN106406977A (en) * 2016-08-26 2017-02-15 山东乾云启创信息科技股份有限公司 Virtualization implementation system and method of GPU (Graphics Processing Unit)
CN106970831A (en) * 2017-05-15 2017-07-21 金航数码科技有限责任公司 The resources of virtual machine dynamic scheduling system and method for a kind of facing cloud platform
CN107197053A (en) * 2017-07-31 2017-09-22 郑州云海信息技术有限公司 A kind of load-balancing method and device
CN107231421A (en) * 2017-05-27 2017-10-03 北京力尊信通科技股份有限公司 A kind of virtual machine computing capability dynamic adjusting method, device and system
CN108241527A (en) * 2016-12-26 2018-07-03 成都理想境界科技有限公司 A kind of method for scheduling task and electronic equipment

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533362A (en) * 2009-04-15 2009-09-16 南京联创科技股份有限公司 Inter-process CPU resource balance scheduling method
CN101976201A (en) * 2010-10-22 2011-02-16 北京航空航天大学 CPU affinity-based virtual CPU dynamic binding method
CN102546920A (en) * 2011-01-04 2012-07-04 ***通信有限公司 Method, system and device of running process
CN103064733A (en) * 2011-10-20 2013-04-24 电子科技大学 Cloud computing virtual machine live migration technology
CN102508718A (en) * 2011-11-22 2012-06-20 杭州华三通信技术有限公司 Method and device for balancing load of virtual machine
CN102681913A (en) * 2011-12-21 2012-09-19 中兴通讯股份有限公司 Method and device for realizing live migration along virtual machines
CN103503412A (en) * 2012-03-23 2014-01-08 华为技术有限公司 Method and device for scheduling resources
CN102932418A (en) * 2012-09-27 2013-02-13 东软集团股份有限公司 Cloud application deploying method and device
CN102937912A (en) * 2012-11-28 2013-02-20 华为技术有限公司 Method and equipment for scheduling virtual machine
CN103294540A (en) * 2013-05-17 2013-09-11 北京航空航天大学 Method of improving performance of Erlang virtual machines by Xeon Phi coprocessor
CN104809026A (en) * 2015-05-14 2015-07-29 苏州中晟宏芯信息科技有限公司 Method for borrowing CPU computing resources by using remote node
CN105740074A (en) * 2016-01-26 2016-07-06 中标软件有限公司 Cloud computing based virtual machine load balancing method
CN106161625A (en) * 2016-07-11 2016-11-23 浪潮(北京)电子信息产业有限公司 A kind of method of the cloud computing resources utilization rate for improving virtual machine
CN106406977A (en) * 2016-08-26 2017-02-15 山东乾云启创信息科技股份有限公司 Virtualization implementation system and method of GPU (Graphics Processing Unit)
CN108241527A (en) * 2016-12-26 2018-07-03 成都理想境界科技有限公司 A kind of method for scheduling task and electronic equipment
CN106970831A (en) * 2017-05-15 2017-07-21 金航数码科技有限责任公司 The resources of virtual machine dynamic scheduling system and method for a kind of facing cloud platform
CN107231421A (en) * 2017-05-27 2017-10-03 北京力尊信通科技股份有限公司 A kind of virtual machine computing capability dynamic adjusting method, device and system
CN107197053A (en) * 2017-07-31 2017-09-22 郑州云海信息技术有限公司 A kind of load-balancing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ROBERT LOVE: "《Linux***编程》", 31 July 2009 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362402A (en) * 2019-06-25 2019-10-22 苏州浪潮智能科技有限公司 A kind of load-balancing method, device, equipment and readable storage medium storing program for executing
CN110362402B (en) * 2019-06-25 2021-08-10 苏州浪潮智能科技有限公司 Load balancing method, device, equipment and readable storage medium
CN110442423A (en) * 2019-07-09 2019-11-12 苏州浪潮智能科技有限公司 A kind of method and apparatus for realizing that virtual machine reserves CPU using control group
CN110442423B (en) * 2019-07-09 2022-04-26 苏州浪潮智能科技有限公司 Method and equipment for realizing CPU reservation of virtual machine by using control group
CN111488210A (en) * 2020-04-02 2020-08-04 腾讯科技(深圳)有限公司 Task scheduling method and device based on cloud computing and computer equipment
CN112835720A (en) * 2021-02-26 2021-05-25 杭州迪普科技股份有限公司 ARP aging thread management method and device and electronic equipment
CN113032098A (en) * 2021-03-25 2021-06-25 深信服科技股份有限公司 Virtual machine scheduling method, device, equipment and readable storage medium
CN113032098B (en) * 2021-03-25 2024-04-09 深信服科技股份有限公司 Virtual machine scheduling method, device, equipment and readable storage medium
CN113626196A (en) * 2021-08-12 2021-11-09 杭州海康威视数字技术股份有限公司 Task sending method and device

Also Published As

Publication number Publication date
CN109491788B (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN109491788A (en) A kind of virtual platform implementation of load balancing and device
CN112162865B (en) Scheduling method and device of server and server
CN103412786B (en) High performance server architecture system and data processing method thereof
CN104102543B (en) The method and apparatus of adjustment of load in a kind of cloud computing environment
CN104572301B (en) A kind of resource allocation methods and system
CN109684228B (en) Performance test method, device, system and storage medium
CN105007337A (en) Cluster system load balancing method and system thereof
CN103019853A (en) Method and device for dispatching job task
CN107704310B (en) Method, device and equipment for realizing container cluster management
EP3905589A1 (en) Slice resource deployment method and apparatus, and slice manager and computer storage medium
CN106534287B (en) A kind of management method and device of session entry
CN110109756A (en) A kind of network target range construction method, system and storage medium
CN104426694B (en) A kind of method and apparatus of adjustment resources of virtual machine
CN104683408A (en) Method and system for OpenStack cloud computing management platform to build virtual machine instance
CN111506423A (en) Resource scheduling method and device, electronic equipment and storage medium
CN107291544A (en) Method and device, the distributed task scheduling execution system of task scheduling
CN108063784A (en) The methods, devices and systems of application cluster resource allocation under a kind of cloud environment
CN107729514A (en) A kind of Replica placement node based on hadoop determines method and device
CN103488538B (en) Application extension device and application extension method in cloud computing system
CN110401697A (en) A kind of method, system and the equipment of concurrent processing HTTP request
WO2013082742A1 (en) Resource scheduling method, device and system
CN107704568B (en) A kind of method and device of test data addition
CN111953503B (en) NFV resource deployment arrangement method and network function virtualization orchestrator
CN106059940A (en) Flow control method and device
CN106570011B (en) Distributed crawler URL seed distribution method, scheduling node and capturing node

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