The design and implementation of an asynchronous communication mechanism for the MPI communication model

Motohiko Matsuda, T. Kudoh, Hiroshi Tazuka, Y. Ishikawa
{"title":"The design and implementation of an asynchronous communication mechanism for the MPI communication model","authors":"Motohiko Matsuda, T. Kudoh, Hiroshi Tazuka, Y. Ishikawa","doi":"10.1109/CLUSTR.2004.1392597","DOIUrl":null,"url":null,"abstract":"Many implementations of an MPI communication library are realized on top of the socket interface which is based on connection-oriented stream communication. This work addresses a mismatch between the MPI communication model and the socket interface. In order to overcome a mismatch and implement an efficient MPI library for large-scale commodity-based clusters, a new communication mechanism, called 02G, is designed and implemented. O2G integrates receive queue management of MPI into a TCP/IP protocol handler, without modifying the protocol stacks. Received data is extracted from the TCP receive buffer and copied into the user space within the TCP/IP protocol handler invoked by interrupts. It totally avoids polling of sockets and reduces system call overhead, which becomes dominant in large-scale clusters. In addition, its immediate and asynchronous receive operation avoids message flow disruption due to a shortage of capacity in the receive buffer, and keeps the bandwidth high. An evaluation using the NAS Parallel Benchmarks shows that 02G made an MPI implementation up to 30 percent faster than the original one. An evaluation on bandwidth also shows that 02G made an MPI implementation independent of the number of connections, while an implementation with sockets was greatly affected by the number of connections.","PeriodicalId":123512,"journal":{"name":"2004 IEEE International Conference on Cluster Computing (IEEE Cat. No.04EX935)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2004-09-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2004 IEEE International Conference on Cluster Computing (IEEE Cat. No.04EX935)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CLUSTR.2004.1392597","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

Abstract

Many implementations of an MPI communication library are realized on top of the socket interface which is based on connection-oriented stream communication. This work addresses a mismatch between the MPI communication model and the socket interface. In order to overcome a mismatch and implement an efficient MPI library for large-scale commodity-based clusters, a new communication mechanism, called 02G, is designed and implemented. O2G integrates receive queue management of MPI into a TCP/IP protocol handler, without modifying the protocol stacks. Received data is extracted from the TCP receive buffer and copied into the user space within the TCP/IP protocol handler invoked by interrupts. It totally avoids polling of sockets and reduces system call overhead, which becomes dominant in large-scale clusters. In addition, its immediate and asynchronous receive operation avoids message flow disruption due to a shortage of capacity in the receive buffer, and keeps the bandwidth high. An evaluation using the NAS Parallel Benchmarks shows that 02G made an MPI implementation up to 30 percent faster than the original one. An evaluation on bandwidth also shows that 02G made an MPI implementation independent of the number of connections, while an implementation with sockets was greatly affected by the number of connections.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
为MPI通信模型设计并实现了一种异步通信机制
MPI通信库的许多实现都是在基于面向连接流通信的套接字接口之上实现的。这项工作解决了MPI通信模型和套接字接口之间的不匹配。为了克服这种不匹配并实现大规模基于商品的集群的高效MPI库,设计并实现了一种新的通信机制,称为02G。O2G将MPI的接收队列管理集成到TCP/IP协议处理程序中,而不修改协议栈。接收到的数据从TCP接收缓冲区中提取出来,并复制到中断调用的TCP/IP协议处理程序中的用户空间中。它完全避免了套接字的轮询,减少了系统调用开销,这在大规模集群中占主导地位。此外,它的即时和异步接收操作避免了由于接收缓冲区容量不足而导致的消息流中断,并保持了高带宽。使用NAS并行基准测试的评估表明,02G使MPI实现比原始版本快30%。对带宽的评估也表明,02G使MPI实现与连接数无关,而带套接字的实现受连接数的影响很大。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Kerrighed and data parallelism: cluster computing on single system image operating systems Management of grid jobs and data within SAMGrid MPIIMGEN - a code transformer that parallelizes image processing codes to run on a cluster of workstations FTC-Charm++: an in-memory checkpoint-based fault tolerant runtime for Charm++ and MPI Bandwidth-aware co-allocating meta-schedulers for mini-grid architectures
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1