The Ohio State University
Optimizing Apache Spark using the MVAPICH2 MPI library for High Performance Computing
Abstract
dc:descriptionWith the growing popularity of Big Data frameworks such as Apache Spark, there is an accompanying demand for running such frameworks on High Performance Computing (HPC) systems to utilize their full potential. Apache Spark has seen deployment on HPC systems such as the Texas Advanced Computing Center (TACC) and San Diego’s Supercomputing Center (SDSC). Spark, however, does not reap the full performance benefits of HPC. That is, high-speed interconnects and the defacto standard for writing scientific applications in HPC, the Message Passing Interface (MPI).In my thesis, I present a new design that combines MPI along with Apache Spark. We call this new effort MPI4Spark. The MPI4Spark package can launch the Spark ecosystem using MPI launchers, allowing MPI communication inside of it. Semantic differences between the application-driven communication of MPI and the event-driven communication in Spark are bridged. A relatively new feature of MPI is also adopted in this new design. This new feature, Dynamic Process Management (DPM), is used in launching of Spark executor processes used to execute user applications.MPI4Spark is portable across different HPC systems as it benefits from the underlying portability of the MVAPICH2 library, meaning the MPI4spark package can run on different popular HPC interconnects including InfiniBand, RoCE, Intel Omni-Path, and Slingshot. The MPI4Spark design was evaluated using OSU HiBD Benchmarks (OHB) and the Intel HiBench Suite, and the performance results were compared against regular “vanilla” Spark and RDMA-Spark. The evaluation was carried out on three HPC systems including TACC Frontera, TACC Stampede2, and OSU’s internal cluster, RI2. MPI4Spark overall outperforms Vanilla Spark and RDMA-Spark. For the OHB GroupByTest benchmark, MPI4Spark outperformed vanilla Spark and RDMA-Spark by 4.23x and 2.04x, respectively, on the TACC Frontera system using 448 processing cores (8 workers), with a communication speed-up, compared to vanilla Spark and RDMA-Spark, of 13.08x and 5.56x, respectively.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Computer Science and Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2023
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Alattar, Kinan
- Advisor dc:contributor.advisor
-
- Panda, Dhabaleswar K.
Subjects
dc:subject × 2Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu168355844192891