发明名称 Categorizing memory pages based on page residences
摘要 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.
申请公布号 US9417898(B2) 申请公布日期 2016.08.16
申请号 US201615069259 申请日期 2016.03.14
申请人 International Business Machines Corporation 发明人 Gaonkar Chetan L.;Kulkarni Chidambar Y.;Priya Lakshmi;Thatikonda Vamshi K.
分类号 G06F12/00;G06F9/455;G06F9/48 主分类号 G06F12/00
代理机构 代理人 Jochym Alexander G.
主权项 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, wherein the page type include at least one of Klock (Kernel pages), working segment pages, remote pages, and persistent 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, 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 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, and wherein the notification includes an indication that the at least one page is an optimal candidate for page stealing.
地址 Armonk NY US