Cooperative Memory Deduplication With Intel Data Streaming Accelerator
Memory deduplication plays a critical role in reducing memory consumption and the total cost of ownership (TCO) in hyperscalers, particularly as the advent of large language models imposes unprecedented demands on memory resources. However, conventional CPU-based memory deduplication can interfere with co-running applications, significantly impacting the performance of time-sensitive workloads. Intel introduced the <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">on-chip</i> Data Streaming Accelerator (DSA), providing high-performance data movement and transformation capabilities, including comparison and checksum calculation, which are heavily utilized in the deduplication. In this work, we enhance a widely-used kernel-space memory deduplication feature, Kernel Samepage Merging ( <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ksm</monospace> ), by selectively offloading these operations to the DSA. Our evaluation demonstrates that CPU-based <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ksm</monospace> can lead to 5.0–10.9× increase in the tail latency of co-running applications while DSA-based <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">ksm</monospace> limits the latency increase to just 1.6× while achieving comparable memory savings.
Authors
- Minho Kim
- Nam Sung Kim (ORCID: https://orcid.org/0000-0002-0442-5634)
- Houxiang Ji (ORCID: https://orcid.org/0009-0008-8402-0127)
- Soo‐Young Oh (ORCID: https://orcid.org/0000-0003-3002-0048)
- Daehoon Kim (ORCID: https://orcid.org/0000-0003-0837-0877)
Institutions
- University of Illinois Urbana-Champaign (US)
- Daegu Gyeongbuk Institute of Science and Technology (KR)
- Yonsei University (KR)
Publication Details
- Journal
- IEEE Computer Architecture Letters
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/lca.2025.3527458
- Citations
- 5
- Primary Topic
- Advanced Data Storage Technologies
- Type
- article
- Field-Weighted Citation Impact
- 7.44