Saved in:
Bibliographic Details
Main Authors: Byun, Hongsu, Lee, Seungjae, Yoo, Honghyeon, Kim, Myoungjoon, Park, Sungyong
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.05162
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910042413858816
author Byun, Hongsu
Lee, Seungjae
Yoo, Honghyeon
Kim, Myoungjoon
Park, Sungyong
author_facet Byun, Hongsu
Lee, Seungjae
Yoo, Honghyeon
Kim, Myoungjoon
Park, Sungyong
contents The development of high-speed storage devices such as NVMe SSDs has shifted the primary I/O bottleneck from hardware to software. Modern database systems also rely on kernel-based I/O paths, where frequent system call invocations and kernel-user space transitions lead to relatively large overheads and performance degradation. This issue is particularly pronounced in Log-Structured Merge-tree (LSM-tree)-based NoSQL databases. We identified that, in particular, the background compaction process generates a large number of read system calls, causing significant overhead. To address this problem, we propose RESYSTANCE, which leverages eBPF and io_uring to free compaction from system calls and unlock hidden performance potential. RESYSTANCE improves disk I/O efficiency during read operations via io uring and significantly reduces software stack overhead by handling compaction directly inside the kernel through eBPF. Moreover, RESYSTANCE minimizes user-kernel transitions by offloading key I/O routines into the kernel without modifying the LSM-tree structure or compaction algorithm. RESYSTANCE was extensively evaluated using db_bench, YCSB, and OLTP workloads. Compared to baseline RocksDB, it reduced the average number of system call invocations during compaction by 99% and shortened compaction time by 50%. Consequently, in write-intensive workloads, RESYSTANCE improved throughput by up to 75% and reduced the p99 latency by 40%.
format Preprint
id arxiv_https___arxiv_org_abs_2603_05162
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle RESYSTANCE: Unleashing Hidden Performance of Compaction in LSM-trees via eBPF
Byun, Hongsu
Lee, Seungjae
Yoo, Honghyeon
Kim, Myoungjoon
Park, Sungyong
Databases
The development of high-speed storage devices such as NVMe SSDs has shifted the primary I/O bottleneck from hardware to software. Modern database systems also rely on kernel-based I/O paths, where frequent system call invocations and kernel-user space transitions lead to relatively large overheads and performance degradation. This issue is particularly pronounced in Log-Structured Merge-tree (LSM-tree)-based NoSQL databases. We identified that, in particular, the background compaction process generates a large number of read system calls, causing significant overhead. To address this problem, we propose RESYSTANCE, which leverages eBPF and io_uring to free compaction from system calls and unlock hidden performance potential. RESYSTANCE improves disk I/O efficiency during read operations via io uring and significantly reduces software stack overhead by handling compaction directly inside the kernel through eBPF. Moreover, RESYSTANCE minimizes user-kernel transitions by offloading key I/O routines into the kernel without modifying the LSM-tree structure or compaction algorithm. RESYSTANCE was extensively evaluated using db_bench, YCSB, and OLTP workloads. Compared to baseline RocksDB, it reduced the average number of system call invocations during compaction by 99% and shortened compaction time by 50%. Consequently, in write-intensive workloads, RESYSTANCE improved throughput by up to 75% and reduced the p99 latency by 40%.
title RESYSTANCE: Unleashing Hidden Performance of Compaction in LSM-trees via eBPF
topic Databases
url https://arxiv.org/abs/2603.05162