🤖 AI Summary
Datacenter memory tiering is severely constrained by thermal fragmentation: hot and cold objects co-locate within the same physical page, preventing page-granularity reclamation mechanisms from accurately identifying truly hot pages and thus degrading memory efficiency. This paper introduces “address-space engineering”—a novel paradigm that leverages compiler–runtime co-design to dynamically restructure the virtual address space, enabling logical separation of hot and cold objects at the page level. The approach requires no hardware modifications, remains fully compatible with existing memory reclamation backends, and supports automatic object access tracking and transparent migration. Evaluated on ten representative data structures, it reduces memory footprint by up to 70% while incurring only a 3% average runtime overhead. Our method significantly improves the precision and efficiency of hierarchical memory management and represents the first systematic application of virtual address-space remapping to mitigate thermal fragmentation.
📝 Abstract
Memory tiering in datacenters does not achieve its full potential due to hotness fragmentation -- the intermingling of hot and cold objects within memory pages. This fragmentation prevents page-based reclamation systems from distinguishing truly hot pages from pages containing mostly cold objects, fundamentally limiting memory efficiency despite highly skewed accesses. We introduce address-space engineering: dynamically reorganizing application virtual address spaces to create uniformly hot and cold regions that any page-level tiering backend can manage effectively. HADES demonstrates this frontend/backend approach through a compiler-runtime system that tracks and migrates objects based on access patterns, requiring minimal developer intervention. Evaluations across ten data structures achieve up to 70% memory reduction with 3% performance overhead, showing that address space engineering enables existing reclamation systems to reclaim memory aggressively without performance degradation.