# US 2016/0253206 A1 · Categorizing Memory Pages Based On Page Residences

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

- Number: US 2016/0253206 A1
- Document ID: US20160253206A1
- Status: Published application
- Kind: A1
- Application number: 15/162,747
- Filed: 2016-05-24
- Published: 2016-09-01
- Earliest claimed: 2014-09-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Chetan L. Gaonkar; Chidambar Y. Kulkarni; Lakshmi Priya; Vamshi K. Thatikonda
- Web page: https://patentgrep.com/patent/US20160253206A1

## CPC

- G06F 9/45529: {Embedded in an application, e.g. JavaScript in a Web browser}
- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2212/251: Local memory within processor subsystem
- G06F 2212/656: Address space sharing
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present invention provide hints for page stealing by prioritizing pages based on the number of residences. Receiving a plurality of pages to be hinted to a hypervisor for page stealing. Determining at least two page types of the plurality of pages. Determining whether any of the at least two page types has a total number of residences less than a total number of potential residences in the virtual environment for all page types and have a total number of residences less than a threshold. Responsive to determining a first page type of the at least two page types has a total number of residences less than a total number of potential residences for all page types and has a total number of residences less than a threshold, notifying the hypervisor of at least one page from the plurality of pages that is the determined first page type.

## Claims

### Claim 1

A computer program product for providing hints for page stealing by prioritizing pages based on the number of residences for the pages in a virtual environment comprising:
one or more computer readable non-transitory storage media;
program instructions stored on the one or more computer readable non-transitory storage media, the program instructions comprising:
program instructions to receive a plurality of pages that are candidates to be hinted to a hypervisor for page stealing;
program instructions to determine at least two page types from the plurality of pages, wherein the page type include at least one of Klock (Kernel pages), working segment pages, remote pages, and persistent pages;
program instructions to determine whether any of the at least two page types have a total number of residences less than a total number of potential residences in a virtual environment for all page types and have a total number of residences less than a threshold, wherein the threshold is determined by a user of the virtual environment in real time, and wherein the total number of potential residences is the sum of readable residences and writeable residences, and wherein the total number of residences include a paging space, a shared memory pool, and a main memory, and wherein the paging space comprises paging space found on a computer that hosts the hypervisor; and
program instructions, responsive to determining a first page type of the at least two page types has a total number of residences less than a total number of potential residences in the virtual environment for all page types and has a total number of residences less than a threshold, to notify the hypervisor of at least one page, from the plurality of pages, that is of the first page type, and wherein the notification includes an indication that the at least one page is an optimal candidate for page stealing.
