When Counters Become Decisions: HeMem and MEMTIS
NEMO's mechanism matters only if its counters change what a memory-management policy can do. Two experiments make that relationship concrete: HeMem uses per-hugepage telemetry to recover from a changed hot set, while MEMTIS uses counters inside huge pages to decide which regions are worth splitting. Together they show the difference between a cleaner measurement and a different control loop, while keeping the reported gains tied to their workloads, baselines, and CXL prototype.
Hot-set recovery: seeing the change before the policy falls behind
HeMem is a userspace memory-tiering system that uses access evidence to decide which pages should occupy a faster tier. The experiment creates a deliberately difficult transition: a set of initially hot keys becomes cold, and a disjoint set becomes hot. The working set spans fast and slow memory, so HeMem must recognize the new pattern and migrate pages rather than simply continue serving the old placement.
The baseline uses Intel PEBS to sample LLC misses at a 0.02% rate. Every second, HeMem processes the new samples, locates the associated page metadata, updates access counts, and uses those counts to guide migration. This is a coherent policy loop, but its response is bounded by the probability that the new hot pages produce enough samples and by the CPU work needed to process them. Lowering the rate protects the application but delays recognition; raising it provides more evidence at a cost that eventually harms the workload.
The NEMO version changes the observation step, not the policy's basic purpose. For the slow CXL tier, NEMO maintains a counter for each tracked huge page on every relevant LLC miss. HeMem then reads the counters and updates the same page-level access information it already uses. In the prototype, PEBS remains in place for the fast tier, so this is not a claim that NEMO replaced every observation path. It is a targeted offload of the slow-tier signal where sampling was especially costly and incomplete.
In the FlexKVS hot-set experiment, the NEMO-backed system recovered to steady state in 67 seconds, compared with 324 seconds for the PEBS-backed system at the default sampling rate. The roughly fivefold difference is not the result of a new migration algorithm. The policy still has to move data, and the paper says the NEMO result is bounded by migration bandwidth. The change is that HeMem receives a sufficiently complete page-level signal sooner, so it can begin moving the new hot set rather than waiting for samples to accumulate.