Selecting a host from a host cluster to run a virtual machine
First Claim
Patent Images
1. A method comprising:
- receiving, by a processor, a request to run a virtual machine on a host cluster comprising a plurality of hosts, at least one of the plurality of hosts comprising a plurality of cores;
determining a number of cores to be used by the virtual machine less than a number of the plurality of cores;
determining, for one or more hosts of the plurality of hosts, one or more corresponding current processor consumptions;
selecting, by the processor, one of the plurality of hosts based on the number of cores to be used by the virtual machine and the corresponding current processor consumptions; and
assigning, by the processor, the virtual machine to run on the number of cores of the selected one of the plurality of hosts.
1 Assignment
0 Petitions
Accused Products
Abstract
A host controller selects a host from a host cluster to run a virtual machine. In one embodiment, a host controller receives a request to run a virtual machine. The virtual machine may be a newly added virtual machine, or an existing virtual machine that needs to migrate from a currently active host to another host. The host controller selects a host from the host cluster based on current central processing unit (CPU) consumption and expected load to be incurred by the virtual machine. The expected load may be estimated from the number of cores to be used by the virtual machine. The host controller then assigns the virtual machine to run on the host.
-
Citations
20 Claims
-
1. A method comprising:
-
receiving, by a processor, a request to run a virtual machine on a host cluster comprising a plurality of hosts, at least one of the plurality of hosts comprising a plurality of cores; determining a number of cores to be used by the virtual machine less than a number of the plurality of cores; determining, for one or more hosts of the plurality of hosts, one or more corresponding current processor consumptions; selecting, by the processor, one of the plurality of hosts based on the number of cores to be used by the virtual machine and the corresponding current processor consumptions; and assigning, by the processor, the virtual machine to run on the number of cores of the selected one of the plurality of hosts. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer readable storage medium including instructions that, when executed by a processor, cause the processor to perform operations comprising:
-
receiving, by the processor, a request to run a virtual machine on a host cluster that comprises a plurality of hosts, at least one of the plurality of hosts comprising a plurality of cores; determining a number of cores to be used by the virtual machine less than a number of the plurality of cores; determining, for one or more hosts of the plurality of hosts, one or more corresponding current processor consumptions; selecting, by the processor, one of the plurality of hosts based on the number of cores to be used by the virtual machine and the corresponding current processor consumptions; and assigning, by the processor, the virtual machine to run on the number of cores of the selected one of the plurality of hosts. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
a memory; a processor coupled to the memory; a virtual machine manager executed from the memory by the processor to receive a request to run a virtual machine on a host cluster comprising a plurality of hosts, at least one of the plurality of hosts comprising a plurality of cores, to determine a number of cores to be used by the virtual machine less than a number of the plurality of cores, and to assign the virtual machine to run on the number of cores of one of the plurality of hosts; and a host selection module executed from the memory by the processor to determine, for one or more hosts of the plurality of hosts, one or more corresponding current processor consumptions and to select one of the plurality of hosts based on the number of cores to be used by the virtual machine and the corresponding current processor consumptions. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification