Loading…

Accelerating communication with multi‐HCA aware collectives in MPI

Summary To accelerate the communication between nodes, supercomputers are now equipped with multiple network adapters per node, also referred to as HCAs (Host Channel Adapters), resulting in a “multi‐rail”/“multi‐HCA” network. For example, the ThetaGPU system at Argonne National Laboratory (ANL) has...

Full description

Saved in:
Bibliographic Details
Published in:Concurrency and computation 2024-01, Vol.36 (1), p.n/a
Main Authors: Tran, Tu, Ramesh, Bharath, Michalowicz, Benjamin, Abduljabbar, Mustafa, Subramoni, Hari, Shafi, Aamir, Panda, Dhabaleswar K.
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by
cites cdi_FETCH-LOGICAL-c2549-3d0c931a8c82f67c267a38b60a6da40c112c1aaa5b05c8bcda068f83456237803
container_end_page n/a
container_issue 1
container_start_page
container_title Concurrency and computation
container_volume 36
creator Tran, Tu
Ramesh, Bharath
Michalowicz, Benjamin
Abduljabbar, Mustafa
Subramoni, Hari
Shafi, Aamir
Panda, Dhabaleswar K.
description Summary To accelerate the communication between nodes, supercomputers are now equipped with multiple network adapters per node, also referred to as HCAs (Host Channel Adapters), resulting in a “multi‐rail”/“multi‐HCA” network. For example, the ThetaGPU system at Argonne National Laboratory (ANL) has eight adapters per node; with this many networking resources available, utilizing all of them becomes non‐trivial. The Message Passing Interface (MPI) is a dominant model for high‐performance computing clusters. Not all MPI collectives utilize all resources, and this becomes more apparent with advances in bandwidth and adapter count in a given cluster. In this work, we provide a thorough performance analysis of existing multirail solutions and their implications on collectives and present the necessity for further enhancement. Specifically, we propose novel designs for hierarchical, multi‐HCA‐aware Allgather. The proposed designs fully utilize all the available network adapters within a node and provide high overlap between inter‐node and intra‐node communication. At the micro‐benchmark level, we see large inter‐node improvements up to 62% and 61% better than HPC‐X and MVAPICH2‐X for 1024 processes. Because Allgather is used in Ring‐Allreduce, our designs also improve its performance by 56% and 44% compared to HPC‐X and MVAPICH2‐X, respectively. At the application level, our enhanced Allgather shows 1.98×$$ 1.98\times $$ and 1.42×$$ 1.42\times $$ improvement in a matrix‐vector multiplication kernel when compared to HPC‐X and MVAPICH2‐X, and Allreduce performs up to 7.83% better in deep learning training against MVAPICH2‐X.
doi_str_mv 10.1002/cpe.7879
format article
fullrecord <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_journals_2900598960</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2900598960</sourcerecordid><originalsourceid>FETCH-LOGICAL-c2549-3d0c931a8c82f67c267a38b60a6da40c112c1aaa5b05c8bcda068f83456237803</originalsourceid><addsrcrecordid>eNp10M9Kw0AQBvBFFKxV8BECXrykzu4mm82xxGoLFXvQ87KZbHRL_tTdxNKbj-Az-iSmVrx5mhn48Q18hFxSmFAAdoMbM0lkkh6REY05C0Hw6PhvZ-KUnHm_BqAUOB2R2ymiqYzTnW1eAmzrum8sDlfbBFvbvQZ1X3X26-Nznk0DvdXODKiqDHb23fjANsHDanFOTkpdeXPxO8fk-W72lM3D5eP9IpsuQ2RxlIa8AEw51RIlK0WCTCSay1yAFoWOACllSLXWcQ4xyhwLDUKWkkexYDyRwMfk6pC7ce1bb3yn1m3vmuGlYilAnMpU7NX1QaFrvXemVBtna-12ioLad6SGjtS-o4GGB7q1ldn961S2mv34b025Z10</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2900598960</pqid></control><display><type>article</type><title>Accelerating communication with multi‐HCA aware collectives in MPI</title><source>Wiley-Blackwell Read &amp; Publish Collection</source><creator>Tran, Tu ; Ramesh, Bharath ; Michalowicz, Benjamin ; Abduljabbar, Mustafa ; Subramoni, Hari ; Shafi, Aamir ; Panda, Dhabaleswar K.</creator><creatorcontrib>Tran, Tu ; Ramesh, Bharath ; Michalowicz, Benjamin ; Abduljabbar, Mustafa ; Subramoni, Hari ; Shafi, Aamir ; Panda, Dhabaleswar K.</creatorcontrib><description>Summary To accelerate the communication between nodes, supercomputers are now equipped with multiple network adapters per node, also referred to as HCAs (Host Channel Adapters), resulting in a “multi‐rail”/“multi‐HCA” network. For example, the ThetaGPU system at Argonne National Laboratory (ANL) has eight adapters per node; with this many networking resources available, utilizing all of them becomes non‐trivial. The Message Passing Interface (MPI) is a dominant model for high‐performance computing clusters. Not all MPI collectives utilize all resources, and this becomes more apparent with advances in bandwidth and adapter count in a given cluster. In this work, we provide a thorough performance analysis of existing multirail solutions and their implications on collectives and present the necessity for further enhancement. Specifically, we propose novel designs for hierarchical, multi‐HCA‐aware Allgather. The proposed designs fully utilize all the available network adapters within a node and provide high overlap between inter‐node and intra‐node communication. At the micro‐benchmark level, we see large inter‐node improvements up to 62% and 61% better than HPC‐X and MVAPICH2‐X for 1024 processes. Because Allgather is used in Ring‐Allreduce, our designs also improve its performance by 56% and 44% compared to HPC‐X and MVAPICH2‐X, respectively. At the application level, our enhanced Allgather shows 1.98×$$ 1.98\times $$ and 1.42×$$ 1.42\times $$ improvement in a matrix‐vector multiplication kernel when compared to HPC‐X and MVAPICH2‐X, and Allreduce performs up to 7.83% better in deep learning training against MVAPICH2‐X.</description><identifier>ISSN: 1532-0626</identifier><identifier>EISSN: 1532-0634</identifier><identifier>DOI: 10.1002/cpe.7879</identifier><language>eng</language><publisher>Hoboken: Wiley Subscription Services, Inc</publisher><subject>Adapters ; Allgather ; Allreduce ; collectives ; Communication ; HCA‐aware ; Message passing ; MPI ; Network adapters ; network‐aware ; Nodes</subject><ispartof>Concurrency and computation, 2024-01, Vol.36 (1), p.n/a</ispartof><rights>2023 John Wiley &amp; Sons, Ltd.</rights><rights>2024 John Wiley &amp; Sons, Ltd.</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><cites>FETCH-LOGICAL-c2549-3d0c931a8c82f67c267a38b60a6da40c112c1aaa5b05c8bcda068f83456237803</cites><orcidid>0000-0003-0040-8404</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,780,784,27924,27925</link.rule.ids></links><search><creatorcontrib>Tran, Tu</creatorcontrib><creatorcontrib>Ramesh, Bharath</creatorcontrib><creatorcontrib>Michalowicz, Benjamin</creatorcontrib><creatorcontrib>Abduljabbar, Mustafa</creatorcontrib><creatorcontrib>Subramoni, Hari</creatorcontrib><creatorcontrib>Shafi, Aamir</creatorcontrib><creatorcontrib>Panda, Dhabaleswar K.</creatorcontrib><title>Accelerating communication with multi‐HCA aware collectives in MPI</title><title>Concurrency and computation</title><description>Summary To accelerate the communication between nodes, supercomputers are now equipped with multiple network adapters per node, also referred to as HCAs (Host Channel Adapters), resulting in a “multi‐rail”/“multi‐HCA” network. For example, the ThetaGPU system at Argonne National Laboratory (ANL) has eight adapters per node; with this many networking resources available, utilizing all of them becomes non‐trivial. The Message Passing Interface (MPI) is a dominant model for high‐performance computing clusters. Not all MPI collectives utilize all resources, and this becomes more apparent with advances in bandwidth and adapter count in a given cluster. In this work, we provide a thorough performance analysis of existing multirail solutions and their implications on collectives and present the necessity for further enhancement. Specifically, we propose novel designs for hierarchical, multi‐HCA‐aware Allgather. The proposed designs fully utilize all the available network adapters within a node and provide high overlap between inter‐node and intra‐node communication. At the micro‐benchmark level, we see large inter‐node improvements up to 62% and 61% better than HPC‐X and MVAPICH2‐X for 1024 processes. Because Allgather is used in Ring‐Allreduce, our designs also improve its performance by 56% and 44% compared to HPC‐X and MVAPICH2‐X, respectively. At the application level, our enhanced Allgather shows 1.98×$$ 1.98\times $$ and 1.42×$$ 1.42\times $$ improvement in a matrix‐vector multiplication kernel when compared to HPC‐X and MVAPICH2‐X, and Allreduce performs up to 7.83% better in deep learning training against MVAPICH2‐X.</description><subject>Adapters</subject><subject>Allgather</subject><subject>Allreduce</subject><subject>collectives</subject><subject>Communication</subject><subject>HCA‐aware</subject><subject>Message passing</subject><subject>MPI</subject><subject>Network adapters</subject><subject>network‐aware</subject><subject>Nodes</subject><issn>1532-0626</issn><issn>1532-0634</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><recordid>eNp10M9Kw0AQBvBFFKxV8BECXrykzu4mm82xxGoLFXvQ87KZbHRL_tTdxNKbj-Az-iSmVrx5mhn48Q18hFxSmFAAdoMbM0lkkh6REY05C0Hw6PhvZ-KUnHm_BqAUOB2R2ymiqYzTnW1eAmzrum8sDlfbBFvbvQZ1X3X26-Nznk0DvdXODKiqDHb23fjANsHDanFOTkpdeXPxO8fk-W72lM3D5eP9IpsuQ2RxlIa8AEw51RIlK0WCTCSay1yAFoWOACllSLXWcQ4xyhwLDUKWkkexYDyRwMfk6pC7ce1bb3yn1m3vmuGlYilAnMpU7NX1QaFrvXemVBtna-12ioLad6SGjtS-o4GGB7q1ldn961S2mv34b025Z10</recordid><startdate>20240110</startdate><enddate>20240110</enddate><creator>Tran, Tu</creator><creator>Ramesh, Bharath</creator><creator>Michalowicz, Benjamin</creator><creator>Abduljabbar, Mustafa</creator><creator>Subramoni, Hari</creator><creator>Shafi, Aamir</creator><creator>Panda, Dhabaleswar K.</creator><general>Wiley Subscription Services, Inc</general><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>8FD</scope><scope>JQ2</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope><orcidid>https://orcid.org/0000-0003-0040-8404</orcidid></search><sort><creationdate>20240110</creationdate><title>Accelerating communication with multi‐HCA aware collectives in MPI</title><author>Tran, Tu ; Ramesh, Bharath ; Michalowicz, Benjamin ; Abduljabbar, Mustafa ; Subramoni, Hari ; Shafi, Aamir ; Panda, Dhabaleswar K.</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c2549-3d0c931a8c82f67c267a38b60a6da40c112c1aaa5b05c8bcda068f83456237803</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Adapters</topic><topic>Allgather</topic><topic>Allreduce</topic><topic>collectives</topic><topic>Communication</topic><topic>HCA‐aware</topic><topic>Message passing</topic><topic>MPI</topic><topic>Network adapters</topic><topic>network‐aware</topic><topic>Nodes</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Tran, Tu</creatorcontrib><creatorcontrib>Ramesh, Bharath</creatorcontrib><creatorcontrib>Michalowicz, Benjamin</creatorcontrib><creatorcontrib>Abduljabbar, Mustafa</creatorcontrib><creatorcontrib>Subramoni, Hari</creatorcontrib><creatorcontrib>Shafi, Aamir</creatorcontrib><creatorcontrib>Panda, Dhabaleswar K.</creatorcontrib><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Technology Research Database</collection><collection>ProQuest Computer Science Collection</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts – Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><jtitle>Concurrency and computation</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Tran, Tu</au><au>Ramesh, Bharath</au><au>Michalowicz, Benjamin</au><au>Abduljabbar, Mustafa</au><au>Subramoni, Hari</au><au>Shafi, Aamir</au><au>Panda, Dhabaleswar K.</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Accelerating communication with multi‐HCA aware collectives in MPI</atitle><jtitle>Concurrency and computation</jtitle><date>2024-01-10</date><risdate>2024</risdate><volume>36</volume><issue>1</issue><epage>n/a</epage><issn>1532-0626</issn><eissn>1532-0634</eissn><abstract>Summary To accelerate the communication between nodes, supercomputers are now equipped with multiple network adapters per node, also referred to as HCAs (Host Channel Adapters), resulting in a “multi‐rail”/“multi‐HCA” network. For example, the ThetaGPU system at Argonne National Laboratory (ANL) has eight adapters per node; with this many networking resources available, utilizing all of them becomes non‐trivial. The Message Passing Interface (MPI) is a dominant model for high‐performance computing clusters. Not all MPI collectives utilize all resources, and this becomes more apparent with advances in bandwidth and adapter count in a given cluster. In this work, we provide a thorough performance analysis of existing multirail solutions and their implications on collectives and present the necessity for further enhancement. Specifically, we propose novel designs for hierarchical, multi‐HCA‐aware Allgather. The proposed designs fully utilize all the available network adapters within a node and provide high overlap between inter‐node and intra‐node communication. At the micro‐benchmark level, we see large inter‐node improvements up to 62% and 61% better than HPC‐X and MVAPICH2‐X for 1024 processes. Because Allgather is used in Ring‐Allreduce, our designs also improve its performance by 56% and 44% compared to HPC‐X and MVAPICH2‐X, respectively. At the application level, our enhanced Allgather shows 1.98×$$ 1.98\times $$ and 1.42×$$ 1.42\times $$ improvement in a matrix‐vector multiplication kernel when compared to HPC‐X and MVAPICH2‐X, and Allreduce performs up to 7.83% better in deep learning training against MVAPICH2‐X.</abstract><cop>Hoboken</cop><pub>Wiley Subscription Services, Inc</pub><doi>10.1002/cpe.7879</doi><tpages>20</tpages><orcidid>https://orcid.org/0000-0003-0040-8404</orcidid></addata></record>
fulltext fulltext
identifier ISSN: 1532-0626
ispartof Concurrency and computation, 2024-01, Vol.36 (1), p.n/a
issn 1532-0626
1532-0634
language eng
recordid cdi_proquest_journals_2900598960
source Wiley-Blackwell Read & Publish Collection
subjects Adapters
Allgather
Allreduce
collectives
Communication
HCA‐aware
Message passing
MPI
Network adapters
network‐aware
Nodes
title Accelerating communication with multi‐HCA aware collectives in MPI
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-04T02%3A03%3A37IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Accelerating%20communication%20with%20multi%E2%80%90HCA%20aware%20collectives%20in%20MPI&rft.jtitle=Concurrency%20and%20computation&rft.au=Tran,%20Tu&rft.date=2024-01-10&rft.volume=36&rft.issue=1&rft.epage=n/a&rft.issn=1532-0626&rft.eissn=1532-0634&rft_id=info:doi/10.1002/cpe.7879&rft_dat=%3Cproquest_cross%3E2900598960%3C/proquest_cross%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-c2549-3d0c931a8c82f67c267a38b60a6da40c112c1aaa5b05c8bcda068f83456237803%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2900598960&rft_id=info:pmid/&rfr_iscdi=true