首页    期刊浏览 2024年12月03日 星期二
登录注册

文章基本信息

  • 标题:Communication between Coroutines on Sunway Many-core Platform
  • 本地全文:下载
  • 作者:Shaodi Li ; Junmin Wu ; Yi Zhang
  • 期刊名称:Computer Science & Information Technology
  • 电子版ISSN:2231-5403
  • 出版年度:2020
  • 卷号:10
  • 期号:5
  • 页码:57-67
  • DOI:10.5121/csit.2020.100505
  • 出版社:Academy & Industry Research Collaboration Center (AIRCC)
  • 摘要: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.
  • 关键词:Coroutine ;SW26010 ;Many-core ;Parallel Communication ;Synchronization.
国家哲学社会科学文献中心版权所有