Julia Cloud Matrix Machine: Dynamic Matrix Language Acceleration on Multicore Clusters in the Cloud

Jay Hwan Lee, Yeonsoo Kim, Yonghyun Ryu, Wasuwee Sodsong, Hyunjun Jeon, Jinsik Park, Bernd Burgstaller, Bernhard Scholz

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Matrix computations are widely used in increasing sizes and complexity in scientific computing and engineering. But current matrix language implementations lack programmer support to effectively and seamlessly utilize cloud computing resources. We extend the Julia high-performance compute language to automatically parallelize matrix computations for the cloud. Users are shielded from the complexity of explicitly-parallel computations through the provision of a novel matrix data type with lazy evaluation semantics. Delayed evaluation aggregates operations into expression trees that are rewritten on-the-fly to eliminate common subexpressions and apply optimizations such as exponentiation-by-squaring on matching subtrees. Trees are lowered into DAGs for which dynamic simulation selects the optimal tile size and execution schedule for a given cluster of cloud nodes. We employ off-line profiling to construct a time model for the compute and network capacity of the cluster. The experimental evaluation of our framework comprises eleven benchmarks on a cluster of eight nodes (288 vCPUs) in the AWS public cloud and reveals speedups of up to a factor of 4.11, with an average 78.36% of the theoretical maximum speedup.

Original languageEnglish
Title of host publicationPMAM 2023 - Proceedings of the 14th International Workshop on Programming Models and Applications for Multicores and Manycores, Part of PPoPP 2023
PublisherAssociation for Computing Machinery, Inc
Pages1-10
Number of pages10
ISBN (Electronic)9798400701153
DOIs
Publication statusPublished - 2023 Feb 25
Event14th International Workshop on Programming Models and Applications for Multicores and Manycores, PMAM 2023 - Part of PPoPP 2023 - Montreal, Canada
Duration: 2023 Feb 262023 Feb 26

Publication series

NamePMAM 2023 - Proceedings of the 14th International Workshop on Programming Models and Applications for Multicores and Manycores, Part of PPoPP 2023

Conference

Conference14th International Workshop on Programming Models and Applications for Multicores and Manycores, PMAM 2023 - Part of PPoPP 2023
Country/TerritoryCanada
CityMontreal
Period23/2/2623/2/26

Bibliographical note

Publisher Copyright:
© 2023 ACM.

All Science Journal Classification (ASJC) codes

  • Human-Computer Interaction
  • Software

Fingerprint

Dive into the research topics of 'Julia Cloud Matrix Machine: Dynamic Matrix Language Acceleration on Multicore Clusters in the Cloud'. Together they form a unique fingerprint.

Cite this