{"id":{"repo_id":"queens","oai_identifier":"oai:queensu.scholaris.ca:1974/29819"},"canonical_url":"https://search.ndltd.org/etd/queens/oai:queensu.scholaris.ca:1974/29819","repository":{"repo_id":"queens","name":"Queens University","base_url":"https://qspace.library.queensu.ca/server/oai/request"},"display":{"title":"Efficient Process Arrival Pattern Aware Collective Communication for HPC and Deep Learning","abstract":"High-Performance Computing (HPC) is the key to tackle computationally intensive problems such as Deep Learning (DL) and scientific applications. Message Passing Interface (MPI) is the de facto parallel programming standard that fulfills communication in HPC systems. MPI collective communication operations involve all processes within a program-defined group of processes and have been used extensively in parallel applications. Unfortunately, most of the studies attempting to improve the performance of collective operations are based on the premise that all the processes commence the communication simultaneously. However, researchers have shown that imbalanced Process Arrival Pattern (PAP) is ubiquitous in real environments. Therefore, it is important to propose new algorithms that improve the performance of collectives by PAP-awareness. This thesis presents a complete communication characterization of Horovod as one of the most famous distributed DL frameworks. We provide a thorough study on PAP of the MPI\\_Allreduce as the most important collective operation used in Horovod and show that the arrival pattern of MPI processes is indeed imbalanced especially for small messages. Furthermore, we present various proposals for improving the MPI collective communication performance in the presence of imbalanced PAPs for different message sizes. We propose an intra-node PAP-aware shared-memory-aware MPI\\_Allreduce algorithm for small messages that, based on the arrival time of the processes at each invocation of the collective call, dynamically chooses the leader process. The evaluation results show that our design delivers up to 56\\% improvement over native algorithms under different imbalanced PAPs. We also propose a PAP-aware algorithm capable of dynamically constructing the reduction schedule at each invocation of the collective call based on the arrival order of the processes for intra-node MPI\\_Reduce and MPI\\_Allreduce collectives with large messages, achieving up to 73\\%, and 44\\% improvement over the state-of-the-art algorithms, respectively. Finally, we evaluate the performance of two state-of-the-art cluster-wide MPI\\_Allreduce algorithms and introduce a PAP-tolerant cluster-wide allreduce algorithm which imposes less data dependency among processes given its hierarchical nature compared to flat algorithms. This algorithm delivers up to 58\\% improvement at the microbenchmark level and an average improvement of 10\\% for Horovod DL application over native algorithms.","abstract_html":"High-Performance Computing (HPC) is the key to tackle computationally intensive problems such as Deep Learning (DL) and scientific applications. Message Passing Interface (MPI) is the de facto parallel programming standard that fulfills communication in HPC systems. MPI collective communication operations involve all processes within a program-defined group of processes and have been used extensively in parallel applications. Unfortunately, most of the studies attempting to improve the performance of collective operations are based on the premise that all the processes commence the communication simultaneously. However, researchers have shown that imbalanced Process Arrival Pattern (PAP) is ubiquitous in real environments. Therefore, it is important to propose new algorithms that improve the performance of collectives by PAP-awareness. This thesis presents a complete communication characterization of Horovod as one of the most famous distributed DL frameworks. We provide a thorough study on PAP of the MPI\\_Allreduce as the most important collective operation used in Horovod and show that the arrival pattern of MPI processes is indeed imbalanced especially for small messages. Furthermore, we present various proposals for improving the MPI collective communication performance in the presence of imbalanced PAPs for different message sizes. We propose an intra-node PAP-aware shared-memory-aware MPI\\_Allreduce algorithm for small messages that, based on the arrival time of the processes at each invocation of the collective call, dynamically chooses the leader process. The evaluation results show that our design delivers up to 56\\% improvement over native algorithms under different imbalanced PAPs. We also propose a PAP-aware algorithm capable of dynamically constructing the reduction schedule at each invocation of the collective call based on the arrival order of the processes for intra-node MPI\\_Reduce and MPI\\_Allreduce collectives with large messages, achieving up to 73\\%, and 44\\% improvement over the state-of-the-art algorithms, respectively. Finally, we evaluate the performance of two state-of-the-art cluster-wide MPI\\_Allreduce algorithms and introduce a PAP-tolerant cluster-wide allreduce algorithm which imposes less data dependency among processes given its hierarchical nature compared to flat algorithms. This algorithm delivers up to 58\\% improvement at the microbenchmark level and an average improvement of 10\\% for Horovod DL application over native algorithms.","abstract_has_math":false,"creators":["Mohammadalizadehbakhtevari, Pedram"],"institution":"Queen's University at Kingston","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["Afsahi, Ahmad"],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-19T09:13:25Z","subjects":["MPI","Collective Communication","Deep Learning Frameworks","MPI_Allreduce","Process Arrival Pattern"],"languages":["eng"],"rights":["CC0 1.0 Universal"],"rights_urls":["http://creativecommons.org/publicdomain/zero/1.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1974/29819","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1974/29819","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aqueens%3Aoai%3Aqueensu.scholaris.ca%3A1974%2F29819","prefix":"oai_dc"},"source_record":{"url":"https://qspace.library.queensu.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aqueensu.scholaris.ca%3A1974%2F29819","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Afsahi, Ahmad"]},{"key":"dc:creator","label":"Author","values":["Mohammadalizadehbakhtevari, Pedram"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2021-11-29T21:09:17Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2021-11-29T21:09:17Z"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["Canadian theses"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Queen's University at Kingston"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["MPI","Collective Communication","Deep Learning Frameworks","MPI_Allreduce","Process Arrival Pattern"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["CC0 1.0 Universal"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://creativecommons.org/publicdomain/zero/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1974/29819"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["High-Performance Computing (HPC) is the key to tackle computationally intensive problems such as Deep Learning (DL) and scientific applications. Message Passing Interface (MPI) is the de facto parallel programming standard that fulfills communication in HPC systems. MPI collective communication operations involve all processes within a program-defined group of processes and have been used extensively in parallel applications. Unfortunately, most of the studies attempting to improve the performance of collective operations are based on the premise that all the processes commence the communication simultaneously. However, researchers have shown that imbalanced Process Arrival Pattern (PAP) is ubiquitous in real environments. Therefore, it is important to propose new algorithms that improve the performance of collectives by PAP-awareness. This thesis presents a complete communication characterization of Horovod as one of the most famous distributed DL frameworks. We provide a thorough study on PAP of the MPI\\_Allreduce as the most important collective operation used in Horovod and show that the arrival pattern of MPI processes is indeed imbalanced especially for small messages. Furthermore, we present various proposals for improving the MPI collective communication performance in the presence of imbalanced PAPs for different message sizes. We propose an intra-node PAP-aware shared-memory-aware MPI\\_Allreduce algorithm for small messages that, based on the arrival time of the processes at each invocation of the collective call, dynamically chooses the leader process. The evaluation results show that our design delivers up to 56\\% improvement over native algorithms under different imbalanced PAPs. We also propose a PAP-aware algorithm capable of dynamically constructing the reduction schedule at each invocation of the collective call based on the arrival order of the processes for intra-node MPI\\_Reduce and MPI\\_Allreduce collectives with large messages, achieving up to 73\\%, and 44\\% improvement over the state-of-the-art algorithms, respectively. Finally, we evaluate the performance of two state-of-the-art cluster-wide MPI\\_Allreduce algorithms and introduce a PAP-tolerant cluster-wide allreduce algorithm which imposes less data dependency among processes given its hierarchical nature compared to flat algorithms. This algorithm delivers up to 58\\% improvement at the microbenchmark level and an average improvement of 10\\% for Horovod DL application over native algorithms."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["M.A.Sc."]},{"key":"dc:title","label":"Title","values":["Efficient Process Arrival Pattern Aware Collective Communication for HPC and Deep Learning"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.department":["Electrical and Computer Engineering"],"dc:contributor.supervisor":["Afsahi, Ahmad"],"dc:creator":["Mohammadalizadehbakhtevari, Pedram"],"dc:date.accessioned":["2021-11-29T21:09:17Z"],"dc:date.available":["2021-11-29T21:09:17Z"],"dc:description.abstract":["High-Performance Computing (HPC) is the key to tackle computationally intensive problems such as Deep Learning (DL) and scientific applications. Message Passing Interface (MPI) is the de facto parallel programming standard that fulfills communication in HPC systems. MPI collective communication operations involve all processes within a program-defined group of processes and have been used extensively in parallel applications. Unfortunately, most of the studies attempting to improve the performance of collective operations are based on the premise that all the processes commence the communication simultaneously. However, researchers have shown that imbalanced Process Arrival Pattern (PAP) is ubiquitous in real environments. Therefore, it is important to propose new algorithms that improve the performance of collectives by PAP-awareness. This thesis presents a complete communication characterization of Horovod as one of the most famous distributed DL frameworks. We provide a thorough study on PAP of the MPI\\_Allreduce as the most important collective operation used in Horovod and show that the arrival pattern of MPI processes is indeed imbalanced especially for small messages. Furthermore, we present various proposals for improving the MPI collective communication performance in the presence of imbalanced PAPs for different message sizes. We propose an intra-node PAP-aware shared-memory-aware MPI\\_Allreduce algorithm for small messages that, based on the arrival time of the processes at each invocation of the collective call, dynamically chooses the leader process. The evaluation results show that our design delivers up to 56\\% improvement over native algorithms under different imbalanced PAPs. We also propose a PAP-aware algorithm capable of dynamically constructing the reduction schedule at each invocation of the collective call based on the arrival order of the processes for intra-node MPI\\_Reduce and MPI\\_Allreduce collectives with large messages, achieving up to 73\\%, and 44\\% improvement over the state-of-the-art algorithms, respectively. Finally, we evaluate the performance of two state-of-the-art cluster-wide MPI\\_Allreduce algorithms and introduce a PAP-tolerant cluster-wide allreduce algorithm which imposes less data dependency among processes given its hierarchical nature compared to flat algorithms. This algorithm delivers up to 58\\% improvement at the microbenchmark level and an average improvement of 10\\% for Horovod DL application over native algorithms."],"dc:description.degree":["M.A.Sc."],"dc:identifier.uri":["http://hdl.handle.net/1974/29819"],"dc:language.iso":["eng"],"dc:relation.ispartofseries":["Canadian theses"],"dc:rights":["CC0 1.0 Universal"],"dc:rights.uri":["http://creativecommons.org/publicdomain/zero/1.0/"],"dc:subject":["MPI","Collective Communication","Deep Learning Frameworks","MPI_Allreduce","Process Arrival Pattern"],"dc:title":["Efficient Process Arrival Pattern Aware Collective Communication for HPC and Deep Learning"],"dc:type":["thesis"],"others:access_status":["open.access"],"thesis:institution_name":["Queen's University at Kingston"]},"updated_at":"2026-11-19T09:13:25Z"}