[Paper Review] Effectively Prefetching Remote Memory with Leap
Leap is a kernel-level prefetching solution for remote memory access in RDMA-based memory disaggregation systems. It uses an online majority-based prefetching algorithm and a lightweight, isolated data path to reduce remote page access latency by up to 104.04x (median) and 22.62x (tail), improving application performance by up to 10.16x over state-of-the-art solutions.
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.
Motivation & Objective
- Address the high remote memory access latency in RDMA-based memory disaggregation systems, which exceeds the underlying network latency and limits application performance.
- Overcome the limitations of existing solutions that reuse data path components designed for slow disks, leading to suboptimal performance on low-latency networks.
- Design a prefetching mechanism that increases page cache hit rates in remote memory environments to reduce repeated remote accesses.
- Develop a lightweight, application-isolated kernel data path to eliminate latency bottlenecks from legacy throughput-optimized operations.
- Achieve significant performance improvements for memory-bound applications using disaggregated memory compared to existing state-of-the-art approaches.
Proposed method
- Leap employs an online, majority-based prefetching algorithm that predicts and fetches remote memory pages based on access patterns observed in real time.
- The system isolates each application’s data path to disaggregated memory within the kernel, preventing interference and reducing latency from shared-path operations.
- A lightweight kernel-level data path is designed to minimize overhead and avoid performance bottlenecks caused by legacy throughput-optimized mechanisms.
- The prefetching algorithm operates continuously and adaptively, using access frequency and locality patterns to prioritize pages likely to be accessed next.
- Leap integrates directly into the Linux kernel, enabling seamless deployment and low-level system interaction without requiring application modifications.
- The solution co-designs prefetching logic with the data path to ensure that prefetching does not increase contention or latency in the critical path of memory access.
Experimental results
Research questions
- RQ1To what extent can online, majority-based prefetching reduce remote memory access latency in RDMA-based memory disaggregation systems?
- RQ2How does isolating application data paths in the kernel affect remote memory access latency and performance isolation?
- RQ3What performance improvements can be achieved by replacing legacy disk-optimized data paths with a lightweight, low-latency data path in remote memory systems?
- RQ4How does Leap compare to state-of-the-art memory disaggregation solutions in terms of median and tail latency reduction?
- RQ5What is the end-to-end performance gain for memory-bound applications using Leap compared to existing solutions?
Key findings
- Leap reduces median remote page access latency by up to 104.04x compared to the default kernel data path in memory-disaggregated systems.
- Leap reduces tail (99th percentile) remote page access latency by up to 22.62x, significantly improving responsiveness for latency-sensitive workloads.
- Applications using Leap achieve up to 10.16x higher performance compared to the state-of-the-art memory disaggregation solutions.
- The integration of Leap into the Linux kernel successfully mitigates latency bottlenecks from legacy throughput-optimized operations in the data path.
- The online majority-based prefetching algorithm effectively increases page cache hit rates, reducing redundant remote memory accesses.
- The isolated data path design ensures that application-specific memory access patterns do not interfere with one another, improving predictability and performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.