arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1612.00445cs.ARcs.OS
收藏

近存储器地址转换

Near-Memory Address Translation

Javier Picorel, Djordje Jevdjic, Babak Falsafi

摘要:

存储器和逻辑集成在同一芯片上正变得越来越具有成本效益,从而创造了将数据密集型功能卸载到放置在内存芯片内的处理单元的机会。将存储器侧处理单元(MPU)引入到传统系统中面临着虚拟内存作为第一个大的阻碍:如果没有对地址转换的有效硬件支持,MPU的适用性非常有限。不幸的是,传统的翻译机制无法提供快速翻译,因为当代存储器超过了TLB的范围,使得昂贵的页面遍历变得常见。在本文中,我们是第一个表明,历史上重要的灵活性,任何虚拟页面映射到任何页面框架是不必要的,在今天的服务器。我们发现,虽然限制虚拟到物理映射的关联性不会带来任何损失,但如果与MPU内存中的仔细数据放置相结合,则可以打破解译然后获取序列化,从而允许翻译和数据获取独立并行进行。我们提出了分布式倒排页表(DIPTA),一个近内存结构,其中最小的内存分区保持其数据共享的翻译信息,确保翻译完成与数据提取。DIPTA完全消除了翻译的性能开销,与使用4KB和1GB页面的传统翻译相比,分别实现了高达3.81倍和2.13倍的加速。

英文摘要:

Memory and logic integration on the same chip is becoming increasingly cost effective, creating the opportunity to offload data-intensive functionality to processing units placed inside memory chips. The introduction of memory-side processing units (MPUs) into conventional systems faces virtual memory as the first big showstopper: without efficient hardware support for address translation MPUs have highly limited applicability. Unfortunately, conventional translation mechanisms fall short of providing fast translations as contemporary memories exceed the reach of TLBs, making expensive page walks common. In this paper, we are the first to show that the historically important flexibility to map any virtual page to any page frame is unnecessary in today's servers. We find that while limiting the associativity of the virtual-to-physical mapping incurs no penalty, it can break the translate-then-fetch serialization if combined with careful data placement in the MPU's memory, allowing for translation and data fetch to proceed independently and in parallel. We propose the Distributed Inverted Page Table (DIPTA), a near-memory structure in which the smallest memory partition keeps the translation information for its data share, ensuring that the translation completes together with the data fetch. DIPTA completely eliminates the performance overhead of translation, achieving speedups of up to 3.81x and 2.13x over conventional translation using 4KB and 1GB pages respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑