BASK: Batch And SmartNIC-offloaded KSM
Chanshin Kwak, Jaehyeon Lee, Minkyu Jung, Changjun Lee, Youngjin Kwon
Abstract
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.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- STYX: Exploiting SmartNIC Capability to Reduce Datacenter Memory TaxHouxiang Ji, Mark Mansi, Yan Sun, Yifan Yuan et al.USENIX ATC 2023 · 22 citations
- Para-ksm: Parallelized Memory Deduplication with Data Streaming AcceleratorHouxiang Ji, Minho Kim, Seonmu Oh, Daehoon Kim et al.USENIX ATC 2025 · 7 citations
- SmartNS: Enabling Line-rate and Flexible Network Stack with SmartNICXuzheng Chen, Jie Zhang, Baolin Zhu, Xueying Zhu et al.EuroSys 2026
- SmartDIMM: In-Memory Acceleration of Upper Layer ProtocolsNeel Patel, Amin Mamandipoor, Mohammad Nouri, Mohammad AlianHPCA 2024 · 4 citations
- CIDER: Boosting Memory-Disaggregated Key-Value Stores with Pessimistic SynchronizationYuxuan Du, Xuchuan Luo, Xin Wang, Yangfan Zhou et al.VLDB 2026
