Software Open Access

JAMPI: Efficient matrix multiplication in Spark using Barrier Execution Mode

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


Citation Style Language JSON Export

{
  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.3908556", 
  "title": "JAMPI: Efficient matrix multiplication in Spark using Barrier Execution Mode", 
  "issued": {
    "date-parts": [
      [
        2020, 
        6, 
        25
      ]
    ]
  }, 
  "abstract": "<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>", 
  "author": [
    {
      "family": "F\u00f6ldi Tam\u00e1s"
    }, 
    {
      "family": "Nicolas A Perez"
    }, 
    {
      "family": "Chris von Csefalvay"
    }
  ], 
  "version": "0.9.0", 
  "type": "article", 
  "id": "3908556"
}
79
2
views
downloads
All versions This version
Views 7979
Downloads 22
Data volume 39.3 MB39.3 MB
Unique views 6464
Unique downloads 22

Share

Cite as