两条路径的故事:面向高效远内存应用的混合数据平面研究
A Tale of Two Paths: Toward a Hybrid Data Plane for Efficient Far-Memory Applications
AI总结:
针对远内存系统分页与对象获取两类数据路径的各自局限,提出运行时-内核协同设计的混合数据平面Atlas,可根据页局部性动态切换路径并优化局部性,相比两类最优方案显著提升吞吐量、降低尾延迟。
摘要:
随着网络硬件的快速发展,远内存凭借突破内存容量墙的能力受到广泛关注。现有远内存系统的数据路径分为两类:一类利用内核分页系统以页为粒度透明访问远内存,另一类绕过内核以对象为粒度获取数据。尽管普遍认为对象获取因细粒度访问特性表现更优,但它需要消耗大量计算资源来运行对象级LRU(最近最少使用)算法与驱逐机制。\n我们构建了Atlas——一种通过运行时与内核协同设计实现的混合数据平面,可同时支持两类数据路径的访问,为实际应用提供高效率。Atlas采用持续运行的剖析机制不断测量页局部性:对于局部性良好的工作负载,使用分页方式获取数据;对于局部性较差的工作负载,则采用对象获取方式。对象获取会将时间上接近访问的对象迁移到连续的本地空间,动态提升局部性,使执行过程逐渐更适配资源效率高得多的分页模式。我们的评估结果显示,在使用远程内存时,与两类技术中的当前最优方案AIFM和Fastswap相比,Atlas分别将吞吐量提升了1.5倍和3.2倍,并将尾延迟降低了一个和两个数量级。
英文摘要:
With rapid advances in network hardware, far memory has gained a great deal of traction due to its ability to break the memory capacity wall. Existing far memory systems fall into one of two data paths: one that uses the kernel's paging system to transparently access far memory at the page granularity, and a second that bypasses the kernel, fetching data at the object granularity. While it is generally believed that object fetching outperforms paging due to its fine-grained access, it requires significantly more compute resources to run object-level LRU and eviction. We built Atlas, a hybrid data plane enabled by a runtime-kernel co-design that simultaneously enables accesses via these two data paths to provide high efficiency for real-world applications. Atlas uses always-on profiling to continuously measure page locality. For workloads already with good locality, paging is used to fetch data, whereas for those without, object fetching is employed. Object fetching moves objects that are accessed close in time to contiguous local space, dynamically improving locality and making the execution increasingly amenable to paging, which is much more resource-efficient. Our evaluation shows that Atlas improves the throughput (e.g., by 1.5x and 3.2x) and reduces the tail latency (e.g., by one and two orders of magnitude) when using remote memory, compared with AIFM and Fastswap, the state-of-the-art techniques respectively in the two categories.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。