Software Open Access

# JAMPI: Efficient matrix multiplication in Spark using Barrier Execution Mode

Földi Tamás; Nicolas A Perez; Chris von Csefalvay

### JSON-LD (schema.org) Export

{
"description": "<p>The new barrier mode in Apache Spark allows embedding distributed deep learning training as a Spark stage to simplify the distributed training workflow. In Spark, a task in a stage doesn&rsquo;t depend on any other tasks in the same stage, and hence it can be scheduled independently. However, several algorithms require more sophisticated inter-task communications, similar to the MPI paradigm. By combining distributed message passing (using asynchronous network IO), OpenJDK&#39;s new auto-vectorization and Spark&#39;s barrier execution mode, we can add non-map/reduce based algorithms, such as Cannon&#39;s distributed matrix multiplication to Spark. We document an efficient distributed matrix multiplication using Cannon&#39;s algorithm, which improves significantly on the performance of the existing MLlib implementation. Used within a barrier task, the algorithm described herein results in an up to 24% performance increase on a 10,000x10,000 square matrix with a significantly lower memory footprint. Applications of efficient matrix multiplication include, among others, accelerating the training and implementation of deep convolutional neural network based workloads, and thus such efficient algorithms can play a ground-breaking role in faster, more efficient execution of even the most complicated machine learning tasks.</p>",
"creator": [
{
"affiliation": "Starschema",
"@type": "Person",
"name": "F\u00f6ldi Tam\u00e1s"
},
{
"affiliation": "HP Enterprise",
"@type": "Person",
"name": "Nicolas A Perez"
},
{
"affiliation": "Starschema",
"@type": "Person",
"name": "Chris von Csefalvay"
}
],
"url": "https://zenodo.org/record/3908556",
"codeRepository": "https://github.com/starschema/jampi-spark-dotmatrix/tree/0.9.0",
"datePublished": "2020-06-25",
"version": "0.9.0",
"@context": "https://schema.org/",
"identifier": "https://doi.org/10.5281/zenodo.3908556",
"@id": "https://doi.org/10.5281/zenodo.3908556",
"@type": "SoftwareSourceCode",
"name": "JAMPI: Efficient matrix multiplication in Spark using Barrier Execution Mode"
}
79
2
views