IP Library › Granted Patent US 9,483,184
Granted Patent B2
US 9,483,184 · App. 14/576,255 · Granted Nov 1, 2016

Method to improve page out mechanism with compressed memory pools

Inventors: Gaurav Batra (Cedar Park, TX); Sreenivas Makineedi (Round Rock, TX)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F3/0608G06F3/0644G06F3/0661G06F3/0664G06F3/0673
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,483,184
App. No.
14/576,255
Granted
Nov 1, 2016
Kind
B2
Abstract

A system and method for setting a compression ratio for utilizing a compressed memory pool (which is backed by pinned memory) by a virtual memory manager (VMM). Compression of pages of corresponding segments can be tracked as part of a VMM paging algorithm that compresses pages to store in a compressed memory pool. A segment having pages with an average compression ratio below a threshold is identified. The identified segment pages are prevented from utilizing the compressed memory pool resulting in optimizing the use of the compressed memory pool.

Claims (49)

1. A computer program product for setting a compression ratio for utilizing compressed memory by a virtual memory manager (VMM), the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a computer to cause the computer to perform a method, comprising:

tracking compression of pages of corresponding segments as part of a VMM paging algorithm that compresses pages to store in a compressed memory pool;

identifying a segment having pages with a compression ratio below a threshold; and

preventing the identified segment pages from utilizing the compressed memory pool.

2. The computer program product of claim 1 , further comprising:

sending the identified segment pages to disk paging space.

3. The computer program product of claim 1 , further comprising:

sending the non-identified segment pages having a compression ratio meeting a threshold to a compressed memory pool.

4. The computer program product of claim 1 , further comprising:

specifying an amount of pages in a segment to page-out; and

calculating the compression ratio based on the paged-out pages of the segment.

5. The computer program product of claim 4 , wherein the specified amount of pages is five percent or above of a total number of pages in the segment.

6. The computer program product of claim 4 , further comprising:

marking segments as uncompressible which have pages with an average compression ratio which is below the threshold; and

sending the pages of the segments marked uncompressible to disk paging space.

7. The computer program product of claim 4 , further comprising:

marking segments as compressible which have pages with an average compression ratio meeting or exceeding the threshold; and

sending the pages of the segments marked compressible to the compressed memory pool.

8. The computer program product of claim 1 , further comprising:

specifying an amount of pages in a segment to page-out;

calculating an average compression ratio of the pages based on the paged-out pages of the segment;

marking segments as uncompressible which have pages with an average compression ratio below the threshold; and

marking segments as compressible which have pages with an average compression ratio meeting or exceed the threshold.

9. The computer program product of claim 1 , wherein the threshold compression ratio is fifty percent compressibility for the pages.

10. A computer system for setting a compression ratio for utilizing compressed memory by a virtual memory manager (VMM), the computer system comprising:

one or more computer processors, one or more computer-readable storage media, and program instructions stored on one or more of the computer-readable storage media for execution by at least one of the one or more processors, the program instructions, comprising:

tracking compression of pages of corresponding segments as part of a VMM paging algorithm that compresses pages to store in a compressed memory pool;

identifying a segment having pages with a compression ratio below a threshold; and

preventing the identified segment pages from utilizing the compressed memory pool.

11. The computer system of claim 10 , further comprising:

sending the identified segment pages to disk paging space.

12. The computer system of claim 10 , further comprising:

sending the non-identified segment pages having a compression ratio meeting a threshold to a compressed memory pool.

13. The computer system of claim 10 , further comprising:

specifying an amount of pages in a segment to page-out; and

calculating the compression ratio based on the paged-out pages of the segment.

14. The computer system of claim 13 , wherein the specified amount of pages is five percent or above of a total number of pages in the segment.

15. The computer system of claim 13 , further comprising:

marking segments as uncompressible which have pages with an average compression ratio which is below the threshold; and

sending the pages of the segments marked uncompressible to disk paging space.

16. The computer system of claim 13 , further comprising:

marking segments as compressible which have pages with an average compression ratio meeting or exceeding the threshold; and

sending the pages of the segments marked compressible to the compressed memory pool.

17. The computer system of claim 10 , further comprising:

specifying an amount of pages in a segment to page-out;

calculating an average compression ratio of the pages based on the paged-out pages of the segment;

marking segments as uncompressible which have pages with an average compression ratio below the threshold; and

marking segments as compressible which have pages with an average compression ratio meeting or exceed the threshold.

18. The computer system of claim 10 , wherein the threshold compression ratio is fifty percent compressibility for the pages.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 19, 2014
From: BATRA, GAURAV; MAKINEEDI, SREENIVAS
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 034553/0418 →
Continuity (1)
Related Publication 20160179396A1 · Jun 23, 2016