arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.11665cs.ARcs.DBcs.ET
收藏

利用新兴 NVMe 灵活数据放置 SSD 实现高效 Flash 缓存

Towards Efficient Flash Caches with Emerging NVMe Flexible Data Placement SSDs

Michael Allison, Arun George, Javier Gonzalez, Dan Helmick, Vikash Kumar, Roshan Nair, Vivek Shah

AI总结:

本文研究在 CacheLib 中利用 NVMe FDP SSD 按数据生命周期放置缓存数据,证明其可将近乎理想地把写入放大降至约1,并降低碳排放与功耗。

摘要:

基于 NVMe Flash 的 SSD 被广泛部署在数据中心,用于缓存大规模 Web 服务的工作集。随着数据中心面临不断增长的可持续性需求,例如减少碳排放,对 Flash 过度配置和耐久度进行高效管理已变得至关重要。我们的分析表明,在 Flash 块上混合具有不同生命周期的数据会导致高昂的设备垃圾回收成本,这要么缩短设备寿命,要么需要主机端过度配置。在 Flash 上实施有针对性的数据放置,以尽量减少数据混杂并从而降低设备写入放大,展现出解决该问题的前景。NVMe Flexible Data Placement(FDP,灵活数据放置)提案是一项新近获得批准的技术提案,旨在满足数据放置需求,同时降低与以往存储接口(如 ZNS 和 Open-Channel SSD)相关的软件工程成本。在本研究中,我们探讨在 CacheLib 中利用 NVMe FDP 原语在 Flash 介质上进行数据放置的可行性、收益和局限;CacheLib 是一种流行的开源 Flash 缓存,作为缓存构建模块在 Meta 的软件生态系统中被广泛部署和使用。我们证明,使用 NVMe FDP SSD 在 CacheLib 中进行有针对性的数据放置,有助于降低设备写入放大、隐含碳排放和功耗,并且几乎不会给其他指标带来开销。通过使用来自 Meta 和 Twitter 的多条生产环境 trace 及其配置,我们表明 FDP 可实现约 1 的理想设备写入放大,从而提升 SSD 利用率并推动可持续的 Flash 缓存部署。

英文摘要:

NVMe Flash-based SSDs are widely deployed in data centers to cache working sets of large-scale web services. As data centers face increasing sustainability demands, such as reduced carbon emissions, efficient management of Flash overprovisioning and endurance has become crucial. Our analysis demonstrates that mixing data with different lifetimes on Flash blocks results in high device garbage collection costs, which either reduce device lifetime or necessitate host overprovisioning. Targeted data placement on Flash to minimize data intermixing and thus device write amplification shows promise for addressing this issue. The NVMe Flexible Data Placement (FDP) proposal is a newly ratified technical proposal aimed at addressing data placement needs while reducing the software engineering costs associated with past storage interfaces, such as ZNS and Open-Channel SSDs. In this study, we explore the feasibility, benefits, and limitations of leveraging NVMe FDP primitives for data placement on Flash media in CacheLib, a popular open-source Flash cache widely deployed and used in Meta's software ecosystem as a caching building block. We demonstrate that targeted data placement in CacheLib using NVMe FDP SSDs helps reduce device write amplification, embodied carbon emissions, and power consumption with almost no overhead to other metrics. Using multiple production traces and their configurations from Meta and Twitter, we show that an ideal device write amplification of ~1 can be achieved with FDP, leading to improved SSD utilization and sustainable Flash cache deployments.

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

↑