基于 ZNS SSD 的分区存储优化闪存缓存
A Zoned Storage Optimized Flash Cache on ZNS SSDs
AI总结:
本文提出 Z-CacheLib,一种基于 ZNS SSD 的分区存储优化闪存缓存,通过低开销的 zStorage Engine 和跨层优化的 zCache Engine 解决吞吐量与写放大问题,实现最高 2 倍吞吐量提升和显著降低写放大。
摘要:
Zoned Namespace SSDs (ZNS) 最近被引入以缓解基于闪存的 SSD 的块接口惩罚。对于闪存缓存而言,这是一个通过基于分区的接口完全控制数据分配和垃圾回收来解决缓存吞吐量和写放大 (WA) 问题的良好机会。然而,有几个关键挑战需要解决,包括分区接口兼容性、大分区大小的数据管理,以及吞吐量、缓存命中率和 WA 之间的更好权衡。在本文中,我们提出了 Z-CacheLib,一种基于 ZNS SSD 的分区存储优化闪存缓存。在 Z-CacheLib 中,我们提出了:1) 一种用于 ZNS SSD 的新型 zStorage Engine,具有低映射和操作开销;2) 一种具有跨层优化的新型 zCache Engine,以解决垃圾回收的吞吐量退化和 WA 问题,它由带有虚拟过度配置 (vOP) 的延迟数据驱逐、从 LRU 优化的自上而下驱逐策略 (zLRU) 和用于低 WA 的自下而上丢弃机制 (zDrop) 组成。我们的评估表明,与具有兼容常规 SSD 的 CacheLib 相比,Z-CacheLib 可以实现高达 2 倍的吞吐量、5% 的命中率提升和几乎为零的 WA,展示了使用 ZNS SSD 进行缓存的好处。此外,与基于 F2FS 的方案相比,Z-CacheLib 可以实现高达 6 倍的吞吐量和 92% 的 WA 减少。
英文摘要:
Zoned Namespace SSDs (ZNS) are introduced recently to mitigate the block interface penalties of flash-based SSDs. It is a good opportunity for flash cache to address cache throughput and write amplification (WA) issues by fully controlling data allocation and garbage collection via zone-based interfaces. However, there are several critical challenges that need to be addressed including zone-interface compatibility, data management of large zone size, and a better tradeoff between throughput, cache hit ratio, and WA. In this paper, we present Z-CacheLib, a zoned storage optimized flash cache on ZNS SSDs. In Z-CacheLib, we propose: 1) a new zStorage Engine for ZNS SSDs with low mapping and operational overhead, and 2) a novel zCache Engine with cross-layer optimizations to resolve the throughput regression and WA issues of garbage collection, which consists of delayed data eviction with virtual over-provisioning (vOP), a top-down eviction policy (zLRU) optimized from LRU, and a bottom-up drop mechanism (zDrop) for low WA. Our evaluation shows that Z-CacheLib can achieve up to 2X throughput, 5% improvement hit ratio, and almost no WA compared to CacheLib with compatible regular SSDs, demonstrating benefits of using ZNS SSDs for cache. Moreover, Z-CacheLib can achieve up to 6X throughput and 92% WA reduction compared with F2FS-based scheme.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。