CN103970555B - Adaptive virtual machine starts control method and device - Google Patents

Adaptive virtual machine starts control method and device Download PDF

Info

Publication number
CN103970555B
CN103970555B CN201310037768.1A CN201310037768A CN103970555B CN 103970555 B CN103970555 B CN 103970555B CN 201310037768 A CN201310037768 A CN 201310037768A CN 103970555 B CN103970555 B CN 103970555B
Authority
CN
China
Prior art keywords
virtual machine
started
time
setting
currently
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310037768.1A
Other languages
Chinese (zh)
Other versions
CN103970555A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310037768.1A priority Critical patent/CN103970555B/en
Priority to PCT/CN2013/081614 priority patent/WO2013189343A2/en
Publication of CN103970555A publication Critical patent/CN103970555A/en
Application granted granted Critical
Publication of CN103970555B publication Critical patent/CN103970555B/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/4401Bootstrapping
    • 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

Abstract

Start control method and device the invention discloses a kind of adaptive virtual machine, by pre-setting the upper limit of virtual machine average start-up time and the quantity of the virtual machine started simultaneously, the quantity of the virtual machine started according to the quantity for the virtual machine being currently up and while pre-setting judges that asking the virtual machine of startup to enter starting state or enter waits in line state;All virtual machines are counted from starting to start to time for starting and finishing, and it is current while the quantity of the virtual machine started to calculate the average start-up time adjustment in real time of virtual machine in all average start-up times for starting the virtual machine finished, the predetermined amount of time then obtained according to calculating in predetermined amount of time in real time.The method of the present invention is simple, unification is only needed to once to be set according to Consumer's Experience, without being calculated one by one further according to different hardware environments, and can effectively ensure that the toggle speed of the current virtual machine started, it is to avoid each virtual machine start the time it is long the problem of.

Description

Adaptive virtual machine starts control method and device
Technical field
Start control method and device the present invention relates to communication technical field, more particularly to a kind of adaptive virtual machine.
Background technology
Under large-scale virtual desktop environment, it is that a kind of common resource seizes phenomenon to start storm.Virtual machine starts When need largely to read and write disk mirroring, and disk mirroring file is typically all stored in storage device, so when a large amount of Virtual machine simultaneously when starting, the magnetic disc i/o or the network bandwidth of storage device are all likely to become bottleneck, influence each virtual machine Performance, causes to start overlong time, Consumer's Experience is not good.So how to avoid single virtual machine from starting overlong time influence user Experience, is the problem of really needing to solve.
The content of the invention
In view of above-mentioned analysis, the present invention is intended to provide a kind of adaptive virtual machine starts control method and device, is used To solve in the prior art when a large amount of virtual machines start simultaneously, the problem of causing hard disk I/O or the network bandwidth congestion of storage.
The purpose of the present invention is mainly achieved through the following technical solutions:
A kind of adaptive virtual machine starts control method, including:
Receive after the startup request that the virtual machine is sent, set according to the quantity for the virtual machine being currently up and in advance The quantity of the virtual machine started while putting judges that the virtual machine that request starts enters starting state or entered and waited in line State;
All virtual machines are counted from starting to start to time for starting and finishing, and calculate institute in predetermined amount of time in real time There is the average start-up time for the virtual machine that startup finishes, the virtual machine is flat in the predetermined amount of time then obtained according to calculating The upper limit of startup time and the virtual machine average start-up time pre-set adjusts the current virtual machine started simultaneously in real time Quantity.
Preferably, in addition to:
Under conditions of present user interface environment disclosure satisfy that Consumer's Experience, virtual machine average start-up time is pre-set The upper limit and simultaneously start virtual machine quantity.
Preferably, receive after the startup request that the virtual machine is sent, authenticating to the virtual machine, and sentencing first Whether the virtual machine that breaks is halted state, is passed through when the virtual machine is authenticated, and determines that the virtual machine is stopped status When, the quantity and the quantity of the virtual machine started while pre-setting according further to the virtual machine being currently up are true The virtual machine that fixed request starts, which enters starting state or entered, waits in line state.
Preferably, the number of the virtual machine started according to the quantity for the virtual machine being currently up and while pre-setting Amount determines that the virtual machine that request starts enters starting state or enters the step of waiting in line state and specifically included:
The quantity of the virtual machine more currently started and the quantity of the virtual machine started while pre-setting, During the quantity of the virtual machine started while the quantity of the virtual machine currently started is equal to and pre-set, it will ask The virtual machine started enters in order waits in line state, after the virtual machine start completion that some is starting, etc. Treat that the virtual machine of state sequentially enters starting state by the order of queuing;When the number of the virtual machine currently started When amount is less than the quantity of the virtual machine started while pre-setting, the virtual machine that request starts enters starting state.
Preferably, adjustment is current in real time for the average start-up time of the virtual machine in the predetermined amount of time obtained according to calculating The step of quantity of the virtual machine started simultaneously, specifically includes:
When calculate the average start-up time that starts the virtual machine finished in obtained predetermined amount of time be more than it is default During the average start-up time upper limit, the quantity of the virtual machine started simultaneously at present is subtracted one, wherein, it is virtual when what is started at present simultaneously When the quantity of machine is equal to the quantity of the virtual machine started while pre-setting, by the virtual machine started while pre-setting Quantity subtracts one, during the quantity of the virtual machine started while the quantity of the virtual machine started at present is less than and pre-set simultaneously, The quantity of the virtual machine started while pre-setting is updated at present while the quantity that the quantity of the virtual machine started subtracts one;
When calculate the average start-up time that starts the virtual machine finished in obtained predetermined amount of time be less than it is default During the average start-up time upper limit, the quantity of the virtual machine started simultaneously at present is added one, wherein, it is virtual when what is started at present simultaneously When the quantity of machine is equal to the quantity of the virtual machine started while pre-setting, by the virtual machine started while pre-setting Quantity adds one, during the quantity of the virtual machine started while the quantity of the virtual machine started at present is less than and pre-set simultaneously, The quantity of the virtual machine started while pre-setting is constant.
Start control device present invention also offers a kind of adaptive virtual machine, including:
Judging unit, for receiving after the startup request that the virtual machine is sent, according to the virtual machine being currently up Quantity and the quantity of the virtual machine started while pre-set judge that the virtual machine that request starts enters starting state Or state is waited in line in entrance;
Statistic unit, starts the time finished, and count in real time for counting each described virtual machine from starting to start to Calculate all average start-up times for starting the virtual machine finished in predetermined amount of time;
Processing unit, is opened for calculating being averaged for the virtual machine in obtained predetermined amount of time according to the statistic unit Dynamic time and the upper limit adjustment in real time for pre-setting virtual machine average start-up time are current while the quantity of the virtual machine of startup.
Preferably, in addition to setup unit, the setup unit in present user interface environment specifically for disclosure satisfy that Under conditions of Consumer's Experience, the upper limit and while the number of the virtual machine started of the virtual machine average start-up time are pre-set Amount.
Preferably, the judging unit is additionally operable to, and is received after the startup request that the virtual machine is sent, first to the void The progress of plan machine is authenticated, and judges whether the virtual machine is halted state, is passed through when judging that the virtual machine is authenticated, and really When the fixed virtual machine is stopped status, quantity according further to the virtual machine being currently up and pre-set it is same The quantity of Shi Qidong virtual machine judges that the virtual machine that request starts enters starting state or entered and waits in line state.
Preferably, the judging unit is specifically for receiving after the startup request that the virtual machine is sent, first to described The progress of virtual machine is authenticated, and judges whether the virtual machine is halted state, is passed through when judging that the virtual machine is authenticated, and Determine the virtual machine be stopped status when, then the virtual machine more currently started quantity and pre-set it is same The quantity of Shi Qidong virtual machine, starts while the quantity of the virtual machine currently started is equal to and pre-set During the quantity of virtual machine, the virtual machine started will be asked to enter in order and wait in line state, when some is starting Virtual machine start completion after, the virtual machine of wait state sequentially enters starting state by the order of queuing;When at present just During the quantity of the virtual machine started while the quantity of the virtual machine of startup is less than and pre-set, the institute of startup will be asked State virtual machine and enter starting state.
Preferably, the processing unit is specifically for when calculating the void that starts in obtained predetermined amount of time and finish When the average start-up time of plan machine is more than the average start-up time upper limit pre-set, by the number of the virtual machine started at present simultaneously Amount subtracts one, wherein, the quantity of the virtual machine started while the quantity of the virtual machine started at present is equal to and pre-set simultaneously When, the quantity of the virtual machine started while pre-setting is subtracted one, when simultaneously the quantity of the virtual machine started at present is less than in advance During the quantity of the virtual machine started while first setting, the quantity of the virtual machine started while pre-setting is updated at present The quantity that the quantity of the virtual machine started simultaneously subtracts one;When calculating the virtual machine that starts in obtained predetermined amount of time and finish Average start-up time when being less than the default average start-up time upper limit, the quantity of virtual machine that will start simultaneously at present adds one, Wherein, will be pre- during the quantity of the virtual machine started while the quantity of the virtual machine started at present is equal to and pre-set simultaneously The quantity of the virtual machine started while first setting plus one, when simultaneously the quantity of the virtual machine started at present is less than what is pre-set During the quantity of the virtual machine started simultaneously, the quantity of the virtual machine started while pre-setting is constant.
The present invention has the beneficial effect that:
A kind of adaptive virtual machine that the present invention is provided starts control method and device, in present user interface environment energy Enough meet under conditions of Consumer's Experience, pre-set the upper limit and while the number of the virtual machine started of virtual machine average start-up time Amount, and start the average start-up time that the virtual machine finished starts in monitoring predetermined amount of time in real time, obtained by comparing calculating The upper limit of time that averagely starts of average time and default virtual machine to adjust in real time while the quantity of the virtual machine started, So as to ensure the toggle speed of the virtual machine currently started, and start the virtual of quantity while clearly informing and exceed default Machine its start request carry out etc. it is pending, it is to avoid each virtual machine start the time it is long the problem of.And keeper Only need to unification and the upper limit of virtual machine average start-up time and startup simultaneously in predetermined amount of time are once set according to Consumer's Experience Virtual machine quantity, without being calculated one by one further according to different hardware environments, the work of keeper will not be increased Amount.
Other features and advantages of the present invention will be illustrated in the following description, also, the partial change from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Brief description of the drawings
Fig. 1 starts the flow chart of control method for the adaptive virtual machine of the embodiment of the present invention 1;
Fig. 2 starts control device schematic diagram for the adaptive virtual machine of the embodiment of the present invention 2.
Embodiment
The preferred embodiments of the present invention are specifically described below in conjunction with the accompanying drawings, wherein, accompanying drawing constitutes the application part, and It is used for the principle for explaining the present invention together with embodiments of the present invention.For purpose of clarity and simplification, when it may make the present invention Theme it is smudgy when, illustrating in detail for known function and structure in device described herein will be omitted.
Embodiment 1
Start control method the embodiments of the invention provide a kind of adaptive virtual machine, referring to Fig. 1, this method includes:
S101, the upper limit for pre-setting virtual machine average start-up time and while the quantity of the virtual machine started;
Wherein, the embodiment of the present invention is under conditions of present user interface environment disclosure satisfy that Consumer's Experience, to set in advance Put the upper limit and while the quantity of the virtual machine started of virtual machine average start-up time.
S102, receive after the startup request that the virtual machine is sent, according to the quantity for the virtual machine being currently up and The quantity of the virtual machine started while pre-setting judges that the virtual machine that request starts enters starting state or enters row Team's wait state;
Authenticating to the virtual machine first, and judge whether the virtual machine is to stop shape before this step State, passes through when the virtual machine is authenticated, and when determining the virtual machine for stopped status, according further to what is be currently up The quantity of the virtual machine and the quantity of the virtual machine started while pre-setting determine that the virtual machine that request starts enters Enter starting state or enter and wait in line state.
Wherein, the step is specially:The quantity of the virtual machine more currently started and while pre-set The quantity of the virtual machine of startup, the void started while the quantity of the virtual machine currently started is equal to and pre-set During the quantity of plan machine, the virtual machine started will be asked to enter in order and wait in line state, when some is starting After virtual machine start completion, the virtual machine of wait state sequentially enters starting state by the order of queuing;When currently When the quantity of the virtual machine started is less than the quantity of the virtual machine started while pre-setting, the void started is asked Plan machine enters starting state.
S103, all virtual machines of statistics calculate the scheduled time from starting to start to time for starting and finishing in real time It is described virtual in all average start-up times for starting the virtual machine finished, the predetermined amount of time then obtained according to calculating in section The adjustment in real time of the upper limit of the average start-up time of machine and the virtual machine average start-up time pre-set is current while the void started The quantity of plan machine.
The step is specifically included:When the average start-up time for starting the virtual machine finished in predetermined amount of time is more than in advance If the average start-up time upper limit when, the quantity of virtual machine that will start simultaneously at present subtracts one, wherein, when what is started at present simultaneously It is virtual by what is started while pre-setting when the quantity of virtual machine is equal to the quantity of the virtual machine started while pre-setting The quantity of machine subtracts one, the quantity of the virtual machine started while the quantity of the virtual machine started at present is less than and pre-set simultaneously When, the quantity of the virtual machine started while pre-setting is updated at present while the number that the quantity of the virtual machine started subtracts one Amount;
When start in predetermined amount of time the virtual machine finished average start-up time be less than it is default averagely start when Between the upper limit when, the quantity of virtual machine that will start simultaneously at present adds one, wherein, when quantity of virtual machine started at present etc. simultaneously During the quantity of the virtual machine started while pre-setting, the quantity of the virtual machine started while pre-setting plus one, During the quantity of the virtual machine started while the quantity of the virtual machine started at present is less than and pre-set simultaneously, pre-set The quantity of the virtual machine started simultaneously is constant.
A kind of adaptive virtual machine provided in an embodiment of the present invention starts control method, in present user interface environment energy Enough meet under conditions of Consumer's Experience, pre-set the upper limit and while the number of the virtual machine started of virtual machine average start-up time Amount, and start the average start-up time that the virtual machine finished starts in monitoring predetermined amount of time in real time, obtained by comparing calculating The upper limit of time that averagely starts of average time and default virtual machine to adjust in real time while the quantity of the virtual machine started, So as to ensure the toggle speed of the virtual machine currently started, and start the virtual of quantity while clearly informing and exceed default Machine its start request carry out etc. it is pending, it is to avoid each virtual machine start the time it is long the problem of.And keeper Only need to unification and the upper limit of virtual machine average start-up time and startup simultaneously in predetermined amount of time are once set according to Consumer's Experience Virtual machine quantity, without being calculated one by one further according to different hardware environments, the work of keeper will not be increased Amount.
Embodiment 2
Start control device the embodiments of the invention provide a kind of adaptive virtual machine, referring to Fig. 2, the device includes:
Setup unit 21, for it disclosure satisfy that Consumer's Experience in present user interface environment under conditions of, pre-sets institute State the upper limit and while the quantity of the virtual machine started of virtual machine average start-up time.
Judging unit 22, for receiving after the startup request that the virtual machine is sent, the progress first to the virtual machine Authentication, and judge whether the virtual machine is halted state, pass through when judging that the virtual machine is authenticated, and determine described virtual When machine is stopped status, then the virtual machine more currently started quantity and start while pre-set it is virtual The quantity of machine, the quantity of the virtual machine started while the quantity of the virtual machine currently started is equal to and pre-set When, the virtual machine started will be asked to enter in order and wait in line state, when some virtual machine started starts After the completion of, the virtual machine of wait state sequentially enters starting state by the order of queuing;Described in currently starting When the quantity of virtual machine is less than the quantity of the virtual machine started while pre-setting, the virtual machine started will be asked to enter Starting state;
Statistic unit 23, the time finished is started for counting each described virtual machine from starting to start to, and in real time Calculate all average start-up times for starting the virtual machine finished in predetermined amount of time;
Processing unit 24, for when the average startup for starting the virtual machine finished in the predetermined amount of time that calculating is obtained When time is more than the average start-up time upper limit pre-set, the quantity of the virtual machine started simultaneously at present is subtracted one, wherein, when The quantity of the virtual machine started at present is equal to the quantity of the virtual machine started while pre-setting simultaneously when, by what is pre-set The quantity of the virtual machine started simultaneously subtracts one, starts while the quantity of the virtual machine started at present is less than and pre-set simultaneously Virtual machine quantity when, by the quantity of the virtual machine started while pre-setting be updated at present and meanwhile start virtual machine The quantity quantity that subtracts one;When the average start-up time for starting the virtual machine finished in the predetermined amount of time that calculating is obtained is small When the default average start-up time upper limit, the quantity of the virtual machine started simultaneously at present is added one, wherein, opened simultaneously when at present When the quantity of dynamic virtual machine is equal to the quantity of the virtual machine started while pre-setting, by what is started while pre-setting The quantity of virtual machine adds one, the virtual machine started while the quantity of the virtual machine started at present is less than and pre-set simultaneously During quantity, the quantity of the virtual machine started while pre-setting is constant.
In summary, start control method and device the embodiments of the invention provide a kind of adaptive virtual machine, working as Preceding user interface environment disclosure satisfy that under conditions of Consumer's Experience, pre-set the upper limit and simultaneously of virtual machine average start-up time The quantity of the virtual machine of startup, and the average start-up time that the virtual machine that startup is finished in monitoring predetermined amount of time in real time starts, Calculate the upper limit for the time that obtained average time averagely starts with default virtual machine by comparing and adjust in real time while opening The quantity of dynamic virtual machine, so as to ensure the toggle speed of virtual machine currently started, and is clearly informed beyond default Simultaneously start quantity virtual machine its start request carry out etc. it is pending, it is to avoid it is long that each virtual machine starts the time The problem of.And keeper only needs to unification and virtual machine average start-up time in predetermined amount of time is once set according to Consumer's Experience The upper limit and simultaneously start virtual machine quantity, will not without being calculated one by one further according to different hardware environments Increase the workload of keeper.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art the invention discloses technical scope in, the change or replacement that can be readily occurred in, It should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claims Enclose and be defined.

Claims (10)

1. a kind of adaptive virtual machine starts control method, it is characterised in that including:
Receive after the startup request that the virtual machine is sent, set according to the quantity of the virtual machine currently started and in advance The quantity of the virtual machine started while putting judges that the virtual machine that request starts enters starting state or entered and waited in line State;
All virtual machines are counted from starting to start to time for starting and finishing, and calculate all in predetermined amount of time open in real time Being averaged for the virtual machine is opened in the average start-up time of the dynamic virtual machine finished, the predetermined amount of time then obtained according to calculating The upper limit of dynamic time and the virtual machine average start-up time pre-set adjusts the quantity of the virtual machine currently started in real time.
2. according to the method described in claim 1, it is characterised in that also include:
Under conditions of present user interface environment disclosure satisfy that Consumer's Experience, the upper of virtual machine average start-up time is pre-set The quantity of limit and the virtual machine started simultaneously.
3. according to the method described in claim 1, it is characterised in that receive after the startup request that the virtual machine is sent, first To authenticating for the virtual machine, and judge whether the virtual machine is halted state, pass through when the virtual machine is authenticated, and And when to determine the virtual machine be stopped status, quantity according further to the virtual machine currently started and in advance The virtual machine that the quantity determination request of the virtual machine started while setting starts enters starting state or enters queuing etc. Treat state.
4. the method according to claim 1-3 any one, it is characterised in that described virtual according to what is currently started The quantity of machine and the quantity of the virtual machine started while pre-setting determine that the virtual machine that request starts enters startup shape The step of state is waited in line in state or entrance specifically includes:
The quantity of the virtual machine more currently started and the quantity of the virtual machine started while pre-setting, work as mesh When the quantity of the preceding virtual machine started is equal to the quantity of the virtual machine started while pre-setting, request is started The virtual machine in order enter wait in line state, after the virtual machine start completion that some is starting, wait shape The virtual machine of state sequentially enters starting state by the order of queuing;When the quantity of the virtual machine currently started is small During the quantity of the virtual machine started while pre-setting, the virtual machine that request starts enters starting state.
5. the method according to claim 1-3 any one, it is characterised in that in the predetermined amount of time obtained according to calculating The step of quantity of the current virtual machine started simultaneously of the average start-up time of virtual machine adjustment in real time, specifically includes:
When calculate the average start-up time that starts the virtual machine finished in obtained predetermined amount of time be more than it is default average When starting time upper limit, the quantity of the virtual machine currently started is subtracted one, wherein, when the virtual machine currently started When quantity is equal to the quantity of the virtual machine started while pre-setting, by the quantity of the virtual machine started while pre-setting Subtract one, will be pre- during the quantity of the virtual machine started while the quantity of the virtual machine currently started is less than and pre-set The quantity of the virtual machine started while first setting is updated to the quantity that the quantity of the virtual machine currently started subtracts one;
When calculate the average start-up time that starts the virtual machine finished in obtained predetermined amount of time be less than it is default average When starting time upper limit, the quantity of the virtual machine currently started plus one, wherein, when the virtual machine currently started When quantity is equal to the quantity of the virtual machine started while pre-setting, by the quantity of the virtual machine started while pre-setting Plus one, during the quantity of the virtual machine started while the quantity of the virtual machine currently started is less than and pre-set, in advance The quantity of the virtual machine started while setting is constant.
6. a kind of adaptive virtual machine starts control device, it is characterised in that including:
Judging unit, for receiving after the startup request that the virtual machine is sent, according to the virtual machine currently started Quantity and the quantity of the virtual machine started while pre-set judge that the virtual machine that request starts enters starting state Or state is waited in line in entrance;
Statistic unit, for counting each described virtual machine from starting to start to the time finished that starts, and is calculated pre- in real time All average start-up times for starting the virtual machine finished in section of fixing time;
Processing unit, during for calculating the average startup of the virtual machine in obtained predetermined amount of time according to the statistic unit Between and the upper limit of virtual machine average start-up time that pre-sets adjust the quantity of the virtual machine currently started in real time.
7. device according to claim 6, it is characterised in that also including setup unit;
The setup unit is specifically under conditions of present user interface environment disclosure satisfy that Consumer's Experience, pre-setting The quantity of the upper limit of the virtual machine average start-up time and the virtual machine started simultaneously.
8. device according to claim 6, it is characterised in that
The judging unit is additionally operable to, and is received after the startup request that the virtual machine is sent, the progress first to the virtual machine Authentication, and judge whether the virtual machine is halted state, pass through when judging that the virtual machine is authenticated, and determine described virtual When machine is stopped status, the quantity according further to the virtual machine currently started starts with while pre-setting Virtual machine quantity judge request start the virtual machine enter starting state or enter wait in line state.
9. device according to claim 8, it is characterised in that
The judging unit is specifically for receiving after the startup request that the virtual machine is sent, the virtual machine being entered first Row authentication, and judge whether the virtual machine is halted state, pass through when judging that the virtual machine is authenticated, and determine the void When plan machine is stopped status, then the virtual machine more currently started quantity and the void that starts while pre-set The quantity of plan machine, the number of the virtual machine started while the quantity of the virtual machine currently started is equal to and pre-set During amount, the virtual machine started will be asked to enter in order and wait in line state, when some virtual machine started is opened After the completion of dynamic, the virtual machine of wait state sequentially enters starting state by the order of queuing;When the institute currently started When the quantity for stating virtual machine is less than the quantity of the virtual machine started while pre-setting, the virtual machine for asking to start is entered Enter starting state.
10. the device according to claim 8-9 any one, it is characterised in that
The processing unit when calculating specifically for starting being averaged for the virtual machine that finishes and opening in obtained predetermined amount of time When the dynamic time is more than the average start-up time upper limit pre-set, the quantity of the virtual machine currently started is subtracted one, wherein, During the quantity of the virtual machine started while the quantity of the virtual machine currently started is equal to and pre-set, it will pre-set While the quantity of virtual machine that starts subtract one, opened while the quantity of the virtual machine currently started is less than and pre-set During the quantity of dynamic virtual machine, by the quantity of the virtual machine started while pre-setting be updated to currently to start it is virtual The quantity that the quantity of machine subtracts one;When the average start-up time for starting the virtual machine finished in the predetermined amount of time that calculating is obtained During less than the default average start-up time upper limit, the quantity of the virtual machine currently started plus one, wherein, when currently When the quantity of the virtual machine of startup is equal to the quantity of the virtual machine started while pre-setting, it will start while pre-setting The quantity of virtual machine add one, the virtual machine started while the quantity of the virtual machine currently started is less than and pre-set Quantity when, the quantity of the virtual machine started while pre-setting is constant.
CN201310037768.1A 2013-01-31 2013-01-31 Adaptive virtual machine starts control method and device Active CN103970555B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310037768.1A CN103970555B (en) 2013-01-31 2013-01-31 Adaptive virtual machine starts control method and device
PCT/CN2013/081614 WO2013189343A2 (en) 2013-01-31 2013-08-16 Adaptive virtual machine boot control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310037768.1A CN103970555B (en) 2013-01-31 2013-01-31 Adaptive virtual machine starts control method and device

Publications (2)

Publication Number Publication Date
CN103970555A CN103970555A (en) 2014-08-06
CN103970555B true CN103970555B (en) 2017-09-12

Family

ID=49769505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310037768.1A Active CN103970555B (en) 2013-01-31 2013-01-31 Adaptive virtual machine starts control method and device

Country Status (2)

Country Link
CN (1) CN103970555B (en)
WO (1) WO2013189343A2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360901A (en) * 2014-11-04 2015-02-18 中国建设银行股份有限公司 Processing method and device for access request of terminal equipment and queuing machine
CN106325979B (en) * 2015-06-26 2020-02-28 中兴通讯股份有限公司 Virtual machine deployment method and device and network function virtualization orchestration NVFO
CN105740067A (en) * 2016-01-26 2016-07-06 中标软件有限公司 Cloud computing based virtual machine batch starting method and control system
EP3211531B1 (en) 2016-02-25 2021-12-22 Huawei Technologies Co., Ltd. Virtual machine start method and apparatus
CN107703870A (en) * 2017-10-23 2018-02-16 上海歌尔泰克机器人有限公司 Unmanned aerial vehicle station starting-up method, device and unmanned aerial vehicle station

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697134A (en) * 2009-10-27 2010-04-21 北京大学 Method for supporting quick start of similar virtual machine
CN102141931A (en) * 2011-03-15 2011-08-03 华为技术有限公司 Virtual machine establishing method, virtual machine monitor and virtual machine system
CN102571746A (en) * 2011-11-23 2012-07-11 西安交通大学 Virtual machine deployment method oriented to side channel attack defense of cloud computation environment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069761A1 (en) * 2004-09-14 2006-03-30 Dell Products L.P. System and method for load balancing virtual machines in a computer network
US9069622B2 (en) * 2010-09-30 2015-06-30 Microsoft Technology Licensing, Llc Techniques for load balancing GPU enabled virtual machines
CN102012835B (en) * 2010-12-22 2013-03-27 北京航空航天大学 Virtual central processing unit (CPU) scheduling method capable of supporting software real-time application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697134A (en) * 2009-10-27 2010-04-21 北京大学 Method for supporting quick start of similar virtual machine
CN102141931A (en) * 2011-03-15 2011-08-03 华为技术有限公司 Virtual machine establishing method, virtual machine monitor and virtual machine system
CN102571746A (en) * 2011-11-23 2012-07-11 西安交通大学 Virtual machine deployment method oriented to side channel attack defense of cloud computation environment

Also Published As

Publication number Publication date
WO2013189343A3 (en) 2014-02-20
WO2013189343A2 (en) 2013-12-27
CN103970555A (en) 2014-08-06

Similar Documents

Publication Publication Date Title
CN103970555B (en) Adaptive virtual machine starts control method and device
Dogar et al. Decentralized task-aware scheduling for data center networks
CN110099009B (en) Dynamic current limiting method based on interface response time trend and computer readable medium
Zhang et al. Delay guaranteed live migration of virtual machines
US10747451B2 (en) Auto allocation of storage system resources to heterogeneous categories of resource consumer
US20190306255A1 (en) System and method for throttling service requests having non-uniform workloads
US9419904B2 (en) System and method for throttling service requests using work-based tokens
Li et al. Pslo: Enforcing the xth percentile latency and throughput slos for consolidated vm storage
US9792137B2 (en) Real-time performance apparatus and method for controlling virtual machine scheduling in real-time
WO2021159638A1 (en) Method, apparatus and device for scheduling cluster queue resources, and storage medium
CN108897627B (en) Docker dynamic scheduling method for typical container
CN109684228B (en) Performance test method, device, system and storage medium
US20160210174A1 (en) Hybrid Scheduler and Power Manager
CN107145389A (en) A kind of system process monitoring method and computing device
WO2012103728A1 (en) Method for dispatching central processing unit of hotspot domain virtual machine and virtual machine system
CN106598740B (en) System and method for limiting CPU utilization rate occupied by multithreading program
CN109144700A (en) Determination method, apparatus, server and the data processing method of overtime duration
US11163606B1 (en) Systems and methods for thread management to optimize resource utilization in a distributed computing environment
US10142997B2 (en) Method and apparatus for adjusting physical resource, and controller
Zhan et al. Carb: A c-state power management arbiter for latency-critical workloads
CN104009887A (en) Automatic speed testing method applied to network resource optimization
CN107395735B (en) Delay and capacity reduction scheduling method and system for container cluster
TW200813845A (en) Resource-based scheduler
CN109739634A (en) A kind of atomic task execution method and device
CN107872480B (en) Big data cluster data balancing method and device

Legal Events

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