CN106648885A - Dynamic allocation method, device and system for resources of virtual machine - Google Patents
Dynamic allocation method, device and system for resources of virtual machine Download PDFInfo
- Publication number
- CN106648885A CN106648885A CN201610903395.5A CN201610903395A CN106648885A CN 106648885 A CN106648885 A CN 106648885A CN 201610903395 A CN201610903395 A CN 201610903395A CN 106648885 A CN106648885 A CN 106648885A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- resource
- resources
- occupation rate
- resources occupation
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000006978 adaptation Effects 0.000 claims description 58
- 238000012544 monitoring process Methods 0.000 claims description 13
- 239000011800 void material Substances 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000000474 nursing effect Effects 0.000 claims description 5
- 238000011897 real-time detection Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 4
- 230000008859 change Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000002123 temporal effect Effects 0.000 description 4
- 230000004913 activation Effects 0.000 description 3
- 238000001994 activation Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000001154 acute effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
- 230000032258 transport Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation 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/5016—Allocation 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/508—Monitor
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a dynamic allocation method for resources of a virtual machine. The dynamic allocation method includes the steps that a server receives the resource consumption rate sent by the virtual machine, the resources comprise CPU resources and/or memory resources, the virtual machine detects the operating state of a CPU and/or the operating state of a memory in real time to obtain the resource consumption rate, and the resource consumption rate is sent to the server; the server judges whether the resources of the virtual machine need to be allocated or not according to the received resources, and when it is judged that the resources of the virtual machine need to be allocated, the resources of the virtual machine are allocated according to the resource consumption rate and the current residual resources of the server. The invention also provides a dynamic allocation device and system for the resources of the virtual machine. By means of the dynamic allocation method, device and system for the resources of the virtual machine, the technical problem that the resources of the virtual machine can not be dynamically allocated in the operating process of the virtual machine in the prior art is solved.
Description
Technical field
The present invention relates to virtual machine technique field, more particularly to a kind of dynamic adaptation method of resources of virtual machine, device and
System.
Background technology
In virtual machine server running, the traffic pressure for bearing is dynamic change, with visit capacity, flow etc.
Factor and change, the demand of CPU/ or internal memory is also changed therewith, for example, 12306 websites, during spring transportation, visit capacity can be acute
Increase, and in the dull season, if according to this standard configuration server, in other dull seasons, visit capacity is typically smaller, causes to make
Into the huge wasting of resources.
And, it is resources of virtual machine is pre-configured with, what CPU and internal memory usually can not be configured arbitrarily, if configured
It is low, cause inadequate resource, affect user to use;If configuration is too high, the virtual machine number of units that single server main frame can run
Can reduce, the server number for resulting in the need for increases, and can cause unnecessary waste.
Existing technology is usually to obtain the resource service condition of whole server when virtual machine starts to configure
The resource of virtual machine, because existing virtual machine traffic pressure information is the acquisition of information in server, not enough accurately,
Erroneous judgement is caused unavoidably, therefore, it is difficult to rational dynamic configuration is carried out to its resource in the running of virtual machine, if desired
The resource of virtual machine is adjusted, can only interrupt the business of virtual machine operation can just carry out the adjustment of resource, be that user brings
Inconvenience.
The content of the invention
The present invention provides a kind of dynamic adaptation method, the apparatus and system of resources of virtual machine, and its main purpose is to solve
The technical problem of dynamic adaptation cannot be carried out to its resource in virtual machine running in prior art.
For achieving the above object, the present invention provides a kind of dynamic adaptation method of resources of virtual machine, the resources of virtual machine
Dynamic adaptation method includes:
Server receives the resources occupation rate that virtual machine sends, and the resource includes cpu resource and/or memory source, its
In, the virtual machine real-time detection CPU running status and/or internal memory running status to obtain resources occupation rate, by the resource
Occupancy is sent to the server;
Server judges whether the resource of the virtual machine needs to allocate according to the resources occupation rate for receiving, and
When judgement needs allotment, according to the current surplus resources of the resources occupation rate and the server, to the virtual machine
Resource is allocated.
Alternatively, it is described when judging to need allotment, according to current surplus of the resources occupation rate and the server
Remaining resource, includes the step of allocate to the resource of the virtual machine:
It is current according to the resources occupation rate and the server when judging to need to increase the resource of the virtual machine
Surplus resources, determine the resource incrementss of the virtual machine, and increase described virtual according to the resource incrementss for determining
The resource of machine;
When judging to need to reduce the resource of the virtual machine, the money of the virtual machine is determined according to the resources occupation rate
Source decrement, and the resource of the virtual machine is reduced according to the resource decrement for determining.
Alternatively, the resources occupation rate that the basis is received judges whether the resource of the virtual machine needs allotment
The step of include:
Whether resources occupation rate of the virtual machine within the unit interval is judged more than the first default occupancy, wherein,
When resources occupation rate in unit interval is more than the first default occupancy, judgement needs to increase the resource of the virtual machine;
Resources occupation rate of the virtual machine within the unit interval is judged whether less than the second default occupancy, described second
Default occupancy presets occupancy less than described first, wherein, the resources occupation rate within the unit interval is less than and tells that second is pre-
If during occupancy, judgement needs to reduce the resource of the virtual machine.
Alternatively, the resources occupation rate that the basis is received judges whether the resource of the virtual machine needs allotment
The step of include:
Judge the virtual machine in preset duration, resources occupation rate more than the 3rd default occupancy time scale whether
More than the first preset ratio, wherein, when the time scale is more than first preset ratio, judgement needs to increase the void
The resource of plan machine;
Judge the virtual machine in preset duration, resources occupation rate less than the 4th default occupancy time scale whether
More than the second preset ratio, the 4th resources occupation rate is less than the information resources occupancy, wherein, in the time scale
During more than second preset ratio, judgement needs to reduce the resource of the virtual machine.
Alternatively, the resource decrement of the virtual machine, and reduce described virtual according to the resource decrement for determining
Before the step of resource of machine, the dynamic adaptation method of the resources of virtual machine also includes step:
When judging to need to reduce the resource of the virtual machine, judge the current stock number of the virtual machine whether more than institute
State the stock number distributed when virtual machine is opened;
The stock number distributed when the current stock number of the virtual machine is opened more than the virtual machine, then perform according to institute
The resource decrement that resources occupation rate determines the virtual machine is stated, and reduces described virtual according to the resource decrement for determining
The step of resource of machine.
Additionally, for achieving the above object, the present invention also provides a kind of dynamic adaptation device of resources of virtual machine, the virtual machine
The dynamic adaptation device of resource includes:
The dynamic adaptation device of the resources of virtual machine includes:
Data reception module, for receive virtual machine transmission resources occupation rate, the resource include cpu resource and/or
Memory source, wherein, the virtual machine real-time monitoring CPU running status and/or internal memory running status are run according to the CPU
State and/or internal memory running status obtain resources occupation rate and send to the dynamic adaptation device;
Resource judgment module, for judging the resource of the virtual machine whether need according to the resources occupation rate that receives
Allocate;
Dynamic adaptation module, for when judging to need allotment, being worked as according to the resources occupation rate and the server
Front surplus resources, allocate to the resource of the virtual machine.
Alternatively, the dynamic adaptation module includes:
Resource adding unit, for when judging to need to increase the resource of the virtual machine, according to the resources occupation rate
And the surplus resources that the server is current, determine the resource incrementss of the virtual machine, and according to the resource for determining
Incrementss increase the resource of the virtual machine;
Resource reduces unit, for when judging to need to reduce the resource of the virtual machine, according to the resources occupation rate
Determine the resource decrement of the virtual machine, and the resource of the virtual machine is reduced according to the resource decrement for determining.
Alternatively, the resource judgment module includes:
First judging unit, for judging whether resources occupation rate of the virtual machine within the unit interval be pre- more than first
If occupancy, wherein, when the resources occupation rate within the unit interval is more than the first default occupancy, judgement needs to increase the void
The resource of plan machine;
Second judging unit, for judging whether resources occupation rate of the virtual machine within the unit interval be pre- less than second
If occupancy, the described second default occupancy presets occupancy less than described first, wherein, the resource occupation within the unit interval
When rate is less than the second default occupancy is told, judgement needs to reduce the resource of the virtual machine.
Alternatively, the resource judgment module includes:
3rd judging unit, for judging the virtual machine in preset duration, resources occupation rate is default more than the 3rd to be accounted for
Whether it is more than the first preset ratio with the time scale of rate, wherein, when the time scale is more than first preset ratio,
Judgement needs to increase the resource of the virtual machine;
4th judging unit, for judging the virtual machine in preset duration, resources occupation rate is default less than the 4th to be accounted for
Whether it is more than the second preset ratio with the time scale of rate, the 4th resources occupation rate is less than the information resources occupancy,
Wherein, when the time scale is more than second preset ratio, judgement needs to reduce the resource of the virtual machine.
Additionally, for achieving the above object, the present invention also provides a kind of dynamic administration system of nursing of resources of virtual machine, the virtual machine
The dynamic administration system of nursing of resource includes the dynamic adaptation device of above-mentioned resources of virtual machine, and the system also includes at least one void
Plan machine, the virtual machine includes:
State monitoring module, for real-time monitoring CPU running status and/or internal memory running status, runs according to the CPU
State and/or internal memory running status obtain resources occupation rate;
Data transmission blocks, for the resources occupation rate to be sent to the dynamic adaptation device.
The dynamic adaptation method of resources of virtual machine proposed by the present invention, apparatus and system, the operation of virtual machine real-time monitoring CPU
State and/or internal memory running status, and the resource for obtaining the virtual machine according to CPU running statuses and/or internal memory running status accounts for
With rate, resources occupation rate includes CPU usage and/or memory usage, by these data is activations to server, server according to
The resources occupation rate for receiving judges whether the resource (cpu resource and/or memory source) of the virtual machine needs to allocate, and
When judgement needs allotment, the resource of virtual machine is allocated according to resources occupation rate and server current surplus resources,
With the CPU running statuses and/or internal memory running status according to the virtual machine as its rational cpu resource of distribution and/or internal memory money
In source, and the present invention, resources occupation rate is accurately obtained according to running state information by virtual machine, improved for virtual machine
The accuracy that pressure judges, and the operation of virtual machine can be interrupted, according to accurate resources occupation rate to virtual machine
Resource is dynamically allocated, and solving in prior art cannot carry out dynamic adaptation in virtual machine running to its resource
Technical problem.
Description of the drawings
Fig. 1 is the flow chart of the dynamic adaptation method first embodiment of resources of virtual machine of the present invention;
Fig. 2 is the high-level schematic functional block diagram of the dynamic adaptation device first embodiment of resources of virtual machine of the present invention;
Fig. 3 be resources of virtual machine of the present invention dynamic administration system of nursing in virtual machine high-level schematic functional block diagram.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The present invention provides a kind of dynamic adaptation method of resources of virtual machine.It is resources of virtual machine of the present invention with reference to shown in Fig. 1
Dynamic adaptation method first embodiment flow chart.
In the present embodiment, the dynamic adaptation method of the resources of virtual machine includes:
Step S10, server receives the resources occupation rate that virtual machine sends, and the resource includes cpu resource and/or internal memory
Resource, wherein, the virtual machine real-time detection CPU running status and/or internal memory running status to obtain resources occupation rate, by institute
State resources occupation rate to send to the server;
It should be noted that in the embodiment of the present invention, multiple stage virtual machine can be run on a server, server will be hard
Part resource is reasonably allocated to multiple stage virtual machine, and when virtual machine is opened, server can be the void according to current surplus resources
Plan machine distributes suitable resource.But because virtual machine is during operation, with the change of the portfolio born, needs
Resource distribution also can change therewith, therefore, for each virtual machine, in running, monitor in real time itself
CPU running statuses and/or internal memory running status, and get the occupancy of resource.
Additionally, the method that the present embodiment is proposed only can carry out dynamic adaptation to the memory source of virtual machine, it is also possible to only
The cpu resource of virtual machine is allocated, or, the memory source of virtual machine and cpu resource can all be allocated, user
The object allocated can be arranged as required to.When allotment object be memory source when, the resource be memory source, the money
Source occupancy is memory usage;When allotment object be cpu resource when, the resource be cpu resource, the resources occupation rate
For CPU usage;When the object of allotment is memory source and cpu resource, the resource includes cpu resource and memory source,
The resources occupation rate is CPU usage and memory usage.Being accounted for according to CPU usage and internal memory respectively in following examples
As a example by being allocated to cpu resource and memory source with rate, illustrate.
Specifically, one service for running always is set in virtual machine internal, the running status of virtual machine is carried out in real time
Monitoring, and the service such as 1 second, obtains once the CPU usage and EMS memory occupation of the virtual machine at interval of a period of time
Rate, for example, can with resources occupation rate can in the form of report data, be named as Guest_DataReport and send to server,
The current total money of the concrete data of the resources occupation rate that can include being represented with percents in the report data, the virtual machine
Source is measured and corresponding temporal information, and the current total resources of the virtual machine includes CPU core number and memory size.Virtual machine with
Communication between server is realized by virtual serial port, using by standard Virtual technology Virtio interface reality in the present embodiment
Existing virtual machine serial ports, the virtual serial port is higher than the low, broadband of common serial ports delay, disclosure satisfy that the needs of data transfer.In void
An agency is respectively provided with plan machine and server:Guest_proxy and Host_proxy, the Guest_proxy on virtual machine
The json forms of Guest_DataReport data standards are encapsulated, server agent Host_proxy is sent to, at other
Can also be packaged using other forms according to the setting of user in embodiment.Server is accounted for receiving above-mentioned resource
After with rate, database is stored it in, so that subsequent server is subsequently used.
Step S20, server judges the resource of the virtual machine whether needs according to the resources occupation rate for receiving
Allotment, and when judging to need allotment, according to the current surplus resources of the resources occupation rate and the server, to described
The resource of virtual machine is allocated.
For server, multiple stage virtual machine may be simultaneously run, server can be according to storage in database
The corresponding resource distribution for adjusting the virtual machine of resources occupation rate of each virtual machine.First, server timing or real-time
Ground obtains the resources occupation rate of virtual machine from database, for example, can be with acquisition per minute once, because virtual machine is each second
Send once, such server can just get 60 resources occupation rate data that virtual machine sent in a minute, according to
These data for getting judge the resource of corresponding virtual machine whether need allotment, allotment include increase virtual machine resource or
Person reduces the resource of virtual machine.Specifically, when judging to need to increase the resource of the virtual machine, according to the resources occupation rate
And the surplus resources that the server is current, determine the resource incrementss of the virtual machine, and according to the resource for determining
Incrementss increase the resource of the virtual machine;When judging to need to reduce the resource of the virtual machine, according to the resource occupation
Rate determines the resource decrement of the virtual machine, and reduces the resource of the virtual machine according to the resource decrement for determining.
When the resource of virtual machine is increased, need to consider whether the current surplus resources of server are sufficient, when surplus resources are sufficient, can
To determine the stock number that distribute to the virtual machine, for example, the CPU core number of increase according to the size of the resources occupation rate of virtual machine
And increased memory size.When server surplus resources are inadequate, then its resource is not adjusted.
Alternatively, as a kind of embodiment, step S20 can include following refinement step:
Whether resources occupation rate of the virtual machine within the unit interval is judged more than the first default occupancy, wherein,
When resources occupation rate in unit interval is more than the first default occupancy, judgement needs to increase the resource of the virtual machine;
Resources occupation rate of the virtual machine within the unit interval is judged whether less than the second default occupancy, described second
Default occupancy presets occupancy less than described first, wherein, the resources occupation rate within the unit interval is less than and tells that second is pre-
If during occupancy, judgement needs to reduce the resource of the virtual machine.
In the embodiment, the first default occupancy and the second default occupancy are pre-set, for example, can be respectively provided with
The first default occupancy and the second default occupancy of CPU and internal memory, the Guest_ stored in server based on data storehouse
DataReport, calculates resources occupation rate of the virtual machine within the unit interval and judges whether more than the first default occupancy,
If being more than, judge that the virtual machine needs to increase resource, by taking memory usage as an example, if virtual machine every five seconds for example clock sends once
Memory usage, server obtained the memory usage for once storing per 30 seconds, then can get what 6 virtual machines sent
Memory usage, respectively 50%, 60%, 60%, 70%, 50%, 70%, then can calculate unit according to these data
Resources occupation rate in time is 60%, it is assumed that the default occupancy of the first of internal memory is 58%, then it is determined that this is virtual
Machine low memory, needs to increase memory source.
Profit may determine that in the same way whether resources occupation rate of the virtual machine within the unit interval be default less than second
Occupancy, the resource for if so, then illustrating the virtual machine exceeds its demand, it is desirable to reduce resource.
Alternatively, as another embodiment, step S20 can include following refinement step:
Judge the virtual machine in preset duration, resources occupation rate more than the 3rd default occupancy time scale whether
More than the first preset ratio, wherein, when the time scale is more than first preset ratio, judgement needs to increase the void
The resource of plan machine;
Judge the virtual machine in preset duration, resources occupation rate less than the 4th default occupancy time scale whether
More than the second preset ratio, the 4th resources occupation rate is less than the information resources occupancy, wherein, in the time scale
During more than second preset ratio, judgement needs to reduce the resource of the virtual machine.
In the embodiment, the 3rd default occupancy and the 4th default occupancy are pre-set, for example, can be respectively provided with
The 3rd default occupancy and the 4th default occupancy of CPU and internal memory, the Guest_ stored in server based on data storehouse
DataReport, calculates in preset duration, and resources occupation rate accounts for the preset duration more than the time of the 3rd default occupancy
The time scale of total time, due to including temporal information in Guest_DataReport, or server can record reception
To the time of Guest_DataReport, by taking memory usage as an example, if virtual machine every five seconds for example clock sends an EMS memory occupation
Rate, server obtained the memory usage for once storing per 30 seconds, then can get the EMS memory occupation that 6 virtual machines send
Rate, respectively 70%, 70%, 60%, 70%, 60%, 70%, it is assumed that the 3rd default occupancy is 65%, and preset duration is 30
Second, the first preset ratio is 65%;So can be seen that in 30 seconds there is EMS memory occupation in the time of 20 seconds according to these data
Rate is greater than 65%, calculates time scale for 67%, then can be determined that the virutal machine memory is not enough, needs to increase internal memory
Resource.
Profit may determine that in the same way virtual machine in preset duration, and resources occupation rate is less than the 4th default occupancy
Time scale whether be more than the second preset ratio, the resource for if so, then illustrating the virtual machine exceeds its demand, it is desirable to reduce money
Source.
The present embodiment propose resources of virtual machine dynamic adaptation method, virtual machine real-time monitoring CPU running status and/or
Internal memory running status, and the resources occupation rate of the virtual machine, resource are obtained according to CPU running statuses and/or internal memory running status
Occupancy includes CPU usage and/or memory usage, and by these data is activations to server, server is according to receiving
Resources occupation rate judges whether the resource (cpu resource and/or memory source) of the virtual machine needs allotment, and is judging to need
During allotment, the resource of virtual machine is allocated according to resources occupation rate and server current surplus resources, should with basis
The CPU running statuses and/or internal memory running status of virtual machine is its rational cpu resource of distribution and/or memory source, Er Qieben
In embodiment, resources occupation rate is accurately obtained according to running state information by virtual machine, improved for virtual machine pressure is sentenced
Disconnected accuracy, and the operation of virtual machine can be interrupted, the resource of virtual machine is entered according to accurate resources occupation rate
The allotment of Mobile state, solving in prior art cannot carry out the technology of dynamic adaptation in virtual machine running to its resource
Problem.
The second embodiment of the dynamic adaptation method of resources of virtual machine of the present invention is proposed based on first embodiment.In this enforcement
In example, the resource decrement of the virtual machine is determined according to the resources occupation rate, and according to the resource decrement for determining
Before the step of reducing the resource of the virtual machine, the dynamic adaptation method of resources of virtual machine also includes:
When judging to need to reduce the resource of the virtual machine, judge the current stock number of the virtual machine whether more than institute
State the stock number distributed when virtual machine is opened;
The stock number distributed when the current stock number of the virtual machine is opened more than the virtual machine, then perform according to institute
The resource decrement that resources occupation rate determines the virtual machine is stated, and reduces described virtual according to the resource decrement for determining
The step of resource of machine.
In the present embodiment, the resource only to having done the virtual machine of dynamic increase carries out reduction process, that is to say, that
When judging to need to reduce the resource of a certain virtual machine, first judge whether the stock number that the virtual machine is currently configured is virtual more than this
Server is the stock number of its distribution when machine is opened, if being more than, is illustrated, the increase of resource is lived through before the virtual machine, this
When can reduce its resource, if being equal to, its resource is not adjusted.Wherein, when virtual machine is opened, server can be its point
The internal memory of the CPU with default check figure and predetermined number, above-mentioned default check figure and predetermined number it is advance as needed by user
Configuration.
The present invention also proposes a kind of dynamic adaptation device of resources of virtual machine.
It is that the functional module of the dynamic adaptation device first embodiment of resources of virtual machine of the present invention is illustrated with reference to shown in Fig. 2
Figure.
In this embodiment, the dynamic adaptation device of the resources of virtual machine includes:
Data reception module 10, for receive virtual machine transmission resources occupation rate, the resource include cpu resource and/
Or memory source, wherein, the virtual machine real-time detection CPU running status and/or internal memory running status are obtaining resource occupation
Rate, the resources occupation rate is sent to the dynamic adaptation device;
It should be noted that in the embodiment of the present invention, multiple stage virtual machine can be run on a server, server will be hard
Part resource is reasonably allocated to multiple stage virtual machine, and when virtual machine is opened, server can be the void according to current surplus resources
Plan machine distributes suitable resource, and the server is the dynamic adaptation device of the resources of virtual machine.But because virtual machine exists
During operation, with the change of the portfolio born, the resource distribution of needs also can change therewith, therefore, for every
For one virtual machine, in running, the CPU running statuses and/or internal memory running status of monitor in real time itself, and obtain
To the occupancy of resource.
Additionally, the device that the present embodiment is proposed only can carry out dynamic adaptation to the memory source of virtual machine, it is also possible to only
The cpu resource of virtual machine is allocated, or, the memory source of virtual machine and cpu resource can all be allocated, user
The object allocated can be arranged as required to.When allotment object be memory source when, the resource be memory source, the money
Source occupancy is memory usage;When allotment object be cpu resource when, the resource be cpu resource, the resources occupation rate
For CPU usage;When the object of allotment is memory source and cpu resource, the resource includes cpu resource and memory source,
The resources occupation rate is CPU usage and memory usage.Being accounted for according to CPU usage and internal memory respectively in following examples
As a example by being allocated to cpu resource and memory source with rate, illustrate.
Specifically, one service for running always is set in virtual machine internal, the running status of virtual machine is carried out in real time
Monitoring, and the service such as 1 second, obtains once the CPU usage and EMS memory occupation of the virtual machine at interval of a period of time
Rate, for example, can with resources occupation rate can in the form of report data, be named as Guest_DataReport and send to server,
The current total money of the concrete data of the resources occupation rate that can include being represented with percents in the report data, the virtual machine
Source is measured and corresponding temporal information, and the current total resources of the virtual machine includes CPU core number and memory size.Virtual machine with
Communication between server is realized by virtual serial port, using by standard Virtual technology Virtio interface reality in the present embodiment
Existing virtual machine serial ports, the virtual serial port is higher than the low, broadband of common serial ports delay, disclosure satisfy that the needs of data transfer.In void
An agency is respectively provided with plan machine and server:Guest_proxy and Host_proxy, the Guest_proxy on virtual machine
The json forms of Guest_DataReport data standards are encapsulated, server agent Host_proxy is sent to, at other
Can also be packaged using other forms according to the setting of user in embodiment.Server is accounted for receiving above-mentioned resource
After rate, data reception module 10 stores it in database, so that subsequent server is subsequently used.
Resource judgment module 20, for the virtual machine is judged according to the resources occupation rate that receives resource whether
Need allotment;
Dynamic adaptation module 30, for when judging to need allotment, according to the resources occupation rate and the server
Current surplus resources, allocate to the resource of the virtual machine.
For server, multiple stage virtual machine may be simultaneously run, server can be according to storage in database
The corresponding resource distribution for adjusting the virtual machine of resources occupation rate of each virtual machine.First, server timing or real-time
Ground obtains the resources occupation rate of virtual machine from database, for example, can be with acquisition per minute once, because virtual machine is each second
Send once, such server can just get 60 resources occupation rate data that virtual machine sent in a minute, resource
Judge module 20 judges whether the resource of corresponding virtual machine needs allotment, allotment to include increasing according to these data for getting
The resource of virtual machine or the resource of reduction virtual machine.Specifically, dynamic adaptation module 20 includes:
Resource adding unit, for when judging to need to increase the resource of the virtual machine, according to the resources occupation rate
And the surplus resources that the server is current, determine the resource incrementss of the virtual machine, and according to the resource for determining
Incrementss increase the resource of the virtual machine;
Resource reduces unit, for when judging to need to reduce the resource of the virtual machine, according to the resources occupation rate
Determine the resource decrement of the virtual machine, and the resource of the virtual machine is reduced according to the resource decrement for determining.
When resource adding unit increases the resource of virtual machine, need to consider whether the current surplus resources of server fill
Foot, when surplus resources are sufficient, resource adding unit can determine according to the size of the resources occupation rate of virtual machine will be distributed to
The stock number of the virtual machine, for example, the CPU core number and the memory size of increase of increase.When server surplus resources it is inadequate
When, then its resource is not adjusted.
Alternatively, as a kind of embodiment, resource judgment module 20 includes:
First judging unit, for judging whether resources occupation rate of the virtual machine within the unit interval be pre- more than first
If occupancy, wherein, when the resources occupation rate within the unit interval is more than the first default occupancy, judgement needs to increase the void
The resource of plan machine;
Second judging unit, for judging whether resources occupation rate of the virtual machine within the unit interval be pre- less than second
If occupancy, the described second default occupancy presets occupancy less than described first, wherein, the resource occupation within the unit interval
When rate is less than the second default occupancy is told, judgement needs to reduce the resource of the virtual machine.
In the embodiment, the first default occupancy and the second default occupancy are pre-set, for example, can be respectively provided with
The first default occupancy and the second default occupancy of CPU and internal memory, resource judgment module 20 is according to storage in database
Guest_DataReport, calculates resources occupation rate of the virtual machine within the unit interval and judges whether account for default more than first
With rate, if being more than, the first judging unit judges that the virtual machine needs to increase resource, by taking memory usage as an example, if virtually
Machine every five seconds for example clock sends a memory usage, and server obtained the memory usage for once storing per 30 seconds, then can obtain
To the memory usage that 6 virtual machines send, respectively 50%, 60%, 60%, 70%, 50%, 70%, then according to these
It is 60% that data can calculate the resources occupation rate in the unit interval, it is assumed that the default occupancy of the first of internal memory is 58%, that
First judging unit is it is determined that virutal machine memory deficiency, needs to increase memory source.
In the same way, whether the second judging unit may determine that resources occupation rate of the virtual machine within the unit interval to profit
Less than the second default occupancy, the resource for if so, then illustrating the virtual machine exceeds its demand, it is desirable to reduce resource.
Alternatively, as another embodiment, resource judgment module 20 includes:
3rd judging unit, for judging the virtual machine in preset duration, resources occupation rate is default more than the 3rd to be accounted for
Whether it is more than the first preset ratio with the time scale of rate, wherein, when the time scale is more than first preset ratio,
Judgement needs to increase the resource of the virtual machine;
4th judging unit, for judging the virtual machine in preset duration, resources occupation rate is default less than the 4th to be accounted for
Whether it is more than the second preset ratio with the time scale of rate, the 4th resources occupation rate is less than the information resources occupancy,
Wherein, when the time scale is more than second preset ratio, judgement needs to reduce the resource of the virtual machine.
In the embodiment, the 3rd default occupancy and the 4th default occupancy are pre-set, for example, can be respectively provided with
The 3rd default occupancy and the 4th default occupancy of CPU and internal memory, the Guest_ stored in server based on data storehouse
DataReport, resource judgment module 20 is calculated in preset duration, resources occupation rate more than the 3rd default occupancy when
Between account for the time scale of preset duration total time, due to including temporal information, or service in Guest_DataReport
Device can record the time for receiving Guest_DataReport, by taking memory usage as an example, if virtual machine every five seconds for example clock sends
Memory usage, server obtained the memory usage for once storing per 30 seconds, then can get 6 virtual machines and send out
The memory usage sent, respectively 70%, 70%, 60%, 70%, 60%, 70%, it is assumed that the 3rd default occupancy is 65%,
Preset duration is 30 seconds, and the first preset ratio is 65%;So can be seen that in 30 seconds according to these data, have 20 seconds when
Between middle memory usage be greater than 65%, calculate time scale for 67%, then can be determined that the virutal machine memory is not enough,
Need to increase memory source.
Profit may determine that in the same way virtual machine in preset duration, and resources occupation rate is less than the 4th default occupancy
Time scale whether be more than the second preset ratio, the resource for if so, then illustrating the virtual machine exceeds its demand, it is desirable to reduce money
Source.
The present embodiment propose resources of virtual machine dynamic adaptation device, virtual machine real-time monitoring CPU running status and/or
Internal memory running status, and the resources occupation rate of the virtual machine, resource are obtained according to CPU running statuses and/or internal memory running status
Occupancy includes CPU usage and/or memory usage, and by these data is activations to server, server is according to receiving
Resources occupation rate judges whether the resource (cpu resource and/or memory source) of the virtual machine needs allotment, and is judging to need
During allotment, the resource of virtual machine is allocated according to resources occupation rate and server current surplus resources, should with basis
The CPU running statuses and/or internal memory running status of virtual machine is its rational cpu resource of distribution and/or memory source, Er Qieben
In embodiment, resources occupation rate is accurately obtained according to running state information by virtual machine, improved for virtual machine pressure is sentenced
Disconnected accuracy, and the operation of virtual machine can be interrupted, the resource of virtual machine is entered according to accurate resources occupation rate
The allotment of Mobile state, solving in prior art cannot carry out the technology of dynamic adaptation in virtual machine running to its resource
Problem.
The second embodiment of the dynamic adaptation device of resources of virtual machine of the present invention is proposed based on first embodiment.In this enforcement
In example, resource judgment module 20 is additionally operable to:When judging to need to reduce the resource of the virtual machine, judge that the virtual machine is current
The stock number distributed when whether opening more than the virtual machine of stock number;
Resource reduces unit and is additionally operable to:Distribute when the current stock number of the virtual machine is opened more than the virtual machine
Stock number, then determine the resource decrement of the virtual machine according to the resources occupation rate, and is subtracted according to the resource for determining
The resource of the virtual machine is reduced on a small quantity.
In the present embodiment, resource reduces resource of the unit only to having done the virtual machine of dynamic increase and carries out at reduction
Reason, that is to say, that when judging to need to reduce the resource of a certain virtual machine, resource judgment module 20 first judges that the virtual machine is current
Server is the stock number of its distribution when whether the stock number of configuration opens more than the virtual machine, if being more than, is illustrated, this is virtual
The increase of resource is lived through before machine, resource reduces unit and can now reduce its resource, if being equal to, its resource do not carried out
Adjustment.Wherein, when virtual machine is opened, server can be the internal memory of the CPU of the default check figure of its distribution and predetermined number, above-mentioned pre-
If check figure and predetermined number are pre-configured with as needed by user.
The present invention also proposes a kind of dynamic adaptation device of resources of virtual machine.The system includes institute in above-mentioned each embodiment
The dynamic adaptation device and at least one virtual machine of the resources of virtual machine stated, with reference to shown in Fig. 3, the virtual machine includes following mould
Block:
State monitoring module 40, for real-time monitoring CPU running status and/or internal memory running status, transports according to the CPU
Row state and/or internal memory running status obtain resources occupation rate;
Data transmission blocks 50, for the resources occupation rate to be sent to the dynamic adaptation device.
With regard to the method for the resource of server dynamic adjustment virtual machine, with reference to above-mentioned each embodiment, will not be described here.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row
His property is included, so that a series of process, method, article or device including key elements not only include those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
Also there is other identical element in the process of key element, method, article or device.
In addition, the description for being related to " first ", " second " etc. in invention only describes purpose, and it is not intended that indicate or
Imply its relative importance or the implicit quantity for indicating indicated technical characteristic.Thus, " first ", " second " are defined
At least one this feature can be expressed or be implicitly included to feature.In addition, the technical scheme between each embodiment can phase
Mutually combine, but must can be implemented as basis with those of ordinary skill in the art, when the combination of technical scheme occurs mutually
Contradiction or when cannot realize should people think that the combination of this technical scheme is not present, also not in the protection domain of application claims
Within.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of dynamic adaptation method of resources of virtual machine, it is characterised in that the dynamic adaptation method bag of the resources of virtual machine
Include:
Server receives the resources occupation rate that virtual machine sends, and the resource includes cpu resource and/or memory source, wherein, institute
Virtual machine real-time detection CPU running status and/or internal memory running status are stated to obtain resources occupation rate, by the resources occupation rate
Send to the server;
Server judges whether the resource of the virtual machine needs allotment according to the resources occupation rate for receiving, and is judging
When needing allotment, according to the current surplus resources of the resources occupation rate and the server, the resource to the virtual machine
Allocated.
2. the dynamic adaptation method of resources of virtual machine according to claim 1, it is characterised in that described to judge to need to adjust
Timing, according to the current surplus resources of the resources occupation rate and the server, adjusts to the resource of the virtual machine
With the step of include:
When judging to need to increase the resource of the virtual machine, according to current surplus of the resources occupation rate and the server
Remaining resource, determines the resource incrementss of the virtual machine, and increases the virtual machine according to the resource incrementss for determining
Resource;
When judging to need to reduce the resource of the virtual machine, determine that the resource of the virtual machine subtracts according to the resources occupation rate
On a small quantity, and according to the resource decrement for determining the resource of the virtual machine is reduced.
3. the dynamic adaptation method of resources of virtual machine according to claim 1 and 2, it is characterised in that described according to reception
To the resources occupation rate judge the resource of the virtual machine whether need allotment the step of include:
Whether resources occupation rate of the virtual machine within the unit interval is judged more than the first default occupancy, wherein, in unit
When resources occupation rate in time is more than the first default occupancy, judgement needs to increase the resource of the virtual machine;
Whether resources occupation rate of the virtual machine within the unit interval is judged less than the second default occupancy, described second presets
Occupancy less than the described first default occupancy, wherein, the resources occupation rate within the unit interval is less than telling that second presets and account for
When using rate, judgement needs to reduce the resource of the virtual machine.
4. the dynamic adaptation method of resources of virtual machine according to claim 1 and 2, it is characterised in that described according to reception
To the resources occupation rate judge the resource of the virtual machine whether need allotment the step of include:
The virtual machine is judged in preset duration, whether resources occupation rate is more than more than the time scale of the 3rd default occupancy
First preset ratio, wherein, when the time scale is more than first preset ratio, judgement needs to increase the virtual machine
Resource;
The virtual machine is judged in preset duration, whether resources occupation rate is more than less than the time scale of the 4th default occupancy
Second preset ratio, the 4th resources occupation rate is less than the information resources occupancy, wherein, it is more than in the time scale
During second preset ratio, judgement needs to reduce the resource of the virtual machine.
5. the dynamic adaptation method of resources of virtual machine according to claim 2, it is characterised in that described according to the resource
Occupancy determines the resource decrement of the virtual machine, and reduces the money of the virtual machine according to the resource decrement for determining
Before the step of source, the dynamic adaptation method of the resources of virtual machine also includes step:
When judging to need to reduce the resource of the virtual machine, judge the current stock number of the virtual machine whether more than the void
The stock number that plan machine distributes when opening;
The stock number distributed when the current stock number of the virtual machine is opened more than the virtual machine, then perform according to the money
Source occupancy determines the resource decrement of the virtual machine, and reduces the virtual machine according to the resource decrement for determining
The step of resource.
6. a kind of dynamic adaptation device of resources of virtual machine, it is characterised in that the dynamic adaptation device bag of the resources of virtual machine
Include:
Data reception module, for receiving the resources occupation rate of virtual machine transmission, the resource includes cpu resource and/or internal memory
Resource, wherein, the virtual machine real-time monitoring CPU running status and/or internal memory running status, according to the CPU running statuses
And/or internal memory running status obtains resources occupation rate and sends to the dynamic adaptation device;
Resource judgment module, for judging whether the resource of the virtual machine needs to adjust according to the resources occupation rate for receiving
Match somebody with somebody;
Dynamic adaptation module, it is current according to the resources occupation rate and the server for when judging to need allotment
Surplus resources, allocate to the resource of the virtual machine.
7. the dynamic adaptation device of resources of virtual machine according to claim 6, it is characterised in that the dynamic adaptation module
Including:
Resource adding unit, for when judging to need to increase the resource of the virtual machine, according to the resources occupation rate and
The current surplus resources of the server, determine the resource incrementss of the virtual machine, and are increased according to the resource for determining
Amount increases the resource of the virtual machine;
Resource reduces unit, for when judging to need to reduce the resource of the virtual machine, being determined according to the resources occupation rate
The resource decrement of the virtual machine, and the resource of the virtual machine is reduced according to the resource decrement for determining.
8. the dynamic adaptation device of the resources of virtual machine according to claim 6 or 7, it is characterised in that the resource judgment
Module includes:
First judging unit, accounts for for judging whether resources occupation rate of the virtual machine within the unit interval be default more than first
With rate, wherein, when the resources occupation rate within the unit interval is more than the first default occupancy, judgement needs to increase the virtual machine
Resource;
Second judging unit, accounts for for judging whether resources occupation rate of the virtual machine within the unit interval be default less than second
With rate, described second presets occupancy less than the described first default occupancy, wherein, the resources occupation rate within the unit interval is little
When the second default occupancy is told, judgement needs to reduce the resource of the virtual machine.
9. the dynamic adaptation device of resources of virtual machine according to claim 6, it is characterised in that the resource judgment module
Including:
3rd judging unit, for judging the virtual machine in preset duration, resources occupation rate is more than the 3rd default occupancy
Time scale whether be more than the first preset ratio, wherein, when the time scale is more than first preset ratio, judge
Need the resource for increasing the virtual machine;
4th judging unit, for judging the virtual machine in preset duration, resources occupation rate is less than the 4th default occupancy
Time scale whether be more than the second preset ratio, the 4th resources occupation rate is less than the information resources occupancy, wherein,
When the time scale is more than second preset ratio, judgement needs to reduce the resource of the virtual machine.
10. a kind of dynamic administration system of nursing of resources of virtual machine, the dynamic administration system of nursing of the resources of virtual machine includes that such as right will
Seek the dynamic adaptation device of the resources of virtual machine any one of 6-9, it is characterised in that the dynamic tune of the resources of virtual machine
Match system also includes at least one virtual machine, and the virtual machine includes:
State monitoring module, for real-time monitoring CPU running status and/or internal memory running status, according to the CPU running statuses
And/or internal memory running status obtains resources occupation rate;
Data transmission blocks, for the resources occupation rate to be sent to the dynamic adaptation device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610903395.5A CN106648885A (en) | 2016-10-17 | 2016-10-17 | Dynamic allocation method, device and system for resources of virtual machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610903395.5A CN106648885A (en) | 2016-10-17 | 2016-10-17 | Dynamic allocation method, device and system for resources of virtual machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106648885A true CN106648885A (en) | 2017-05-10 |
Family
ID=58855349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610903395.5A Pending CN106648885A (en) | 2016-10-17 | 2016-10-17 | Dynamic allocation method, device and system for resources of virtual machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648885A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107273182A (en) * | 2017-06-06 | 2017-10-20 | 武汉智云方达信息科技有限公司 | A kind of resources of virtual machine dynamic expanding method and system |
CN107295090A (en) * | 2017-06-30 | 2017-10-24 | 北京奇艺世纪科技有限公司 | A kind of method and apparatus of scheduling of resource |
CN107341060A (en) * | 2017-07-17 | 2017-11-10 | 郑州云海信息技术有限公司 | A kind of virutal machine memory distribution method and device |
CN107832117A (en) * | 2017-11-15 | 2018-03-23 | 北京东土科技股份有限公司 | A kind of virtual machine state information synchronous method and electronic equipment |
CN108369526A (en) * | 2017-08-07 | 2018-08-03 | 深圳前海达闼云端智能科技有限公司 | A kind of the startup method, apparatus and intelligent terminal of virtual machine |
CN108804225A (en) * | 2018-05-24 | 2018-11-13 | 新华三云计算技术有限公司 | A kind of virtual machine load regulation and control method and apparatus |
CN110704195A (en) * | 2019-10-14 | 2020-01-17 | 腾讯云计算(北京)有限责任公司 | A CPU adjustment method, server and computer-readable storage medium |
CN111949397A (en) * | 2020-07-29 | 2020-11-17 | 西安万像电子科技有限公司 | Virtual machine resource allocation method and device |
CN112306679A (en) * | 2020-10-26 | 2021-02-02 | 西安万像电子科技有限公司 | Virtual machine configuration method and device |
CN114138499A (en) * | 2022-01-29 | 2022-03-04 | 苏州浪潮智能科技有限公司 | Method, device, computer equipment and medium for monitoring GPU resource utilization |
CN114253663A (en) * | 2021-11-12 | 2022-03-29 | 珠海格力电器股份有限公司 | Virtual machine resource scheduling method and device |
CN114423081A (en) * | 2022-01-05 | 2022-04-29 | 中国西安卫星测控中心 | Method and system for resource allocation of ground data transmission site driven by real shooting and real receiving tasks |
WO2023226437A1 (en) * | 2022-05-23 | 2023-11-30 | 华为云计算技术有限公司 | Resource scheduling method, apparatus and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605613A (en) * | 2013-11-21 | 2014-02-26 | 中标软件有限公司 | Method and system for dynamically adjusting virtual-machine memory in cloud computing environment |
CN103870341A (en) * | 2014-03-12 | 2014-06-18 | 汉柏科技有限公司 | Method and system of adjusting resources of virtual machine |
CN105094980A (en) * | 2014-05-23 | 2015-11-25 | 北京云巢动脉科技有限公司 | System for dynamically adjusting memories of virtual machines |
-
2016
- 2016-10-17 CN CN201610903395.5A patent/CN106648885A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605613A (en) * | 2013-11-21 | 2014-02-26 | 中标软件有限公司 | Method and system for dynamically adjusting virtual-machine memory in cloud computing environment |
CN103870341A (en) * | 2014-03-12 | 2014-06-18 | 汉柏科技有限公司 | Method and system of adjusting resources of virtual machine |
CN105094980A (en) * | 2014-05-23 | 2015-11-25 | 北京云巢动脉科技有限公司 | System for dynamically adjusting memories of virtual machines |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107273182A (en) * | 2017-06-06 | 2017-10-20 | 武汉智云方达信息科技有限公司 | A kind of resources of virtual machine dynamic expanding method and system |
CN107273182B (en) * | 2017-06-06 | 2020-05-15 | 武汉纺织大学 | Method and system for dynamically expanding virtual machine resources |
CN107295090B (en) * | 2017-06-30 | 2020-01-21 | 北京奇艺世纪科技有限公司 | Resource scheduling method and device |
CN107295090A (en) * | 2017-06-30 | 2017-10-24 | 北京奇艺世纪科技有限公司 | A kind of method and apparatus of scheduling of resource |
CN107341060A (en) * | 2017-07-17 | 2017-11-10 | 郑州云海信息技术有限公司 | A kind of virutal machine memory distribution method and device |
CN107341060B (en) * | 2017-07-17 | 2021-02-05 | 苏州浪潮智能科技有限公司 | Virtual machine memory allocation method and device |
WO2019028596A1 (en) * | 2017-08-07 | 2019-02-14 | 深圳前海达闼云端智能科技有限公司 | Method and device for starting virtual machine, and smart terminal |
CN108369526B (en) * | 2017-08-07 | 2022-03-11 | 深圳前海达闼云端智能科技有限公司 | Virtual machine starting method and device and intelligent terminal |
CN108369526A (en) * | 2017-08-07 | 2018-08-03 | 深圳前海达闼云端智能科技有限公司 | A kind of the startup method, apparatus and intelligent terminal of virtual machine |
CN107832117A (en) * | 2017-11-15 | 2018-03-23 | 北京东土科技股份有限公司 | A kind of virtual machine state information synchronous method and electronic equipment |
CN108804225A (en) * | 2018-05-24 | 2018-11-13 | 新华三云计算技术有限公司 | A kind of virtual machine load regulation and control method and apparatus |
CN110704195A (en) * | 2019-10-14 | 2020-01-17 | 腾讯云计算(北京)有限责任公司 | A CPU adjustment method, server and computer-readable storage medium |
CN110704195B (en) * | 2019-10-14 | 2024-11-19 | 腾讯云计算(北京)有限责任公司 | CPU adjustment method, server and computer readable storage medium |
CN111949397A (en) * | 2020-07-29 | 2020-11-17 | 西安万像电子科技有限公司 | Virtual machine resource allocation method and device |
CN112306679A (en) * | 2020-10-26 | 2021-02-02 | 西安万像电子科技有限公司 | Virtual machine configuration method and device |
CN114253663A (en) * | 2021-11-12 | 2022-03-29 | 珠海格力电器股份有限公司 | Virtual machine resource scheduling method and device |
CN114423081A (en) * | 2022-01-05 | 2022-04-29 | 中国西安卫星测控中心 | Method and system for resource allocation of ground data transmission site driven by real shooting and real receiving tasks |
CN114138499A (en) * | 2022-01-29 | 2022-03-04 | 苏州浪潮智能科技有限公司 | Method, device, computer equipment and medium for monitoring GPU resource utilization |
CN114138499B (en) * | 2022-01-29 | 2022-05-06 | 苏州浪潮智能科技有限公司 | GPU resource utilization rate monitoring method and device, computer equipment and medium |
WO2023226437A1 (en) * | 2022-05-23 | 2023-11-30 | 华为云计算技术有限公司 | Resource scheduling method, apparatus and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106648885A (en) | Dynamic allocation method, device and system for resources of virtual machine | |
CN103001985B (en) | Method, upgrading configuration server and the system that server bandwidth controls in software upgrading | |
CN108694241A (en) | A kind of storage method and equipment of data | |
CN105872079B (en) | A kind of link equalization method based on domain name system DNS | |
US11138053B2 (en) | Adaptive quota management system | |
CN109190070A (en) | A kind of data processing method, device, system and application server | |
CN107205030A (en) | Server resource dispatching method and system | |
US7007090B1 (en) | Techniques of utilizing actually unused bandwidth | |
CN102316483B (en) | A kind of EVDO system ensures the method and device of applied business QoS | |
CN109510775A (en) | Orient dispatching method, authentication device, the network equipment and the storage medium of flow | |
CN108810971A (en) | Internet of things data transmission method, internet-of-things terminal and computer readable storage medium | |
CN108307337A (en) | Flux monitoring method, system and the storage device of vehicle mounted guidance terminal | |
CN106101017A (en) | A kind of line flows amount control method and device | |
CN105577573B (en) | Information processing method and electronic equipment | |
WO2018232912A1 (en) | Management method and management system for data traffic of internet of things | |
CN114268961B (en) | Model training method, parameter adjustment method, device and equipment for shared base station | |
CN108898294A (en) | Bicycle active schedule distribution method and system are shared in a kind of region | |
CN112685169B (en) | Load control method, device, server and readable storage medium | |
CN105554122A (en) | Information updating method, information updating device, terminal and server | |
CN116366653A (en) | Optimal distribution method, device and storage medium of cloud mobile phone based on cloud mobile phone device | |
CN104219768B (en) | A kind of customer service differentiated service management method and device | |
CN107704421A (en) | A kind of polycaryon processor and message processing method | |
CN113538081B (en) | Mall order system and processing method for realizing resource self-adaptive scheduling | |
CN112069521B (en) | System authority control method, device, electronic device and computer storage medium | |
CN108563504A (en) | A kind of resource management-control method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |