首页 | 官方网站   微博 | 高级检索  
     

Spark任务间消息传递方法研究
引用本文:夏立斌,刘晓宇,孙玮,姜晓巍,孙功星.Spark任务间消息传递方法研究[J].计算机工程与应用,2022,58(21):91-97.
作者姓名:夏立斌  刘晓宇  孙玮  姜晓巍  孙功星
作者单位:1.中国科学院 高能物理研究所,北京 100049  2.中国科学院大学,北京 100049
摘    要:当今诸多工程问题及科学研究中,都面临着大数据处理和高性能计算任务的双重挑战。基于内存计算技术提出的分布式处理框架Spark已在学术和工业界得到了广泛的应用,但其MapReduce-like的编程模型在任务间无法进行通信,导致科学计算中的数值算法无法进行高效实现。针对上述问题,研究了一种Spark内存计算与MPI消息传递模型相结合的解决方案,充分利用内存访问存取快速的特点和MPI的多种高性能通信机制,解决了Spark编程模型表达能力不足的缺陷,同时为MPI提供了面向数据的DAG计算方式。通过对Spark内部的运行环境和调度系统进行修改,使得MPI在Spark中得以无缝融合,为高性能计算和大数据任务提供了一个统一的内存计算系统。测试结果表明,在数值计算和迭代算法上相比Spark至少有50%的性能提升。

关 键 词:Spark  MPI  科学计算  内存计算  迭代算法  

Exploring Message Passing Method Between Spark Tasks
XIA Libin,LIU Xiaoyu,SUN Wei,JIANG Xiaowei,SUN Gongxing.Exploring Message Passing Method Between Spark Tasks[J].Computer Engineering and Applications,2022,58(21):91-97.
Authors:XIA Libin  LIU Xiaoyu  SUN Wei  JIANG Xiaowei  SUN Gongxing
Affiliation:1.Institute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, China 2.University of Chinese Academy of Sciences, Beijing 100049, China
Abstract:Engineering problems and scientific research are facing dual challenges of big data processing and high-performance computing tasks. Spark, a distributed processing framework based on in-memory computing technology, has been widely used in academia and industry. However, its MapReduce-like programming model fails to communicate between tasks, causing numerical algorithms in scientific computing cannot be efficiently implemented. In response to the above problems, a computing system is proposed in this paper that combines Spark in-memory computing model with MPI message passing, which takes full advantage of the fast speed of memory access and multiple high performance communication mechanisms of MPI. It can not only supplement the insufficient expressiveness of the Spark programming model, but also provide a data-oriented DAG computation method for MPI. Internal runtime environment and scheduling strategy of Spark are modified to seamlessly integrate MPI into Spark to provide a unified in-memory computing system for high-performance computing and big data processing tasks. The tests indicate that the performance of numerical computation and iterative algorithm is improved by at least 50% compared with Spark.
Keywords:Spark  MPI  scientific computing  in-memory computing  iterative algorithm  
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号