BPF-oF:跨网络的存储函数下推
BPF-oF: Storage Function Pushdown Over the Network
AI总结:
本文提出构建于NVMe-oF之上的BPF-oF协议,可安全下推自定义eBPF存储函数,并通过分阶段查询与采样刷新缓存保留客户端缓存收益,显著提升网络访问下三类存储系统的性能。
摘要:
存储解耦(即通过网络访问存储)之所以流行,是因为它允许应用根据动态的应用需求独立扩展存储容量和带宽。然而,解耦所引入的额外网络处理会消耗大量CPU资源。在许多存储系统中,逻辑存储操作(例如查找、聚合)涉及一系列简单但相互依赖的I/O访问模式。因此,降低网络处理开销的一种方法是在远程存储服务器上执行相互依赖的I/O访问序列,从而减少存储层与应用之间的往返通信。我们将这种方法称为“远程存储下推”。我们提出了BPF-oF,这是一种构建在NVMe-oF之上的新型远程存储下推协议,使应用能够安全地将自定义eBPF存储函数下推到远程存储服务器。将BPF-oF与存储系统集成的主要挑战在于保留其基于客户端的内存缓存所带来的优势。我们通过为存储下推设计新颖的缓存技术来应对这一挑战,包括将查询拆分为独立的内存阶段和远程存储阶段,以及使用来自远程存储设备的采样访问定期刷新客户端缓存。我们通过将BPF-oF与三个存储系统集成来展示其效用,其中包括RocksDB这一流行的持久化键值存储,而它此前并不具备存储下推能力。我们表明,当通过网络访问时,BPF-oF在所有三个系统中都提供了显著的加速,例如将RocksDB的吞吐量最高提升2.8倍,并将尾延迟最高改善2.6倍。
英文摘要:
Storage disaggregation, wherein storage is accessed over the network, is popular because it allows applications to independently scale storage capacity and bandwidth based on dynamic application demand. However, the added network processing introduced by disaggregation can consume significant CPU resources. In many storage systems, logical storage operations (e.g., lookups, aggregations) involve a series of simple but dependent I/O access patterns. Therefore, one way to reduce the network processing overhead is to execute dependent series of I/O accesses at the remote storage server, reducing the back-and-forth communication between the storage layer and the application. We refer to this approach as \emph{remote-storage pushdown}. We present BPF-oF, a new remote-storage pushdown protocol built on top of NVMe-oF, which enables applications to safely push custom eBPF storage functions to a remote storage server. The main challenge in integrating BPF-oF with storage systems is preserving the benefits of their client-based in-memory caches. We address this challenge by designing novel caching techniques for storage pushdown, including splitting queries into separate in-memory and remote-storage phases and periodically refreshing the client cache with sampled accesses from the remote storage device. We demonstrate the utility of BPF-oF by integrating it with three storage systems, including RocksDB, a popular persistent key-value store that has no existing storage pushdown capability. We show BPF-oF provides significant speedups in all three systems when accessed over the network, for example improving RocksDB's throughput by up to 2.8$\times$ and tail latency by up to 2.6$\times$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。