Swift:重新思考弹性计算的RDMA控制平面
Swift: Rethinking RDMA Control Plane for Elastic Computing
AI总结:
本文提出Swift,通过缓存优化libibverbs加速用户空间RDMA连接设置,并利用fork能力实现资源在进程间共享,将RDMA与无服务器框架协同设计,显著提升了弹性计算的吞吐量并降低了延迟。
摘要:
弹性计算支持动态扩展以满足工作负载需求,远程直接内存访问(RDMA)通过提供高吞吐量、低延迟的网络通信来增强这一能力。然而,将RDMA集成到弹性计算中仍是一个挑战,特别是在RDMA连接设置的控制平面操作方面。本文重新审视了先前关于弹性计算高性能RDMA工作的假设,揭示了极端的微秒级控制平面优化通常是不必要的。通过挑战关于用户空间RDMA控制平面缓慢和用户空间RDMA资源共享困难的传统观念,我们发现了新的设计机会。我们的关键洞察是,用户空间RDMA连接设置可以通过缓存显著改善,而RDMA资源可以使用fork在进程间高效共享。鉴于此,我们提出了Swift,一个简单而有效的解决方案,它将RDMA与无服务器框架协同设计以优化弹性计算的性能。Swift的核心在于,通过使用缓存优化的libibverbs快速初始化RDMA控制平面来处理冷和暖的无服务器请求,并通过利用RDMA的fork能力来管理fork请求。Swift基于OpenWhisk实现,与先前的解决方案相比,提供了30.56-46.50%更高的平均吞吐量和18.55-37.21%更低的延迟,控制平面开销仅为6.5%。
英文摘要:
Elastic computing enables dynamic scaling to meet workload demands, and Remote Direct Memory Access (RDMA) enhances this by providing high-throughput, low-latency network communication. However, integrating RDMA into elastic computing remains a challenge, particularly in control plane operations for RDMA connection setup. This paper revisits the assumptions of prior work on high-performance RDMA for elastic computing, and reveals that extreme microsecond-level control plane optimizations are often unnecessary. By challenging the conventional beliefs on the slowness of user-space RDMA control plane and the difficulty of user-space RDMA resource sharing, we uncover new design opportunities. Our key insight is that user-space RDMA connection setup can be significantly improved with caching, while RDMA resources can be efficiently shared among processes using fork. In light of this, we propose Swift, a simple yet effective solution that co-designs RDMA with a serverless framework to optimize performance for elastic computing. At its very core, Swift handles cold and warm serverless requests by swiftly initializing the RDMA control plane with cache-optimized libibverbs, and manages fork requests by leveraging the RDMA's fork capability. Implemented with OpenWhisk, Swift delivers 30.56-46.50% higher average throughput and 18.55-37.21% lower latency, at a cost of 6.5% control plane overhead, compared to prior solutions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。