arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.10779cs.DCcs.OScs.PF
收藏

异构存储系统的页表管理

Page Table Management for Heterogeneous Memory Systems

Sandeep Kumar, Aravinda Prasad, Smruti R. Sarangi, Sreenivas Subramoney

摘要:

现代企业服务器越来越多地采用分层存储器系统,该系统结合了低延迟DRAM和大容量但高延迟的非易失性主存储器(NVMM),例如英特尔的Optane DC PMM。先前的工作集中在分层存储器系统上的数据的有效放置和迁移上,但是没有研究页表的最佳放置。页表的显式和有效放置对于具有高TLB未命中率的大内存占用应用程序至关重要,因为当页表页放置在NVMM中时,它们会导致显着更高的页遍历延迟。我们表明,(i)页表页可以结束在NVMM上,即使有足够的DRAM内存可用,以及(ii)页表页溢出到NVMM由于DRAM内存压力不迁移回来后,当内存在DRAM中可用。我们研究了分层存储器系统中页表放置的性能影响,并提出了一种高效透明的页表管理技术,该技术(i)对数据和页表页应用不同的放置策略,(ii)通过将页表的小但关键的部分放置在DRAM中来引入页表页的区分策略,以及(iii)通过在DRAM和NVMM之间透明地迁移页表页来动态地和明智地管理页表的其余部分。我们在一个配备了运行Linux的英特尔Optane NVMM的真实系统上的实现将页表遍历周期平均减少了12%,总周期平均减少了20%。与各种默认的Linux内核技术相比,对于一组合成的和真实世界的大内存占用应用程序,这将运行时平均提高了20%。

英文摘要:

Modern enterprise servers are increasingly embracing tiered memory systems with a combination of low latency DRAMs and large capacity but high latency non-volatile main memories (NVMMs) such as Intel's Optane DC PMM. Prior works have focused on efficient placement and migration of data on a tiered memory system, but have not studied the optimal placement of page tables. Explicit and efficient placement of page tables is crucial for large memory footprint applications with high TLB miss rates because they incur dramatically higher page walk latency when page table pages are placed in NVMM. We show that (i) page table pages can end up on NVMM even when enough DRAM memory is available and (ii) page table pages that spill over to NVMM due to DRAM memory pressure are not migrated back later when memory is available in DRAM. We study the performance impact of page table placement in a tiered memory system and propose an efficient and transparent page table management technique that (i) applies different placement policies for data and page table pages, (ii) introduces a differentiating policy for page table pages by placing a small but critical part of the page table in DRAM, and (iii) dynamically and judiciously manages the rest of the page table by transparently migrating the page table pages between DRAM and NVMM. Our implementation on a real system equipped with Intel's Optane NVMM running Linux reduces the page table walk cycles by 12% and total cycles by 20% on an average. This improves the runtime by 20% on an average for a set of synthetic and real-world large memory footprint applications when compared with various default Linux kernel techniques.

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

↑