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

基于NVM的写优化和一致性RDMA系统

Write-Optimized and Consistent RDMA-based NVM Systems

Xinxin Liu, Yu Hua, Xuan Li, Qifan Liu

摘要:

为了在云计算中提供高性能,我们通常在网络中利用和利用RDMA(远程直接存储器访问),在终端系统中利用和利用NVM(非易失性存储器)。由于不涉及CPU,单侧RDMA变得高效地访问远程存储器,并且NVM技术具有非易失性、字节可寻址性和类似DRAM的延迟的优点。为了实现端到端的高性能,许多努力旨在协同单侧RDMA和NVM。由于需要保证远程数据原子性(RDA),我们必须消耗额外的网络往返、远程CPU参与和双重NVM写入。为了解决这些问题,我们提出了一个零拷贝日志结构的内存设计,高效的远程数据原子性,称为Erda。在Erda中,客户端通过单侧RDMA写入直接将数据传输到服务器的目的地址,而无需冗余复制和远程CPU消耗。为了检测获取数据的不完整性,我们在没有客户端-服务器协调的情况下验证校验和。我们通过在哈希表中利用8字节的原子更新来进一步确保元数据的一致性,该哈希表还包含陈旧数据的地址信息。发生故障时,服务器会正确恢复到一致的版本。实验结果表明,与Redo Logging(CPU参与方案)和Read After Write(网络主导方案)相比,Erda将NVM写入减少了约50%,同时显著提高了吞吐量并降低了延迟。

英文摘要:

In order to deliver high performance in cloud computing, we generally exploit and leverage RDMA (Remote Direct Memory Access) in networking and NVM (Non-Volatile Memory) in end systems. Due to no involvement of CPU, one-sided RDMA becomes efficient to access the remote memory, and NVM technologies have the strengths of non-volatility, byte-addressability and DRAM-like latency. In order to achieve end-to-end high performance, many efforts aim to synergize one-sided RDMA and NVM. Due to the need to guarantee Remote Data Atomicity (RDA), we have to consume extra network round-trips, remote CPU participation and double NVM writes. In order to address these problems, we propose a zero-copy log-structured memory design for Efficient Remote Data Atomicity, called Erda. In Erda, clients directly transfer data to the destination address at servers via one-sided RDMA writes without redundant copy and remote CPU consumption. To detect the incompleteness of fetched data, we verify a checksum without client-server coordination. We further ensure metadata consistency by leveraging an 8-byte atomic update in the hash table, which also contains the address information for the stale data. When a failure occurs, the server properly restores to a consistent version. Experimental results show that compared with Redo Logging (a CPU involvement scheme) and Read After Write (a network dominant scheme), Erda reduces NVM writes approximately by 50%, as well as significantly improves throughput and decreases latency.

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

↑