IP Library Granted Patent US 9,436,601
Granted Patent B2
US 9,436,601 · App. 14/485,968 · Granted Sep 6, 2016

Categorizing memory pages based on page residences

Inventors: Chetan L. Gaonkar (Kumta, IN); Lakshmi Priya (Hyderabad, IN); Chidambar Y. Kulkarni (Bangalore, IN); Vamshi K. Thatikonda (Karimnagar, IN)
Assignee: International Business Machines Corporation
G06F12/0284G06F2212/1044G06F2212/152G06F2212/251G06F2212/656G06F2212/657
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,436,601
App. No.
14/485,968
Granted
Sep 6, 2016
Kind
B2
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 (32)

1. A method for providing hints for page stealing by prioritizing pages based on the number of residences for the pages in a virtual environment comprising:

receiving, by one or more computer processors, a plurality of pages that are candidates to be hinted to a hypervisor for page stealing;

determining, by one or more computer processors, at least two page types from the plurality of pages;

determining, by one or more computer processors, 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; and

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, notifying, by one or more computer processors, the hypervisor of at least one page, from the plurality of pages, that is of the first page type.

2. The method of claim 1 , wherein the page type include at least one of Klock (Kernel pages), working segment pages, remote pages, and persistent pages.

3. The method of claim 1 , wherein the threshold is determined by at least one of a user of the virtual environment in real time, an administrator of the virtual environment upon creation of the virtual environment, and an operating system of the virtual environment.

4. The method of claim 1 , wherein the total number of residences include at least one of paging space, shared memory pool, and main memory.

5. The method of claim 1 , wherein paging space further comprises paging space found on a computer that hosts the hypervisor or on a computer in a remote location.

6. 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 tangible storage media; and

program instructions stored on the one or more computer-readable tangible 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;

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; 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 a 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.

7. The computer program product of claim 6 , wherein the page type include at least one of Klock (Kernel pages), working segment pages, remote pages, and persistent pages.

8. The computer program product of claim 6 , wherein the threshold is determined by at least one of a user of the virtual environment in real time, an administrator of the virtual environment upon creation of the virtual environment, and an operating system of the virtual environment.

9. The computer program product of claim 6 , wherein the total number of residences include at least one of paging space, shared memory pool, and main memory.

10. The computer program product of claim 6 , wherein paging space further comprises paging space found on a computer that hosts the hypervisor or on a computer in a remote location.

11. A computer system 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 processors;

one or more computer-readable tangible storage media; and

program instructions, stored on the one or more computer-readable tangible storage media for execution by at least one of the one or more computer processors, 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;

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; 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 a 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.

12. The computer system of claim 11 , wherein the page type include at least one of Klock (Kernel pages), working segment pages, remote pages, and persistent pages.

13. The computer system of claim 11 , wherein the threshold is determined by at least one of a user of the virtual environment in real time, an administrator of the virtual environment upon creation of the virtual environment, and an operating system of the virtual environment.

14. The computer system of claim 11 , wherein the total number of residences include at least one of paging space, shared memory pool, and main memory.

15. The computer system of claim 11 , wherein paging space further comprises paging space found on a computer that hosts the hypervisor or on a computer in a remote location.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 15, 2014
From: GAONKAR, CHETAN L.; PRIYA, LAKSHMI; KULKARNI, CHIDAMBAR Y.; THATIKONDA, VAMSHI K.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 033737/0728 →
Continuity (1)
Related Publication 20160077965A1 · Mar 17, 2016