Towards Efficient Oversubscription: On the Cost and Benefit of Event-Based Communication in MPI

Jan Bierbaum, Maksym Planeta, Hermann Härtig
{"title":"Towards Efficient Oversubscription: On the Cost and Benefit of Event-Based Communication in MPI","authors":"Jan Bierbaum, Maksym Planeta, Hermann Härtig","doi":"10.1109/ROSS56639.2022.00007","DOIUrl":null,"url":null,"abstract":"Contemporary HPC systems use batch scheduling of compute jobs running on exclusively assigned hardware resources. During communication, polling for progress is the state of the art as it promises minimal latency. Previous work on oversubscription and event-based communication, i.e. vacating the CPU while waiting for communication to finish, shows that these techniques can improve the overall system utilisation and reduce the energy consumption. Despite these findings, neither of the two techniques is commonly used in HPC systems today. We believe that the current lack of detailed studies of the low-level effects of event-based communication, a key enabler of efficient oversubscription for classical MPI-based applications, is a major obstacle to a wider adoption. We demonstrate that the sched_yield system call, which is often used for oversubscription scenarios, is not best suited for this purpose on modern Linux systems. Furthermore, we incorporate event-based communication into Open MPI and evaluate the effects on latency and energy consumption using an MPI micro-benchmark. Our results indicate that event-base communication incurs significant latency overhead but also saves energy. Both effects grow with the imbalance of the application using MPI.","PeriodicalId":226739,"journal":{"name":"2022 IEEE/ACM International Workshop on Runtime and Operating Systems for Supercomputers (ROSS)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE/ACM International Workshop on Runtime and Operating Systems for Supercomputers (ROSS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ROSS56639.2022.00007","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Contemporary HPC systems use batch scheduling of compute jobs running on exclusively assigned hardware resources. During communication, polling for progress is the state of the art as it promises minimal latency. Previous work on oversubscription and event-based communication, i.e. vacating the CPU while waiting for communication to finish, shows that these techniques can improve the overall system utilisation and reduce the energy consumption. Despite these findings, neither of the two techniques is commonly used in HPC systems today. We believe that the current lack of detailed studies of the low-level effects of event-based communication, a key enabler of efficient oversubscription for classical MPI-based applications, is a major obstacle to a wider adoption. We demonstrate that the sched_yield system call, which is often used for oversubscription scenarios, is not best suited for this purpose on modern Linux systems. Furthermore, we incorporate event-based communication into Open MPI and evaluate the effects on latency and energy consumption using an MPI micro-benchmark. Our results indicate that event-base communication incurs significant latency overhead but also saves energy. Both effects grow with the imbalance of the application using MPI.
迈向高效的超额订阅:论MPI中基于事件通信的成本与收益
现代HPC系统使用批处理调度在独占分配的硬件资源上运行的计算作业。在通信期间,轮询进程是最先进的技术,因为它保证了最小的延迟。先前关于超额订阅和基于事件的通信(即在等待通信完成时腾出CPU)的工作表明,这些技术可以提高整体系统利用率并降低能耗。尽管有这些发现,但这两种技术目前在高性能计算系统中都不常用。我们认为,目前缺乏对基于事件的通信的底层影响的详细研究,这是传统基于mpi的应用程序有效超额订阅的关键因素,是广泛采用的主要障碍。我们演示了sched_yield系统调用(通常用于超额订阅场景)在现代Linux系统上并不适合此目的。此外,我们将基于事件的通信整合到Open MPI中,并使用MPI微基准评估对延迟和能耗的影响。我们的结果表明,基于事件的通信产生了显著的延迟开销,但也节省了能量。这两种效果都随着使用MPI的应用程序的不平衡而增加。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信