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

RIO:保持顺序和CPU高效的远程存储访问

RIO: Order-Preserving and CPU-Efficient Remote Storage Access

Xiaojian Liao, Zhe Yang, Jiwu Shu

摘要:

现代NVMe SSD和RDMA网络可提供显著更高的带宽和并发性。现有的网络存储系统(例如,NVMe over Fabrics)由于低效的存储排序保证而无法充分利用这些新设备。在这些系统中,严重的存储顺序同步执行会使CPU和I/O设备停止,并降低存储系统的CPU和I/O性能效率。我们提出了里约,一种新的方法来存储顺序的远程存储访问。Rio的关键见解是软件堆栈的分层设计,以及并发和异步网络和存储设备,使存储堆栈在概念上类似于CPU管道。受无序执行和有序提交的CPU流水线的启发,Rio引入了I/O流水线,允许内部无序和异步执行有序写入请求,同时为应用程序提供完整的外部存储顺序。结合合并连续的有序请求,这些设计决策使写入吞吐量和CPU效率接近于无序请求。我们在Linux NVMe中通过RDMA协议栈实现了Rio,并在Rio上构建了一个名为RioFS的文件系统。评估表明,Rio在有序写入请求的吞吐量方面分别优于RDMA和最先进的存储堆栈Horae两个数量级和4.9倍。RioFS将RocksDB的吞吐量平均提高了1.9倍和1.5倍,分别是Ext4和HoraeFS的两倍。

英文摘要:

Modern NVMe SSDs and RDMA networks provide dramatically higher bandwidth and concurrency. Existing networked storage systems (e.g., NVMe over Fabrics) fail to fully exploit these new devices due to inefficient storage ordering guarantees. Severe synchronous execution for storage order in these systems stalls the CPU and I/O devices and lowers the CPU and I/O performance efficiency of the storage system. We present Rio, a new approach to the storage order of remote storage access. The key insight in Rio is that the layered design of the software stack, along with the concurrent and asynchronous network and storage devices, makes the storage stack conceptually similar to the CPU pipeline. Inspired by the CPU pipeline that executes out-of-order and commits in-order, Rio introduces the I/O pipeline that allows internal out-of-order and asynchronous execution for ordered write requests while offering intact external storage order to applications. Together with merging consecutive ordered requests, these design decisions make for write throughput and CPU efficiency close to that of orderless requests. We implement Rio in Linux NVMe over RDMA stack, and further build a file system named RioFS atop Rio. Evaluations show that Rio outperforms Linux NVMe over RDMA and a state-of-the-art storage stack named Horae by two orders of magnitude and 4.9 times on average in terms of throughput of ordered write requests, respectively. RioFS increases the throughput of RocksDB by 1.9 times and 1.5 times on average, against Ext4 and HoraeFS, respectively.

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

↑