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

使用Leap有效地预取远程内存

Effectively Prefetching Remote Memory with Leap

Hasan Al Maruf, Mosharaf Chowdhury

摘要:

通过远程内存访问取代磁盘交换,RDMA上的内存分解可以提高内存受限应用程序的性能。然而,最先进的内存分解解决方案仍然使用为慢速磁盘设计的数据路径组件。因此,应用程序经历的远程存储器访问延迟显著高于底层低延迟网络的延迟,后者本身对于许多应用程序来说太高。在本文中,我们提出了飞跃,由于内存解聚的远程内存访问的预取解决方案。在其核心,Leap采用了一种在线的、基于多数的预取算法,这提高了页面缓存的命中率。我们在内核中提供了一个轻量级和高效的数据路径,将每个应用程序的数据路径隔离到分散的内存中,并减轻了传统吞吐量优化操作所带来的延迟瓶颈。在Linux内核中集成Leap将内存受限应用程序的中间和尾部远程页面访问延迟分别提高了104.04倍和22.62倍,与默认数据路径相比。与最先进的解决方案相比,这使得使用分散内存的应用程序的性能提高了10.16倍。

英文摘要:

Memory disaggregation over RDMA can improve the performance of memory-constrained applications by replacing disk swapping with remote memory accesses. However, state-of-the-art memory disaggregation solutions still use data path components designed for slow disks. As a result, applications experience remote memory access latency significantly higher than that of the underlying low-latency network, which itself is too high for many applications. In this paper, we propose Leap, a prefetching solution for remote memory accesses due to memory disaggregation. At its core, Leap employs an online, majority-based prefetching algorithm, which increases the page cache hit rate. We complement it with a lightweight and efficient data path in the kernel that isolates each application's data path to the disaggregated memory and mitigates latency bottlenecks arising from legacy throughput-optimizing operations. Integration of Leap in the Linux kernel improves the median and tail remote page access latencies of memory-bound applications by up to 104.04x and 22.62x, respectively, over the default data path. This leads to up to 10.16x performance improvements for applications using disaggregated memory in comparison to the state-of-the-art solutions.

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

↑