# US 2012/0254860 A1 · Virtual machine placement to improve memory utilization

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

- Number: US 2012/0254860 A1
- Document ID: US20120254860A1
- Status: Published application
- Kind: A1
- Application number: 13/073,132
- Filed: 2011-03-28
- Published: 2012-10-04
- Earliest claimed: 2011-03-28
- Assignees: International Business Machines Corporation
- Inventors: James J. Bozek; Nils Peter Joachim Hansson; Edward S. Suffern; James L. Wooldridge
- Web page: https://patentgrep.com/patent/US20120254860A1

## CPC

- G06F 9/5033: {considering data affinity}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/461: {Saving or restoring of program or task context}
- 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

Virtual machines having a high amount of identical memory pages are grouped under a common hypervisor to enable greater memory savings as the result of transparent page sharing. One embodiment provides a computer program product including computer usable program code for performing a method that comprises analyzing the software image content of a plurality of virtual machines running on a plurality of hypervisors in a common migration domain, identifying two or more of the virtual machines having greater than a threshold amount of common memory pages, placing the two or more virtual machines under a common hypervisor, and sharing the common memory pages among the two or more virtual machines. Optionally, the identifying of two or more of the virtual machines may include identifying two or more of the virtual machines having the same software image content classifications; thereby, identifying images with a greater affinity for common memory pages.

## Claims

### Claim at position 1

1-15. (canceled)

### Claim 16

A computer program product including computer usable program code embodied on a computer usable storage medium, the computer program product comprising:
computer usable program code for analyzing the software image content of a plurality of virtual machines running on a plurality of hypervisors in a common migration domain;
computer usable program code for identifying two or more of the virtual machines having greater than a threshold amount of common memory pages;
computer usable program code for placing the two or more virtual machines under a common hypervisor; and
computer usable program code for sharing the common memory pages among the two or more virtual machines.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the computer usable program code for placing the two or more virtual machines under a common hypervisor, includes computer usable program code for dynamically migrating a first of the two or more virtual machines to a physical server running a second of the two or more virtual machines.

### Claim 18 (depends on 16)

The computer program product of claim 16, further comprising:
computer usable program code for increasing the amount of common memory pages between a first virtual machine and a second virtual machine by moving a workload of the first virtual machine from a first operating system to a second operating system that is used by the workload of the second virtual machine.

### Claim 19 (depends on 1)

The computer program product of claim 1, wherein the computer usable program code for analyzing the software image content of a plurality of virtual machines running on a plurality of hypervisors in a common migration domain, includes computer usable program code for determining a software image content classification for each of the plurality of virtual machines.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the computer usable program code for identifying two or more of the virtual machines having greater than a threshold amount of common memory pages, includes computer usable program code for identifying two or more of the virtual machines having the same software image content classifications.

### Claim 21 (depends on 20)

The computer program product of claim 20, wherein the computer usable program code for determining the software image content classification for each of the plurality of virtual machines, includes computer usable program code for classifying a virtual machine based upon a common golden image used to create the virtual machine.
