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

基于PEBS的在线内存访问跟踪在大规模异构存储管理中的适用性

On the Applicability of PEBS based Online Memory Access Tracking for Heterogeneous Memory Management at Scale

Aleix Roca Nonell, Balazs Gerofi, Leonardo Bautista-Gomez, Dominique Martinet, Vicenç Beltran Querol, Yutaka Ishikawa

摘要:

操作系统在历史上必须仅管理单一类型的存储器设备。基于新兴存储器技术的异构存储器设备的即将可用性面对经典的单存储器模型,并为存储管理开辟了新的可能性范围。基于应用的访问模式在不同存储器设备之间的透明数据移动是最佳地使用这样的设备并向终端用户隐藏存储管理的复杂性的期望特征。然而,在运行时捕获应用程序的存储器访问模式是有代价的,这对于可能对系统噪声敏感的大规模并行应用程序尤其具有挑战性。在这项工作中,我们专注于访问模式分析阶段之前,实际的内存重新定位。我们研究了使用英特尔的处理器基于事件的采样(PEBS)功能,在运行时采样记录内存访问的可行性,并研究了规模的开销。我们在IHK/McKernel轻量级多内核操作系统中实现了一个自定义的PEBS驱动程序,其优点之一是由于轻量级内核的简单设计与其他操作系统内核(如Linux)相比,系统干扰最小。我们提出了一组科学应用程序的PEBS开销,并显示在噪声敏感的HPC应用程序中确定的访问模式。我们的研究结果表明,当运行在多达128 k个CPU内核(2,048个Intel Xeon Phi Knights Landing节点)上时,最坏情况下可以捕获10%的开销,最好情况下可以捕获1%的开销。我们的结论是,在线内存访问分析使用PEBS在大规模的异构内存环境中的存储管理是有前途的。

英文摘要:

Operating systems have historically had to manage only a single type of memory device. The imminent availability of heterogeneous memory devices based on emerging memory technologies confronts the classic single memory model and opens a new spectrum of possibilities for memory management. Transparent data movement between different memory devices based on access patterns of applications is a desired feature to make optimal use of such devices and to hide the complexity of memory management to the end-user. However, capturing memory access patterns of an application at runtime comes at a cost, which is particularly challenging for large scale parallel applications that may be sensitive to system noise. In this work, we focus on the access pattern profiling phase prior to the actual memory relocation. We study the feasibility of using Intel's Processor Event-Based Sampling (PEBS) feature to record memory accesses by sampling at runtime and study the overhead at scale. We have implemented a custom PEBS driver in the IHK/McKernel lightweight multi-kernel operating system, one of whose advantages is minimal system interference due to the lightweight kernel's simple design compared to other OS kernels such as Linux. We present the PEBS overhead of a set of scientific applications and show the access patterns identified in noise-sensitive HPC applications. Our results show that clear access patterns can be captured with a 10% overhead in the worst-case and 1% in the best case when running on up to 128k CPU cores (2,048 Intel Xeon Phi Knights Landing nodes). We conclude that online memory access profiling using PEBS at large scale is promising for memory management in heterogeneous memory environments.

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

↑