US 12,443,537 B2
Method to minimize hot/cold page detection overhead on running workloads
Francois Dugast, Karlsruhe (DE); Durgesh Srivastava, Cupertino, CA (US); Sujoy Sen, Beaverton, OR (US); Lidia Warnes, Roseville, CA (US); Thomas E. Willis, Redwood City, CA (US); and Bassam N. Coury, Portland, OR (US)
Assigned to Intel Corporation, Santa Clara, CA (US)
Filed by Intel Corporation, Santa Clara, CA (US)
Filed on Sep. 23, 2021, as Appl. No. 17/483,195.
Prior Publication US 2023/0092541 A1, Mar. 23, 2023
Int. Cl. G06F 12/0811 (2016.01); G06F 12/0882 (2016.01); G06F 12/123 (2016.01); G06F 13/16 (2006.01); G06F 13/42 (2006.01); G06F 15/78 (2006.01); G06F 12/1009 (2016.01)
CPC G06F 12/0882 (2013.01) [G06F 12/0811 (2013.01); G06F 12/123 (2013.01); G06F 13/1668 (2013.01); G06F 13/4208 (2013.01); G06F 15/7807 (2013.01); G06F 12/1009 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method implemented with a compute platform configured to access memory pages in a plurality of memory tiers including a near memory tier comprising local memory coupled to a processor in the compute platform and at least one far memory tier, comprising:
populating a page meta data structure with meta data associated with memory pages in the plurality of memory tiers;
in conjunction with one or more processes executing on the processor accessing memory pages, filtering, for each of at least one of the one or more processes, updating of page meta data for one or more selected memory pages accessed by that process, the filtering resulting in updating of page meta data for less than all the memory pages accessed by the process;
updating the page meta data structure to reflect accesses to memory pages including memory pages that are filtered; and
using the page meta data to determine which pages are hot pages and which pages are cold pages, wherein hot pages are memory pages with relatively higher access frequencies and cold pages are memory pages with relatively lower access frequencies.