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

在FaaS平台中进行基准测试

Benchmarking Parallelism in FaaS Platforms

Daniel Barcelona-Pons, Pedro García-López

摘要:

无服务器计算已经看到了无数探索其潜力的工作。一些系统在自动弹性和扩展上处理功能即服务(FaaS)属性,以运行高度并行的计算作业。然而,他们专注于特定的平台,并传达他们的想法可以外推到任何FaaS运行时。一个重要的问题出现了:所有的FaaS平台都适合并行计算吗?在本文中,我们认为,并不是所有的主机高度并行的应用程序提供了必要的手段。为了验证我们的假设,我们创建了一个比较框架,并对四种云FaaS产品的架构进行了分类,强调了并行性能。我们证明并扩展了这种描述与实证实验,包括在绘制在每个服务上的并行计算作业的演变的详细信息。我们的结果的分析表明,FaaS是不是固有的并行计算和跨平台的架构差异是决定性的分类其性能。一个关键的见解是虚拟化技术的重要性和FaaS平台的调度方法。由于更精细的资源分配和更快的弹性,更轻的虚拟化和主动调度可以改善并行性。这导致AWS和IBM等平台在高度并行计算方面表现良好,而Azure等其他平台则难以实现所需的并行度。因此,本文中的信息变得特别感兴趣,以帮助用户选择最合适的基础设施,他们的并行应用程序。

英文摘要:

Serverless computing has seen a myriad of work exploring its potential. Some systems tackle Function-as-a-Service (FaaS) properties on automatic elasticity and scale to run highly-parallel computing jobs. However, they focus on specific platforms and convey that their ideas can be extrapolated to any FaaS runtime. An important question arises: do all FaaS platforms fit parallel computations? In this paper, we argue that not all of them provide the necessary means to host highly-parallel applications. To validate our hypothesis, we create a comparative framework and categorize the architectures of four cloud FaaS offerings, emphasizing parallel performance. We attest and extend this description with an empirical experiment that consists in plotting in deep detail the evolution of a parallel computing job on each service. The analysis of our results evinces that FaaS is not inherently good for parallel computations and architectural differences across platforms are decisive to categorize their performance. A key insight is the importance of virtualization technologies and the scheduling approach of FaaS platforms. Parallelism improves with lighter virtualization and proactive scheduling due to finer resource allocation and faster elasticity. This causes some platforms like AWS and IBM to perform well for highly-parallel computations, while others such as Azure present difficulties to achieve the required parallelism degree. Consequently, the information in this paper becomes of special interest to help users choose the most adequate infrastructure for their parallel applications.

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

↑