# US 2015/0150004 A1 · Determining virtual machine placement

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0150004 A1
- Document ID: US20150150004A1
- Status: Published application
- Kind: A1
- Application number: 14/396,321
- Filed: 2012-04-30
- Published: 2015-05-28
- Earliest claimed: 2012-04-30
- Inventors: Patrick Charles McGeer; Dejan S. Milojicic
- Web page: https://patentgrep.com/patent/US20150150004A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5066: {Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs (mappping at compile time, see G06F8/451)}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique includes providing a candidate configuration for virtual machines specifying where the virtual machines are stored in a plurality of hardware containers. The candidate configuration is selectively modified to generate another candidate configuration specifying where the virtual machines are stored in the plurality of hardware containers based at least in part on communication capacities that are associated with the hardware containers. The placement of the virtual machines is determined based at least in part on the selective modification.

## Claims

### Claim 1

A method comprising:
providing a first candidate configuration for virtual machines specifying where the virtual machines are stored in a plurality of hardware containers;
determining a benefit gained by modifying the first candidate configuration to change a hardware container from the plurality of hardware containers where at least one of the virtual machines is stored based at least in part on communication capacities associated with the plurality of hardware containers;
selectively modifying the first candidate configuration to generate a second candidate configuration specifying where the virtual machines are stored in the plurality of hardware containers based at least in part on the determined benefit; and
determining placement of the virtual machines based at least in part on the selective modification.

### Claim 2 (depends on 1)

The method of claim 1, wherein selectively modifying the first candidate configuration comprises generating the second candidate configuration, the method further comprising:
determining a benefit gained by modifying the second candidate configuration to change the hardware container where at least one of the virtual machines is stored;
selectively modifying the second candidate configuration to generate a third candidate configuration specifying where the virtual machines are stored in the plurality of hardware containers based at least in part on the determined benefit gained by modifying the second candidate configuration.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
selecting one of the first and second configurations based on costs associated with the first and second configurations; and
selectively migrating at least one of the virtual machines based at least in part on the selected configuration.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first configuration specifies storing at least two of the plurality of virtual machines in one of the hardware containers, the method further comprising:
determining a benefit gained by moving each of the at least two virtual machines where the virtual machine is specified as being stored by the first configuration to another one of the hardware containers, and
wherein the determining the benefit gained by modifying the first configuration comprises selecting one of the determined benefits gained by moving each of the at least two virtual machines.

### Claim 5 (depends on 1)

The method of claim 1, further comprising further basing the benefit gained on at least one of sizes of the hardware containers and communication requirements of the virtual machines.

### Claim 6 (depends on 1)

The method of claim 1, further comprising constraining the selective modification to minimize a first number of the hardware containers in which the virtual machines are stored based at least in part on a cost derived from the determined benefit, the first number being less than a greater number of available hardware containers.

### Claim 7 (depends on 1)

The method of claim 1, further comprising constraining the selective modification to maximize a distribution of the virtual machines across the hardware containers based at least in part on a cost derived from the determined benefit.

### Claim 8 (depends on 1)

The method of claim 1, wherein the selective modification comprises selectively expanding a number of the plurality of hardware containers based at least in part on a cost derived from the determined benefit.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
ranking a group of available hardware containers according to size, the group of available hardware containers comprising the plurality of hardware containers,
wherein the selective modification comprises selectively expanding a number of the plurality of hardware containers based at least in part on the cost derived from the determined benefit and the ranking.

### Claim 10

An apparatus comprising:
an interface to receive a request indicative of a job; and
a processor-based scheduler to, in response to the request, determine a configuration specifying where a plurality of virtual machines are stored in a plurality of hardware containers, the scheduler being adapted to:
generate at least one candidate configuration specifying where the plurality of virtual machines are stored in the plurality of hardware containers;
selectively modify the at least one candidate configuration to change a hardware container from the plurality of hardware containers where at least one of the virtual machines is specified as being stored based at least in part on communication capacities associated with the plurality of hardware containers; and
determine the configuration specifying where the plurality of virtual machines are stored in the plurality of hardware containers based at least in part on the selective modification.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the hardware containers are associated with at least one of different ports of a network switch and different computers.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the scheduler is further adapted to further base the selective modification on communication requirements specified by a service level agreement.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the scheduler is further adapted to minimize a number of the hardware containers used in the determined configuration.

### Claim 14 (depends on 10)

The apparatus of claim 10, further comprising a migration controller to migrate at least at least one of the plurality of virtual machines based on the determined configuration.

### Claim 15

An article comprising a non-transitory computer readable storage medium to store instructions that when executed by at least one processor cause the at least one processor to:
provide a first candidate configuration for virtual machines specifying where the virtual machines are stored in a plurality of hardware containers;
determine a benefit gained by modifying the first candidate configuration to change a hardware container from the plurality of hardware containers where at least one of the virtual machines is stored based at least in part on communication capacities associated with the plurality of hardware containers;
selectively modify the first candidate configuration to generate a second candidate configuration specifying where the virtual machines are stored in the plurality of hardware containers based at least in part on the determined benefit; and
determine placement of the virtual machine based at least in part on the selective modification.
