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

Faabric:云中科学工作负载的细粒度分布

Faabric: Fine-Grained Distribution of Scientific Workloads in the Cloud

Simon Shillaker, Carlos Segarra, Eleftheria Mappoura, Mayeul Fournial, Lluis Vilanova, Peter Pietzuch

摘要:

由于其高度并行性和资源需求,许多科学应用程序都受益于云部署。如今,科学应用程序在专用的虚拟机池上执行,导致资源碎片化:用户为未充分利用的资源付费,而提供商无法在应用程序之间重新分配未使用的资源。虽然无服务器云计算可以解决这些问题,但其编程模型与科学应用程序中共享内存和消息传递的使用不兼容:无服务器函数在动态调度函数时不直接在同一VM上共享内存或支持消息传递语义。我们描述了Faabric,一个新的无服务器云运行时,透明地分发应用程序与共享内存和消息传递跨虚拟机。Faabric通过一种称为Granules的新执行抽象,以细粒度(线程/进程)的方式调度计算来实现这一点。为了支持共享内存,Granules使用WebAssembly隔离,但直接共享内存;为了支持消息传递,Granules提供异步点对点通信。Faabric调度Granules以满足应用程序的并行性需求。它还将更改同步到Granule的共享内存,并迁移Granule以提高局部性。

英文摘要:

With their high parallelism and resource needs, many scientific applications benefit from cloud deployments. Today, scientific applications are executed on dedicated pools of VMs, resulting in resource fragmentation: users pay for underutilised resources, and providers cannot reallocate unused resources between applications. While serverless cloud computing could address these issues, its programming model is incompatible with the use of shared memory and message passing in scientific applications: serverless functions do not share memory directly on the same VM or support message passing semantics when scheduling functions dynamically. We describe Faabric, a new serverless cloud runtime that transparently distributes applications with shared memory and message passing across VMs. Faabric achieves this by scheduling computation in a fine-grained (thread/process) fashion through a new execution abstraction called Granules. To support shared memory, Granules are isolated using WebAssembly but share memory directly; to support message passing, Granules offer asynchronous point-to-point communication. Faabric schedules Granules to meet an application's parallelism needs. It also synchronises changes to Granule's shared memory, and migrates Granules to improve locality.

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

↑