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 about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get f423878f-af20-4663-9103-e73aa2154c76Related 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
