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

AutoNUMA内存分层在图分析上的性能表征

Performance Characterization of AutoNUMA Memory Tiering on Graph Analytics

Diego Moura, Vinicius Petrucci, Daniel Mosse

AI总结:

本研究深入表征AutoNUMA内存分层在图分析中的性能,发现其收益有限,并提出基于对象级映射的内存分层方法,平均降低执行时间21%,最大降低51%。

摘要:

非易失性内存(NVM)相比DRAM可以提供更高的密度和更低的每比特成本。其主要缺点是比DRAM慢。另一方面,DRAM因其成本和能耗而存在可扩展性问题。NVM很可能与DRAM在计算机系统中共存,最大的挑战是知道将哪些数据分配到每种类型的内存上。一种最先进的方法是Linux内核中的AutoNUMA。先前的工作仅限于根据应用程序执行时间来衡量AutoNUMA,而不理解AutoNUMA的行为。在这项工作中,我们对AutoNUMA进行了更深入的表征,例如,识别一组页面确切分配的位置,同时跟踪AutoNUMA执行的提升和降级决策。我们的分析表明,当运行图处理应用程序或图分析时,AutoNUMA的收益可能有限,因为大多数页面在整个执行时间内只有一次访问,而其他页面的访问没有时间局部性。我们主张利用DRAM和NVM之间的对象级映射来探索应用程序特征。我们的初步实验表明,与AutoNUMA相比,对象级内存分层可以更好地捕获应用程序行为,并将图分析的执行时间平均减少21%,最大减少51%,同时显著减少NVM中的内存访问次数。

英文摘要:

Non-Volatile Memory (NVM) can deliver higher density and lower cost per bit when compared with DRAM. Its main drawback is that it is slower than DRAM. On the other hand, DRAM has scalability problems due to its cost and energy consumption. NVM will likely coexist with DRAM in computer systems and the biggest challenge is to know which data to allocate on each type of memory. A state-of-the-art approach is AutoNUMA, in the Linux kernel. Prior work is limited to measuring AutoNUMA solely in terms of the application execution time, without understanding AutoNUMA's behavior. In this work we provide a more in-depth characterization of AutoNUMA, for instance, identifying where exactly a set of pages are allocated, while keeping track of promotion and demotion decisions performed by AutoNUMA. Our analysis shows that AutoNUMA's benefits can be modest when running graph processing applications, or graph analytics, because most pages have only one access over the entire execution time and other pages accesses have no temporal locality. We make a case for exploring application characteristics using object-level mappings between DRAM and NVM. Our preliminary experiments show that an object-level memory tiering can better capture the application behavior and reduce the execution time of graph analytics by 21% (avg) and 51% (max), when compared to AutoNUMA, while significantly reducing the number of memory accesses in NVM.

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

↑