arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.01270cs.DCcs.DBphysics.data-anstat.CO
收藏

Alchemist:Apache Spark <=> MPI接口

Alchemist: An Apache Spark <=> MPI Interface

Alex Gittens, Kai Rothauge, Shusen Wang, Michael W. Mahoney, Jey Kottalam, Lisa Gerhardt, Prabhat, Michael Ringenburg, Kristyn Maschhoff

摘要:

用于分布式计算的Apache Spark框架由于其易用性而在数据分析社区中很受欢迎,但其MapReduce风格的编程模型在执行不直接映射到该模型的计算时可能会产生显着的开销。减轻这些成本的一种方法是将计算卸载到MPI代码上。在最近的工作中,我们介绍了Alchemist,一个用于分析大规模数据集的系统。Alchemist从Spark应用程序中调用基于MPI的库,它具有最小的编码,通信和内存开销。特别是,Alchemist允许用户保留在Spark软件生态系统中工作的生产力优势,而不会牺牲线性代数,机器学习和其他相关计算的性能效率。在本文中,我们讨论了炼金术士的发展背后的动机,我们提供了一个详细的概述其设计和使用。我们还证明了我们的方法在中型到大型数据集上的效率,使用一些标准的线性代数运算,即矩阵乘法和密集矩阵的截断奇异值分解,我们比较了Spark与Spark+Alchemist的性能。这些计算在NERSC超级计算机Cori Phase 1,Cray XC 40上运行。

英文摘要:

The Apache Spark framework for distributed computation is popular in the data analytics community due to its ease of use, but its MapReduce-style programming model can incur significant overheads when performing computations that do not map directly onto this model. One way to mitigate these costs is to off-load computations onto MPI codes. In recent work, we introduced Alchemist, a system for the analysis of large-scale data sets. Alchemist calls MPI-based libraries from within Spark applications, and it has minimal coding, communication, and memory overheads. In particular, Alchemist allows users to retain the productivity benefits of working within the Spark software ecosystem without sacrificing performance efficiency in linear algebra, machine learning, and other related computations. In this paper, we discuss the motivation behind the development of Alchemist, and we provide a detailed overview its design and usage. We also demonstrate the efficiency of our approach on medium-to-large data sets, using some standard linear algebra operations, namely matrix multiplication and the truncated singular value decomposition of a dense matrix, and we compare the performance of Spark with that of Spark+Alchemist. These computations are run on the NERSC supercomputer Cori Phase 1, a Cray XC40.

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

↑