Cargando…

SURF: Direction-Optimizing Breadth-First Search Using Workload State on GPUs

Graph data structures have been used in a wide range of applications including scientific and social network applications. Engineers and scientists analyze graph data to discover knowledge and insights by using various graph algorithms. A breadth-first search (BFS) is one of the fundamental building...

Descripción completa

Detalles Bibliográficos
Autores principales: Yoon, Daegun, Oh, Sangyoon
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9269471/
https://www.ncbi.nlm.nih.gov/pubmed/35808392
http://dx.doi.org/10.3390/s22134899
_version_ 1784744245106573312
author Yoon, Daegun
Oh, Sangyoon
author_facet Yoon, Daegun
Oh, Sangyoon
author_sort Yoon, Daegun
collection PubMed
description Graph data structures have been used in a wide range of applications including scientific and social network applications. Engineers and scientists analyze graph data to discover knowledge and insights by using various graph algorithms. A breadth-first search (BFS) is one of the fundamental building blocks of complex graph algorithms and its implementation is included in graph libraries for large-scale graph processing. In this paper, we propose a novel direction selection method, SURF (Selecting directions Upon Recent workload of Frontiers) to enhance the performance of BFS on GPU. A direction optimization that selects the proper traversal direction of a BFS execution between the push and pull phases is crucial to the performance as well as for efficient handling of the varying workloads of the frontiers. However, existing works select the direction using condition statements based on predefined thresholds without considering the changing workload state. To solve this drawback, we define several metrics that describe the state of the workload and analyze their impact on the BFS performance. To show that SURF selects the appropriate direction, we implement the direction selection method with a deep neural network model that adopts those metrics as the input features. Experimental results indicate that SURF achieves a higher direction prediction accuracy and reduced execution time in comparison with existing state-of-the-art methods that support a direction-optimizing BFS. SURF yields up to a [Formula: see text] and [Formula: see text] speedup over the state-of-the-art graph processing frameworks Gunrock and Enterprise, respectively.
format Online
Article
Text
id pubmed-9269471
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-92694712022-07-09 SURF: Direction-Optimizing Breadth-First Search Using Workload State on GPUs Yoon, Daegun Oh, Sangyoon Sensors (Basel) Article Graph data structures have been used in a wide range of applications including scientific and social network applications. Engineers and scientists analyze graph data to discover knowledge and insights by using various graph algorithms. A breadth-first search (BFS) is one of the fundamental building blocks of complex graph algorithms and its implementation is included in graph libraries for large-scale graph processing. In this paper, we propose a novel direction selection method, SURF (Selecting directions Upon Recent workload of Frontiers) to enhance the performance of BFS on GPU. A direction optimization that selects the proper traversal direction of a BFS execution between the push and pull phases is crucial to the performance as well as for efficient handling of the varying workloads of the frontiers. However, existing works select the direction using condition statements based on predefined thresholds without considering the changing workload state. To solve this drawback, we define several metrics that describe the state of the workload and analyze their impact on the BFS performance. To show that SURF selects the appropriate direction, we implement the direction selection method with a deep neural network model that adopts those metrics as the input features. Experimental results indicate that SURF achieves a higher direction prediction accuracy and reduced execution time in comparison with existing state-of-the-art methods that support a direction-optimizing BFS. SURF yields up to a [Formula: see text] and [Formula: see text] speedup over the state-of-the-art graph processing frameworks Gunrock and Enterprise, respectively. MDPI 2022-06-29 /pmc/articles/PMC9269471/ /pubmed/35808392 http://dx.doi.org/10.3390/s22134899 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Yoon, Daegun
Oh, Sangyoon
SURF: Direction-Optimizing Breadth-First Search Using Workload State on GPUs
title SURF: Direction-Optimizing Breadth-First Search Using Workload State on GPUs
title_full SURF: Direction-Optimizing Breadth-First Search Using Workload State on GPUs
title_fullStr SURF: Direction-Optimizing Breadth-First Search Using Workload State on GPUs
title_full_unstemmed SURF: Direction-Optimizing Breadth-First Search Using Workload State on GPUs
title_short SURF: Direction-Optimizing Breadth-First Search Using Workload State on GPUs
title_sort surf: direction-optimizing breadth-first search using workload state on gpus
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9269471/
https://www.ncbi.nlm.nih.gov/pubmed/35808392
http://dx.doi.org/10.3390/s22134899
work_keys_str_mv AT yoondaegun surfdirectionoptimizingbreadthfirstsearchusingworkloadstateongpus
AT ohsangyoon surfdirectionoptimizingbreadthfirstsearchusingworkloadstateongpus