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

UMap:为页面管理启用应用程序驱动的优化

UMap: Enabling Application-driven Optimizations for Page Management

Ivy B. Peng, Marty McFadden, Eric Green, Keita Iwabuchi, Kai Wu, Dong Li, Roger Pearce, Maya Gokhale

摘要:

领先的超级计算机具有多种存储功能,从节点本地持久性内存和NVMe SSD到网络互连的闪存和HDD。不同存储层上的内存映射文件在应用程序中提供了统一的接口。然而,像mmap这样的系统范围的服务是针对通用性进行优化的,并且缺乏实现特定于应用程序的优化的灵活性。在这项工作中,我们提出Umap,使用户空间页面管理,可以很容易地适应应用程序和存储特性的访问模式。Umap使用userfaultfd机制来有效地处理多线程应用程序中的页面错误。通过提供数据对象抽象层,Umap可扩展以支持各种后备存储。Umap的设计支持动态负载均衡和I/O解耦,以实现可扩展的性能。Umap还使用应用程序提示来改进缓存、预取和回收策略的选择。我们在五个基准测试和两个系统上的实际应用中评估了Umap。我们的研究结果表明,利用应用程序的页面管理知识可以大大提高性能。平均而言,与系统服务相比,Umap使用调整后的配置实现了1.25至2.5倍的改进。

英文摘要:

Leadership supercomputers feature a diversity of storage, from node-local persistent memory and NVMe SSDs to network-interconnected flash memory and HDD. Memory mapping files on different tiers of storage provides a uniform interface in applications. However, system-wide services like mmap are optimized for generality and lack flexibility for enabling application-specific optimizations. In this work, we present Umap to enable user-space page management that can be easily adapted to access patterns in applications and storage characteristics. Umap uses the userfaultfd mechanism to handle page faults in multi-threaded applications efficiently. By providing a data object abstraction layer, Umap is extensible to support various backing stores. The design of Umap supports dynamic load balancing and I/O decoupling for scalable performance. Umap also uses application hints to improve the selection of caching, prefetching, and eviction policies. We evaluate Umap in five benchmarks and real applications on two systems. Our results show that leveraging application knowledge for page management could substantially improve performance. On average, Umap achieved 1.25 to 2.5 times improvement using the adapted configurations compared to the system service.

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

↑