arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.04872cs.DCcs.PFcs.PL
收藏

Python并行编程模型的性能评估:Charm4Py与mpi4py

Performance Evaluation of Python Parallel Programming Models: Charm4Py and mpi4py

Zane Fink, Simeng Liu, Jaemin Choi, Matthias Diener, Laxmikant V. Kale

AI总结:

本文通过CPU和GPU微基准测试及科学计算小型应用,比较了Charm4Py与mpi4py两个Python并行编程框架的相对性能,以帮助实践者选择合适框架。

摘要:

Python正迅速成为机器学习和科学计算领域的通用语言。随着Numpy、SciPy和TensorFlow等框架的广泛使用,科学计算和机器学习在系统上的生产力得到了提升,而性能并未受到相应损失。虽然高性能库通常能在节点内提供足够的性能,但分布式计算对于将Python扩展到多个节点并使其在大规模高性能计算中真正具有竞争力是必需的。许多框架,如Charm4Py、DaCe、Dask、Legate Numpy、mpi4py和Ray,都能将Python扩展到多个节点。然而,关于这些框架的相对优势和劣势知之甚少,这使得实践者和科学家缺乏足够的信息来了解哪些框架适合他们的需求。在本文中,我们旨在通过研究Charm4Py和mpi4py这两个框架的相对性能来缩小这一知识差距。我们使用基于CPU和GPU的微基准测试以及其他具有代表性的科学计算小型应用程序,对Charm4Py和mpi4py进行了比较性能分析。

英文摘要:

Python is rapidly becoming the lingua franca of machine learning and scientific computing. With the broad use of frameworks such as Numpy, SciPy, and TensorFlow, scientific computing and machine learning are seeing a productivity boost on systems without a requisite loss in performance. While high-performance libraries often provide adequate performance within a node, distributed computing is required to scale Python across nodes and make it genuinely competitive in large-scale high-performance computing. Many frameworks, such as Charm4Py, DaCe, Dask, Legate Numpy, mpi4py, and Ray, scale Python across nodes. However, little is known about these frameworks' relative strengths and weaknesses, leaving practitioners and scientists without enough information about which frameworks are suitable for their requirements. In this paper, we seek to narrow this knowledge gap by studying the relative performance of two such frameworks: Charm4Py and mpi4py. We perform a comparative performance analysis of Charm4Py and mpi4py using CPU and GPU-based microbenchmarks other representative mini-apps for scientific computing.

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

↑