eBPF-Driven Adaptive Lifetime-Aware Data Placement for Shared FDP SSDs
Hajin Moon, Taewan Noh, Chaeeun Yoon, Jeonghun Lee, Junyoung Han, Joo-Young Hwang, Youngjae Kim
Abstract
NVMe Flexible Data Placement (FDP) reduces SSD write amplification by separating data with different lifetimes to minimize garbage collection (GC) copying. However, on shared servers, multiple tenants generate more lifetime classes than the available placement handles. Existing approaches rely on static mappings or application-specific knowledge, failing to capture runtime lifetimes and adapt to changing workloads. The challenge is to identify which data die together and determine which classes should be separated to maximize GC savings under a limited handle budget. We present eFDP, an eBPF-based system that automatically learns data lifetimes and manages FDP placement for unmodified applications on a stock Linux kernel. By tracking writes and invalidations, eFDP identifies lifetime classes and estimates the GC copying saved by separating them. It first assigns each tenant a handle, then allocates the remaining handles to the separations offering the greatest savings. It also re-plans placement when active tenants change. With four database tenants on an emulated FDP SSD, eFDP eliminates twice as much excess write amplification as tenant-level isolation and improves every writing tenant's throughput by 19-23%. On an enterprise FDP SSD, given RocksDB's levels, it matches a manually optimized placement using three handles instead of five. After a tenant switch, eFDP re-plans within seven minutes and maintains 25% lower write amplification than the original layout even after an hour.
Create a lesson
Related papers
RetainZ: Reclaim-Time-Aware Placement for AI Checkpoints on Zoned SSDs
Shared title terminologycs.OSMinxing Chu, Ruoxi Yang
FDP: The Data Placement Promise of Modern NVMe SSDs
Shared title terminologycs.OSSijie Lan, Hui Qi, Xing He et al.
Edge-Based QoS-Aware Adaptive Task Placement: A Closed-Loop Control in Multi-Robot Systems
Shared title terminologycs.OSThien Tran, Jonathan Kua, Thuong Hoang et al.
MorphSched: Workload-Aware Adaptive Scheduler Generation for Linux
Shared title terminologycs.OSYifan Zhang, Hengxuan Lou, Xinkui Zhao et al.
AdaSprite: Resource-efficient Online Co-Adaptation for V2I Systems Under Large-scale Data Drifts
Shared title terminologycs.OSLehao Wang, Zhiwen Yu, Sicong Liu et al.
MemSpec: Memory-Aware Runtime for Adaptive Draft Scheduling in Speculative Decoding on Edge Devices
Shared title terminologycs.OSEunjeong Kim, Yeong Jun Jeon, Myeonggyun Han