# US 2022/0019468 A1 · Load balancing of cloned virtual machines

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

- Number: US 2022/0019468 A1
- Document ID: US20220019468A1
- Status: Published application
- Kind: A1
- Application number: 17/484,432
- Filed: 2021-09-24
- Published: 2022-01-20
- Earliest claimed: 2014-09-09
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Kalyan Saladi; Ganesha Shanmuganathan
- Web page: https://patentgrep.com/patent/US20220019468A1

## CPC

- G06F 9/505: {considering the load}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- 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 9/5088: {involving task migration}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein are embodiments for managing the placement of virtual machines in a virtual machine network. In an embodiment, a method involves determining whether to separate at least one virtual machine in a set of virtual machines supporting a process and running on a first host computer from other virtual machines in the set. If at least one virtual machine is to be separated, then at least one virtual machine is selected based on a number of memory pages changed. The selected virtual machine is then separated from the other virtual machines in the set.

## Claims

### Claim 1

A method for managing placement of a set of virtual machines in a virtual machine network, comprising:
creating a parent virtual machine on a first host computing device;
creating a plurality of cloned virtual machines from the parent virtual machine, individual ones of the cloned virtual machines and the parent virtual machine using a shared memory;
determining a capability of the first host computing device to support an additional virtual machine;
in response to determining that the first host computing device is not capable of supporting the additional virtual machine, selecting from the plurality of cloned virtual machines a cloned virtual machine using a greatest amount of the shared memory; and
migrating the cloned virtual machine using the greatest amount of the shared memory from the first host computing device to a second host computing device and leaving at least one remaining cloned virtual machine from the plurality of cloned virtual machines on the first host computing device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the parent virtual machine is created on the first host computing device based at least in part on a configuration file, the configuration file comprising instructions to access the shared memory.

### Claim 3 (depends on 2)

The method of claim 2, wherein the plurality of cloned virtual machines are created from the parent virtual machine based at least in part on the configuration file.

### Claim 4 (depends on 1)

The method of claim 1, wherein the parent virtual machine is created to support a process on the first host computing device.

### Claim 5 (depends on 4)

The method of claim 4, wherein the plurality of cloned virtual machines are created from the parent virtual machine in response to reaching a predefined point in the process on the first host computing device.

### Claim 6 (depends on 4)

The method of claim 4, wherein the capability of the first host computing device is determined in response to determining that the additional virtual machine is needed to support the process supported by the parent virtual machine.

### Claim 7 (depends on 1)

The method of claim 1, individual cloned virtual machines of the plurality of cloned virtual machines are configured to create a copy of a page of the shared memory to a dedicated memory of the individual cloned virtual machines and to write to the copy of the page of the shared memory in the dedicated memory of the individual cloned virtual machines.

### Claim 8

A system for managing placement of a set of virtual machines in a virtual machine network, comprising:
at least one computing device comprising a processor and a memory; and
machine-readable instructions stored in the memory that, when executed by the processor, cause the at least one computing device to at least:
create a parent virtual machine on a first host computing device;
create a plurality of cloned virtual machines from the parent virtual machine, individual ones of the cloned virtual machines and the parent virtual machine using a shared memory;
determine a capability of the first host computing device to support an additional virtual machine;
in response to determining that the first host computing device is not capable of supporting the additional virtual machine, select from the plurality of cloned virtual machines a cloned virtual machine using a greatest amount of the shared memory; and
migrate the cloned virtual machine using the greatest amount of the shared memory from the first host computing device to a second host computing device and leaving at least one remaining cloned virtual machine of the plurality of cloned virtual machines on the first host computing device.

### Claim 9 (depends on 8)

The system of claim 8, wherein the parent virtual machine is created on the first host computing device based at least in part on a configuration file, the configuration file comprising instructions to access the shared memory.

### Claim 10 (depends on 9)

The system of claim 9, wherein the plurality of cloned virtual machines are created from the parent virtual machine based at least in part on the configuration file.

### Claim 11 (depends on 8)

The system of claim 8, wherein the parent virtual machine is created on the first host computing device to support a process on the first host computing device.

### Claim 12 (depends on 11)

The system of claim 11, wherein the plurality of cloned virtual machines are created from the parent virtual machine in response to reaching a predefined point in the process on the first host computing device.

### Claim 13 (depends on 8)

The system of claim 8, wherein the capability of the first host computing device is determined in response to determining that the additional virtual machine is needed to support the process on the first host computing device.

### Claim 14 (depends on 8)

The system of claim 8, wherein individual cloned virtual machines of the plurality of cloned virtual machines are configured to create a copy of a page of the shared memory in a dedicated memory of the individual cloned virtual machines and to write to the copy of the page of the shared memory in the dedicated memory of the individual cloned virtual machines.

### Claim 15

A non-transitory computer-readable medium comprising machine-readable instructions for managing placement of a set of virtual machines in a virtual machine network, the machine-readable instructions, when executed by a processor of at least one computing device, causing the at least one computing device to at least:
create a parent virtual machine on a first host computing device;
create a plurality of cloned virtual machines from the parent virtual machine, individual ones of the cloned virtual machines and the parent virtual machine using a shared memory;
determine a capability of the first host computing device to support an additional virtual machine;
in response to determining that the first host computing device is not capable of supporting the additional virtual machine, select from the plurality of cloned virtual machines a cloned virtual machine using a greatest amount of the shared memory; and
migrate the cloned virtual machine using the greatest amount of the shared memory from the first host computing device to a second host computing device and leaving at least one remaining cloned virtual machine of the plurality of cloned virtual machines on the first host computing device.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the parent virtual machine and the plurality of cloned virtual machines are created based at least in part on a configuration file, the configuration file comprising instructions to access the shared memory.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the parent virtual machine is created on the first host computing device to support a process on the first host computing device.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the plurality of cloned virtual machines are created from the parent virtual machine in response to reaching a predefined point in the process on the first host computing device.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the capability of the first host computing device is determined in response to determining that the additional virtual machine is needed to support the process on the first host computing device.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein individual cloned virtual machines of the plurality of cloned virtual machines are configured to create a copy of a page of the shared memory in a dedicated memory of the individual cloned virtual machines and to write to the copy of the page of the shared memory in the dedicated memory of the individual cloned virtual machines.
