CN103106115A - Virtual resource adjusting device and virtual resource adjusting device method - Google Patents

Virtual resource adjusting device and virtual resource adjusting device method Download PDF

Info

Publication number
CN103106115A
CN103106115A CN2011103716876A CN201110371687A CN103106115A CN 103106115 A CN103106115 A CN 103106115A CN 2011103716876 A CN2011103716876 A CN 2011103716876A CN 201110371687 A CN201110371687 A CN 201110371687A CN 103106115 A CN103106115 A CN 103106115A
Authority
CN
China
Prior art keywords
virtual machine
critical value
virtual
amount
load
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
Application number
CN2011103716876A
Other languages
Chinese (zh)
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.)
Institute for Information Industry
Original Assignee
Institute for Information Industry
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 Institute for Information Industry filed Critical Institute for Information Industry
Priority to CN2011103716876A priority Critical patent/CN103106115A/en
Publication of CN103106115A publication Critical patent/CN103106115A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a virtual resource adjusting device and a virtual resource adjusting method. The virtual resource adjusting device and the virtual resource adjusting method are applied to a virtual system. The virtual resource adjusting method includes that at least one virtual machine is provided for the virtual system, and the virtual machine has a maximum reading load critical value, a minimum load reading critical value, a maximum computation load critical value and a minimum computation load critical value; a reading load capacity and a computation load capacity in a total data load capacity of the virtual system are captured; the relationships between the reading load capacity and the maximum and minimum reading load critical values are judged, and the relationships between the computation load capacity and the maximum and minimum computation load critical values are judged; and the number of the virtual machine is adjusted according to the relationships between the reading load capacity and the maximum and minimum reading load critical values, and unit resource quantity of the virtual machine is adjusted according to the computation load capacity and the maximum and minimum computation load critical values.

Description

Virtual resource adjusting gear and method thereof
Technical field
The invention relates to the device and method that a kind of resource is adjusted, and particularly relevant for a kind of virtual resource adjusting gear and method.
Background technology
Under the progress of the present computer technology, software usually can't be done effective utilization to too much hardware resource.By setting up virtual system to carry out several virtual machines on hardware, can make hardware resource obtain the most effectively to utilize.
In virtual system, may be due to the increase and decrease of data processing amount, and need to face the problem that resource is adjusted.If only increase intuitively the number of virtual machine in response to data processing amount increases, most probably because data processing amount is not increased in fact a treatable maximum amount of data of virtual machine, and make the virtual machine that newly increases not bring into play its maximum effect, cause the waste of resource, and when data processing amount reduces, also may because the insufficient amplitude that reduces is large, the number of virtual machine can't be reduced, thereby produce similar above-mentioned problem.Therefore, if can flexibly adjust for resource, can the resource performance of virtual system the most effectively be utilized.
Therefore, how designing new virtual resource adjusting gear, a method and store its computer-readable medium storing, is an industry problem demanding prompt solution for this reason.
Summary of the invention
The object of the present invention is to provide a kind of virtual resource adjusting gear and method.
Therefore, one aspect of the present invention is that a kind of virtual resource method of adjustment is being provided, be applied in virtual system, the virtual resource method of adjustment comprises the following step: at least one virtual machine is provided in virtual system, and virtual machine has that maximum reads the load critical value and minimum reads load critical value and maximum computing load critical value and minimum computing load critical value; Read-write charge capacity and computing load amount in the sum data charge capacity of acquisition virtual system; Judgement read-write charge capacity reads load critical value and the minimum relation that reads the load critical value with maximum, and the relation of judgement computing load amount and maximum computing load critical value and minimum computing load critical value; And read the load critical value and the minimum relation that reads the load critical value is adjusted the number of virtual machine and according to computing load amount and maximum computing load critical value and minimum computing load critical value, the unit resource amount of virtual machine is adjusted according to the read-write charge capacity with maximum.
According to one embodiment of the invention, when the read-write charge capacity reads the load critical value greater than maximum, be wherein that the number of virtual machine is increased.When the read-write charge capacity reads the load critical value greater than maximum and the number of virtual machine is increased, judge that the step of the relation of computing load amount and maximum computing load critical value and minimum computing load critical value more comprises: judge this computing load amount of virtual machine whether greater than the number increase afterwards the maximum of virtual machine read the load critical value; And the maximum of virtual machine reads the load critical value after the computing load amount increases greater than number, is one of them unit resource amount increase of virtual machine after number is increased.After whether the computing load amount that judges virtual machine increases less than number, the minimum of virtual machine reads the load critical value; And when the minimum of virtual machine reads the load critical value after the computing load amount increases less than number, be that after number is increased, one of them unit resource amount of virtual machine reduces.
According to yet another embodiment of the invention, wherein read the load critical value when reading and writing charge capacity less than minimum, be that the number of virtual machine is reduced.Wherein when the read-write charge capacity reads the load critical value less than minimum and the number of virtual machine is reduced, judge that the step of the relation of computing load amount and maximum computing load critical value and minimum computing load critical value more comprises: the computing load amount that judges virtual machine whether less than the number reduction afterwards the minimum of virtual machine read the load critical value; And when the minimum of virtual machine reads the load critical value after the computing load amount reduces less than number, be that after number is reduced, one of them unit resource amount of virtual machine reduces.After whether the computing load amount that judges virtual machine reduces greater than number, the maximum of virtual machine reads the load critical value; And the maximum of virtual machine reads the load critical value after the computing load amount reduces greater than number, is one of them unit resource amount increase of virtual machine after number is reduced.
According to one embodiment of the invention, wherein reading and writing charge capacity is to comprise network access amount and disk access amount.The computing load amount is to comprise central processing unit operand and memory access amount.
Another aspect of the present invention is a kind of virtual resource adjusting gear to be provided, to be applied in virtual system, and wherein virtual system comprises at least one virtual machine, and the virtual resource adjusting gear comprises: acquisition module, judge module and adjusting module.Acquisition module is in order to the read-write charge capacity in the sum data charge capacity that captures virtual system and computing load amount.Judge module reads load critical value and the minimum relation that reads the load critical value in order to the maximum of judgement read-write charge capacity and virtual machine, and judgement computing load amount and the maximum computing load critical value of virtual machine and the relation of minimum computing load critical value.Adjusting module reads the load critical value and the minimum relation that reads the load critical value is adjusted the number of virtual machine and according to computing load amount and maximum computing load critical value and minimum computing load critical value, the unit resource amount of virtual machine is adjusted according to the read-write charge capacity with maximum.
Using advantage of the present invention is to be by the sum data charge capacity of virtual system being divided into charge capacity and the computing load amount of reading, to judge respectively ultimate load and the minimum load the relationship between quantities of itself and virtual machine, adjust with number and unit resource amount to virtual machine, and reach easily above-mentioned purpose.
Description of drawings
For above and other objects of the present invention, feature, advantage and embodiment can be become apparent, appended the description of the drawings is as follows:
Fig. 1 is in one embodiment of the invention, a kind of schematic diagram of virtual system;
Fig. 2 is in one embodiment of the invention, the calcspar of virtual resource adjusting gear;
Fig. 3 is in one embodiment of the invention, the process flow diagram of virtual resource method of adjustment;
Fig. 4 A and Fig. 4 B are in one embodiment of the invention, and the virtual resource method of adjustment is to read-write charge capacity more detailed process flow diagram when relevant critical value judges with it to the computing load amount;
Fig. 5 A and Fig. 5 B are in one embodiment of the invention, the process flow diagram that the virtual resource method of adjustment is adjusted virtual machine; And
Fig. 6 is in one embodiment of the invention, the schematic diagram of the adjustment trend that the virtual resource method of adjustment adopts.
[primary clustering symbol description]
1: virtual system 10: load balancer
12: virtual machine 14: the share service assembly
16: network interface 2: the virtual resource adjusting gear
20: acquisition module 21: the sum data charge capacity
22: judge module 23: critical value
24: adjusting module 300: the virtual resource method of adjustment
301-304: step 401-411: step
501-512: step
Embodiment
Please refer to Fig. 1.Fig. 1 is in one embodiment of the invention, a kind of schematic diagram of virtual system 1.Virtual system 1 can comprise load balancer 10, at least one virtual machine 12 and share service assembly 14 in the present embodiment.The share service assembly is as sharing storage space, shared data bank etc.
Virtual system 1 is the virtual environment that builds on entity arithmetic unit (not illustrating), can fictionalize one or more virtual machine 12 by Virtual Environment, can reach the effect of simultaneously hardware resource of entity arithmetic unit being carried out access.For instance, virtual system 1 can build in a personal computer, and fictionalizes by Virtual Environment several virtual machines 12 of respectively carrying out different operating system.Therefore, under the more and more progressive situation of modern computer hardware technology, virtual machine 12 can make hardware resource obtain maximum utilization rate.Can see through network interface 16 between load balancer 10 and virtual machine 12 and between virtual machine 12 and shared serviced component 14 and process the access requirement next by network.10 of load balancers be in order to will monitor and distribute the access charge capacity of virtual system 1, with machine in due course, virtual machine 12 be adjusted.In different embodiment, load balancer 10 can be a virtual machine or an entity machine.
Please be simultaneously with reference to Fig. 2.Fig. 2 is in one embodiment of the invention, the calcspar of virtual resource adjusting gear 2.Virtual resource adjusting gear 2 comprises: acquisition module 20, judge module 22 and adjusting module 24.In an embodiment, virtual resource adjusting gear 2 can be arranged in aforesaid load balancer 10, adjusts with number and unit resource amount to virtual machine 12.In other embodiment, virtual resource adjusting gear 2 also can only be arranged at the part assembly in load balancer 10 or be independent of the outer running of load balancer 10.
Please be simultaneously with reference to Fig. 3.Fig. 3 is in one embodiment of the invention, the process flow diagram of virtual resource method of adjustment 300.Virtual resource method of adjustment 300 can be applicable in as shown in Figure 2 virtual resource adjusting gear 2.Virtual resource method of adjustment 300 comprises the following step (should be appreciated that, mentioned step, except chatting especially bright its order person, all can adjust its front and back order according to actual needs in the present embodiment, even can carry out simultaneously simultaneously or partly).
In step 301, as shown in Figure 1, provide virtual machine 12 in virtual system 1.These virtual machines 12 will have that maximum reads the load critical value and minimum reads load critical value and maximum computing load critical value and minimum computing load critical value.
Then in step 302, the acquisition module 20 in Fig. 2 will capture read-write charge capacity and the computing load amount in the sum data charge capacity 21 of virtual system 1.Sum data charge capacity 21 is the handled data volume of virtual machine 12.Wherein, sum data charge capacity 21 can be divided into read-write type and arithmetic type by processing mode.Read-write type comprises network access amount and the disk access amount of data being read and write via the mode of disk, network etc.Arithmetic type comprises central processing unit operand and the memory access amount of the access of the computing of central processing unit or internal memory.
In general, the data of read-write type are processed the number be subject to virtual machine 12 and are limit.Therefore less virtual machine 12 can't accelerate the processing of read-write type data due to the number that is subject to FPDP.The data of the arithmetic type unit resource amount to virtual machine 12 are relevant, and when virtual machine 12 has than the central processing unit of multinuclear or larger internal memory, the speed of computing will be accelerated thereupon.
In an embodiment, judge module 22 can be obtained its relevant critical value 23 or be set and can get via the user by virtual machine 12.Therefore, in step 303, judge module 22 will judge that the read-write charge capacity reads load critical value and the minimum relation that reads the load critical value with maximum, and the relation of judgement computing load amount and maximum computing load critical value and minimum computing load critical value.Wherein, the maximum of virtual machine 12 reads the load critical value and the minimum load critical value that reads is the load upper limit and the lower limit that it processes the data of read-write type.If the read-write charge capacity reads the load critical value greater than maximum, represent to read and write this moment charge capacity and can load over 12 of virtual machines.And read the load critical value when reading and writing charge capacity less than minimum, and representing that read and write charge capacity this moment less, the resource of virtual machine 12 is superfluous.Similarly, if the computing load amount greater than maximum computing load critical value, represents that this moment, the computing load amount can be loaded over 12 of virtual machines.And work as the computing load amount less than minimum computing load critical value, and expression computing load amount this moment is less, and the resource of virtual machine 12 is superfluous.
In step 304, adjusting module 24 reads the load critical value according to read-write charge capacity and maximum and the minimum relation that reads the load critical value is adjusted the number of the virtual machine 12 of virtual system 1.And adjusting module 24 is adjusted the unit resource amount of the virtual machine 12 of virtual system according to the relation of computing load amount and maximum computing load critical value and minimum computing load critical value according to the computing load amount.
In an embodiment, adjusting module 24 can be read and write respectively the judgement of charge capacity and computing load amount relevant critical value with it and adjust.For instance, transfer the number that increases virtual machine 12 when adjusting module 24 judgement read-write charge capacity read the load critical value greater than maximum, and increase the unit resource amount of virtual machine 12 when judging the computing load amount greater than maximum computing load critical value.That is to say, when the read-write charge capacity reads the load critical value greater than maximum, the number of virtual machine 12 is increased, when virtual machine 12 may have multiple different unit resource amount, for example different CPU or memory size may be arranged, increasing the mode of virtual machine 12, can be that the virtual machine of selecting to have the least unit stock number in virtual machine 12 carries out the number increase.Yet in another embodiment, adjusting module 24 can comprehensively be read and write charge capacity and carry out more efficient adjustment to the comparative result of computing load amount relevant critical value with it.
Please refer to Fig. 4 A and Fig. 4 B.Fig. 4 A and Fig. 4 B are in one embodiment of the invention, and the virtual resource method of adjustment is to read-write charge capacity more detailed process flow diagram when relevant critical value judges with it to the computing load amount.
In step 401, judge module 22 first reads sum data charge capacity 21, and whether judgement read-write charge capacity reads the load critical value greater than maximum in step 402.When the read-write charge capacity reads the load critical value greater than maximum, judge module 22 will increase flag at step 403 pair number and set.Do not read the load critical value greater than maximum when reading and writing charge capacity, whether judge module 22 further reads the load critical value less than minimum in step 404 judgement read-write charge capacity.When the read-write charge capacity reads the load critical value less than minimum, judge module 22 will downgrade flag at step 405 pair number and set.And do not read the load critical value less than minimum when reading and writing charge capacity, judge module 22 will not set any flag, proceeds directly to step 406.And when aforesaid step 403 and step 405 are completed, also will carry out step 406, again to be written into sum data charge capacity 21.Judge as the aforementioned in flow process, judge module 22 has judged that the number of virtual machine 12 needs to adjust, and the virtual machine 12 after the sum data charge capacity 21 that again is written into namely can change number is taken into account, and proceeds to the A point, with the judgement flow process of hookup 4B.
The flow process of Fig. 4 B is by the beginning of A point, with the flow process of hookup 4A.In step 407, judge module 22 will judge that whether the computing load amount is greater than maximum computing load critical value.Judge as the aforementioned in flow process, judge module 22 has judged that the number of virtual machine 12 needs to adjust, and the maximum computing load critical value of this moment has been the value of 12 the maximum operands that can load of virtual machine after number changes.For instance, be two as original virtual machine 12 numbers, and judge module 22 judged in the flow process of Fig. 4 A that the read-write charge capacity surpasses that 12 of virtual machines can loads and needs to transfer and increased, in step 407 be that virtual machine 12 numbers are the maximum computing load amount of 3 o'clock in order to the maximum computing load critical value that judges.Therefore, the virtual resource method of adjustment can be avoided adjusting simultaneously the wasting of resources that number and unit resource amount cause on the contrary when read-write charge capacity and computing load amount all rise.
Judge module 22 judgement computing load amounts are greater than maximum computing load critical value in step 407, and judge module 22 will increase flag in step 408 pair stock number and set.Not greater than maximum computing load critical value, judge module 22 further judges that in step 409 whether the computing load amount is less than minimum computing load critical value when the computing load amount.Less than minimum computing load critical value, judge module 22 will downgrade flag in step 410 pair stock number and set when the computing load amount.And work as the computing load amount not less than minimum computing load critical value, judge module 22 will not set any flag, and proceeds directly to step 411.When aforesaid step 408 and step 410 are completed, also will carry out step 411, to produce judged result.
Please refer to Fig. 5 A and Fig. 5 B.Fig. 5 A and Fig. 5 B are in one embodiment of the invention, the process flow diagram that the virtual resource method of adjustment is adjusted virtual machine.In step 501, adjusting module 24 will read judged result.In step 502, whether adjusting module 24 will judge that number is transferred and increase flag or stock number and transfer and increase flag and be set.As be set, will judge in step 503 adjusting module 24 whether the resource of whole virtual system is enough.As deficiency, in step 504, adjusting module 24 will not carry out any adjustment.As enough, adjusting module 24 will judge in step 505 whether the virtual machine number is enough again.Needing when the virtual machine number deficiency increases, and adjusting module 24 will copy existing one of them virtual machine in step 506, producing a new virtual machine, and proceeds to the B point, with the flow process of hookup 5B.And as sufficient in step 505 judgement virtual machine number in adjusting module 24, proceed directly to the B point, with the flow process of hookup 5B.
Adjusting module 24 judgement numbers are transferred and are increased flag or stock number and transfer and increase flag and be not set in step 502, will judge in step 507 that number downgrades flag or stock number and downgrades flag and whether be set.As be not set, flow process is with execution in step 504, and adjusting module 24 does not carry out any adjustment.As be set, will judge in step 508 adjusting module 24 whether virtual machine 12 has reached minimal amount.As reaching minimal amount, flow process is with execution in step 504, and adjusting module 24 does not carry out any adjustment.As do not reach minimal amount, proceed to the B point, with the flow process of hookup 5B.
The flow process of Fig. 5 B is by the beginning of B point, with the flow process of hookup 5A.In step 509, adjusting module 24 will be adjusted according to flag the unit resource amount of virtual machine 12, and select entity apparatus in step 510, to be provided in the needed actual resource of virtual machine 12 newly-increased in step 511.Then in step 512, virtual machine 12 will upgrade its existing critical value parameter, so that the maximum that acquisition module 20 can obtain to upgrade reads the load critical value and minimum reads load critical value and maximum computing load critical value and minimum computing load critical value.
Therefore, virtual resource adjusting gear of the present invention and virtual resource method of adjustment except can be for different data types, be carried out outside the adjustment of the number of virtual machine and/or stock number, and also reference is the most effectively adjusted mutually, to avoid the waste of resource.
Please refer to Fig. 6.Fig. 6 is in one embodiment of the invention, the schematic diagram of the adjustment trend that the virtual resource method of adjustment adopts.In Fig. 6, the square that respectively is labeled with APP/OS (application program/operating system) is virtual machine 12 as shown in Figure 1.Have the large-area square of healing and mean that it has larger unit resource amount.
Therefore, as shown in Figure 6, the horizontal number that is adjusted into for virtual machine carries out, and carries out and be adjusted into longitudinally for the unit resource amount of virtual machine.In an embodiment, when virtual system 1 has plural virtual machine 12, and when the read-write charge capacity of virtual system 1 reads the load critical value greater than the maximum of virtual machine 12 integral body, the port that means read-write due to the read-write charge capacity is not enough, therefore number is transferred to increase to get final product, do not need the calculation resources amount is promoted too much.Therefore adjusting module 24 can preferentially make the number that has minimum unit resource amount person in virtual machine 12 increase.
In an embodiment, when virtual system 1 has plural virtual machine 12, and the computing load amount of virtual system 1 is during greater than the maximum computing load critical value of virtual machine 12 integral body, and adjusting module 24 can make the unit resource amount that has maximum unit resource amount person in virtual machine 12 increase again.Therefore, preferentially increase the unit resource amount of unit resource amount the greater, can guarantee that the resource that increases newly is enough to deal with required charge capacity.
In an embodiment, has the virtual machine 12 that has different unit resource amounts more than two when virtual system 1, and when the read-write charge capacity of virtual system 1 reads the load critical value less than the minimum of virtual machine 12 integral body, be the inadequate resource of avoiding causing when larger unit resource amount person closes having in virtual machine 12, so adjusting module 24 can make preferentially the number that has minimum unit resource amount person in virtual machine 12 reduce.
In an embodiment, has the virtual machine 12 that has different unit resource amounts more than two when virtual system 1, and the computing load amount of virtual system 1 is during less than the minimum computing load critical value of virtual machine 12 integral body, be the inadequate resource of avoiding causing when larger unit resource amount person closes having in virtual machine 12, adjusting module 24 can preferentially make the unit resource amount that has minimum unit resource amount person in virtual machine 12 reduce.
Therefore, virtual resource adjusting gear of the present invention and virtual resource method of adjustment except can be for different data types, be carried out outside the adjustment of the number of virtual machine and/or stock number, also can provide according to the characteristic of stock number different adjustment trend, to avoid the waste of resource.
In another embodiment, the virtual resource method of adjustment can be carried out implementation via virtual resource adjusting gear or general service processor/computing machine, and the unique apparatus that in the virtual resource adjusting gear, each module can be used particular logic circuit is come implementation.Person further, general service processor/computing machine can store respectively a computer program, and carries out the virtual resource method of adjustment after making general service processor/computing machine read this computer program.When computer program was written into and carries out by general service processor/computing machine, this general service processor/computing machine became in order to participate in device of the present invention.When the virtual resource method of adjustment during via general service processor/computing machine implementation, general service processor/computer unique apparatus of using particular logic circuit that is similar to is carried out the operation steps of the inventive method.
Although the present invention discloses as above with embodiment; so it is not to limit the present invention; anyly be familiar with this skill person; without departing from the spirit and scope of the present invention; when can be used for a variety of modifications and variations, so protection scope of the present invention is as the criterion when looking the scope that appending claims defines.

Claims (22)

1. a virtual resource method of adjustment, be applied to it is characterized in that in a virtual system, and this virtual resource method of adjustment comprises the following step:
At least one virtual machine is provided in this virtual system, and each this virtual machine has that a maximum reads the load critical value and a minimum reads load critical value and a maximum computing load critical value and a minimum computing load critical value;
Capture read-write charge capacity and the computing load amount in a sum data charge capacity of this virtual system;
Judge that this read-write charge capacity and this maximum read the load critical value and this minimum reads the relation of load critical value, and the relation that judges this computing load amount and this maximum computing load critical value and this minimum computing load critical value; And
Read according to this read-write charge capacity and this maximum the relation that load critical value and this minimum read the load critical value number of this at least one virtual machine of this virtual system is adjusted, and according to this computing load amount and this maximum computing load critical value and this minimum computing load critical value, the unit resource amount of this at least one virtual machine of this virtual system is adjusted.
2. virtual resource method of adjustment according to claim 1, is characterized in that, when this read-write charge capacity reads the load critical value greater than this maximum, is that the number of this at least one virtual machine is increased.
3. virtual resource method of adjustment according to claim 2, is characterized in that, makes the step of the number increase of this at least one virtual machine, is that the number that has minimum unit resource amount person in this at least one virtual machine is increased.
4. virtual resource method of adjustment according to claim 2, it is characterized in that, when reading the load critical value when this read-write charge capacity greater than this maximum and making the number increase of this at least one virtual machine, judge that the step of the relation of this computing load amount and this maximum computing load critical value and this minimum computing load critical value also comprises:
After whether this computing load amount that judges this virtual machine increases greater than number, this maximum of this virtual machine reads the load critical value;
This maximum of this virtual machine reads the load critical value after this computing load amount increases greater than number, is that after number is increased, one of them this unit resource amount of this virtual machine increases;
After whether this computing load amount that judges this virtual machine increases greater than number, this minimum of this virtual machine reads the load critical value; And
This minimum of this virtual machine reads the load critical value after this computing load amount increases less than number, is that after number is increased, one of them this unit resource amount of this virtual machine reduces.
5. virtual resource method of adjustment according to claim 4, it is characterized in that, number is increased after the step that increases of one of them this unit resource amount of this virtual machine be that this unit resource amount of this unit resource amount the maximum in this virtual machine after number is increased increases.
6. virtual resource method of adjustment according to claim 1, is characterized in that, when this read-write charge capacity reads the load critical value less than this minimum, is that the number of this at least one virtual machine is reduced.
7. virtual resource method of adjustment according to claim 6, is characterized in that, makes the step of the number reduction of this at least one virtual machine, is that the number that has minimum unit resource amount person in this at least one virtual machine is reduced.
8. virtual resource method of adjustment according to claim 6, it is characterized in that, when reading the load critical value when this read-write charge capacity less than this minimum and making the number reduction of this at least one virtual machine, judge that the step of the relation of this computing load amount and this maximum computing load critical value and this minimum computing load critical value also comprises:
After whether this computing load amount that judges this virtual machine reduces less than number, this minimum of this virtual machine reads the load critical value;
When this minimum of this virtual machine reads the load critical value after this computing load amount reduces less than number, be that after number is reduced, one of them this unit resource amount of this virtual machine reduces;
After whether this computing load amount that judges this virtual machine reduces greater than number, this maximum of this virtual machine reads the load critical value; And
When this maximum of this virtual machine reads the load critical value after this computing load amount reduces greater than number, be that after number is reduced, one of them this unit resource amount of this virtual machine increases.
9. virtual resource method of adjustment according to claim 8, it is characterized in that, this number is reduced after the step that reduces of one of them this unit resource amount of virtual machine also comprise this number is reduced after this unit resource amount of this unit resource amount reckling in virtual machine reduce.
10. virtual resource method of adjustment according to claim 1, is characterized in that, this read-write charge capacity is to comprise a network access amount and a disk access amount.
11. virtual resource method of adjustment according to claim 1 is characterized in that, this computing load amount is to comprise a central processing unit operand and a memory access amount.
12. a virtual resource adjusting gear is applied to it is characterized in that in a virtual system that this virtual system comprises at least one virtual machine, this virtual resource adjusting gear comprises:
One acquisition module is in order to the read-write charge capacity of one in a sum data charge capacity that captures this virtual system and a computing load amount;
One judge module, read the load critical value and a minimum reads the relation of load critical value in order to a maximum that judges this read-write charge capacity and this virtual machine, and judge this computing load amount and a maximum computing load critical value of this at least one virtual machine and the relation of a minimum computing load critical value; And
One adjusting module, read according to this read-write charge capacity and this maximum the relation that load critical value and this minimum read the load critical value number of this virtual machine of this virtual system is adjusted, and according to this computing load amount and this maximum computing load critical value and this minimum computing load critical value, the unit resource amount of this at least one virtual machine of this virtual system is adjusted.
13. virtual resource adjusting gear according to claim 12 is characterized in that, when this read-write charge capacity read the load critical value greater than this maximum, this adjusting module was that the number of this at least one virtual machine is increased.
14. virtual resource adjusting gear according to claim 13 is characterized in that, this adjusting module increases the number of this at least one virtual machine, is that the number that has minimum unit resource amount person in this virtual machine is increased.
15. virtual resource adjusting gear according to claim 13, it is characterized in that, this judge module is more after the number of this at least one virtual machine increases, judge this computing load amount whether increase greater than number after this maximum of this virtual machine read the load critical value, this adjusting module is when more this maximum of this virtual machine reads the load critical value after this computing load amount increases greater than number, and one of them this unit resource amount of this virtual machine is increased; And this judge module also judge this computing load amount of this virtual machine whether reduce greater than number after this maximum of this virtual machine read the load critical value, this adjusting module is when more this maximum of this virtual machine reads the load critical value after this computing load amount reduces greater than number, is that after number is reduced, one of them this unit resource amount of this virtual machine increases.
16. virtual resource adjusting gear according to claim 15 is characterized in that, this adjusting module is that this unit resource amount of this unit resource amount the maximum in this virtual machine after number is increased increases.
17. virtual resource adjusting gear according to claim 12 is characterized in that, when this read-write charge capacity read the load critical value less than this minimum, this adjusting module reduced the number of this at least one virtual machine.
18. virtual resource adjusting gear according to claim 17 is characterized in that, this adjusting module is that the number that has minimum unit resource amount person in this at least one virtual machine is reduced.
19. virtual resource adjusting gear according to claim 17, it is characterized in that, this judge module is more after the number of this virtual machine reduces, judge this computing load amount whether reduce less than number after this minimum of this virtual machine read the load critical value, when this minimum of this adjusting module this virtual machine after this computing load amount reduces less than number reads the load critical value, one of them this unit resource amount of this virtual machine is reduced; And this judge module also judge this computing load amount of this virtual machine whether reduce greater than number after this maximum of this virtual machine read the load critical value, this adjusting module is when more this maximum of this virtual machine reads the load critical value after this computing load amount reduces greater than number, is that after number is reduced, one of them this unit resource amount of this virtual machine increases.
20. virtual resource adjusting gear according to claim 19 is characterized in that, this adjusting module is that this unit resource amount of this unit resource amount reckling in this virtual machine after number is reduced reduces.
21. virtual resource adjusting gear according to claim 12 is characterized in that, this read-write charge capacity is to comprise a network access amount and a disk access amount.
22. virtual resource adjusting gear according to claim 12 is characterized in that, this computing load amount is to comprise a central processing unit operand and a memory access amount.
CN2011103716876A 2011-11-10 2011-11-10 Virtual resource adjusting device and virtual resource adjusting device method Pending CN103106115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103716876A CN103106115A (en) 2011-11-10 2011-11-10 Virtual resource adjusting device and virtual resource adjusting device method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103716876A CN103106115A (en) 2011-11-10 2011-11-10 Virtual resource adjusting device and virtual resource adjusting device method

Publications (1)

Publication Number Publication Date
CN103106115A true CN103106115A (en) 2013-05-15

Family

ID=48313997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103716876A Pending CN103106115A (en) 2011-11-10 2011-11-10 Virtual resource adjusting device and virtual resource adjusting device method

Country Status (1)

Country Link
CN (1) CN103106115A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829520A (en) * 2017-06-20 2018-11-16 成都虫洞奇迹科技有限公司 Server resource distribution method and device under a kind of cloud environment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070204266A1 (en) * 2006-02-28 2007-08-30 International Business Machines Corporation Systems and methods for dynamically managing virtual machines
US20090049443A1 (en) * 2004-10-06 2009-02-19 Digipede Technologies, Llc Multicore Distributed Processing System
US20090183168A1 (en) * 2008-01-16 2009-07-16 Satoshi Uchida Resource allocation system, resource allocation method and program
CN101488098A (en) * 2009-02-13 2009-07-22 华中科技大学 Multi-core computing resource management system based on virtual computing technology
CN101504620A (en) * 2009-03-03 2009-08-12 华为技术有限公司 Load balancing method, apparatus and system of virtual cluster system
US20090265707A1 (en) * 2008-04-21 2009-10-22 Microsoft Corporation Optimizing application performance on virtual machines automatically with end-user preferences
US20110258621A1 (en) * 2010-04-14 2011-10-20 International Business Machines Corporation Autonomic Scaling Of Virtual Machines In A Cloud Computing Environment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090049443A1 (en) * 2004-10-06 2009-02-19 Digipede Technologies, Llc Multicore Distributed Processing System
US20070204266A1 (en) * 2006-02-28 2007-08-30 International Business Machines Corporation Systems and methods for dynamically managing virtual machines
US20090183168A1 (en) * 2008-01-16 2009-07-16 Satoshi Uchida Resource allocation system, resource allocation method and program
US20090265707A1 (en) * 2008-04-21 2009-10-22 Microsoft Corporation Optimizing application performance on virtual machines automatically with end-user preferences
CN101488098A (en) * 2009-02-13 2009-07-22 华中科技大学 Multi-core computing resource management system based on virtual computing technology
CN101504620A (en) * 2009-03-03 2009-08-12 华为技术有限公司 Load balancing method, apparatus and system of virtual cluster system
US20110258621A1 (en) * 2010-04-14 2011-10-20 International Business Machines Corporation Autonomic Scaling Of Virtual Machines In A Cloud Computing Environment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829520A (en) * 2017-06-20 2018-11-16 成都虫洞奇迹科技有限公司 Server resource distribution method and device under a kind of cloud environment

Similar Documents

Publication Publication Date Title
CN102707966B (en) Method and device for acceleratively starting operating system, and method, device and terminal for generating prefetched information
TWI533146B (en) Virtual resource adjusting method, device and computer readable storage medium for storing thereof
CN102087619A (en) Method and apparatus to improve turbo performance for events handling
US8176076B2 (en) Method and system for controlling accesses to a database
CN105955827A (en) Method and device for allocating computational resource of processor
CN106528065B (en) A kind of thread acquisition methods and equipment
CN103699437A (en) Resource scheduling method and device
JP5796722B2 (en) Computer server capable of supporting CPU virtualization
CN109542600B (en) Distributed task scheduling system and method
CN110399217A (en) A kind of memory source distribution method, device and equipment
CN106610870A (en) Method and device for adjusting quantity of processing nodes
US9104490B2 (en) Methods, systems and apparatuses for processor selection in multi-processor systems
CN101341471B (en) Apparatus and method for dynamic cache management
CN103106115A (en) Virtual resource adjusting device and virtual resource adjusting device method
CN110442423B (en) Method and equipment for realizing CPU reservation of virtual machine by using control group
CN101739246A (en) Smart card and application data processing method
KR101396781B1 (en) The device which manages a application program and managing method for the same
CN114067917A (en) GATK super computer system based on tuning parameters
CN104793985A (en) Virtual machine scheduling method and management equipment
CN108196942B (en) Quick starting method of memory over-allocation virtual machine
CN112395058A (en) Task regulation and control device, method and system
CN106844605A (en) Batch data logical process method and device
CN106326001A (en) Information processing method and electronic device
CN109144231B (en) Virtualized power management method and device
CN101943929A (en) External frequency adjusting method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130515