arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.06461cs.OS
收藏

eBPF驱动的共享FDP SSD自适应生命周期感知数据放置

eBPF-Driven Adaptive Lifetime-Aware Data Placement for Shared FDP SSDs

Sogang University(西江大学);Samsung Electronics Co.(三星电子)

Hajin Moon, Taewan Noh, Chaeeun Yoon, Jeonghun Lee, Junyoung Han, Joo-Young Hwang, Youngjae Kim

AI总结:

该研究提出基于eBPF的eFDP系统,解决共享FDP SSD的放置句柄不足问题,通过自动学习数据生命周期优化放置,实验显示其可降低写放大、提升吞吐量,且能快速适应租户变化。

摘要:

NVMe灵活数据放置(FDP)通过分离不同生命周期的数据以最小化垃圾回收(GC)复制,从而降低SSD的写放大。然而在共享服务器上,多个租户产生的生命周期类别超过了可用的放置句柄数量。现有方法依赖静态映射或特定应用知识,无法捕获运行时生命周期并适应变化的工作负载。面临的挑战是识别哪些数据应归为一类,并确定应分离哪些类别,以在有限的句柄预算下最大化GC节省。我们提出eFDP,这是一个基于eBPF的系统,可自动学习数据生命周期,并为标准Linux内核上未修改的应用管理FDP放置。通过跟踪写入和无效操作,eFDP识别生命周期类别并估计分离这些类别可节省的GC复制量。它首先为每个租户分配一个句柄,然后将剩余句柄分配给能提供最大节省的分离操作。当活跃租户发生变化时,它还会重新规划放置。在模拟FDP SSD上使用四个数据库租户的实验中,eFDP消除的额外写放大是租户级隔离的两倍,并使每个写入租户的吞吐量提高19-23%。在企业级FDP SSD上,针对RocksDB的层级,它使用3个句柄而非5个即可匹配手动优化的放置。在租户切换后,eFDP在7分钟内完成重新规划,即使一小时后,其写放大仍比原始布局低25%。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑