Improving Parallelism of Breadth First Search (BFS) Algorithm for Accelerated Performance on GPUs

Hao Wen, W. Zhang
{"title":"Improving Parallelism of Breadth First Search (BFS) Algorithm for Accelerated Performance on GPUs","authors":"Hao Wen, W. Zhang","doi":"10.1109/HPEC.2019.8916551","DOIUrl":null,"url":null,"abstract":"Breadth-first search (BFS) is a basis for graph search and a core building block for many higher-level graph analysis applications. However, BFS is also a typical example of parallel computation that is inefficient on GPU architectures. In a graph, a small portion of nodes may have a large number of neighbors, which leads to irregular tasks on GPUs. In addition, the number of nodes in each layer of the graph is also irregular. Therefore, the number of active GPU threads is different for each layer of execution. These irregularities limit the parallelism of BFS executing on GPUs.Unlike the previous works focusing on fine-grained task management to address the irregularity, we propose Virtual-BFS (VBFS) to virtually change the graph itself. By adding virtual vertices, the high-degree nodes in the graph are divided into groups that have an equal number of neighbors, which increases the parallelism such that more GPU threads can work concurrently, and the data set also becomes more regular.Our experimental results show that the VBFS achieves significant speedup over the current GPU implementation of BFS from the Rodinia benchmark [4], and the energy efficiency is also improved.","PeriodicalId":184253,"journal":{"name":"2019 IEEE High Performance Extreme Computing Conference (HPEC)","volume":"50 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE High Performance Extreme Computing Conference (HPEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HPEC.2019.8916551","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Breadth-first search (BFS) is a basis for graph search and a core building block for many higher-level graph analysis applications. However, BFS is also a typical example of parallel computation that is inefficient on GPU architectures. In a graph, a small portion of nodes may have a large number of neighbors, which leads to irregular tasks on GPUs. In addition, the number of nodes in each layer of the graph is also irregular. Therefore, the number of active GPU threads is different for each layer of execution. These irregularities limit the parallelism of BFS executing on GPUs.Unlike the previous works focusing on fine-grained task management to address the irregularity, we propose Virtual-BFS (VBFS) to virtually change the graph itself. By adding virtual vertices, the high-degree nodes in the graph are divided into groups that have an equal number of neighbors, which increases the parallelism such that more GPU threads can work concurrently, and the data set also becomes more regular.Our experimental results show that the VBFS achieves significant speedup over the current GPU implementation of BFS from the Rodinia benchmark [4], and the energy efficiency is also improved.
改进广度优先搜索(BFS)算法的并行性以提高gpu性能
广度优先搜索(BFS)是图搜索的基础,也是许多高级图分析应用程序的核心构建块。然而,BFS也是GPU架构上效率低下的并行计算的典型例子。在一个图中,一小部分节点可能有大量的邻居,从而导致gpu上的任务不规则。此外,图的每一层的节点数也是不规则的。因此,每个执行层的活动GPU线程数是不同的。这些不规则性限制了BFS在gpu上执行的并行性。不像以前的工作专注于细粒度任务管理来解决不规则性,我们提出虚拟bfs (VBFS)来虚拟地改变图本身。通过添加虚拟顶点,将图中的高节点划分为具有相同数量邻居的组,增加了并行性,使更多的GPU线程可以并发工作,数据集也变得更加规则。实验结果表明,相较于目前基于Rodinia基准[4]的GPU实现,VBFS实现了显著的加速,能效也得到了提高。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信