Canvas: Isolated and Adaptive Swapping for Multi-Applications on Remote Memory

Canvas: Isolated and Adaptive Swapping for Multi-Applications on Remote Memory
复制标题

DOI:
10.48550/arxiv.2203.09615
复制
发表时间:
2022-03
期刊:
--
影响因子:
--
通讯作者:
Chenxi Wang;Yifan Qiao;Haoran Ma;Shiafun Liu;Yiying Zhang;Wenguang Chen;R. Netravali;Miryung Kim;Guoqing Harry Xu
Chenxi Wang;Yifan Qiao;Haoran Ma;Shiafun Liu;Yiying Zhang;Wenguang Chen;R. Netravali;Miryung Kim;Guoqing Harry Xu
中科院分区:
其他
文献类型:
--
作者:
Chenxi Wang;Yifan Qiao;Haoran Ma;Shiafun Liu;Yiying Zhang;Wenguang Chen;R. Netravali;Miryung Kim;Guoqing Harry Xu

文献摘要

相似文献

用于数据中心应用的远程存储器技术最近已经获得了很大的普及。现有的远程存储器技术仅关注单个应用设置的效率。然而,当多个应用程序在远程内存系统上共同运行时,即使向每个应用程序授予相同数量的物理资源,也可能会发生严重干扰,从而导致意外的速度减慢。这种放缓源于应用程序交换数据路径的大量共享。Canvas是一个重新设计的交换系统,它完全隔离了远程内存应用程序的交换路径。Canvas允许每个应用程序拥有其专用的交换分区、交换缓存、预取器和RDMA带宽。交换隔离为基于每个应用程序自己的访问模式和需求的自适应优化技术奠定了基础。我们开发了三种这样的技术:(1)自适应交换条目分配,(2)语义感知预取,和(3)二维RDMA调度。对一组广泛部署的应用程序的全面评估表明,Canvas最大限度地减少了性能变化,并大大降低了性能下降。
Remote memory techniques for datacenter applications have recently gained a great deal of popularity. Existing remote memory techniques focus on the efficiency of a single application setting only. However, when multiple applications co-run on a remote-memory system, significant interference could occur, resulting in unexpected slowdowns even if the same amounts of physical resources are granted to each application. This slowdown stems from massive sharing in applications' swap data paths. Canvas is a redesigned swap system that fully isolates swap paths for remote-memory applications. Canvas allows each application to possess its dedicated swap partition, swap cache, prefetcher, and RDMA bandwidth. Swap isolation lays a foundation for adaptive optimization techniques based on each application's own access patterns and needs. We develop three such techniques: (1) adaptive swap entry allocation, (2) semantics-aware prefetching, and (3) two-dimensional RDMA scheduling. A thorough evaluation with a set of widely-deployed applications demonstrates that Canvas minimizes performance variation and dramatically reduces performance degradation.