CN110442423A - A kind of method and apparatus for realizing that virtual machine reserves CPU using control group - Google Patents
A kind of method and apparatus for realizing that virtual machine reserves CPU using control group Download PDFInfo
- Publication number
- CN110442423A CN110442423A CN201910615543.7A CN201910615543A CN110442423A CN 110442423 A CN110442423 A CN 110442423A CN 201910615543 A CN201910615543 A CN 201910615543A CN 110442423 A CN110442423 A CN 110442423A
- Authority
- CN
- China
- Prior art keywords
- cpu
- vcpu
- occupancy
- reserved
- virtual machine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- 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
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)
- Advance Control (AREA)
Abstract
The present invention provides a kind of methods for realizing the reserved CPU of virtual machine using control group, method includes the following steps: obtaining host CPU nucleus number and virtual machine vCPU nucleus number;Host CPU is divided into reserved CPU and unreserved CPU, virtual machine vCPU is divided into reserved vCPU and unreserved vCPU;The highest CPU percentage that unreserved vCPU can be occupied is calculated based on reserved vCPU nucleus number, vCPU nucleus number and unreserved CPU core number;Limits value is calculated based on highest CPU percentage;Obtain the total occupancy of each vCPU occupancy and occupancy more than the host processes of preset value;It is greater than first threshold in response to total occupancy, unreserved vCPU and host processes is limited to highest CPU percentage;It is greater than second threshold in response to vCPU occupancy, then unreserved vCPU is limited to limits value.By using the virtual machine CPU reservation method of the invention, it is possible to realize MHz rank, it is ensured that all virtual machines and host processes will not occupy reserved cpu resource, reach the reserved maximum efficiency of virtual machine.
Description
Technical field
This field is related to computer field, and relates more specifically to a kind of reserved CPU of utilization control group realization virtual machine
Method and apparatus.
Background technique
Virtual machine reserves the important resource management function that CPU is virtual platform, and virtual machine use can be arranged
The lower limit of cpu resource, so that important virtual machine still can be fully using pre- in the case where host CPU resources are extreme nervous
The cpu resource stayed guarantees that every key business can stablize normal operation, but due in KVM native interface and class being not present
Like Xen virtual machine reserve CPU excuse, therefore can only in the way of some other (such as taskset) Lai Shixian physics stratum nucleare
Face is reserved, rather than MHz rank is reserved, and wants to realize that this function can only then be done by cgroup (control group);By
In cgroup itself, there is no the functional interfaces of the reserved CPU of directly offer, therefore can only be limited by setting CPU, control non-pre-
The resource utilization of cpu process is stayed, in a disguised form achievees the purpose that virtual machine CPU reservation;But at this stage in such a way that CPU is limited
Realize that virtual machine reserves cpu process, be nothing but according to current hosts cpu resource pressure state, it is all unreserved virtual to limit
The cpu resource of machine uses, and does not account for limiting the virtual machine of reserved CPU, still can occur in some cases
The case where cpu resource of reserved virtual machine is tied up.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is to propose a kind of control group to be utilized to realize that virtual machine reserves CPU's
Method can be realized the virtual machine CPU reservation of MHz rank by using this method, it is ensured that all virtual machines and host into
Cheng Buhui occupies reserved cpu resource, reaches the reserved maximum efficiency of virtual machine.
Based on above-mentioned purpose, the one aspect of the embodiment of the present invention provides a kind of pre- using control group realization virtual machine
The method for staying CPU, comprising the following steps:
Obtain host CPU nucleus number and virtual machine vCPU nucleus number;
Host CPU is divided into reserved CPU and unreserved CPU, virtual machine vCPU is divided into reserved vCPU and unreserved
vCPU;
Calculating unreserved vCPU based on reserved vCPU nucleus number, vCPU nucleus number and unreserved CPU core number can occupy most
High CPU percentage;
Limits value is calculated based on highest CPU percentage;
Obtain the total occupancy of each vCPU occupancy and occupancy more than the host processes of preset value;
It is greater than first threshold in response to total occupancy, unreserved vCPU and host processes is limited to highest CPU percentage;
It is greater than second threshold in response to vCPU occupancy, then unreserved vCPU is limited to limits value.
According to one embodiment of present invention, it is more than 50% that occupancy, which includes: occupancy more than the host processes of preset value,
Host processes.
According to one embodiment of present invention, the highest CPU percentage that calculating unreserved vCPU can occupy includes: to be based on
Formula
It calculates, wherein vmReserve is the Mhz size of the reserved CPU of virtual machine, and hostcpuFreq is the frequency of host CPU
Rate, hostcpus are host CPU core number;vmi(Rescpus) it is the reserved CPU number of i-th of virtual machine and is floating number, vmi
It (vcpus) is all virtual nucleus numbers of virtual machine.
According to one embodiment of present invention, calculating limits value includes: based on formula
It calculates.
According to one embodiment of present invention, it obtains each vCPU occupancy and occupancy is more than the host processes of preset value
Total occupancy: using TOP order inquiry.
According to one embodiment of present invention, the unreserved vCPU and host processes are limited to highest CPU percentage
It is limited including the use of control group.
According to one embodiment of present invention, it obtains each vCPU occupancy and occupancy is more than the host processes of preset value
Total occupancy: inquired using the psutil module in python.
According to one embodiment of present invention, first threshold is the difference of unreserved CPU and each reserved vCPU nucleus number summation
The percentage of value.
According to one embodiment of present invention, second threshold is reserved vCPU nucleus number * 100%.
The other side of embodiment according to the present invention provides a kind of computer equipment, comprising:
At least one processor;And
Memory, the memory are stored with the computer program that can be run on the processor, and described program is by institute
Implement method as described above when stating processor operation.
The present invention has following advantageous effects: provided in an embodiment of the present invention to realize that virtual machine is reserved using control group
The method of CPU, by obtaining host CPU nucleus number and virtual machine vCPU nucleus number;Host CPU is divided into reserved CPU and unreserved
Virtual machine vCPU is divided into reserved vCPU and unreserved vCPU by CPU;Based on reserved vCPU nucleus number, vCPU nucleus number and non-pre-
CPU core number is stayed to calculate the highest CPU percentage that unreserved vCPU can be occupied;Limits value is calculated based on highest CPU percentage;It obtains
Take each vCPU occupancy and occupancy more than total occupancy of the host processes of preset value;It is greater than first in response to total occupancy
Unreserved vCPU and host processes are limited to highest CPU percentage by threshold value;It is greater than second threshold in response to vCPU occupancy,
Unreserved vCPU is then limited to the technical solution of limits value, can be realized the virtual machine CPU reservation of MHz rank, it is ensured that is all
Virtual machine and host processes will not occupy reserved cpu resource, reach the reserved maximum efficiency of virtual machine.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other embodiments are obtained according to these attached drawings.
Fig. 1 is to realize that virtual machine reserves the schematic of the method for CPU using control group according to one embodiment of the invention
Flow chart.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference
The embodiment of the present invention is further described in attached drawing.
Based on above-mentioned purpose, the first aspect of the embodiment of the present invention is proposed a kind of virtual using the realization of control group
Machine reserves one embodiment of the method for CPU.Shown in fig. 1 is the schematic flow chart of this method.
As shown in fig. 1, this method may comprise steps of:
S1 obtains host CPU nucleus number and virtual machine vCPU nucleus number;
Host CPU is divided into reserved CPU and unreserved CPU by S2, and virtual machine vCPU is divided into reserved vCPU and non-pre-
Stay vCPU;
S3 calculates what unreserved vCPU can be occupied based on reserved vCPU nucleus number, vCPU nucleus number and unreserved CPU core number
Highest CPU percentage;
S4 is based on highest CPU percentage and calculates limits value;
S5 obtains the total occupancy of each vCPU occupancy and occupancy more than the host processes of preset value;
S6 is greater than first threshold in response to total occupancy, and unreserved vCPU and host processes are limited to highest CPU percentage
Than;
S7 is greater than second threshold in response to vCPU occupancy, then unreserved vCPU is limited to limits value.
The limitation that the present invention reserves cpu resource for KVM virtualization is proposed and is limited using the CPU in cgroup
It makes to realize the reserved of CPU resources of virtual machine, it is each in host to ensure to mark part Logic Core (3~5) in host first
A important process normal use cpu resource and can not be influenced by reserved function, these important processes have and only these CPU
It can occupy and other all processes will not all occupy these physical cores (being physically isolated in grub using isolcpu);Its
It is secondary, all unreserved virtual cores and their workable host CPU resources amounts are calculated, and show that each unreserved virtual core can
The maximum amount of CPU resource used;Third counts in two times and grabs in host the institute in addition to important process and virtual machine process
There is the cpu resource utilization rate of process, cpu resource occupancy in statistics twice is all higher than to 50% process (such as host CPU pressurization
Script) it is included into the process of being restricted;4th, the virtual machine of all reserved cpu resources is traversed, these virtual machines and unreserved are calculated
CPU virtual machine and the CPU usage summation for being restricted process see whether occupy the reserved cpu resource of other virtual machines;Most
The limitation that cpu resource uses is carried out to each virtual machine and host processes further according to above situation afterwards, and then realizes that CPU is pre-
The effect stayed.
By above technical scheme, can be realized the virtual machine CPU reservation of MHz rank, it is ensured that all virtual machine and
Host processes will not occupy reserved cpu resource, reach the reserved maximum efficiency of virtual machine.
In a preferred embodiment of the invention, it includes: that occupancy is more than that occupancy, which is more than the host processes of preset value,
50% host processes.
In a preferred embodiment of the invention, it obtains each vCPU occupancy and occupancy is more than the host of preset value
Total occupancy of process: it is inquired using TOP order.Obtain all virtual machines of host and the occupied CPU percentage of remaining process
Than (except key service), the occupied CPU percentage of all processes is inquired, the CPU usage of all virtual machine processes is converged
Always into a dictionary, then will be inquired in remaining process CPU usage higher than 50% process take out, inquire again these into
The CPU usage of journey, if still be higher than 50%, by addition virtual machine process utilization rate dictionary in.
In a preferred embodiment of the invention, the highest CPU percentage that calculating unreserved vCPU can occupy includes:
Based on formula
It calculates, wherein vmReserve is the Mhz size of the reserved CPU of virtual machine, and hostcpuFreq is the frequency of host CPU
Rate, hostcpus are host CPU core number;vmi(Rescpus) it is the reserved CPU number of i-th of virtual machine and is floating number, vmi
It (vcpus) is all virtual nucleus numbers of virtual machine.If the resources occupation rate and unreserved process of current reservations CPU virtual machine are total
It is all pre- then to judge whether the total occupancy of unreserved process has squeezed without squeezing remaining reserved cpu resource for the sum of occupancy
The cpu resource stayed is limited the vCPU of all unreserved virtual machines and host processes by cgroup if having squeezed.
In a preferred embodiment of the invention, calculating limits value includes: based on formula
It calculates.The nucleus number whether unreserved vCPU resource utilization summation has tied up CPU reservation is calculated, it will be in above-mentioned dictionary
The cpu busy percentage that all unreserved virtual machines and host processes occupy is added to obtain the total occupancy of unreserved process, and starts
Traverse the virtual machine of all reserved CPU:
If the sum of the resources occupation rate of current reservations CPU virtual machine and the total occupancy of unreserved process have squeezed remaining pre-
Cpu resource is stayed, then is limited the vCPU of all unreserved virtual machines and host processes by cgroup, limits value is
limitstd;Whether the virtual machine utilization rate for continuing to judge current reservations CPU has been more than reserved amount of CPU resource, if being more than
Cgroup limitation, limits value Revmlinit are carried out to each vCPU thread of the virtual machine of current reservations CPU.
In a preferred embodiment of the invention, limitation is limited including the use of control group.
In a preferred embodiment of the invention, it obtains each vCPU occupancy and occupancy is more than the host of preset value
Total occupancy of process: it is inquired using the psutil module in python.
In a preferred embodiment of the invention, further includes: above-mentioned steps are executed to each vCPU.
In a preferred embodiment of the invention, first threshold is unreserved CPU and each reserved vCPU nucleus number summation
Difference percentage.
In a preferred embodiment of the invention, second threshold is reserved vCPU nucleus number * 100%.
It should be noted that those of ordinary skill in the art will appreciate that realizing the whole in above-described embodiment method or portion
Split flow can instruct related hardware to complete by computer program, and above-mentioned program can be stored in computer-readable
In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium can
For magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..It is identical to can achieve corresponding aforementioned any means embodiment for the embodiment of above-mentioned computer program
Or similar effect.
In addition, disclosed method is also implemented as the computer program executed by CPU according to embodiments of the present invention, it should
Computer program may be stored in a computer readable storage medium.When the computer program is executed by CPU, the present invention is executed
The above-mentioned function of being limited in method disclosed in embodiment.
Embodiment
Here is to realize that virtual machine reserves one embodiment of the method for CPU using control group:
Host H has 24 Logic Cores, reserves CPU0, unreserved CPU24, cpu frequency 3200Mhz, totally 9 it is virtual
It is as shown in the table to reserve vCPU and total vCPU for machine:
Virtual machine | VM1 | VM2 | VM3 | VM4 | VM5-9 |
Reserved nucleus number | 3.2 | 2.8 | 1.7 | 2.3 | 0 |
Total nucleus number | 12 | 12 | 12 | 10 | 4 |
VM1~VM4 has reserved 10240MHz, 8960MHz, 5440MHz, 7360MHz respectively.
Limitstd can be calculated according to formula:
The cpu resource occupancy and occupancy that obtain VM1~VM9 are more than 50% host processes threads, it is assumed that
Occupancy is as shown in the table:
The reserved virtual machine VM1~VM4 of traversal:
VM1:
VM5~VM9+threads+VM1=1600%+100%=1700%
1700% < (24-2.8-1.7-2.3) * 100%=1720%
Any operation is not executed, continues to judge:
VM5~VM9+threads=1600% > (24-3.2-2.8-1.7-2.3) * 100%=1400%
The CPU limit of all vCPU threads of VM5~VM9 and host processes is limited to limitstd=0.25,
And flag is set as True, begin stepping through next virtual machine.
VM2:
VM5~VM9+threads+VM2=1600%+300%=1900%
1900% > (24-3.2-1.7-2.3) * 100%=1680%
The CPU limit of all vCPU threads of VM5~VM9 and host processes threads is limited to limitstd
=0.25 (skipping setting if flag is True).
Continue to judge:
VM2=300% > 2.8*100%=280%
It calculates Revmlimit and limits each vCPU of VM2.
VM3:
VM5~VM9+threads+VM3=1600%+50%=1650%
1650% > (24-3.2-2.8-2.3) * 100%=1570%
The CPU limit of all vCPU threads of VM5~VM9 and host processes threads is limited to limitstd
=0.25.
Continue to judge:
VM3=50% > 1.7*100%=170%
Any operation is not executed, continues to traverse next virtual machine.
VM4:
VM5~VM9+threads+VM4=1600%+20%=1620%
1620% < (24-3.2-2.8-1.7) * 100%=1630%
Any operation is not executed, continues to judge:
VM5~VM9+threads=1600% > (24-3.2-2.8-1.7-2.3) * 100%=1400%
The CPU limit of all vCPU threads of VM5~VM9 and host processes threads is limited to limitstd
=0.25 (skipping setting if flag is True).
Traversal is completed, and CPU reservation comes into effect.
By the limitation of cgroup, directly virtual machine and host processes can be limited, and can achieve MHz
The reserved effect of rank.
Achieve the effect that reserved since scheme is still through CPU limitation, is sentenced by logic every in third step
It is disconnected to reduce reserved brought negative effect.
Based on the same inventive concept, according to another aspect of the present invention, a kind of computer equipment or system are additionally provided,
It include: at least one processor and memory, memory is stored with the computer program that can be run on a processor, processor
The step of any method that the reserved CPU of virtual machine is realized using control group as above is executed when executing program.
It is important to note that the embodiment of above system uses the embodiment of the above method to illustrate each mould
The course of work of block, those skilled in the art can be it is readily conceivable that other by these module applications to the above method be implemented
In example.
In addition, above method step and system unit or module also can use controller and for storing so that controlling
Device processed realizes that the computer readable storage medium of above-mentioned steps or unit or the computer program of functions of modules is realized.
Those skilled in the art will also understand is that, various illustrative logical blocks, mould in conjunction with described in disclosure herein
Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.It is hard in order to clearly demonstrate
This interchangeability of part and software, with regard to various exemplary components, square, module, circuit and step function to its into
General description is gone.This function is implemented as software and is also implemented as hardware depending on concrete application and application
To the design constraint of whole system.The function that those skilled in the art can realize in various ways for every kind of concrete application
Can, but this realization decision should not be interpreted as causing a departure from range disclosed by the embodiments of the present invention.
Above-described embodiment, especially any " preferably " embodiment are the possibility examples realized, and only for clear geography
It solves the principle of the present invention and proposes.It can be in the case where not departing from the spirit and principle of techniques described herein to above-mentioned reality
It applies example and carries out many change and modification.All modifications are intended to be included in the scope of the present disclosure and are protected by appended claims
Shield.
Claims (10)
1. a kind of method for realizing that virtual machine reserves CPU using control group, which comprises the following steps:
Obtain host CPU nucleus number and virtual machine vCPU nucleus number;
The host CPU is divided into reserved CPU and unreserved CPU, the virtual machine vCPU is divided into reserved vCPU and non-
Reserved vCPU;
The unreserved vCPU is calculated based on the reserved vCPU nucleus number, the vCPU nucleus number and the unreserved CPU core number
The highest CPU percentage that can be occupied;
Limits value is calculated based on the highest CPU percentage;
Obtain the total occupancy of each vCPU occupancy and occupancy more than the host processes of preset value;
Be greater than first threshold in response to total occupancy, by the unreserved vCPU and the host processes be limited to it is described most
High CPU percentage;
It is greater than second threshold in response to the vCPU occupancy, then the unreserved vCPU is limited to the limits value.
2. the method according to claim 1, wherein the host processes that occupancy is more than preset value include: to occupy
Rate is more than 50% host processes.
3. the method according to claim 1, wherein calculating the highest CPU that the unreserved vCPU can be occupied
Percentage includes: based on formula
It calculates, wherein vmReserve is the Mhz size of the reserved CPU of virtual machine, and hostcpuFreq is the frequency of host CPU
Rate, hostcpus are host CPU core number;vmi(Rescpus) it is the reserved CPU number of i-th of virtual machine and is floating number, vmi
It (vcpus) is all virtual nucleus numbers of virtual machine.
4. according to the method described in claim 3, it is characterized in that, calculating limits value includes: based on formula
It calculates.
5. the method according to claim 1, wherein obtaining each vCPU occupancy and occupancy more than preset value
Host processes total occupancy: using TOP order inquiry.
6. the method according to claim 1, wherein described limit the unreserved vCPU and the host processes
Being made as the highest CPU percentage includes: to be limited using control group.
7. the method according to claim 1, wherein obtaining each vCPU occupancy and occupancy more than preset value
Total occupancies of host processes include: to be inquired using the psutil module in python.
8. the method according to claim 1, wherein the first threshold is the unreserved CPU and each institute
State the percentage of the difference of reserved vCPU nucleus number summation.
9. the method according to claim 1, wherein the second threshold is the reserved vCPU nucleus number *
100%.
10. a kind of computer equipment, comprising:
At least one processor;And
Memory, the memory are stored with the computer program that can be run on the processor, and described program is by the place
Implement method as described in any one of claims 1-9 when reason device operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910615543.7A CN110442423B (en) | 2019-07-09 | 2019-07-09 | Method and equipment for realizing CPU reservation of virtual machine by using control group |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910615543.7A CN110442423B (en) | 2019-07-09 | 2019-07-09 | Method and equipment for realizing CPU reservation of virtual machine by using control group |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110442423A true CN110442423A (en) | 2019-11-12 |
CN110442423B CN110442423B (en) | 2022-04-26 |
Family
ID=68429978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910615543.7A Active CN110442423B (en) | 2019-07-09 | 2019-07-09 | Method and equipment for realizing CPU reservation of virtual machine by using control group |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110442423B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124687A (en) * | 2019-12-30 | 2020-05-08 | 浪潮电子信息产业股份有限公司 | CPU resource reservation method, device and related equipment |
CN111338802A (en) * | 2020-02-29 | 2020-06-26 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for optimizing performance of big data cluster |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102317917A (en) * | 2011-06-30 | 2012-01-11 | 华为技术有限公司 | Hot field virtual machine cpu dispatching method and virtual machine system (vms) |
CN106371894A (en) * | 2016-08-31 | 2017-02-01 | 华为技术有限公司 | Collocation method, collocation device and data processing server |
CN106775925A (en) * | 2016-11-11 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of limit treating method and apparatus of virtual machine CPU |
CN107273188A (en) * | 2017-07-19 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of virtual machine central processing unit CPU binding method and device |
CN107748706A (en) * | 2017-10-27 | 2018-03-02 | 郑州云海信息技术有限公司 | A kind of binding method and device |
US20180101486A1 (en) * | 2016-10-06 | 2018-04-12 | Vmware, Inc. | Automatic System Service Resource Management for Virtualizing Low-Latency Workloads that are Input/Output Intensive |
CN109491788A (en) * | 2018-11-01 | 2019-03-19 | 郑州云海信息技术有限公司 | A kind of virtual platform implementation of load balancing and device |
-
2019
- 2019-07-09 CN CN201910615543.7A patent/CN110442423B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102317917A (en) * | 2011-06-30 | 2012-01-11 | 华为技术有限公司 | Hot field virtual machine cpu dispatching method and virtual machine system (vms) |
CN106371894A (en) * | 2016-08-31 | 2017-02-01 | 华为技术有限公司 | Collocation method, collocation device and data processing server |
US20180101486A1 (en) * | 2016-10-06 | 2018-04-12 | Vmware, Inc. | Automatic System Service Resource Management for Virtualizing Low-Latency Workloads that are Input/Output Intensive |
CN106775925A (en) * | 2016-11-11 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of limit treating method and apparatus of virtual machine CPU |
CN107273188A (en) * | 2017-07-19 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of virtual machine central processing unit CPU binding method and device |
CN107748706A (en) * | 2017-10-27 | 2018-03-02 | 郑州云海信息技术有限公司 | A kind of binding method and device |
CN109491788A (en) * | 2018-11-01 | 2019-03-19 | 郑州云海信息技术有限公司 | A kind of virtual platform implementation of load balancing and device |
Non-Patent Citations (2)
Title |
---|
ANA-MARIA OPRESCU; THILO KIELMANN: "Bag-of-Tasks Scheduling under Budget Constraints", 《IEEE XPLORE》 * |
范桂林: "高性能云中的GPU虚拟化方法的研究与实现", 《万方平台》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124687A (en) * | 2019-12-30 | 2020-05-08 | 浪潮电子信息产业股份有限公司 | CPU resource reservation method, device and related equipment |
WO2021135263A1 (en) * | 2019-12-30 | 2021-07-08 | 浪潮电子信息产业股份有限公司 | Cpu resource reservation method and apparatus, and related device |
CN111124687B (en) * | 2019-12-30 | 2022-04-22 | 浪潮电子信息产业股份有限公司 | CPU resource reservation method, device and related equipment |
US11656901B2 (en) | 2019-12-30 | 2023-05-23 | Inspur Electronic Information Industry Co., Ltd. | CPU resource reservation method and apparatus, and related device thereof |
CN111338802A (en) * | 2020-02-29 | 2020-06-26 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for optimizing performance of big data cluster |
CN111338802B (en) * | 2020-02-29 | 2022-08-09 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for optimizing performance of big data cluster |
Also Published As
Publication number | Publication date |
---|---|
CN110442423B (en) | 2022-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103838633B (en) | Adjust the method and system of virtual machine memory | |
US9479449B2 (en) | Workload partitioning among heterogeneous processing nodes | |
CN103180830A (en) | Cpu resource distribution method and calculating node | |
CN101196834B (en) | Method for implementing quality priority of service implementation for platform resources, its device and system | |
CN109417488A (en) | The method and apparatus of virtual network function resource management | |
US20200012508A1 (en) | Performance Manager and Method Performed Thereby for Managing the Performance of a Logical Server of a Data Center | |
CN104011685A (en) | Resource management method of virtual machine system, virtual machine system, and apparatus | |
EP3074866A1 (en) | Apparatus and method for scheduling graphics processing unit workloads from virtual machines | |
CN110442423A (en) | A kind of method and apparatus for realizing that virtual machine reserves CPU using control group | |
CN111078363A (en) | NUMA node scheduling method, device, equipment and medium for virtual machine | |
US9354826B2 (en) | Capacity expansion method and device | |
CN105573830B (en) | A kind of virtual machine migration method | |
CN102891896A (en) | Cloud computing infrastructure system for mass storage of Internet of things | |
CN103984602A (en) | VM (virtual machine) resource scheduling method, device and system | |
CN104461735A (en) | Method and device for distributing CPU resources in virtual scene | |
CN108021449A (en) | One kind association journey implementation method, terminal device and storage medium | |
CN103365784B (en) | The method of Memory recycle and distribution and device | |
CN112527509B (en) | Resource allocation method and device, electronic equipment and storage medium | |
CN103874987B (en) | Embedded multi-media card partitioned storage space allocation method and terminal | |
CN111104219A (en) | Binding method, device, equipment and storage medium of virtual core and physical core | |
CN110633130A (en) | Virtual memory management method and device based on memory hot plug technology | |
TWI616759B (en) | Apparatus assigning controller and apparatus assigning method | |
CN108279967A (en) | A kind of virtual machine and container mixed scheduling method | |
CN102427468A (en) | Cloud computing operating system and scheduling method thereof | |
CN109558210B (en) | Method and system for virtual machine to apply GPU (graphics processing Unit) equipment of host |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |