混合内存系统中的高效页面迁移
Efficient Page Migration in Hybrid Memory Systems
AI总结:
本文提出Duon方法,通过直接在TLB和页表中存储更新的映射信息,消除页面迁移带来的性能损耗,提升混合内存系统的IPC性能3.87%。
摘要:
异构内存架构(HMA)旨在通过结合多种内存类型,如高带宽内存(HBM)、商品DRAM和非易失性内存(NVM)来优化内存使用。为了最大化性能收益,频繁访问的数据页面优先存储在更快的HBM中,而较少访问的页面存储在较慢的内存类型中。在扁平地址空间内存组织中,所有内存类型均被视为统一内存池,从而增加系统可访问的内存容量。在扁平地址空间组织中,频繁访问的数据页面可能需要从较慢的内存迁移到更快的内存以提高内存访问时间。这种重新定位需要改变TLB(TLB shootdown)和处理器缓存(缓存行无效化)中的数据状态,导致性能下降。为了解决这些低效问题,我们提出了一种名为Duon的新解决方案。Duon的目标是消除使用扩展TLB和页表系统中页面迁移相关的开销。我们的方法确保重新映射页面的更新映射信息被精心存储在TLB和页表本身中。通过这样做,页面迁移后不再需要TLB shootdown和缓存行无效化。因此,我们的提案在现有最先进技术的基础上,将IPC提升了3.87%,提高了异构内存系统的效率和性能。此外,我们的方法可以与现有的任何页面迁移策略配合,提高性能。
英文摘要:
Heterogeneous Memory Architecture (HMA) aims to optimize memory usage by leveraging a combination of memory types, such as high-bandwidth memory (HBM), commodity DRAM, and non-volatile memory (NVM), when utilized as main memory. To achieve maximum performance benefits, frequently accessed data pages are prioritized for storage in the faster HBM, while less frequently accessed pages are stored in slower memory types like DRAM or NVM. This enables a more efficient allocation of memory resources and improves overall system performance. In a Flat Address Space memory organization, all memory types, both fast and slow, are treated as a unified memory pool. This approach increases the overall memory capacity accessible to the system. In Flat Address Space organization, frequently accessed data pages may need to be remapped from slower memory to faster memory to improve memory access times. Such relocation requires changes to the data/states in the TLB (TLB shootdown) and the processor cache (cache line invalidations), leading to performance degradation. To address these inefficiencies, we propose a novel solution called Duon. The goal of Duon is to eliminate the overheads associated with page migration in systems using Extended TLB and Page Table. Specifically, our approach ensures that the updated mapping information for remapped pages is carefully stored directly in the TLB and page table itself. By doing so, the need for TLB shootdown and cache line invalidation after page migration is eliminated. Consequently, our proposal results in an overall improvement in IPC by 3.87% over existing state-of-the-art techniques, enhancing the efficiency and performance of heterogeneous memory systems. Further, our approach can work with any of the existing page migration policies and improve the performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。