Communication between Coroutines on Sunway Many-core Platform

Shaodi Li, Junmin Wu
{"title":"Communication between Coroutines on Sunway Many-core Platform","authors":"Shaodi Li, Junmin Wu","doi":"10.5121/csit.2020.100505","DOIUrl":null,"url":null,"abstract":"Communication between parallel programs is an indispensable part of parallel computing. SW26010 is a heterogeneous many-core processor used to build the Sunway TaihuLight supercomputer, which is well suited for parallel computing. Our team is designing and implementing a coroutine scheduling system on SW26010 processor to improve its concurrency, it is very important and necessary to achieve communication between coroutines for the coroutine scheduling system in advance. Therefore, this paper proposes a communication system for data and information exchange between coroutines on SW26010 processor, which contains the following parts. First, we design and implement a producer-consumer mode channel communication based on ring buffer, and designs synchronization mechanism for condition of multi-producer and multi-consumer based on the different atomic operation on the MPE (management processing element) and the CPE (computing processing element) of SW26010. Next, we design a wake-up mechanism between the producer and the consumer, which reduces the waiting of the program for communication. At last, we test and analyse the performance of channel in different numbers of producers and consumers, draw the conclusion that when the number of producers and consumers increases, the channel performance will decrease.","PeriodicalId":201467,"journal":{"name":"9th International Conference on Information Technology Convergence and Services (ITCSE 2020)","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-05-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"9th International Conference on Information Technology Convergence and Services (ITCSE 2020)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5121/csit.2020.100505","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Communication between parallel programs is an indispensable part of parallel computing. SW26010 is a heterogeneous many-core processor used to build the Sunway TaihuLight supercomputer, which is well suited for parallel computing. Our team is designing and implementing a coroutine scheduling system on SW26010 processor to improve its concurrency, it is very important and necessary to achieve communication between coroutines for the coroutine scheduling system in advance. Therefore, this paper proposes a communication system for data and information exchange between coroutines on SW26010 processor, which contains the following parts. First, we design and implement a producer-consumer mode channel communication based on ring buffer, and designs synchronization mechanism for condition of multi-producer and multi-consumer based on the different atomic operation on the MPE (management processing element) and the CPE (computing processing element) of SW26010. Next, we design a wake-up mechanism between the producer and the consumer, which reduces the waiting of the program for communication. At last, we test and analyse the performance of channel in different numbers of producers and consumers, draw the conclusion that when the number of producers and consumers increases, the channel performance will decrease.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
双威多核平台上协同程序间的通信
并行程序之间的通信是并行计算不可缺少的一部分。SW26010是一款异构多核处理器,用于构建神威太湖之光超级计算机,非常适合并行计算。为了提高SW26010处理器的并发性,我们团队正在设计和实现一个协同调度系统,提前实现协同调度系统中各协同程序之间的通信是非常重要和必要的。因此,本文提出了一种在SW26010处理器上实现协同程序间数据信息交换的通信系统,该系统包括以下几个部分:首先,设计并实现了基于环形缓冲区的生产者-消费者模式信道通信,并基于SW26010管理处理单元(MPE)和计算处理单元(CPE)的不同原子操作,设计了多生产者和多消费者条件的同步机制。其次,我们设计了生产者和消费者之间的唤醒机制,减少了程序通信的等待时间。最后,我们对不同生产者和消费者数量下的渠道绩效进行了测试和分析,得出了当生产者和消费者数量增加时,渠道绩效会下降的结论。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A Novel Bit Allocation Algorithm in Multi-view Video Advanced Rate Control Technologies for MVC Safety Helmet Detection in Industrial Environment using Deep Learning Use of an IoT Technology to Analyse the Inertial Measurement of Smart Ping-pong Paddle An Automatic Detection of Fundamental Postures in Vietnamese Traditional Dances
×
引用
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