Detail View

Para-ksm: Parallelized Memory Deduplication with Data Streaming Accelerator

Citations

WEB OF SCIENCE

Citations

SCOPUS

Metadata Downloads

Title
Para-ksm: Parallelized Memory Deduplication with Data Streaming Accelerator
Issued Date
2025-07-09
Citation
USENIX Annual Technical Conference, pp.1197 - 1212
Type
Conference Paper
ISBN
9781939133489
Abstract

To tame the rapidly rising cost of memory in servers, hyperscalers have begun deploying memory deduplication features, such as Kernel Same-page Merging (ksm), for some of their services. Nonetheless, ksm incurs a datacenter tax significant enough to notably degrade performance of co-running applications, which hinders its wider and more aggressive deployment. Meanwhile, the server-class CPU has started to integrate various on-chip accelerators to effectively reduce datacenter taxes. One of such accelerators is Data Streaming Accelerator (DSA), which can offload the two most taxing functions of ksm, page comparison and checksum computation, from CPU. In this work, we demonstrate that ksm offloading these two functions to DSA (DSA-ksm) can reduce the performance degradation of co-running applications caused by ksm from 1.6-5.8x to 1.0-1.6x. However, we uncover that DSA-ksm, which naively replaces CPU-based functions with their DSA-based counterparts, yields significantly lower rates of memory deduplication than ksm due to the long latency of offloading these functions through on-chip PCIe. To address this shortcoming, we redesign ksm to exploit DSA's batching capability (Para-ksm). It facilitates a given function to operate on multiple pages per offload, rather than a single page as ksm does, thereby amortizing the long offloading latency. Compared to ksm, Para-ksm increases the amount of memory deduplication per CPU cycle used for ksm by 31-50% while decreasing the performance degradation to 1.3-2.7x.

더보기
URI
https://scholar.dgist.ac.kr/handle/20.500.11750/59907
Publisher
USENIX Association
Show Full Item Record

File Downloads

공유

qrcode
공유하기

Total Views & Downloads

???jsp.display-item.statistics.view???: , ???jsp.display-item.statistics.download???: