BASK: Batch And SmartNIC-offloaded KSM
Chanshin Kwak, Jaehyeon Lee, Minkyu Jung, Changjun Lee, Youngjin Kwon
摘要
Modern cloud servers are increasingly constrained by memory capacity and bandwidth, despite dramatic growth in CPU core counts. Kernel Same-page Merging (KSM) alleviates memory pressure by deduplicating redundant pages, but incurs significant CPU overhead and performance interference due to frequent comparisons and hashing. Prior work reduces this burden through stateless offloading to accelerators such as SmartNICs, but suffers from low deduplication throughput due to frequent communication overhead. This paper presents BASK, a stateful SmartNIC-based framework for KSM that offloads both control-plane and data-plane deduplication tasks. BASK introduces a transactional offloading model with optimistic concurrency control and shadow metadata, enabling batched, self-contained page deduplication, significantly improving deduplication throughput by minimizing communication overhead between host and SmartNIC. It tolerates SmartNIC failures, ensures safety through validation and rollback, and maintains isolation using read-only memory exposure. Evaluation under realistic cloud workloads shows that BASK improves deduplication throughput by up to 3.68× over standard KSM, while reducing Redis tail latency impact to only 1.42×, compared to 10.02× under aggressive KSM settings.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
相关 Paper
- STYX: Exploiting SmartNIC Capability to Reduce Datacenter Memory TaxHouxiang Ji, Mark Mansi, Yan Sun, Yifan Yuan 等USENIX ATC 2023 · 22 次引用
- Para-ksm: Parallelized Memory Deduplication with Data Streaming AcceleratorHouxiang Ji, Minho Kim, Seonmu Oh, Daehoon Kim 等USENIX ATC 2025 · 7 次引用
- SmartNS: Enabling Line-rate and Flexible Network Stack with SmartNICXuzheng Chen, Jie Zhang, Baolin Zhu, Xueying Zhu 等EuroSys 2026
- SmartDIMM: In-Memory Acceleration of Upper Layer ProtocolsNeel Patel, Amin Mamandipoor, Mohammad Nouri, Mohammad AlianHPCA 2024 · 4 次引用
- CIDER: Boosting Memory-Disaggregated Key-Value Stores with Pessimistic SynchronizationYuxuan Du, Xuchuan Luo, Xin Wang, Yangfan Zhou 等VLDB 2026
