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

$λ$ - NIC:可编程SmartNICs上的交互式无服务器计算

$λ$-NIC: Interactive Serverless Compute on Programmable SmartNICs

Sean Choi, Muhammad Shahbaz, Balaji Prabhakar, Mendel Rosenblum

摘要:

人们对无服务器计算越来越感兴趣,这是一种云计算模型,可以自动化基础设施资源分配和管理,同时只对客户使用的资源进行计费。像流处理这样的工作负载受益于这些无服务器框架的高弹性和细粒度定价。然而,到目前为止,有限的并发性和服务器CPU的高延迟阻止了许多交互式工作负载(例如,Web服务器和数据库客户端)利用无服务器计算来实现高性能。在本文中,我们认为服务器CPU不适合运行无服务器工作负载(即,$λ$ -NIC是一个开源框架,它直接在SmartNIC上运行交互式工作负载;更具体地说,它是一个基于ASIC的NIC,由密集的网络处理单元(NPU)内核网格组成。$λ$ -NIC利用SmartNIC与网络的接近性和大量NPU内核,在单个NIC上同时运行数千个数据库,并具有严格的尾延迟保证。为了简化部署和开发,$λ$ -NIC公开了一个基于事件的编程抽象Match+Lambda和一个机器模型,允许开发人员在SmartPod上轻松编写和执行部署。我们的评估表明,$λ$ -NIC在工作负载的响应延迟和吞吐量方面分别实现了高达880倍和736倍的改进,同时显著降低了主机CPU和内存使用量。

英文摘要:

There is a growing interest in serverless compute, a cloud computing model that automates infrastructure resource-allocation and management while billing customers only for the resources they use. Workloads like stream processing benefit from high elasticity and fine-grain pricing of these serverless frameworks. However, so far, limited concurrency and high latency of server CPUs prohibit many interactive workloads (e.g., web servers and database clients) from taking advantage of serverless compute to achieve high performance. In this paper, we argue that server CPUs are ill-suited to run serverless workloads (i.e., lambdas) and present $λ$-NIC, an open-source framework, that runs interactive workloads directly on a SmartNIC; more specifically an ASIC-based NIC that consists of a dense grid of Network Processing Unit (NPU) cores. $λ$-NIC leverages SmartNIC's proximity to the network and a vast array of NPU cores to simultaneously run thousands of lambdas on a single NIC with strict tail-latency guarantees. To ease development and deployment of lambdas, $λ$-NIC exposes an event-based programming abstraction, Match+Lambda, and a machine model that allows developers to compose and execute lambdas on SmartNICs easily. Our evaluation shows that $λ$-NIC achieves up to 880x and 736x improvements in workloads' response latency and throughput, respectively, while significantly reducing host CPU and memory usage.

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

↑