CN113835826A - Virtual machine processing method, device, electronic equipment, program product and medium - Google Patents
Virtual machine processing method, device, electronic equipment, program product and medium Download PDFInfo
- Publication number
- CN113835826A CN113835826A CN202110931483.7A CN202110931483A CN113835826A CN 113835826 A CN113835826 A CN 113835826A CN 202110931483 A CN202110931483 A CN 202110931483A CN 113835826 A CN113835826 A CN 113835826A
- Authority
- CN
- China
- Prior art keywords
- node
- virtual machine
- overhead
- parameter value
- attribute information
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 238000012545 processing Methods 0.000 claims abstract description 38
- 238000000034 method Methods 0.000 claims abstract description 29
- 238000004364 calculation method Methods 0.000 claims description 18
- 238000012163 sequencing technique Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 6
- 230000005012 migration Effects 0.000 description 7
- 238000013508 migration Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000016507 interphase Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
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/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
- G06F9/505—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 considering the load
-
- 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/5061—Partitioning or combining of resources
- G06F9/5077—Logical partitioning of resources; Management or configuration of virtualized resources
-
- 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
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
-
- 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
- G06F2009/45583—Memory management, e.g. access or allocation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a virtual machine processing method, a virtual machine processing device, an electronic device, a program product and a medium, wherein the method comprises the following steps: acquiring attribute information of a first virtual machine; the first virtual machine is a virtual machine to be created or migrated; the attribute information comprises the working mode information of the first virtual machine and the input/output attribute information of the running service; acquiring attribute information of a plurality of nodes on physical equipment; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processor cores of the node and load information of the node; calculating overhead values of the first virtual machine respectively running on the plurality of nodes according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes; and determining a node for processing the first virtual machine according to the overhead value. The method provided by the invention improves the performance of the virtual machine and improves the use efficiency of the processor core.
Description
Technical Field
The present invention relates to the field of virtualization infrastructure technologies, and in particular, to a virtual machine processing method and apparatus, an electronic device, a program product, and a medium.
Background
A Virtual Machine (VM) refers to a complete computer system that has complete hardware system functions and is simulated by software and runs in a completely isolated environment. In the existing VM created based on the kvm-qemu technology, each VM instance runs a qemu process, and each qemu process occupies a CPU and a memory on a host machine.
When a virtual machine is created on a virtualization platform of a non-uniform memory access architecture, or the created virtual machine is migrated, a physical processor of a corresponding specification needs to be allocated to the virtual machine.
When a virtual machine is created on a host, it is often run using physical processors and memory in multiple nodes. When a newly created virtual machine or an already running virtual machine is switched from a shared mode to an exclusive mode, the host problem of a NUMA Node to which the virtual machine belongs is involved, and the virtual machine needs to be run on a proper NUMA Node by a certain strategy. Some existing technologies may simply schedule VMs based on the overall physical core view of the physical device, and some may also improve the scheduling of VMs based on the view of physical core on NUMA granularity, and category 1 is obviously only applicable to non-NUMA architecture hosts; type 2 also schedules VMs with NUMA granularity, but lacks I/O attributes of NUMA nodes and application attributes of VMs. The lack of these 2 attribute references may result in the VM running on an unreasonable Node, resulting in unexpected VM performance. Meanwhile, when the VM is in the shared mode, in order to further improve performance, the VM may need to be subjected to exclusive physical Core usage, this may involve the capability of migrating the VM across NUMA nodes at this time, and this migration decision also depends on a scheduling mechanism based on NUMA to ensure that the VM switches to migrate to a suitable Node in the exclusive Core process, which results in inefficient use of the processor Core.
Disclosure of Invention
The invention provides a virtual machine processing method, a virtual machine processing device, electronic equipment, a program product and a virtual machine processing medium, which are used for solving the technical problems of low performance of a virtual machine and low use efficiency of a processor core in the prior art and achieving the purposes of improving the performance of the virtual machine and improving the use efficiency of the processor core.
In a first aspect, the present invention provides a virtual machine processing method, including:
acquiring attribute information of a first virtual machine; the first virtual machine is a virtual machine to be created or a virtual machine to be migrated; the attribute information comprises working mode information of a first virtual machine and input/output attribute information of a service running on the first virtual machine;
acquiring attribute information of a plurality of nodes on physical equipment; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processor cores of the node and load information of the node;
calculating overhead values of the first virtual machine respectively running on the plurality of nodes according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes;
and determining a node for processing the first virtual machine according to the overhead value.
Further, the virtual machine processing method provided by the invention comprises the following steps:
the load information of the node comprises the time utilization rate of a processor of the node and the actual memory utilization rate of the node;
correspondingly, the calculating, according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes, the cost values of the first virtual machine respectively running on the plurality of nodes includes:
calculating a first overhead parameter value of a first node according to distance information between the first node and a second node with an input/output interface; wherein the first node is any one of the plurality of nodes;
calculating a second overhead parameter value of the first node according to the matching degree between the input/output attribute information of the service operated on the first virtual machine and the input/output attribute information of the first node;
calculating a third overhead parameter value of the first node according to the quantity information of the available processor cores of the first node and the working mode information of the first virtual machine;
calculating a fourth cancellation parameter value of the first node according to the memory planning utilization rate of the first node;
calculating a fifth overhead parameter value of the first node according to the time utilization rate of the processor of the first node;
calculating a sixth overhead parameter value of the first node according to the actual memory utilization rate of the first node;
and calculating the overhead value of the first virtual machine running on the first node according to the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value and the sixth overhead parameter value of the first node.
Further, the virtual machine processing method provided by the invention comprises the following steps:
the calculating the overhead value of the first virtual machine running on the first node according to the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value and the sixth overhead parameter value of the first node includes:
cost=x1×ω1+x2×ω2+x3×ω3+x4×ω4+x5×ω5+x6×ω6
wherein x is1Is the first overhead parameter value, x2Is the second overhead parameter value, x3Is the third value of the overhead parameter, x4Is the fourth pin parameter value, x5Is the fifth overhead parameter value, x6Is the sixth cotter parameter value;
ω1a weight value for the first overhead parameter value; omega2A weight value for the second overhead parameter value; omega3A weight value for the third marketing parameter value; omega4A weight value of the fourth cancellation parameter value; omega5A weight value for the fifth cost parameter value; omega6Is the weight value of the sixth overhead parameter value.
Further, the virtual machine processing method provided by the invention comprises the following steps:
the determining a node for processing the first virtual machine according to the overhead value includes:
sequencing the overhead values to obtain a sequencing result;
selecting a third node corresponding to the minimum overhead value from the sequencing result;
judging whether the third node can meet the requirements of the first virtual machine;
determining the third node as a node for processing the first virtual machine under the condition that the third node can meet the requirement of the first virtual machine;
or the like, or, alternatively,
under the condition that the third node cannot meet the requirement of the first virtual machine, selecting a fourth node, and determining that the third node and the fourth node are nodes for processing the first virtual machine; and the fourth node is a node corresponding to one or more overhead values which are close to the minimum overhead value in sequence.
Further, the virtual machine processing method provided by the invention comprises the following steps:
the method for calculating the number information of the available processor cores of the first node comprises the following steps:
and subtracting the maximum value of the processor cores occupied by the virtual machines in the sharing mode from the total number of the processor cores on the first node, and subtracting the sum of the number of the processor cores occupied by the virtual machines in the exclusive mode to obtain the number of the available processor cores of the first node.
Further, according to a virtual machine processing method provided by the present invention, before the obtaining attribute information of a plurality of nodes on a physical device, the method includes:
and reading attribute information of a plurality of nodes on the physical equipment, and registering.
In a second aspect, the present invention further provides a virtual machine processing apparatus, including:
the first acquisition module is used for acquiring the attribute information of the first virtual machine; the first virtual machine is a virtual machine to be created or a virtual machine to be migrated; the attribute information comprises working mode information of a first virtual machine and input/output attribute information of a service running on the first virtual machine;
the second acquisition module is used for acquiring the attribute information of a plurality of nodes on the physical equipment; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processor cores of the node and load information of the node;
the calculation module is used for calculating overhead values of the first virtual machine running on the plurality of nodes respectively according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes;
a determining module, configured to determine a node for processing the first virtual machine according to the overhead value.
In a third aspect, the present invention also provides an electronic device, including:
a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the steps of the resource management method as in any one of the above.
In a fourth aspect, the present invention also provides a computer program product comprising computer executable instructions for implementing the steps of the resource management method as described in any one of the above when executed.
In a fifth aspect, the present invention also provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the steps of the resource management method as described above.
The method calculates overhead values of the virtual machine respectively running on a plurality of nodes by acquiring attribute information of the virtual machine and attribute information of the plurality of nodes on the physical device, and selects the nodes suitable for the virtual machine according to the size of the overhead values. The method provided by the invention can improve the performance of the virtual machine and the use efficiency of the processor core.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a virtual machine processing method according to the present invention;
FIG. 2 is a schematic structural diagram of a physical device node provided in the present invention;
FIG. 3 is a schematic structural diagram of a virtual machine processing apparatus according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a virtual machine processing method provided by the present invention, and as shown in fig. 1, the virtual machine processing method provided by the present invention includes the following steps:
step 101: acquiring attribute information of a first virtual machine; the first virtual machine is a virtual machine to be created or a virtual machine to be migrated; the attribute information comprises working mode information of a first virtual machine and input/output attribute information of a service running on the first virtual machine;
step 102: acquiring attribute information of a plurality of nodes on physical equipment; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processor cores of the node and load information of the node;
step 103: calculating overhead values of the first virtual machine respectively running on the plurality of nodes according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes;
step 104: and determining a node for processing the first virtual machine according to the overhead value.
Specifically, the overhead value refers to the total size of the overhead required when the virtual machine to be migrated or the virtual machine to be created runs on the node, and the overhead value may be calculated based on the actual utilization rate of the memory, the CPU utilization rate, and other indexes.
A Virtual Machine (VM) refers to a complete computer system that has a complete hardware system function and runs in a completely isolated environment through software simulation.
When a new virtual machine is created or a created virtual machine is transferred, a proper node needs to be selected from the physical device, so that the newly created virtual machine or the migrated virtual machine has good operation efficiency.
For example, a virtual machine VM-a runs on a node-k in an exclusive mode, and subsequently, with continuous deployment of other VM services on the node-k, enough physical core does not exist on the node-k to meet the requirement that the VM-a exclusively uses the physical core on the node-k, and the VM-a needs to be migrated from a current node to another node meeting the running requirement of the VM-a; or when the VM is created, a node which meets the specification requirement of the VM and maximizes the utilization rate of the processor core needs to be selected to create the VM newly.
In step 101, obtaining attribute information of a first virtual machine, where the attribute information includes a working mode of the first virtual machine and input/output attribute information of a service running on the first virtual machine, where one of the working modes is a sharing mode, several virtual machines share one or more physical processor cores, and the other is an exclusive mode, that is, one virtual machine excludes other virtual machines from independently using all physical processor cores on a node; the input/output attribute of the running service belongs to one of VM service types, and the VM service types are divided into a calculation intensive type and an I/O intensive type, wherein the calculation intensive type means that most of resources of a computer system are used for completing operations such as calculation, logic judgment and the like, so that the CPU occupancy rate is high, and the I/O intensive type means that most of resources of a value computer system are used for executing operations such as network transmission, reading of hard disks and other I/O devices. For example, the encryption/decryption engine, the AI engine, and the log engine are computationally intensive, and I/O intensive.
In step 102, the attribute information of the plurality of nodes on the physical device includes input/output attribute information of the node, distance information between the node and another node having an input/output interface, information of the number of processor cores available for the node, and load information of the node, where in an embodiment of the present invention, the input/output attribute of the node indicates whether the current node has an I/O interface, the distance information of the node and another node having an input/output interface indicates a distance between the currently selected node and the node having an I/O interface, the information of the number of processor cores available for the node indicates how many more processor cores are available for the current node, and the load information includes a time utilization rate and an actual memory utilization rate of a processor of the node. From the above information it can be derived that the access overheads of different nodes are related to I/O interfaces on the nodes in addition to the neighboring, inter-phase node overheads. As shown in fig. 2, if IOU0 and IOU1 exist on Panal0 and Panal6, respectively, it indicates that an I/O interface exists on node P0 and node P6, and an I/O interface does not exist on other nodes. When calculating the overhead value of the virtual machine running on the node P2, the above analysis can obtain that the node P2 has no I/O interface, and at the same time, it can be confirmed that the node P2 is closest to the node P6 having an I/O interface, and the distance from the node P2 to the node P6 is obtained by table lookup or calculation. It should be noted that whether a node has an I/O interface may be set according to actual needs, which is not specifically limited herein, and the number information of available processor cores of the node may be obtained by calculation according to a specific calculation manner in the following embodiments, which is not specifically described herein.
In step 103, calculating cost values of the first virtual machine on the plurality of nodes according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes on the physical device, where the cost values may be cost required when migrating the first virtual machine from the current node to another node, or cost required when creating a new virtual machine on one node.
In step 104, the overhead values obtained in step 103 are sorted in the descending order, and the node running the first virtual machine is determined according to the sorting result. It should be noted that the ordering manner of the overhead values may be set according to actual needs, and is not specifically limited herein.
In the embodiment of the invention, the overhead values of the first virtual machine on the plurality of nodes are calculated through the acquired attribute information of the first virtual machine and the attribute information of the plurality of nodes on the physical equipment, and the node for operating the first virtual machine is determined according to the size of the overhead values. The method provided by the invention can improve the performance of the virtual machine and improve the use efficiency of the physical processor core of the host machine.
In another embodiment of the present invention, the load information of the node includes a time utilization rate of a processor of the node and an actual memory utilization rate of the node;
correspondingly, the calculating, according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes, the cost values of the first virtual machine respectively running on the plurality of nodes includes:
calculating a first overhead parameter value of a first node according to distance information between the first node and a second node with an input/output interface; wherein the first node is any one of the plurality of nodes;
calculating a second overhead parameter value of the first node according to the matching degree between the input/output attribute information of the service operated on the first virtual machine and the input/output attribute information of the first node;
calculating a third overhead parameter value of the first node according to the quantity information of the available processor cores of the first node and the working mode information of the first virtual machine;
calculating a fourth cancellation parameter value of the first node according to the memory planning utilization rate of the first node;
calculating a fifth overhead parameter value of the first node according to the time utilization rate of the processor of the first node;
calculating a sixth overhead parameter value of the first node according to the actual memory utilization rate of the first node;
and calculating the overhead value of the first virtual machine running on the first node according to the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value and the sixth overhead parameter value of the first node.
Specifically, the time utilization rate and the actual memory utilization rate of the processor of the first node are acquired in real time according to the monitoring information acquisition module.
In the embodiment of the invention, the overhead value of the first virtual machine running on the first node is calculated through the obtained first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value and the sixth overhead parameter value of the first node. It should be noted that the first overhead parameter value is obtained by converting distance information between the first node and a second node having an input/output interface, where the distance information is represented as node _ to _ IO _ node _ distance, and when any node of nodes P0-P7 is selected to calculate the overhead value of the virtual machine in the embodiment of the present invention, the calculation may be performed according to the first overhead parameter value information shown in table 1 below.
TABLE 1 first overhead parameter values
As can be seen from table 1, device id 1 and device id 2 correspond to two different physical devices, and the physical device in device id 1 has 8 nodes (P0-P7), where P0 ═ 0 indicates that node P0 has an I/O interface, and since the value information of P1-P7 is not 0, it indicates that nodes P1-P7 are nodes without an I/O interface, and node P1 and node P4 are closest to node P0. In addition, 8 nodes also exist on the physical device of the device identifier 2, where P0 is P6 is 0, which means that the node P0 and the node P6 have I/O interfaces, and the node P2 and the node P7 are closest to the node P6 having I/O interfaces, and the node P1 and the node P4 are closest to the node P0 having I/O interfaces.
The second overhead parameter value is calculated according to a matching degree between the input/output attribute information of the service running on the first virtual machine and the input/output attribute information of the first node, a predetermined high value is obtained if the I/O attribute of the first virtual machine matches the I/O attribute of the first node, and a predetermined low value is obtained if the I/O attribute of the first virtual machine does not match the I/O attribute of the first node, which is specifically shown in table 2 below. The parameter values may be set according to actual needs, and are not particularly limited herein.
TABLE 2 second overhead parameter values
According to the table 2, if the service type of the first virtual machine is I/O intensive, and the first node is I/O intensive at the same time, the second overhead parameter value is 1; and if the service type of the first virtual machine is I/O intensive and the service type of the first node is calculation intensive, obtaining a second overhead parameter value of 0.5.
The third overhead parameter value is obtained by calculation and conversion according to the number information of the available processor cores of the first node and the working mode information of the first virtual machine, wherein the number information of the available processor cores is represented as node _ cpu _ available, a lower cost calculation value is obtained when the number of the available processor cores is larger, and the availability (Rate) of the node processor is obtained according to the calculated number of the available processor cores and the total number of the processor cores of the first node; the operating mode of the first virtual machine is denoted by vm _ mode, the operating mode of the first virtual machine may be shared mode 0, or exclusive mode 1, and the obtained third overhead parameter value is shown in table 3 below.
TABLE 3 third value of the overhead parameter
According to the contents of table 3, a third overhead parameter value may be obtained, which is used to calculate an overhead value of the first virtual machine running at the first node. When the availability is 0, it indicates that the current node has no available processor core to run the virtual machine to be migrated, that is, the virtual machine to be migrated cannot be migrated to the current node, and no matter whether the work mode of the virtual machine to be migrated is the exclusive mode or the shared mode, the virtual machine cannot be migrated to the current node, so that the overhead value of the current node is set to the maximum value of 1. With the increasing availability, the third overhead parameter value is smaller and smaller, which shows that the higher the availability of the current node is, the easier it is to migrate the virtual machine to be migrated to the current node or to newly build the virtual machine on the current node, and the third overhead parameter value in the exclusive mode is smaller than the overhead value in the shared mode, so that the migration to the single node is facilitated, the virtual machine can run on the single node, and the performance of the virtual machine is ensured.
The fourth pinning parameter value is calculated according to the memory of the first node according to the specification plan of the virtual machine, that is, the total memory of the first node is allocated according to the specification data of the virtual machine, if the total memory of the node a is 32G, the specification requirement of VM1 is 4G, the specification requirement of VM2 is 4G, and the specification requirement of VM3 is 8G, the memory of the node a is allocated according to the specification requirement of the virtual machine, and the memory planning utilization rate of the node a is 50%, that is, the fourth pinning parameter value of the first node can be obtained.
The fifth overhead parameter value refers to a time utilization rate of the processor of the first node, and the sixth overhead parameter value refers to an actual memory usage efficiency of the first node, where the sixth overhead parameter value is the actual memory usage efficiency, for example, the VM1 allocates 4G of memory according to the specification requirement, but the service is idle, the actual memory usage is 1G, and similarly, the actual memory usage efficiency of the other VM2 and VM3 is also 1G, that is, the three virtual machines actually use 3G of memory in total, and the actual memory usage efficiency is obtained as 3G/32G — 0.9375, that is, the sixth overhead parameter value. It should be noted that the fifth overhead parameter value and the sixth overhead parameter value may be obtained by real-time monitoring according to the monitoring information acquisition module.
In the embodiment of the invention, the overhead value of the first virtual machine running on the first node is calculated according to the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value and the sixth overhead parameter value of the first node, so that the node suitable for the migration or the creation of the first virtual machine can be accurately calculated, the performance of the virtual machine is improved, and the scheduling accuracy is improved.
On the basis of the foregoing embodiment, calculating an overhead value of the first virtual machine running on the first node according to the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value, and the sixth overhead parameter value of the first node includes:
cost=x1×ω1+x2×ω2+x3×ω3+x4×ω4+x5×ω5+x6×ω6
wherein x is1Is the first overhead parameter value, x2Is the second overhead parameter value, x3Is the third value of the overhead parameter, x4Is the fourth pin parameter value, x5Is the fifth overhead parameter value, x6Is the sixth cotter parameter value;
ω1a weight value for the first overhead parameter value; omega2A weight value for the second overhead parameter value; omega3A weight value for the third marketing parameter value; omega4A weight value of the fourth cancellation parameter value; omega5A weight value for the fifth cost parameter value; omega6Is the weight value of the sixth overhead parameter value.
Specifically, the weight value may be set according to an empirical value, and may be dynamically adjusted in the application process.
In the embodiment of the present invention, according to the above embodiment, a first overhead parameter value, a second overhead parameter value, a third overhead parameter value, a fourth overhead parameter value, a fifth overhead parameter value, a sixth overhead parameter value, and a weight value occupied by each of the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value, and the sixth overhead parameter value may be obtained, and the overhead value of the first virtual machine running on the first node is obtained through the above calculation formula. If the first overhead parameter value is 1, the second overhead parameter value is 0.5, the third overhead parameter value is 0.8, the fourth overhead parameter value is 0.5, the fifth overhead parameter value is 0.3, and the sixth overhead parameter value is 0.6, and the weighting values are 0.1, 0.2, 0.3, 0.1, and 0.2, respectively, then the cost is 1 × 0.1+0.5 × 0.2+0.8 +0.3 +0.5 × 0.1+0.3 × 0.1+0.6 × 0.2 and 0.64 can be obtained by the above formula. The weight value may be set according to actual needs, and is not particularly limited herein.
In the embodiment of the invention, the size of the overhead value of the first virtual machine running on the first node can be accurately calculated through a specific calculation formula and corresponding parameter values, so that a theoretical basis is provided for the migration or creation of the first virtual machine.
In another embodiment of the present invention, the determining a node for processing the first virtual machine according to the overhead value includes:
sequencing the overhead values to obtain a sequencing result;
selecting a third node corresponding to the minimum overhead value from the sequencing result;
judging whether the third node can meet the requirements of the first virtual machine;
determining the third node as a node for processing the first virtual machine under the condition that the third node can meet the requirement of the first virtual machine;
or the like, or, alternatively,
under the condition that the third node cannot meet the requirement of the first virtual machine, selecting a fourth node, and determining that the third node and the fourth node are nodes for processing the first virtual machine; and the fourth node is a node corresponding to one or more overhead values which are close to the minimum overhead value in sequence.
Specifically, the minimum overhead value indicates that the cost required for migrating the first virtual machine from the current node to another node is minimum, or it is most advantageous to newly build a virtual machine on the node corresponding to the minimum overhead value.
In the embodiment of the invention, a principle of priority scheduling of a minimum overhead value is selected, the overhead values calculated according to the embodiment are sorted from small to large according to a sorting mode, a third node corresponding to the minimum overhead value is selected according to a sorting result, and whether the third node meets the specification requirement of the first virtual machine is judged, if the specification requirement of the first virtual machine needs 3 processor cores, the number of the processor cores of the third node obtained through analysis is 3, and the operation requirement of the first virtual machine is just met, so that the third node just meets the requirement that the first virtual machine operates in an exclusive mode; if the third node does not meet the specification requirement of the first virtual machine, if the number of processor cores of the third node corresponding to the minimum overhead value is 2, the third node corresponding to the minimum overhead value and a fourth node corresponding to an overhead value close to the minimum overhead value in sequence are selected to jointly operate the first virtual machine. It should be noted that the fourth node may be one node in which the minimum overhead values are sorted closely, or may be a node corresponding to multiple overhead values in which the minimum overhead values are sorted closely. Can be selected according to actual needs, and is not particularly limited herein.
When the first virtual machine is a virtual machine to be migrated and the working mode is switched from the sharing mode to the exclusive mode, the following priority policy may be adopted:
when the first virtual machine runs on the single source node, the first virtual machine is preferably migrated to the single source node;
when the first virtual machine runs on the multi-source node, the first virtual machine is preferably migrated to the single node.
In the embodiment of the invention, according to the sequencing result from small to large, the node corresponding to the minimum overhead value is preferentially selected for judgment and analysis, whether the specification requirement of the first virtual machine is met is judged, if the specification requirement is met, the node corresponding to the minimum overhead value is determined as the node for operating the first virtual machine, if the specification requirement is not met, the node corresponding to one or more overhead values close to the minimum overhead value sequencing is selected as the fourth node, and the third node and the fourth node are determined as the nodes for processing the first virtual machine.
In another embodiment of the present invention, the method for calculating the number information of the available processor cores of the first node includes:
and subtracting the maximum value of the processor cores occupied by the virtual machines in the sharing mode from the total number of the processor cores on the first node, and subtracting the sum of the number of the processor cores occupied by the virtual machines in the exclusive mode to obtain the number of the available processor cores of the first node.
Specifically, the total number of processor cores on the first node is obtained by registering attribute information of the physical device in advance.
In the embodiment of the invention, the quantity information of the available processor cores of the first node is obtained by subtracting the maximum value of the processor cores occupied by the virtual machines in the sharing mode from the total number of the processor cores of the node and then subtracting the sum of the quantity of the processor cores occupied by the virtual machines in the exclusive mode. The specific calculation formula is as follows: the total number of processor cores of the current node-MAX (number of processor cores occupied by VM in shared mode) -SUM (number of processor cores occupied by VM in exclusive mode), if the first node is node-k, the total number of processor cores on node-k is 16, virtual machines that operate in shared mode are VM-a, VM-b, and VM-c, wherein VM-a occupies 4 processor cores, VM-b occupies 4 processor cores, VM-c occupies 2 processor cores, it can be seen that the maximum value of the processor cores occupied by the virtual machine in the sharing mode is 4, the virtual machines running in the exclusive mode are VM-d and VM-e, the number of the processor cores occupied by the virtual machines is 2 and 3 respectively, the number of available processor cores on node-k is 16-4-2-3-7 based on the above information. It should be noted that, the number information of the available processor cores of the first node may be set according to actual needs, and is not specifically limited herein.
In the embodiment of the invention, the number of the available processor cores of the first node is obtained by calculating according to the total number of the processor cores of the first node, the maximum value of the processor cores occupied by the sharing mode virtual machine and the sum of the processor cores occupied by the exclusive mode virtual machine, and the calculated value is used for solving the overhead value of the first virtual machine running on the first node, so that the accurate judgment on whether the first node is suitable for the migration or creation of the first virtual machine can be realized, and the use efficiency of the processor cores is improved.
In another embodiment of the present invention, before the obtaining attribute information of a plurality of nodes on a physical device, the method includes:
and reading attribute information of a plurality of nodes on the physical equipment, and registering.
Specifically, the physical device needs to initialize the topological physical resource based on a Non Uniform Memory Access (NUMA).
In the embodiment of the present invention, before acquiring the attribute information of the plurality of nodes on the physical device, it is further required to read the attribute information of the plurality of nodes on the physical device to perform registration processing. It should be noted that, in addition to the attribute information of the multiple nodes, the NUMA attribute, the memory available amount, and the NUMA node number of the physical device, as well as the number of processors on each NUMA node and the access overhead metric information of the node are also read, and these resource topology information are registered in the resource management module, which is convenient for directly obtaining data for calculation when migrating or creating the virtual machine in the subsequent process.
The resource management module comprises a resource registration module, a monitoring information acquisition module and a scheduling module, wherein the resource registration module is responsible for managing initialized resource topology information; the monitoring information acquisition module is used for counting information such as CPU utilization rate and memory utilization rate acquired by the resource acquisition module in real time; and the scheduling module is used for selecting a proper node to complete the creation or migration of the VM.
In the embodiment of the present invention, before acquiring the attribute information of the plurality of nodes on the physical device, the attribute information of the plurality of nodes on the physical device needs to be read and registered, so as to provide data support for migration or creation of the virtual machine.
Fig. 3 is a virtual machine processing apparatus provided by the present invention, and as shown in fig. 3, the virtual machine processing apparatus provided by the present invention includes:
a first obtaining module 301, configured to obtain attribute information of a first virtual machine; the first virtual machine is a virtual machine to be created or a virtual machine to be migrated; the attribute information comprises working mode information of a first virtual machine and input/output attribute information of a service running on the first virtual machine;
a second obtaining module 302, configured to obtain attribute information of multiple nodes on a physical device; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processors of the node and load information of the node;
a calculating module 303, configured to calculate, according to the attribute information of the first virtual machine and the attribute information of the multiple nodes, overhead values that the first virtual machine runs on the multiple nodes respectively;
a determining module 304, configured to determine a node for processing the first virtual machine according to the overhead value.
Specifically, the load information includes a time utilization rate of a processor of the node and an actual memory utilization rate of the node.
In the embodiment of the invention, a first obtaining module is used for obtaining attribute information of a first virtual machine; the first virtual machine is a virtual machine to be created or a virtual machine to be migrated; the attribute information comprises working mode information of a first virtual machine and input/output attribute information of a service running on the first virtual machine, and the second acquisition module is used for acquiring the attribute information of a plurality of nodes on the physical equipment; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processors of the node and load information of the node; the calculation module is used for calculating overhead values of the first virtual machine running on the plurality of nodes respectively according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes; the determining module is used for determining a node for processing the first virtual machine according to the size of the overhead value. The device provided by the invention can improve the performance of the virtual machine and improve the use efficiency of the physical processor.
Further, in the virtual machine processing apparatus provided by the present invention, the computing module is further configured to: the load information of the node comprises the time utilization rate of a processor of the node and the actual memory utilization rate of the node;
correspondingly, the calculating, according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes, the cost values of the first virtual machine respectively running on the plurality of nodes includes:
calculating a first overhead parameter value of a first node according to distance information between the first node and a second node with an input/output interface; wherein the first node is any one of the plurality of nodes;
calculating a second overhead parameter value of the first node according to the matching degree between the input/output attribute information of the service operated on the first virtual machine and the input/output attribute information of the first node;
calculating a third overhead parameter value of the first node according to the quantity information of the available processor cores of the first node and the working mode information of the first virtual machine;
calculating a fourth cancellation parameter value of the first node according to the memory planning utilization rate of the first node;
calculating a fifth overhead parameter value of the first node according to the time utilization rate of the processor of the first node;
calculating a sixth overhead parameter value of the first node according to the actual memory utilization rate of the first node;
and calculating the overhead value of the first virtual machine running on the first node according to the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value and the sixth overhead parameter value of the first node.
Further, according to the virtual machine processing apparatus provided by the present invention, the computing module is further configured to: the calculating the overhead value of the first virtual machine running on the first node according to the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value and the sixth overhead parameter value of the first node includes:
cost=x1×ω1+x2×ω2+x3×ω3+x4×ω4+x5×ω5+x6×ω6
wherein x is1Is the first overhead parameter value, x2Is the second overhead parameter value, x3Is the third value of the overhead parameter, x4Is the fourth pin parameter value, x5Is the fifth overhead parameter value, x6Is the sixth cotter parameter value;
ω1a weight value for the first overhead parameter value; omega2A weight value for the second overhead parameter value; omega3A weight value for the third marketing parameter value; omega4A weight value of the fourth cancellation parameter value; omega5A weight value for the fifth cost parameter value; omega6Is the weight value of the sixth overhead parameter value.
Further, according to the virtual machine processing apparatus provided by the present invention, the determining module is further configured to: the determining a node for processing the first virtual machine according to the overhead value includes:
sequencing the overhead values to obtain a sequencing result;
selecting a third node corresponding to the minimum overhead value from the sequencing result;
judging whether the third node can meet the requirements of the first virtual machine;
determining the third node as a node for processing the first virtual machine under the condition that the third node can meet the requirement of the first virtual machine;
or the like, or, alternatively,
under the condition that the third node cannot meet the requirement of the first virtual machine, selecting a fourth node, and determining that the third node and the fourth node are nodes for processing the first virtual machine; and the fourth node is a node corresponding to one or more overhead values which are close to the minimum overhead value in sequence.
Further, according to the virtual machine processing apparatus provided by the present invention, the computing module is further configured to: the method for calculating the number information of the available processor cores of the first node comprises the following steps:
and subtracting the maximum value of the processor cores occupied by the virtual machines in the sharing mode from the total number of the processor cores on the first node, and subtracting the sum of the number of the processor cores occupied by the virtual machines in the exclusive mode to obtain the number of the available processor cores of the first node.
Further, according to the virtual machine processing apparatus provided by the present invention, before the acquiring attribute information of a plurality of nodes on a physical device, the apparatus includes:
and reading attribute information of a plurality of nodes on the physical equipment, and registering.
Since the principle of the apparatus according to the embodiment of the present invention is the same as that of the method according to the above embodiment, further details are not described herein for further explanation.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 4, the present invention provides an electronic device, including: a processor (processor)401, a memory (memory)402, and a bus 403;
the processor 401 and the memory 402 complete communication with each other through the bus 403;
Embodiments of the present invention also provide a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the method provided by the above methods, the method comprising: acquiring attribute information of a first virtual machine; the first virtual machine is a virtual machine to be created or a virtual machine to be migrated; the attribute information comprises working mode information of a first virtual machine and input/output attribute information of a service running on the first virtual machine; acquiring attribute information of a plurality of nodes on physical equipment; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processors of the node and load information of the node; calculating overhead values of the first virtual machine respectively running on the plurality of nodes according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes; and determining a node for processing the first virtual machine according to the overhead value.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the method provided by the foregoing method embodiments, for example, the method includes: acquiring attribute information of a first virtual machine; the first virtual machine is a virtual machine to be created or a virtual machine to be migrated; the attribute information comprises working mode information of a first virtual machine and input/output attribute information of a service running on the first virtual machine; acquiring attribute information of a plurality of nodes on physical equipment; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processors of the node and load information of the node; calculating overhead values of the first virtual machine respectively running on the plurality of nodes according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes; and determining a node for processing the first virtual machine according to the overhead value.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A virtual machine processing method is characterized by comprising the following steps:
acquiring attribute information of a first virtual machine; the first virtual machine is a virtual machine to be created or a virtual machine to be migrated; the attribute information comprises working mode information of a first virtual machine and input/output attribute information of a service running on the first virtual machine;
acquiring attribute information of a plurality of nodes on physical equipment; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processor cores of the node and load information of the node;
calculating overhead values of the first virtual machine respectively running on the plurality of nodes according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes;
and determining a node for processing the first virtual machine according to the overhead value.
2. The virtual machine processing method according to claim 1, wherein the load information of the node includes a time utilization rate of a processor of the node and an actual memory utilization rate of the node;
correspondingly, the calculating, according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes, the cost values of the first virtual machine respectively running on the plurality of nodes includes:
calculating a first overhead parameter value of a first node according to distance information between the first node and a second node with an input/output interface; wherein the first node is any one of the plurality of nodes;
calculating a second overhead parameter value of the first node according to the matching degree between the input/output attribute information of the service operated on the first virtual machine and the input/output attribute information of the first node;
calculating a third overhead parameter value of the first node according to the quantity information of the available processor cores of the first node and the working mode information of the first virtual machine;
calculating a fourth cancellation parameter value of the first node according to the memory planning utilization rate of the first node;
calculating a fifth overhead parameter value of the first node according to the time utilization rate of the processor of the first node;
calculating a sixth overhead parameter value of the first node according to the actual memory utilization rate of the first node;
and calculating the overhead value of the first virtual machine running on the first node according to the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value and the sixth overhead parameter value of the first node.
3. The virtual machine processing method according to claim 2, wherein the calculating the overhead value of the first virtual machine running on the first node according to the first overhead parameter value, the second overhead parameter value, the third overhead parameter value, the fourth overhead parameter value, the fifth overhead parameter value, and the sixth overhead parameter value of the first node comprises:
cost=x1×ω1+x2×ω2+x3×ω3+x4×ω4+x5×ω5+x6×ω6
wherein x is1Is the first overhead parameter value, x2Is the second overhead parameter value, x3Is the third value of the overhead parameter, x4Is the fourth pin parameter value, x5Is the fifth overhead parameter value, x6Is the sixth cotter parameter value;
ω1a weight value for the first overhead parameter value; omega2A weight value for the second overhead parameter value; omega3A weight value for the third marketing parameter value; omega4A weight value of the fourth cancellation parameter value; omega5A weight value for the fifth cost parameter value; omega6Is the weight value of the sixth overhead parameter value.
4. The virtual machine processing method according to claim 1, wherein said determining a node for processing the first virtual machine according to the overhead value comprises:
sequencing the overhead values to obtain a sequencing result;
selecting a third node corresponding to the minimum overhead value from the sequencing result;
judging whether the third node can meet the requirements of the first virtual machine;
determining the third node as a node for processing the first virtual machine under the condition that the third node can meet the requirement of the first virtual machine;
or the like, or, alternatively,
under the condition that the third node cannot meet the requirement of the first virtual machine, selecting a fourth node, and determining that the third node and the fourth node are nodes for processing the first virtual machine; and the fourth node is a node corresponding to one or more overhead values which are close to the minimum overhead value in sequence.
5. The virtual machine processing method according to claim 2, wherein the calculation method of the number information of available processor cores of the first node is:
and subtracting the maximum value of the processor cores occupied by the virtual machines in the sharing mode from the total number of the processor cores on the first node, and subtracting the sum of the number of the processor cores occupied by the virtual machines in the exclusive mode to obtain the number of the available processor cores of the first node.
6. The virtual machine processing method according to claim 1, prior to the obtaining attribute information of the plurality of nodes on the physical device, comprising:
and reading attribute information of a plurality of nodes on the physical equipment, and registering.
7. A virtual machine processing apparatus, comprising:
the first acquisition module is used for acquiring the attribute information of the first virtual machine; the first virtual machine is a virtual machine to be created or a virtual machine to be migrated; the attribute information comprises working mode information of a first virtual machine and input/output attribute information of a service running on the first virtual machine;
the second acquisition module is used for acquiring the attribute information of a plurality of nodes on the physical equipment; the attribute information of the node comprises input/output attribute information of the node, distance information between the node and another node with an input/output interface, the number information of available processor cores of the node and load information of the node;
the calculation module is used for calculating overhead values of the first virtual machine running on the plurality of nodes respectively according to the attribute information of the first virtual machine and the attribute information of the plurality of nodes;
a determining module, configured to determine a node for processing the first virtual machine according to the overhead value.
8. An electronic device, comprising:
a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 6.
9. A computer program product comprising computer executable instructions for performing the steps of the document scanning method of any one of claims 1 to 6 when executed.
10. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110931483.7A CN113835826A (en) | 2021-08-13 | 2021-08-13 | Virtual machine processing method, device, electronic equipment, program product and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110931483.7A CN113835826A (en) | 2021-08-13 | 2021-08-13 | Virtual machine processing method, device, electronic equipment, program product and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113835826A true CN113835826A (en) | 2021-12-24 |
Family
ID=78960588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110931483.7A Pending CN113835826A (en) | 2021-08-13 | 2021-08-13 | Virtual machine processing method, device, electronic equipment, program product and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113835826A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120096473A1 (en) * | 2010-10-19 | 2012-04-19 | International Business Machines Corporation | Memory maximization in a high input/output virtual machine environment |
CN102929701A (en) * | 2012-10-17 | 2013-02-13 | 北京搜狐新媒体信息技术有限公司 | Scheduling method and device for batched virtual machines |
CN104424013A (en) * | 2013-08-26 | 2015-03-18 | 国际商业机器公司 | Method and device for deploying virtual machine in computing environment |
CN107168771A (en) * | 2017-04-24 | 2017-09-15 | 上海交通大学 | A kind of scheduling virtual machine device and method under Non Uniform Memory Access access architectures |
CN109271257A (en) * | 2018-10-11 | 2019-01-25 | 郑州云海信息技术有限公司 | A kind of method and apparatus of virtual machine (vm) migration deployment |
-
2021
- 2021-08-13 CN CN202110931483.7A patent/CN113835826A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120096473A1 (en) * | 2010-10-19 | 2012-04-19 | International Business Machines Corporation | Memory maximization in a high input/output virtual machine environment |
CN102929701A (en) * | 2012-10-17 | 2013-02-13 | 北京搜狐新媒体信息技术有限公司 | Scheduling method and device for batched virtual machines |
CN104424013A (en) * | 2013-08-26 | 2015-03-18 | 国际商业机器公司 | Method and device for deploying virtual machine in computing environment |
CN107168771A (en) * | 2017-04-24 | 2017-09-15 | 上海交通大学 | A kind of scheduling virtual machine device and method under Non Uniform Memory Access access architectures |
CN109271257A (en) * | 2018-10-11 | 2019-01-25 | 郑州云海信息技术有限公司 | A kind of method and apparatus of virtual machine (vm) migration deployment |
Non-Patent Citations (1)
Title |
---|
赵硕等: "基于安全等级的虚拟机动态迁移方法", 《通信学报》, vol. 38, no. 7, 31 July 2017 (2017-07-31), pages 165 - 174 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lin et al. | Scheduling algorithms for heterogeneous cloud environment: main resource load balancing algorithm and time balancing algorithm | |
CN105843683B (en) | Method, system and equipment for the distribution of dynamic optimization platform resource | |
Shi et al. | Energy-aware container consolidation based on PSO in cloud data centers | |
Patel et al. | Survey on resource allocation strategies in cloud computing | |
Fu et al. | Predicted affinity based virtual machine placement in cloud computing environments | |
Al-Dulaimy et al. | Type-aware virtual machine management for energy efficient cloud data centers | |
Zhang et al. | Container-VM-PM architecture: A novel architecture for docker container placement | |
Seth et al. | Dynamic heterogeneous shortest job first (DHSJF): a task scheduling approach for heterogeneous cloud computing systems | |
RU2573733C1 (en) | Method and apparatus for adjusting i/o channel on virtual platform | |
CN115134371A (en) | Scheduling method, system, equipment and medium containing edge network computing resources | |
CN106325999A (en) | Method and device for distributing resources of host machine | |
Muhammad et al. | TOP-Storm: A topology-based resource-aware scheduler for Stream Processing Engine | |
Sharma et al. | Efficient load balancing techniques for multi-datacenter cloud milieu | |
de Souza Toniolli et al. | Resource allocation for multiple workflows in cloud-fog computing systems | |
Hlaing et al. | Static independent task scheduling on virtualized servers in cloud computing environment | |
Shi et al. | Multi-objective container consolidation in cloud data centers | |
Yao et al. | A weighted pagerank-based algorithm for virtual machine placement in cloud computing | |
Duolikun et al. | A monotonically increasing (MI) algorithm to estimate energy consumption and execution time of processes on a server | |
Kim et al. | A parallel migration scheme for fast virtual machine relocation on a cloud cluster | |
da Rosa Righi et al. | MigPF: Towards on self-organizing process rescheduling of bulk-synchronous parallel applications | |
Wang et al. | Energy-aware dynamic resource allocation in container-based clouds via cooperative coevolution genetic programming | |
Brighen et al. | A new distributed graph coloring algorithm for large graphs | |
CN113835826A (en) | Virtual machine processing method, device, electronic equipment, program product and medium | |
Awasare et al. | Survey and comparative study on resource allocation strategies in cloud computing environment | |
Tran-Dang et al. | Cooperation for distributed task offloading in fog computing networks |
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 |