Manuscript Offprint
arXiv:2610.12164Mole: Tier-Specific Hotness Profiling Driven Memory Tiering for Multi-Tiered Memory Systems
Mingyang Liu
Xiamen University
Xiamen, China
Fang Wu
Xiamen University
Xiamen, China
Congming Gao
Xiamen University
Xiamen, China
Youmin Chen
Shanghai Jiao Tong University
Shanghai, China
Xufeng Yang
Xiamen University
Xiamen, China
Renhui Chen
Xiamen University
Xiamen, China
Jiwu Shu
Xiamen University
Xiamen, China
Abstract
Multi-tiered memory systems combine fast, small upper tiers with slow, large lower tiers to improve performance and cost efficiency. Existing designs, such as AutoTiering and MTM, rely on greedy promotion and stepwise demotion, which can intensify contention for limited capacity in faster tiers. We observe that promotions directly improve performance, whereas demotions primarily reclaim space. Based on this asymmetry, we propose Mole, a memory tiering system that separates promotion and demotion destinations. Mole employs staging demotion to move cold pages directly to the lowest tier, bypassing intermediate tiers, and targeted promotion to place hot pages in tiers that match their current hotness. The lowest tier serves as a staging area from which pages can be promoted when they become hot again. This separation preserves intermediate-tier capacity for promotions, reducing tier contention and migration failures. However, staging demotion requires timely identification of pages that become hot after demotion. To meet this requirement with low profiling overhead, Mole uses tier-specific profiling: it profiles the lowest tier at high frequency to detect reactivated hot pages, while profiling upper tiers at lower frequency to identify cold pages. Experimental results show that Mole reduces migration failures and improves performance under dynamic access patterns.
1 Introduction
Existing memory systems commonly adopt a tiered hierarchy from top to bottom: the top tier is fast, expensive, and small, used for frequently accessed (hot) pages; the bottom tier is slow, cheap, and large, used for cold pages. With advanced memory technologies like persistent memory (PM) [5] and CXL-attached memory [1, 34, 51, 67], memory hierarchies are scaling out to more tiers, enabling new tiered, heterogeneous

Hot page Cold page

Hot page Cold page Threshold 0
(a) Greedy promotion in [28, 47].
(b) Staging demotion in Mole.
Figure 1. Migration policy in existing multi-tier memory tiering systems versus Mole.
memory systems [13, 31, 32, 38, 45]. In multi-tiered memory systems, pages must be placed on the tier that best matches their access hotness. This triggers data migration across tiers, generating substantial tier-transit traffic and new challenges.
Existing multi-tiered memory management systems, including AutoTiering [28] and MTM [47], employ a greedy promotion policy for moving pages across tiers. Greedy promotion always attempts to place hot pages into the top tier, falling back to the next available tier if full, while stepwise demotion moves cold pages downward until finding available capacity. As illustrated in Figure 1a, greedy promotion prioritizes placing hot pages in the top tier (Tier-0). If Tier-0 lacks sufficient capacity, it continues searching downward through the hierarchy until it finds a tier with available capacity (i.e., Tier-2). Stepwise demotion is triggered when a tier's occupied pages exceed a predefined watermark, after which identified cold pages in that tier (i.e., Tier-0) are moved down the hierarchy, skipping fully occupied tiers, until reaching the first tier with available capacity (i.e., Tier-2). We refer to competition among pages for limited capacity within a memory tier as tier contention. Greedy promotion and stepwise demotion can intensify this contention by increasing demand for limited capacity in faster tiers. When destination tiers lack sufficient available capacity, promotions and demotions may fail, leaving pages in suboptimal tiers. Experiments in §3.1 reveal promotion failure rates above 97% for both Silo and Liblinear under saturated conditions, and demotion failure rates up to 37.9% and 48.2%, respectively. These failures occur even when many hot pages are correctly identified, indicating that accurate hotness estimation alone is insufficient to ensure successful migration under capacity pressure.
When tier capacity is limited, promotions and demotions should not be treated symmetrically. Promotions move frequently accessed pages toward faster tiers and directly improve performance, whereas demotions mainly reclaim space from pages with lower expected reuse. Therefore, we let demotions yield to promotions by bypassing intermediate tiers and moving cold pages directly to the lowest tier. Based on this, we design Mole with staging demotion and targeted promotion. As shown in Figure 1b, Mole separates the destinations of promotions and demotions. Promotions use dynamic hotness thresholds to target the tier that matches each page's current hotness, including the top and intermediate tiers (Tiers-0~N-1). Demotions, in contrast, bypass intermediate tiers and move cold pages directly to the lowest tier (Tier-N), which serves as a staging area for pages that may later warrant promotion. By redirecting migration destinations, Mole prevents demotions from occupying promotion target tiers, preserving capacity for future promotions and ensuring migration success rate.
However, staging demotion is not free. Page hotness is dynamic, and demoted cold pages may later become hot again. Delayed hot page detection in the lowest tier can prevent these reactivated pages from being promoted in time, thus increasing the access latency of hot pages and amplifying the penalty of staging demotion. Therefore, staging demotion requires an accurate and timely hot page hotness detection in the lowest tier. A natural way to improve detection timeliness is to increase page hotness profiling frequency. However, high-frequency profiling incurs substantial overhead [31, 40] and cannot be applied uniformly across all tiers, especially in the upper tier, where most pages are hot and their performance can be significantly affected by frequent profiling. Fortunately, upper tiers already contain most hot pages, so there is no need to repeatedly detect their hotness; besides, accurately identifying cold pages in the upper tier does not require high-frequency profiling as well: cold pages have long access intervals, so a moderate detection delay in identifying them has limited impact on overall hotness identification. Consequently, staging demotion can be harnessed with an asymmetrical profiling frequency across tiers: high-frequency profiling on lower tiers promptly detects reactivated pages with minimal impact on cold pages, while low-frequency profiling on the upper tier identifies cold pages without significantly affecting hot pages.
However, existing profiling mechanisms do not fully exploit this asymmetry. Most existing systems use an identical profiling frequency across tiers [28, 40, 47], which couples the detection latency of the lowest tier with the profiling overhead incurred in upper tiers. Although several prior works [12, 38, 67] have exploited this asymmetry by applying profiling only to the lower or remote tier, they lack scalability and cannot support differentiated profiling frequency control on a per-tier basis that accounts for variations in hotness and page sensitivity across tiers.
To address this limitation, we design Mole, a memory tiering system that combines tier-specific profiling, staging demotion, and targeted promotion. Mole uses tier-specific profiling to promptly detect misplaced or reactivated pages on lowest tier, and identify cold pages on upper tiers with low overhead. Based on the collected hotness information, Mole enables staging demotion to move cold pages directly to the lowest tier and targeted promotion to place hot pages into hotness-matched upper or intermediate tiers. This destination separation prevents demoted cold pages from occupying tiers needed by future promotions, thereby reducing tier contention and improving migration success. To support tier-specific profiling efficiently, Mole extends hint-page-fault-based profiling with physical-address-based scans over Linux's tier-specific LRU lists. This allows Mole to select pages from each tier directly, while a page metadata flag records whether a page has already been protected for hint-page-fault profiling, avoiding redundant page table walks. Besides, Mole measures both unaccessed intervals and reaccess intervals as unified hotness metric across tiers to improve hotness detection accuracy.
The contributions of this work include: 1) Identify the limitations of existing memory tiering in multi-tiered systems: page migration frequently fails, and hotness profiling struggles to simultaneously achieve high accuracy and low overhead; 2) Design Mole to address these limitations: it improves migration success by reducing tier contention and improves profiling efficiency by adapting hotness detection to different tiers; 3) Evaluate Mole on a four-tier memory system. Experimental results show that Mole outperforms state-of-the-art multi-tiered memory tiering systems.
2.1 Multi-Tiered Memory System
Conventional two-tiered memory systems combine DRAM with emerging memory technologies like PM[5], HBM, or CXL devices[1]. Memory tiers are often deployed with multi-socket NUMA architectures, and CXL switches commonly connect to multiple devices [21, 67], making multi-tiered systems increasingly prevalent. These systems offer scalable, cost-effective capacity for data centers and AI workloads, but also pose challenges due to heterogeneity and cross-socket latency. This work focuses on a four-tier memory hierarchy with heterogeneous latencies and capacities. We instantiate it on a dual-socket machine, where the memory attached to each socket is exposed as separate NUMA nodes and configured as four tiers [28, 47]. To isolate page placement from thread scheduling and cross-socket effects, we bind application threads to a single socket throughout. For clarity, since memory tiers are often represented as NUMA nodes [32, 38, 66], this paper primarily uses the term “tier” to focus discussion on tiered memory systems.
2.2 Tiered Memory Management
Memory tiering comprises two key components: page hotness profiling and migration path management. Page hotness profiling is responsible for detecting page access patterns, thereby guiding subsequent migration operations.
2.2.1 Page Hotness Profiling Mechanism. There are three popular page hotness profiling mechanisms adopted in prior works (Table 1):
Hint Page Fault Based. Ordinary memory accesses are handled by hardware and do not trap into the OS, making them difficult for the OS to observe directly. Systems therefore use hint-page-fault-based profiling to intercept selected memory accesses and collect access information [12, 28]. Specifically, this technique periodically scans and makes a range of virtual addresses (VAs) inaccessible by changing their PTE permissions to PROT_NONE state and flushing their TLB entries. Consequently, any subsequent access to these pages will trigger a minor page fault (hint page fault). During the page fault handling, the OS can capture this memory access information, thereby facilitating detailed analysis of memory access patterns. Note, the process of making pages inaccessible is often called “unmap” [12, 19, 41], but this differs from the “unmap” used in page reclamation. In this paper, “unmap” specifically refers to modifying PTE permission bits unless stated otherwise. Also, by periodically scanning the “unmap” state, the OS can capture the duration for which a page remains unaccessed, using this as a metric for hotness.
PTE Access Bit Based. Most modern architectures incorporate an access bit within their PTEs. The OS can clear this bit, and the Memory Management Unit (MMU) sets it when the corresponding page is accessed. By periodically scanning and clearing the bit, the OS can infer page access patterns and estimate page hotness. This enables OS-level access tracking without trapping on every memory access. For example, Linux uses this mechanism to approximate LRU information for page reclamation [60]. However, because the access bit is sampled only periodically and records only whether a page has been accessed since the last scan, it provides coarse-grained hotness information.
Hardware Performance Counters Based. Modern processors typically include embedded hardware performance counters and support hardware event sampling mechanisms, such as PEBS (Processor Event-Based Sampling) [23] in Intel and IBS (Instruction-Based Sampling) [6] in AMD processors. Based on this, many works [16, 31, 38, 46, 59] leverage memory access-related event sampling to collect memory access information for guiding page hotness identification. However, hardware sampling is probabilistic and often limited by sampling coverage and platform support, which can reduce hotness accuracy [45, 67].
2.2.2 Migration Policy in Tiered Memory System. The main goal of multi-tiered memory tiering is to efficiently migrate data among tiers based on page hotness. In a two-tiered system, migration is straightforward and bidirectional: promotion moves hot pages upward, while demotion moves cold pages downward. Existing multi-tiered systems such as AutoTiering and MTM extend this style with greedy promotion and stepwise demotion: hot pages are moved to the highest available tier, while cold pages are demoted to a lower-performance tier [28, 47]. However, this policy can intensify tier contention, making page migration more difficult under capacity pressure. Related works in two-tiered systems, including FlexMem, PET, and Chrono, address this by proactively demoting cold pages before the top tier experiences memory pressure, keeping space available for future promotions [13, 45, 59]. However, directly extending this idea to multi-tiered systems is insufficient: there are multiple possible demotion destinations, and intermediate tiers can still become contention points.
3 Limitations of Existing Solutions
We identify the limitations of existing multi-tiered memory management. First, limited available tier capacity can hinder promotion and demotion, leading to migration failures. Second, identical profiling frequency across tiers fail to balance profiling overhead and hotness detection needs.
3.1 Page Migration Failures in Multi-tiered Systems
Effective multi-tiered memory management depends not only on identifying hot pages, but also on whether those pages can be migrated to their destination tiers. This section quantifies promotion and demotion failures under capacity pressure. We evaluate AutoTiering [28] as an open-source representative of greedy promotion policy in multi-tiered memory systems. The evaluation uses Liblinear and Silo under the 1:1:2:2 and 1:1:8:8 tier-capacity configurations, where each ratio denotes the capacity quotas of Tier-0, Tier-1, Tier-2, and Tier-3. The configured memory capacity is well-suited to the RSS of the tested workloads. Detailed configurations are described in §6.1. During the runs, we record each promotion and demotion attempt with its source tier and destination tier. Under greedy promotion, hot pages first attempt to move to Tier-0 and fall back to lower tiers if the target tier is full. Under stepwise demotion, cold pages are
Table 1. Comparison of profiling and migration policies in tiered memory systems.
| Page Hotness Profiling | Migration Path Management | ||||
|---|---|---|---|---|---|
| Method | Profiling Control | Promotion | Demotion | ||
| Two-Tier | HeMem [46] | PEBS | Identical Rate | - | - |
| TPP [38] | PEBS + Hint Page Fault | Only Lower Tier | - | - | |
| Telescope [40] | PTE Access Bit | Identical Rate | - | - | |
| TMTS [16] | PEBS + PTE Access Bit | Identical Rate | - | - | |
| NeoMem [67] | Hardware Profiler | CXL Tier | - | - | |
| MEMTIS [31] | PEBS | Identical Rate | - | - | |
| FlexMem [59] | PEBS + Hint Page Fault | Identical Rate | - | - | |
| PET [13] | PTE Access Bit + Hint Page Fault | Identical Rate | - | - | |
| Chrono [45] | Hint Page Fault | Identical Rate | - | - | |
| HybridTier [49] | PEBS | Identical Rate | - | - | |
| Multi-Tier | AutoNUMA [12] | Hint Page Fault | Only Remote Tier | Only Top Tier | Local Lower Tier |
| Tiering-0.8 [53] | Hint Page Fault | Identical Rate | Only Top Tier | Local Lower Tier | |
| AutoTiering [28] | Hint Page Fault | Identical Rate | Best Effort to Top Tier | Lower-performance Tier | |
| MTM [47] | PTE Access Bit | Identical Rate | Best Effort to Top Tier | Lower-performance Tier | |
| Mole | Hint Page Fault + Scanning | Tier-Specific | Targeted Tier | Lowest Tier | |
Note: Identical Rate means all tiers use the same profiling frequency; “-” denotes mechanisms designed for two-tiered memory systems.
liblinear (1:1:2:2)

liblinear (1:1:8:8)
silo (1:1:2:2)
silo (1:1:8:8)
Figure 2. Migration distribution and failure rates under AutoTiering. Each cell represents one source (src) and destination (dst) tier pair. Red and blue cells denote promotion and demotion paths. Color intensity shows the fraction of total migration attempts on the path, and cell text reports the failure rate and total attempts. Note: AutoTiering excludes demotion from Tier-0 (local DRAM) to Tier-1 (remote DRAM), so the Tier-0→Tier-1 demotion path has zero observed operations.
moved downward through the hierarchy, using intermediate tier as possible destination. As a result, the two migration directions can converge on the same intermediate tier.
Our results indicate that AutoTiering experiences severe promotion failures under both tier-capacity configurations. Across 1:1:2:2 and 1:1:8:8, promotion failures reach 97.4% for Silo and 99.4% for Liblinear. The path-level results in Figure 2 show where these failures occur. We observe that most failed promotions target Tier-0, indicating that the highest tier remains saturated during execution. Although fallback promotions to lower tiers may succeed, they still leave hot pages in suboptimal tiers and shift migration pressure to intermediate tiers. Stepwise demotion also uses intermediate tiers as possible destinations for cold pages, which can add to capacity pressure in these tiers. Across the two configurations, demotion failures reach 25.4%–37.9% for Silo and 46.1%–48.2% for Liblinear. For Liblinear, 49.9%–81.0% of demotion attempts from Tier-0 (top tier) to Tier-2 (intermediate tier) fail, whereas 99.4%–99.6% of promotion attempts from Tier-2 to Tier-0 fail, while Silo exhibits a similar result. Under these policies, intermediate tiers can serve as destinations for both promoted hot pages and demoted cold pages.

Figure 3. Profiling period and hotness impact on GUPS loss.
Consequently, we identify the first challenge as follows: Challenge#1: In multi-tiered memory systems, limited available tier capacity can hinder promotions and demotions, leaving pages in suboptimal tiers.
3.2 Profiling Overhead Varies Across Tiers
Hardware sampling mechanisms such as PEBS provide useful access information, but their support is often limited and inconsistent across heterogeneous memory tiers [67]. Access-bit scanning is more portable, but it exposes only a one-bit access state and detects reaccesses only when the page is scanned again. Hint-page-fault-based profiling is therefore attractive: it is purely software-based, and captures a page reaccess immediately after the page is made inaccessible, providing richer timing memory access information for hotness profiling. However, the overhead of hint-page-fault-based profiling is not negligible. First, making pages inaccessible requires costly page table walks (PTWs), PTE permission changing and TLB flushes, which invalidate existing translations. More importantly, when such pages are accessed again, applications suffer TLB misses, possible PTW, and hint page faults on the critical path. The performance impact of these costs is mainly exposed when unmapped pages are reaccessed on the application critical path. Thus, the overhead becomes sensitive to page hotness: hot pages are likely to incur frequent TLB misses and hint page faults, whereas cold pages may remain unaccessed for a long time and impose little performance impact.
To quantify how performance sensitivity to profiling frequency varies across tiers with different access hotness, we run a GUPS-like random update workload [46] over a 32 GB dataset evenly divided into four 8 GB tiers. GUPS (Giga-Updates Per Second) is used as the performance metric. We assign skewed access shares across tiers to set resided pages with different hotness: 64%, 25%, 10%, and 1% of Tier-0, Tier-1, Tier-2, and Tier-3, respectively. During each run, we apply profiling to only one target tier by periodically making pages in that tier inaccessible, and decrease the profiling frequency by changing the profiling periods from 75 ms to 1000 ms. To measure the actual performance overhead, we report GUPS loss, i.e., the percentage reduction in GUPS compared with a baseline run without profiling.
The results are presented in Figure 3, where we observe that tiers with higher access hotness are much more sensitive to the profiling frequency. At 75 ms (highest frequency in this evaluation), profiling Tier-0 reduces GUPS by 57.5%, while profiling Tier-3 reduces GUPS by only 5.7%. The underlying hint-fault counters show the same pattern: at 75 ms, profiling Tier-0 triggers about 32.6 million hint faults, while profiling Tier-3 triggers only 1.78 million. As the period increases to 1000 ms, Tier-0 loss drops by 29.5%, from 57.5% to 28.0%, whereas Tier-3 changes only from 5.7% to 2.1%. This imbalance leads to the second challenge: Challenge#2: Applying a high profiling frequency can achieve high page hotness detection accuracy, but it introduces significant overhead, especially on upper tiers that contain most of the hot pages, while having less performance impact on lower tiers, since most pages in lower tiers are cold.
However, existing profiling mechanisms do not provide tier-specific frequency control, which would be necessary to enable different profiling frequencies on different tiers. As summarized in Table 1, most systems apply an identical profiling rate across tiers. Some works reduce overhead by profiling only selected tiers, such as lower, remote, or CXL-attached memory [12, 38, 67]. Such selective profiling is still too coarse-grained for multi-tiered systems because it does not adapt the profiling period separately for each tier.

Figure 4. Overview of Mole.
4 Design of Mole
4.1 Overview
Figure 4 provides an overview of Mole. Mole aims to provide tier-specific hotness profiling that captures accurate hotness information for all pages with low overhead, and uses this information to drive memory tiering in multi-tiered memory systems. Mole contains four key modules: Physical-Address-based Hotness Profiling (① PAP), Differentiated Profiling Frequency Control (② DPF), Hotness Histogram Construction (③ HHC), and Page Migration Management (④ PMM). PAP collects page hotness information, while DPF controls the profiling frequency (i.e., the frequency of unmap and scan operations) across tiers. The collected hotness information is then summarized by HHC into hotness histograms, which guide PMM's page migration.
Four modules are integrated to address the above two challenges. For Challenge#1, HHC and PMM reduce tier contention by enabling staging demotion, which bypasses intermediate tiers and moves cold pages directly to the lowest tier, and targeted promotion, which moves hot pages to hotness-matched tiers. For Challenge#2, PAP and DPF provide tier-specific profiling with low overhead by selecting pages through physical-page scans and applying different profiling frequencies across tiers. The rest of this section presents these modules in workflow order: Mole first profiles pages, then summarizes their hotness, and finally performs migration decisions based on the profiling results.
4.2 Physical Address based Hotness Profiling
Profiling limitation. As discussed in §3.2, hint-page-fault-based profiling is attractive because it is software-based and captures page reaccesses promptly after pages are made inaccessible. However, identifying page hotness in a tier-specific manner still requires periodic scans to check page's location and whether previously unmapped pages remain unaccessed. However, this process relies on walking VAs and checking page location and PTE states, which introduce costly PTWs, as illustrated in Figure 5a.
Physical page profiling. To be tier-specific and reduce the overhead, Mole introduces Physical-Address-based Hotness Profiling (PAP), which scans physical pages directly from Linux's LRU lists and mirror profiling state into page metadata. This design is motivated by the physical-address-based memory reclamation mechanism of the Linux kernel [11]. For each physical page, Mole retrieves the struct page pointer from the LRU list and converts it to the physical address using page_to_pfn(page) « PAGE_SHIFT. Because Linux maintains separate LRU lists for different tiers, scanning these lists allows Mole to select pages from a specific tier directly. Mole extends struct page, which serves as metadata for each physical page, with three profiling fields: a 1-bit PageUnmap flag, an unmap timestamp, and a time interval. The PageUnmap flag records whether the page has been made inaccessible and is synchronized with the PTE permission state whenever Mole performs an unmap operation. The unmap timestamp records when the page is made inaccessible, and the time interval is used to represent the measured page hotness. As a result, periodic scans no longer need to walk page tables to check whether the page remains unmapped; they can read the metadata directly.
Profiling workflow. Figure 5 compares conventional hint-page-fault-based profiling with PAP. For a given tier, Mole scans pages in the corresponding LRU list and reads their metadata, as shown in Figure 5b. Initially, pages are accessible. When Mole selects a page for profiling, it performs an RMAP walk (reverse mapping, commonly used in Linux memory reclamation to locate the PTEs mapping a physical page) [11], changes the PTE permission to PROT_NONE, and synchronizes the PageUnmap flag and unmap timestamp in the page metadata. This unmap operation still requires locating and updating the PTE, but subsequent scans can avoid redundant PTE checks.
After a page is unmapped, Mole handles hot and cold pages differently. For a hot page, a later access triggers a hint page fault; the fault handler restores the PTE permission, clears the PageUnmap flag, and computes the interval between the unmap timestamp and the fault time as the page's reaccess interval. For a cold page, if the PageUnmap flag remains set across scan cycles, Mole treats the page as unaccessed and updates its time interval using the current time and the recorded unmap timestamp. This metadata-only scan records how long the page has remained unaccessed without walking the page table. In this way, PAP preserves the benefit of hint-page-fault-based profiling for hot pages while reducing scan overhead for cold pages, providing both reaccess intervals and unaccessed durations for later histogram construction and migration decisions.
It is worth noting that VA-based scans can be cache-friendly because adjacent virtual pages map to nearby PTEs and allow direct PTE inspection. However, many workloads exhibit

(a) Hint Page Fault
(b) PAP
Figure 5. Hint page fault based profiling versus PAP. skewed page hotness, where a large fraction of pages are cold and remain unmapped across multiple scan cycles. For these pages, repeatedly revisiting their PTEs only confirms that no reaccess has occurred, creating redundant scan overhead. PAP avoids these repeated PTE checks by reading the PageUnmap flag in page metadata, and further reduces scan cost by processing pages and unmap operations in batches. As shown later in Figure 15, this optimization reduces profiling CPU overhead by 11% compared with AutoNUMA.
4.3 Differentiated Profiling Frequency Control
Separating scan and unmap. As the number of memory tiers grows, finer-grained control over profiling frequency and overhead becomes essential. Mole controls two profiling operations separately: scan and unmap. A scan checks page metadata to update cold-page information, while an unmap makes selected pages inaccessible so that later reaccesses can be captured by hint page faults. Because Linux maintains separate LRU page lists per tier, all pages in a given LRU list belong to the same tier. Mole leverages this property to apply different profiling controls to pages from different tiers. The key idea of DPF is to keep low-cost metadata scans frequent across all tiers, while applying expensive unmap operations at tier-specific frequency.
Controlling scan frequency. Mole keeps identical scan frequency across all tiers. With PAP, a scan normally reads the PageUnmap flag and timing fields in page metadata, without walking page tables or triggering hint page faults. This low-cost scan continuously updates the unaccessed duration of pages that remain unmapped, helping Mole identify colder pages from every tier. Therefore, scan frequency can remain high and identical across tiers without imposing the same overhead as frequent unmapping.
Controlling unmap frequency and budget. Mole differentiates the unmap frequency across tiers. Unmapping may later trigger hint page faults and TLB misses on the application critical path, and this cost is much higher for hot tiers. Therefore, Mole performs more frequent unmapping on lower tiers, where pages are mostly cold but misplaced hot pages should be detected quickly. For upper tiers, Mole uses a lower unmap frequency to avoid repeatedly perturbing hot pages. Let T denote the scan period shared by all

Figure 6. Time interval representation.
tiers. The unmap period of a tier is set to , where and varies across tiers. Mole assigns larger m values to upper tiers and smaller m values to lower tiers.
Frequency control determines when each tier performs unmapping, but Mole also needs to bound how much work is performed in each unmap cycle. Therefore, Mole uses an unmap budget N to limit the total number of pages unmapped in a cycle. The budget is distributed to each tier in proportion to its capacity. For example, if Tier-0 accounts for 1/16 of the total configured memory, Mole unmaps pages from this tier in the corresponding unmap cycle. As an initialization rule, if a scanned page does not yet have a recorded time interval, Mole forcibly unmaps it once to obtain its first hotness measurement. This accelerates initial hotness characterization and helps the dynamic thresholds in HHC converge more quickly (see §4.4).
4.4 Hotness Histogram Construction
Hotness metric. HHC captures both hot-page reaccesses and cold-page inactivity using a unified time-interval metric. For pages that trigger hint page faults, Mole records the reaccess interval between unmapping and the fault. For pages that remain unmapped during scans, Mole records the unaccessed duration. A shorter interval indicates a hotter page, while a longer interval indicates a colder page.
Prior systems such as Chrono also use time intervals for hotness estimation. Chrono defines Captured Idle Time (CIT) as the interval between page scanning and the subsequent page fault [45]. Such intervals are effective for hot-page promotion, but they are produced only when an unmapped page is reaccessed. For cold-page demotion, Chrono still relies on LRU-based selection to choose pages from the fast tier. Mole extends interval-based hotness to cold pages as well: it records reaccess intervals for pages that fault, and unaccessed durations for pages that remain unmapped across scans. Compared with LRU-based cold-page selection, this provides a more fine-grained coldness signal and improves the accuracy of selecting pages for staging demotion.
Time interval representation. Mole stores hotness metadata in struct page, so the representation must be compact to limit per-page memory overhead. We observe that hot and warm pages often have short, sub-second intervals, while cold pages can remain unaccessed for much longer. Prior production workload characterization also shows a long cold-page tail in datacenter applications [38]. This wide interval range requires fine granularity for short intervals, while very long intervals only need to be distinguished coarsely once pages are clearly cold. Although a pure base-2 logarithmic scale is compact, it becomes too coarse for medium and long intervals. For example, pages with 16–32 s intervals fall into the same bucket, which may mix warm and cold pages and reduce placement accuracy.
To maintain precision with minimal space overhead, Mole adopts the segmented representation shown in Figure 6. Intervals shorter than Time_Threshold (T) use a base-2 logarithmic scale, while longer intervals use a linear scale with step size T. This representation is a space-accuracy tradeoff: it uses limited metadata bits to preserve high resolution for short intervals, while representing longer intervals more coarsely. T is configurable. Experimentally, we determine that T=1024 ms provides a good balance between interval precision and metadata range on our system, and use this setting in our evaluation. Formally, the recorded interval is computed as
where is the real time interval and is the recorded interval. Mole reuses the 21-bit last_cpupid field from AutoNUMA to store the unmap timestamp and , allocating 16 bits for the timestamp and 5 bits for the interval. The 5-bit represents values from 0 to 31. The 16-bit timestamp stores a truncated timestamp to reduce space overhead.
Hotness histogram and thresholds. Based on the recorded intervals, Mole constructs a hotness histogram and derives capacity-based tier thresholds, following the histogram-based thresholding approach used by MEMTIS [31]. Each bucket counts pages in a corresponding interval range, where shorter intervals indicate hotter pages. Unlike MEMTIS, which uses page access counts, Mole builds the histogram from reaccess intervals and unaccessed durations.
Mole updates the histogram incrementally when a page's recorded interval changes. Upon a hint page fault, Mole immediately synchronizes the page's reaccess interval with the histogram to keep frequently accessed pages up to date. During scans, Mole may also update the histogram using the unaccessed duration of pages that have not faulted. However, scan-based updates require care because a page that has been unmapped only briefly has not been observed long enough to provide a reliable interval. Recording such short observations would make the page appear hotter than it actually is. To avoid this bias, Mole updates a page's interval during scans only when the calculated interval exceeds the expected range of its current tier. Specifically, a daemon periodically derives tier thresholds by walking the histogram from hot to cold. The daemon accumulates buckets until the page count reaches each tier's capacity boundary, and uses the corresponding intervals as tier thresholds. These thresholds partition the hotness space according to tier capacities. Note that Mole slightly reduces the threshold of each tier to avoid capacity constraints, reserving free space to accommodate potential memory underutilization. PMM then uses the resulting thresholds to decide whether a page should stay in its current tier or migrate to another tier.
4.5 Page Migration Management
After PAP and DPF collect page hotness and HHC converts it into tier thresholds, PMM uses these thresholds to guide page migration. PMM aims to preserve tier capacity for promotions and alleviate the migration difficulties described in §3.1. Instead of letting promotions and demotions compete for the same intermediate tiers, Mole gives priority to promotion because placing hot pages in faster tiers directly improves performance. Accordingly, staging demotion moves cold pages directly to the lowest tier, while targeted promotion places hot pages into tiers that match their hotness.
4.5.1 Staging Demotion
Where to demote. As illustrated in Figure 1b, staging demotion separates demotion destinations from promotion targets. Mole bypasses intermediate tiers and directly demotes pages to the lowest tier. In this way, the lowest tier serves as a staging area for demoted pages, freeing upper tiers for future promotions. This design treats demotion primarily as space reclamation, rather than precise placement. By keeping demoted pages out of upper and intermediate tiers, staging demotion leaves these tiers available for targeted promotion. Warm pages that are demoted too far can still be detected by high-frequency profiling in the lowest tier and promoted back in time, as described in §4.3.
Targeted demotion is a natural alternative that uses HHC thresholds to choose a lower destination tier for each demoted page. However, it can still occupy intermediate-tier capacity needed by promotions. Mole therefore prioritizes promotion, which directly improves performance, while treating demotion primarily as space reclamation. Evaluation shows that targeted-demotion variant (Mole-TD) increases execution time by on average compared with Mole (Figure 11).
When to demote. In conventional kswapd-driven demotion, demotion is tied to Linux’s memory reclaim path. kswapd is woken up only when available pages in a tier fall below the watermark, and it relies on LRU-based reclaim information rather than precise tiering hotness. As a result, demotion is reactive, and cold pages may be moved only after an upper tier is already under pressure, leaving too little headroom for later promotions.
To avoid this reactive behavior, Mole integrates proactive demotion into scan cycles, where it checks unmapped pages and refreshes their unaccessed intervals. When a refreshed interval indicates that a page is colder than the expected range of its current tier, Mole queues the page for asynchronous demotion, leaving headroom for future promotions. This proactive path handles normal tier maintenance without blocking application execution. When proactive demotion cannot keep up with urgent memory demand, such as sudden allocations to the preferred upper tier or rapid page-cache growth, Mole wakes up kswapd to assist with demotion. This fallback path also preserves Linux's existing reclaim support for file-backed page-cache pages, whose hotness is not directly tracked by Mole's profiling mechanism. The destination tier for kswapd demotion is redirected to the lowest tier, so fallback demotion does not occupy intermediate-tier capacity needed by promotions.
4.5.2 Targeted Promotion
Where to promote. As illustrated in Figure 1b, targeted promotion places hot pages into tiers that match their current hotness. Mole determines the target tier using the dynamic thresholds derived by HHC. After a page fault, Mole computes the reaccess interval between unmapping and the fault, and compares it with the tier thresholds to select a promotion target. Because intervals are quantized into histogram buckets, a bucket may overlap the boundary between two adjacent tiers. In this case, Mole first promotes the page to the target tier if free space is available; otherwise, it falls back to the next lower tier, where the page can still improve its placement. If promotion fails, Mole defers the current attempt and retries it in the background after asynchronous demotion frees space in the target tier. Mole avoids synchronous demotion because forcing cold-page selection and migration on the fault path would add significant critical-path overhead.
When to promote. Mole triggers promotions at two points aligned with profiling. First, during the page fault handler, Mole identifies hot pages and promotes them if necessary. While this may extend fault handling path, it enables rapid adjustment of data distribution. Second, during scan cycles, Mole detects pages whose hotness does not match their current tier. Instead of interrupting the scan to promote each page immediately, Mole uses an asynchronous promotion mechanism that batches all identified pages from the current cycle and promotes them together, reducing overhead.
5 Implementation
Profiling: We construct a four-tiered memory system, setting the scan period T to 1 second per 1280 MB and the factor m for the lowest tier to 1, based on our evaluation results. The factor values for other tiers from the sub-lowest to the top are set to 2, 3 and 4. Note that Mole's scan frequency is higher than Tiering-0.8, which uses a default scan period of 1 second per 256 MB. During PA scanning, Mole relies on the RMAP walk to enable the unmap operation. Although each RMAP walk incurs overhead, the frequency of unmap operations can be greatly reduced compared to traditional VA based unmap operations. This optimization is achieved by flagging the struct page with a PageUnmap bit.
to filter redundant unmap attempts. To further reduce overhead, Mole employs batched TLB flushing [61] and extends the set_tlb_ubc_flush_pending mechanism to support deferred invalidation for PROT_NONE updates [22]. Notably, Mole's unmap operation is similar to the page_referenced mechanism in kswapd: both rely on RMAP walk followed by changing PTE permission. Specifically, Mole scans the struct page, walks the RMAP to locate the PTE, clears the PTE via ptep_get_and_clear(), marks the entry with set_tlb_ubc_flush_pending, sets the PageUnmapped flag, applies PROT_NONE, and finally triggers a batched TLB flush. Furthermore, the tracking thread runs asynchronously and introduces negligible performance overhead.
Metadata and Hotness Histogram: Mole repurposes the existing last_cpuid field (21-bit) to store unmap timestamp and time interval, maintaining space efficiency. A possible alternative is to store these fields in page_ext, which is used by Linux page owner to maintain per-page debugging metadata [2]. Mole instead reuses existing struct page fields to keep the profiling state compact and avoid the additional per-page metadata overhead introduced by such extensions. The PageUnmap flag occupies one bit of the struct page to filter unmap attempts. To maintain the hotness histogram, Mole uses a 32-element counter array per memory tier. The histogram's update operations employ optimized synchronization primitives: time interval updates use cmpxchg, while histogram counters rely on per-CPU variables with periodic aggregation into a global atomic counter. Each CPU accumulates local updates and flushes them to the global counter only when a threshold is reached, reducing contention while keeping error within a controllable bound. The global dynamic thresholds are protected by RCU (Read-Copy-Update) locks to minimize read overhead. These designs ensure both space and computational overhead remain negligible, with memory usage at just 0.2%.
Page Migration: Both Mole's demotion and promotion can be performed asynchronously in the background to minimize performance overhead. Mole's promotion is also triggered synchronously during a page fault, consistent with conventional approaches. Although this introduces additional latency in the critical path, it guarantees that hot pages are efficiently migrated to the faster tier.
Large Page: Mole is implemented with a default granularity of 4 KB base pages, but its design is agnostic to page size. First, hint page fault-based profiling remains applicable to large pages. Second, the hotness identification operates at page granularity, regardless of page size. Finally, large page migration is naturally supported without requiring additional modifications in Linux.
Table 2. Memory access latency and bandwidth in multi-tiered memory system.
| Multi-tiered Memory System | Latency | Bandwidth |
|---|---|---|
| Local DRAM (1st tier) | 105 ns | 121 GB/s |
| Remote DRAM (2nd tier) | 171 ns | 55 GB/s |
| Local PM (3rd tier) | 327 ns | 5 GB/s |
| Remote PM (4th tier) | 420 ns | 600 MB/s |
Table 3. Evaluated workloads and memory footprints.
| Workload | RSS (GB) | Description |
|---|---|---|
| 404.lbm[25] | 10.1G | Computational fluid dynamics using the lattice Boltzmann method. |
| Graph500[39] | 184G | Large-scale graph generation and traversal. |
| Silo[52] | 70.5G | Multicore in-memory database benchmark. |
| Liblinear[33] | 68G | Large-scale linear classification library. |
| GUPS[4, 46] | 192G | Random memory access benchmark. |
| PageRank[7] | 68G | Graph algorithm measuring node importance. |
6 Evaluation
We implemented Mole in Linux kernel 5.15, adding kernel support for tier-specific hotness profiling, targeted promotion, and staging demotion. We evaluate Mole by answering the following questions:
-
How much does Mole improve end-to-end performance and reduce promotion failures? (§6.2)
-
How robust is Mole across memory pressure levels, and how do its mechanisms affect migration efficiency and data placement? (§6.3)
• What runtime overhead does Mole introduce? (§6.4)
6.1 Experiment Setup
We conducted experiments on a dual-socket server platform equipped with Intel(R) Xeon(R) Gold 6330 CPU@2.00GHz processor, where each socket is equipped with 28 cores, 96 GB of DRAM (16 GB DDR4 × 6) and 256 GB of Intel Optane DCPMM. These four NUMA memory nodes composed a four-tiered memory system [47]. The memory access latency and bandwidth characteristics of each tier, as measured by Intel's MLC tool [24], are listed in Table 2. To reduce measurement variability, we disable hardware features such as Hyper-Threading, Turbo Boost, and prefetching.
Workloads. Six commonly used workloads, including graph analysis, in-memory databases, HPC, and machine learning, are evaluated in this work [28, 31, 46]. Their RSS (resident set size) details are provided in Table 3.
Memory tiering configuration. Our experimental setup employs tiered memory with capacity ratios of 1:1:2:2 and 1:1:8:8, where the sum of all tier capacities approximately equals the RSS of each benchmark. For instance, in the 1:1:2:2 configuration, the first two tiers are each set to 1/6 of the RSS, while the last two are each set to 1/3. To control the capacity of each tier, we configure the capacities of the first two tiers

(a) Tier-0:Tier-1:Tier-2:Tier-3=1:1:2:2

(b) Tier-0:Tier-1:Tier-2:Tier-3=1:1:8:8
Figure 7. Performance under two tiering configurations. 404.lbm is omitted for 1:1:8:8 due to its small RSS. (local DRAM and remote DRAM) using the memmap kernel option [43], while managing the latter two tiers (local PM and remote PM) via ndctl [44]. To simulate a vertical four-tiered memory system, we bind the workload exclusively to a single socket (designated as the local socket).
Baselines for comparison. We evaluate Mole against three state-of-the-art open-source memory management systems supporting multi-tiered memory: AutoNUMA (also known as NUMA balancing) [63], and Tiering-0.8 [53], AutoTiering [28]. For Tiering-0.8, we enable its AutoNUMA facilities to adapt it to multi-tiered environments.
6.2 Performance Comparison
Figure 7 compares performance in four-tier memory systems under two tiering configurations. Mole outperforms the second-best system by 70.2% in the 1:1:2:2 setup and by 20.6% in 1:1:8:8. Figure 8 reports promotion failure rates, where Mole reduces the average failure rate to 39.5% and 31.2%, while the baselines remain above 90% on average. This lower failure rate reflects the benefit of separating demotion destinations from promotion targets.
SPECaccel. We use 404.lbm from SPECaccel [25], a lattice-Boltzmann fluid dynamics workload with a small working set. AutoTiering and Tiering-0.8 fail more than 99.9% of promotion attempts. Mole reduces the promotion failure rate to 54.4% and outperforms the second-best baseline by 14%.
Graph500. We evaluate Graph500 v3.0 with 16 MPI-3 processes [57], using a graph with vertices and 6.44 billion edges. Graph500 alternates between graph construction and traversal, where clustered access patterns make page placement important for later iterations. Figure 9 shows the per-iteration execution time over 64 iterations. Under the 1:1:2:2 configuration, AutoTiering and Tiering-0.8 have promotion failure rates of 89.0% and 99.9%, respectively, causing consistently higher iteration time than Mole. Mole reduces the failure rate to 34.9%, reaches low iteration time after only a few iterations, and outperforms the second-best system by

(a) Tier-0:Tier-1:Tier-2:Tier-3=1:1:2:2

(b) Tier-0:Tier-1:Tier-2:Tier-3=1:1:8:8
Figure 8. Promotion failure rates under two configurations.
1.38×. Under 1:1:8:8, Mole further reduces the failure rate to 25.1% as the traversal hot set fits better in upper tiers.
Silo. We evaluate Silo [52] with the YCSB-C workload under a Zipfian distribution, using 400 million key-value pairs and 15 billion lookups (64B keys, 100B values). The workload exhibits skewed and concentrated access patterns. Mole reduces promotion failure rates to 17.8% and 6.8% under the two tiering configurations, while the baselines remain above 91%. This leads to 24% and 15% higher performance than the second-best baseline.
Liblinear. We evaluate Liblinear [33] using the KDD12 dataset [31]. Liblinear uses many file-backed pages during initialization and maintains warm page activity during computation. Under 1:1:2:2, AutoTiering achieves a speedup over AutoNUMA. However, under 1:1:8:8, Tiering-0.8 and AutoTiering drop to 35% and 52% of AutoNUMA, respectively, due to page-cache contention, frequent demotions, and limited cold-page identification accuracy. AutoTiering also experiences a 48% demotion failure rate. Mole's interval-based cold-page tracking supports more effective staging demotion, allowing it to outperform the second-best baseline by 20% under 1:1:8:8.
GUPS. We evaluate GUPS with a 192GB memory region, including a 32GB hot subset, performing 1 billion accesses with a 95:5 hot-cold distribution [46]. The hot set roughly matches the top tier, allowing most methods to identify it correctly. AutoTiering experiences frequent promotion failures when Tier-0 lacks sufficient available capacity, preventing hot pages from reaching the fastest tier. In contrast, Mole achieves a 56.5% promotion success rate, yielding a 7.4% speedup over AutoTiering.
PageRank. We evaluate PageRank from the GAP suite [7] on a Kronecker graph with nodes. PageRank has intensive memory allocation during graph construction and iterative random accesses during traversal. Although memory pressure becomes moderate during traversal, random accesses

Figure 9. Execution time across Graph500 iterations.
still make promotion decisions difficult. AutoTiering is constrained by static promotion thresholds under 1:1:2:2, while Mole's dynamic thresholds adapt to access patterns. Mole outperforms the second-best baseline by 12% and 4% across the two configurations.
6.3 Understanding Mole Performance
6.3.1 Sensitivity to Memory Pressure. Under a fixed four-tier memory configuration (Tier-0 : Tier-1 : Tier-2 : Tier-3 = 32GB : 32GB : 64GB : 128GB), we scale Graph500's RSS from 84 GB to 230 GB. Figure 10 shows that Mole achieves on average and speedup over Tiering-0.8 and AutoTiering, respectively. With small RSS, memory pressure is low and all methods perform similarly. When the workload's RSS exceeds the capacity of the first three tiers, Mole's migration strategy ensures more efficient data placement, sustaining better performance. Staging demotion is more effective when the lowest tier has available space and holds a small amount of data, as the reduced number of pages to traverse enables Mole to detect hot pages more quickly.
6.3.2 Why Not Targeted Demotion? As discussed in §4.5.1, targeted demotion uses hotness thresholds to choose demotion destinations, but it can consume intermediate-tier capacity needed by promotions. We implement this as Mole-TD. As shown in Figure 11, Mole-TD increases execution time by on average compared with Mole. This explains why Mole reserves intermediate tiers for promotion rather than using them as demotion destinations.
6.3.3 Hotness Distribution Across Tiers. Mole derives dynamic thresholds from interval-based hotness histograms (see §4.4). Figure 12 shows the evolution of Liblinear's hotness distribution under the 1:1:2:2 tiering configuration. After the initial phase, the hottest pages are concentrated in Tier-0, while staging demotion moves most cold pages to Tier-3. Although some warm pages remain in Tier-3 under memory pressure, Mole still prioritizes the hottest data for upper tiers, yielding a clear hotness stratification across tiers.
6.3.4 Hotness Identification Accuracy. To evaluate page hotness identification accuracy, we leverage the prior knowledge of the hot-set address range in GUPS and count the number of hot pages identified by each method. The tier configuration follows the 1:1:2:2 setup, while we vary the hot-set size to examine accuracy under different conditions. As shown in Figure 13, Mole identifies , , and more hot pages than AutoNUMA, Tiering-0.8, and AutoTiering, respectively. This improvement mainly comes from Mole's proactive detection of hot pages in lower tiers.
6.3.5 Tier-Specific Profiling Control. Figure 14 shows the cycle distribution across tiers for the GUPS workload with a 1:1:8:8 tier configuration. With Mole's differentiated profiling strategy (see §4.3), the lowest tier dedicates all its cycles to unmapping, enabling faster hot-page profiling. In contrast, the top tier spends only about 25% of its cycles on unmapping, primarily relying on scanning to identify warm or cold pages. Moreover, over 90% of pages in the lowest tier are already unmapped due to their cold nature and can be quickly skipped via the PageUnmap flag, reducing the detection latency of hot pages. For scanning based profiling, as pages in all tiers are asynchronously scanned with an identical frequency, its cycles remain similar across tiers.
6.4 Overhead Analysis
Figure 15 reports the profiling CPU overhead under the 1:1:2:2 configuration. Mole reduces CPU overhead by 11% compared with AutoNUMA, mainly because physical-page scans and the PageUnmapped flag avoid redundant virtual-address-based PTE checks. Our measurements on Tiering-0.8 show that over 50% of PTWs revisit PTEs that are already in the unmapped state. Table 4 reports the average per-page profiling overhead. Mole reduces the average operation time from 271.0 ns to 246.7 ns, or that of Tiering-0.8. Table 5 further breaks down Mole's unmap overhead. The combined PTE update and TLB flush path dominates the remaining cost, accounting for 96.8%. In contrast, PTWs and reverse-mapping walks account for only 2.3% and 0.9%, respectively.
Table 4. Per-operation profiling overhead.
| Method | Time (ns) | Normalized |
|---|---|---|
| Tiering-0.8 | 271.0 | 1.00 |
| Mole | 246.7 | 0.91 |
Table 5. Mole unmap overhead breakdown.
| RMAP | PTW | PTE update + TLB flush |
|---|---|---|
| 0.9% | 2.3% | 96.8% |
7 Related Work
7.1 Memory Access Tracking Optimization
As presented in Table 1, memory access tracking includes software-based methods [3, 8, 10, 26–28, 40, 42, 46, 47, 59, 64], hardware-enhanced approaches [16, 32, 36, 49, 50, 66, 67], and library-based approaches [15, 17, 62]. Prior studies have demonstrated that distinct tracking strategies are required for accurately identifying hot and cold pages [16]. TPP [38] restricts tracking to only a single tier in two-tiered memory

Figure 10. Performance under fixed tier capacities as workload RSS increases, creating higher memory pressure.

Figure 11. Performance comparison between Mole and Mole-TD, where TD denotes the variant using Targeted Demotion.

Figure 12. Memory hotness distribution of Liblinear (1:1:2:2) across tiers over time.

Figure 13. Comparison of hot-page identification accuracy.

(a) Scan cycles

(b) Unmap cycles
Figure 14. Scan and unmap activity across memory tiers.

Figure 15. Profiling CPU overhead across systems.
systems, which is too coarse-grained and inadequate for the complexity of multi-tiered memory architectures. AutoTiering [28], although tracking across all tiers, is configured to focus on cold page detection by default, maintaining hotness information only for the upper tiers. The strategy may result in limited responsiveness to page hotness changes in lower tiers. TMTS [16] adopts a tier-aware strategy, but its tier-awareness is limited: its periodic access-bit scanning is tier-agnostic, as it scans VAs across all tiers. Its access sampling on the capacity tier relies on restricted PEBS events to filter top-tier traffic, but these events capture only loads, lack store support, and are unavailable on many tiers and platforms, which limits scalability in multi-tiered systems. In contrast, Mole uses a purely software-based profiling approach that operates uniformly across all tiers and platforms.
7.2 Page Hotness Identification
Prior works have enhanced page hotness identification [9, 16, 28, 30, 37, 45, 54, 55], and some focused on virtualization and cloud-oriented scenarios [20, 48, 56, 66]. MEMTIS [31] implements an access histogram based dynamic threshold, but its effectiveness is constrained by the randomness of PEBS sampling [58]. Besides, MEMTIS relies on access frequency as its metric, requiring multiple samples to determine a page's hotness and periodic cooling of all pages, which limits its sampling frequency. Tiering-0.8 [53] and Chrono [45] apply time-interval-based tracking only for hot page, falling back to simple LRU for demotion, limiting their effectiveness in multi-tier settings. Mole evaluates a page's unaccessed duration prior to hint page fault, providing the accurate cold-page identification needed for efficient demotion.
7.3 Page Migration
There are also some works focused on optimizing page migration mechanisms [14, 18, 29, 35, 54, 58, 60, 65]. AutoTiering [28] emphasizes the tier-aware memory model and introduces a new migration path for multi-tiered memory systems. However, its greedy promotion migration strategy leads to suboptimal tier utilization and performance degradation under memory pressure. FlexMem [59] increases the demotion rate to free space for promotions, while PET [13] and Chrono [45] employ proactive demotion to improve performance by acting before memory pressure occurs. These approaches primarily optimize demotion rate and trigger timing, which is sufficient for two-tiered systems but does not address the tier contention problem in multi-tiered systems.
8 Conclusion
In this work, we present Mole, a memory management system for multi-tiered memory hierarchies. Mole alleviates tier contention with staging demotion, which moves cold pages directly to the lowest tier, and targeted promotion, which places hot pages into tiers that match their hotness. These mechanisms are enabled by tier-specific hotness profiling, allowing Mole to track page hotness with low overhead. This enables timely detection of reactivated hot pages while limiting the profiling overhead imposed on upper tiers. Evaluation on a four-tier memory system shows that Mole outperforms SOTA tiering systems.
References
[1] Compute express link industry members, 2021. https://computeexpresslink.org/our-members.
[2] page owner: Tracking about who allocated each page. https://www.kernel.org/doc/html/v5.15/vm/page_owner.html, 2021. Linux kernel 5.15 documentation.
[3] Neha Agarwal and Thomas F. Wenisch. Thermostat: Application-transparent page management for two-tiered main memory. ASPLOS '17, page 631–644, New York, NY, USA, 2017. Association for Computing Machinery.
[4] Vikas Aggarwal, Yogish Sabharwal, Rahul Garg, and Philip Heidelberger. Hpcc randomaccess benchmark for next generation supercomputers. In 2009 IEEE International Symposium on Parallel & Distributed Processing, pages 1–11, 2009.
[5] A Altman, M Arafa, K Balasubramanian, K Cheng, P Damle, S Datta, C Douglas, K Gibson, B Graniello, J Grooms, et al. Intel optane data center persistent memory. 2019 IEEE Hot Chips, 31, 2019.
[6] AMD. Amd research instruction based sampling toolkit. https://github.com/jlgreathouse/AMD_IBS_Toolkit.
[7] Scott Beamer, Krste Asanović, and David Patterson. The gap benchmark suite, 2017.
[8] Shai Bergman, Priyank Faldu, Boris Grot, Lluís Vilanova, and Mark Silberstein. Reconsidering os memory optimizations in the presence of disaggregated memory. In Proceedings of the 2022 ACM SIGPLAN International Symposium on Memory Management, ISMM 2022, page 1–14, New York, NY, USA, 2022. Association for Computing Machinery.
[9] Juneseo Chang, Wanju Doh, Yaebin Moon, Eojin Lee, and Jung Ho Ahn. Idt: Intelligent data placement for multi-tiered main memory with reinforcement learning. In Proceedings of the 33rd International Symposium on High-Performance Parallel and Distributed Computing, HPDC '24, page 69–82, New York, NY, USA, 2024. Association for Computing Machinery.
[10] Jinyoung Choi, Sergey Blagodurov, and Hung-Wei Tseng. Dancing in the dark: Profiling for tiered memory. In 2021 IEEE International Parallel and Distributed Processing Symposium (IPDPS), pages 13–22, 2021.
[11] Jonathan Corbet. Kernel development, 2002. https://lwn.net/2002/0124/kernel.php3.
[12] Jonathan Corbet. Autonuma: the other approach to numa scheduling, 2012. https://lwn.net/Articles/488709/.
[13] Wanju Doh, Yaebin Moon, Seoyoung Ko, Seunghwan Chung, Kwanhee Kyung, Eojin Lee, and Jung Ho Ahn. Pet: Proactive demotion for efficient tiered memory management. EuroSys '25, page 854–869, New York, NY, USA, 2025. Association for Computing Machinery.
[14] Zhuohui Duan, Haikun Liu, Xiaofei Liao, Hai Jin, Wenbin Jiang, and Yu Zhang. Hinuma: Numa-aware data placement and migration in hybrid memory systems. In 2019 IEEE 37th International Conference on Computer Design (ICCD), pages 367–375, 2019.
[15] Subramanya R. Dulloor, Amitabha Roy, Zheguang Zhao, Narayanan Sundaram, Nadathur Satish, Rajesh Sankaran, Jeff Jackson, and Karsten Schwan. Data tiering in heterogeneous memory systems. In Proceedings of the Eleventh European Conference on Computer Systems, EuroSys '16, New York, NY, USA, 2016. Association for Computing Machinery.
[16] Padmapriya Duraisamy, Wei Xu, Scott Hare, Ravi Rajwar, David Culler, Zhiyi Xu, Jianing Fan, Christopher Kennelly, Bill McCloskey, Danijela Mijailovic, Brian Morris, Chiranjit Mukherjee, Jingliang Ren, Greg Thelen, Paul Turner, Carlos Villavieja, Parthasarathy Ranganathan, and Amin Vahdat. Towards an adaptable systems architecture for memory tiering at warehouse-scale. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3, ASPLOS 2023, page 727–741, New York, NY, USA, 2023. Association for Computing Machinery.
[17] Zhiyuan Guo, Zijian He, and Yiying Zhang. Mira: A program-behavior-guided far memory system. SOSP '23, page 692–708, New York, NY, USA, 2023. Association for Computing Machinery.
[18] Taekyung Heo, Yang Wang, Wei Cui, Jaehyuk Huh, and Lintao Zhang. Adaptive page migration policy with huge pages in tiered memory systems. IEEE Transactions on Computers, 71(1):53–68, 2022.
[19] Jiri Herrmann. Automatic numa balancing, 2019. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/virtualization_tuning_and_optimization_guide/sect-virtualization_tuning_optimization_guide-numa-auto_numa_balancing#sect-Virtualization_Tuning_Optimization_Guide-NUMA-Auto_NUMA_Balancing.
[20] Junliang Hu, Zhisheng Hu, Chun-Feng Wu, and Ming-Chang Yang. Demeter: A scalable and elastic tiered memory solution for virtualized cloud via guest delegation. In Proceedings of the ACM SIGOPS 31st Symposium on Operating Systems Principles, SOSP '25, page 169–185, New York, NY, USA, 2025. Association for Computing Machinery.
[21] Yibo Huang, Haowei Chen, Newton Ni, Yan Sun, Vijay Chidambaram, Dixin Tang, and Emmett Witchel. Tigon: A distributed database for a CXL pod. In 19th USENIX Symposium on Operating Systems Design and Implementation (OSDI 25), pages 109–128, Boston, MA, July 2025. USENIX Association.
[22] Ying Huang. [PATCH -V2] mm,unmap: avoid flushing TLB in batch if PTE is inaccessible. https://patchew.org/linux/20230424065408.188498-1-ying.huang@intel.com/, April 2023. Linux kernel patch.
[23] Intel. 3rd generation intel® xeon® processor scalable family based on ice lake microarchitecture. https://perfmon-events.intel.com/icelake_server.html.
[24] Intel. Memory latency checker, 2024. https://www.intel.cn/content/www/cn/zh/download/736633/intel-memory-latency-checker-intel-mlc.html.
[25] Guido Juckeland, William Brantley, Sunita Chandrasekaran, Barbara Chapman, Shuai Che, Mathew Colgrove, Huiyu Feng, Alexander Grund, Robert Henschel, Wen-Mei W. Hwu, Huian Li, Matthias S. Müller, Wolfgang E. Nagel, Maxim Perminov, Pavel Shelepugin, Kevin Skadron, John Stratton, Alexey Titov, Ke Wang, Matthijs van Waveren, Brian Whitney, Sandra Wienke, Rengan Xu, and Kalyan Kumaran. Spec accel: A standard application suite for measuring hardware accelerator performance. In High Performance Computing Systems. Performance Modeling, Benchmarking, and Simulation: 5th International Workshop, PMBS 2014, New Orleans, LA, USA, November 16, 2014. Revised Selected Papers, page 46–67, Berlin, Heidelberg, 2014. Springer-Verlag.
[26] Brandon Kammerdiener, J. Zach McMichael, Michael Jantz, Kshitij Doshi, and Terry Jones. Flexible and effective object tiering for heterogeneous memory systems. ACM Trans. Archit. Code Optim., 22(1), March 2025.
[27] Brandon Kammerdiener, J. Zach McMichael, Michael R. Jantz, Kshitij A. Doshi, and Terry Jones. Flexible and effective object tiering for heterogeneous memory systems. In Proceedings of the 2023 ACM SIGPLAN International Symposium on Memory Management, ISMM 2023, page 163–175, New York, NY, USA, 2023. Association for Computing Machinery.
[28] Jonghyeon Kim, Wonkyo Choe, and Jeongseob Ahn. Exploring the design space of page management for Multi-Tiered memory systems. In 2021 USENIX Annual Technical Conference (USENIX ATC 21), pages 715–728. USENIX Association, July 2021.
[29] Vamsee Reddy Kommareddy, Simon David Hammond, Clayton Hughes, Ahmad Samih, and Amro Awad. Page migration support for disaggregated non-volatile memories. In Proceedings of the International Symposium on Memory Systems, MEMSYS '19, page 417–427, New York, NY, USA, 2019. Association for Computing Machinery.
[30] Taehyung Lee and Young Ik Eom. Optimizing the page hotness measurement with re-fault latency for tiered memory systems. In 2022 IEEE International Conference on Big Data and Smart Computing (BigComp), pages 275–279. IEEE, 2022.
[31] Taehyung Lee, Sumit Kumar Monga, Changwoo Min, and Young Ik Eom. Memtis: Efficient memory tiering with dynamic page classification and page size determination. In Proceedings of the 29th Symposium on Operating Systems Principles, SOSP '23, page 17–34, New York, NY, USA, 2023. Association for Computing Machinery.
[32] Huaicheng Li, Daniel S. Berger, Lisa Hsu, Daniel Ernst, Pantea Zardoshti, Stanko Novakovic, Monish Shah, Samir Rajadnya, Scott Lee, Ishwar Agarwal, Mark D. Hill, Marcus Fontoura, and Ricardo Bianchini. Pond: Cxl-based memory pooling systems for cloud platforms. ASPLOS 2023, page 574–587, New York, NY, USA, 2023. Association for Computing Machinery.
[33] Chih-Jen Lin. Liblinear – a library for large linear classification v2.47, 2024. https://www.csie.ntu.edu.tw/~cjlin/liblinear/.
[34] Jinshu Liu, Hamid Hadian, Yuyue Wang, Daniel S. Berger, Marie Nguyen, Xun Jian, Sam H. Noh, and Huaicheng Li. Systematic cxl memory characterization and performance analysis at scale. In Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2, ASPLOS '25, page 1203–1217, New York, NY, USA, 2025. Association for Computing Machinery.
[35] Lei Liu, Shengjie Yang, Lu Peng, and Xinyu Li. Hierarchical hybrid memory management in os for tiered memory systems. IEEE Transactions on Parallel and Distributed Systems, 30(10):2223–2236, 2019.
[36] Ruili Liu, Teng Ma, Mingxing Zhang, Jialiang Huang, Yingdi Shan, Zheng Liu, Lingfeng Xiang, Zhen Lin, Hui Lu, Jia Rao, Kang Chen, and Yongwei Wu. Dsa-2lm: a cpu-free tiered memory architecture with intel dsa. In Proceedings of the 2025 USENIX Conference on Usenix Annual Technical Conference, USENIX ATC '25, USA, 2025. USENIX Association.
[37] Adnan Maruf, Ashikee Ghosh, Janki Bhimani, Daniel Campello, Andy Rudoff, and Raju Rangaswami. Multi-clock: Dynamic tiering for hybrid memory systems. In 2022 IEEE International Symposium on High-Performance Computer Architecture (HPCA), pages 925–937, 2022.
[38] Hasan Al Maruf, Hao Wang, Abhishek Dhanotia, Johannes Weiner, Niket Agarwal, Pallab Bhattacharya, Chris Petersen, Mosharaf Chowdhury, Shobhit Kanaujia, and Prakash Chauhan. Tpp: Transparent page placement for cxl-enabled tiered-memory. ASPLOS 2023, page 742–755, New York, NY, USA, 2023. Association for Computing Machinery.
[39] Richard C Murphy, Kyle B Wheeler, Brian W Barrett, and James A Ang. Introducing the graph 500. Cray Users Group (CUG), 19(45-74):22, 2010.
[40] Alan Nair, Sandeep Kumar, Aravinda Prasad, Ying Huang, Andy Rudoff, and Sreenivas Subramoney. Telescope: Telemetry for gargantuan memory footprint applications. In 2024 USENIX Annual Technical Conference (USENIX ATC 24), pages 409–424, Santa Clara, CA, July 2024. USENIX Association.
[41] Maciej Paczocha. Memory tiering (part 2): Writing transparent tiering solution, 2022. https://pmem.io/blog/2022/06/memory-tiering-part-2-writing-transparent-tiering-solution/.
[42] SeongJae Park. Introduce data access monitor (damon), 2020. https://lwn.net/Articles/834721.
[43] pmem.io. Using the memmap kernel option, 2019. https://docs.pmem.io/persistent-memory/getting-started-guide/creating-development-environments/linux-environments/linux-memmap.
[44] pmem.io. Ndctl user guide, 2021. https://docs.pmem.io/ndctl-user-guide.
[45] Zhenlin Qi, Shengan Zheng, Ying Huang, Yifeng Hui, Bowen Zhang, Linpeng Huang, and Hong Mei. Chrono: Meticulous hotness measurement and flexible page migration for memory tiering. In Proceedings of the Twentieth European Conference on Computer Systems, EuroSys '25, page 835–853, New York, NY, USA, 2025. Association for Computing Machinery.
[46] Amanda Raybuck, Tim Stamler, Wei Zhang, Mattan Erez, and Simon Peter. Hemem: Scalable tiered memory management for big data applications and real nvm. In Proceedings of the ACM SIGOPS 28th Symposium on Operating Systems Principles, SOSP '21, page 392–407, New York, NY, USA, 2021. Association for Computing Machinery.
[47] Jie Ren, Dong Xu, Junhee Ryu, Kwangsik Shin, Daewoo Kim, and Dong Li. Mtm: Rethinking memory profiling and migration for multi-tiered large memory. In Proceedings of the Nineteenth European Conference on Computer Systems, EuroSys '24, page 803–817, New York, NY, USA, 2024. Association for Computing Machinery.
[48] Sai Sha, Chuandong Li, Yingwei Luo, Xiaolin Wang, and Zhenlin Wang. vtmm: Tiered memory management for virtual machines. EuroSys '23, page 283–297, New York, NY, USA, 2023. Association for Computing Machinery.
[49] Kevin Song, Jiacheng Yang, Zixuan Wang, Jishen Zhao, Sihang Liu, and Gennady Pekhimenko. Hybridtier: an adaptive and lightweight cxl-memory tiering system. In Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3, ASPLOS '25, page 112–128, New York, NY, USA, 2025. Association for Computing Machinery.
[50] Yan Sun, Jongyul Kim, Zeduo Yu, Jiyuan Zhang, Siyuan Chai, Michael Jaemin Kim, Hwayong Nam, Jaehyun Park, Eojin Na, Yifan Yuan, Ren Wang, Jung Ho Ahn, Tianyin Xu, and Nam Sung Kim. M5: Mastering page migration and memory management for cxl-based tiered memory systems. In Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 2, ASPLOS '25, page 604–621, New York, NY, USA, 2025. Association for Computing Machinery.
[51] Yan Sun, Yifan Yuan, Zeduo Yu, Reese Kuper, Chihun Song, Jinghan Huang, Houxiang Ji, Siddharth Agarwal, Jiaqi Lou, Ipoom Jeong, Ren Wang, Jung Ho Ahn, Tianyin Xu, and Nam Sung Kim. Demystifying cxl memory with genuine cxl-ready systems and devices. In Proceedings of the 56th Annual IEEE/ACM International Symposium on Microarchitecture, MICRO '23, page 105–121, New York, NY, USA, 2023. Association for Computing Machinery.
[52] Stephen Tu, Wenting Zheng, Eddie Kohler, Barbara Liskov, and Samuel Madden. Speedy transactions in multicore in-memory databases. In Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles, SOSP '13, page 18–32, New York, NY, USA, 2013. Association for Computing Machinery.
[53] Vishal Verma. Tiering-0.8, 2022. https://git.kernel.org/pub/scm/linux/kernel/git/vishal/tiering.git/log/?h=tiering-0.8.
[54] Midhul Vuppalapati and Rachit Agarwal. Tiered memory management: Access latency is the key! SOSP '24, page 79–94, New York, NY, USA, 2024. Association for Computing Machinery.
[55] Song Wei, Minmin Ren, Chao Jia, Gang Wang, Longguang Yue, Xin Zhong, and Haifeng Chen. Tieredmms: A modular tiered memory management system. 2024.
[56] Johannes Weiner, Niket Agarwal, Dan Schatzberg, Leon Yang, Hao Wang, Blaise Sanouillet, Bikash Sharma, Tejun Heo, Mayank Jain, Chunqiang Tang, and Dimitrios Skarlatos. Tmo: transparent memory offloading in datacenters. ASPLOS '22, page 609–621, New York, NY, USA, 2022. Association for Computing Machinery.
[57] Jeremiah Willcock and Anton Korzh Andrew Lumsdaine. Graph500-3.0.0, 2019. https://github.com/graph500/graph500/tree/newreference.
[58] Lingfeng Xiang, Zhen Lin, Weishu Deng, Hui Lu, Jia Rao, Yifan Yuan, and Ren Wang. Nomad: Non-Exclusive memory tiering via transactional page migration. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), pages 19–35, Santa Clara, CA, July 2024. USENIX Association.
[59] Dong Xu, Junhee Ryu, Kwangsik Shin, Pengfei Su, and Dong Li. FlexMem: Adaptive page profiling and migration for tiered memory. In 2024 USENIX Annual Technical Conference (USENIX ATC 24), pages 817–833, Santa Clara, CA, July 2024. USENIX Association.
[60] Zi Yan, Daniel Lustig, David Nellans, and Abhishek Bhattacharjee. Nimble page management for tiered memory systems. In Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS '19, page 331–345, New York, NY, USA, 2019. Association for Computing Machinery.
[61] Yicong Yang. arm64: support batched/deferred tlb shootdown during page reclamation/migration, 2023. https://lore.kernel.org/linux-mm/20230410134352.4519-1-yangyicong@huawei.com/T/.
[62] Zhe Yang, Qing Wang, Xiaojian Liao, Youyou Lu, Keji Huang, and Jiwu Shu. TeRM: Extending RDMA-Attached memory with SSD. In 22nd USENIX Conference on File and Storage Technologies (FAST 24), pages 1–16, Santa Clara, CA, February 2024. USENIX Association.
[63] Huang Ying. Numa balancing: optimize memory placement for memory tiering system, 2022. https://lwn.net/Articles/885674/.
[64] Yu Zhao. Multi-gen lru framework, 2022. https://lwn.net/Articles/904697.
[65] Yijie Zhong, Minqiang Zhou, Zhirong Shen, and Jiwu Shu. UniMem: Redesigning disaggregated memory within a unified Local-Remote memory hierarchy. In 2024 USENIX Annual Technical Conference (USENIX ATC 24), pages 463–477, Santa Clara, CA, July 2024. USENIX Association.
[66] Yuhong Zhong, Daniel S. Berger, Carl Waldspurger, Ryan Wee, Ishwar Agarwal, Rajat Agarwal, Frank Hady, Karthik Kumar, Mark D. Hill, Mosharaf Chowdhury, and Asaf Cidon. Managing memory tiers with CXL in virtualized environments. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), pages 37–56, Santa Clara, CA, July 2024. USENIX Association.
[67] Zhe Zhou, Yiqi Chen, Tao Zhang, Yang Wang, Ran Shu, Shuotao Xu, Peng Cheng, Lei Qu, Yongqiang Xiong, Jie Zhang, and Guangyu Sun. NeoMem: Hardware/Software Co-Design for CXL-Native Memory Tiering. In 2024 57th IEEE/ACM International Symposium on Microarchitecture (MICRO), pages 1518–1531, Los Alamitos, CA, USA, November 2024. IEEE Computer Society.