Title
Evaluation and Optimization of Breadth-First Search on NUMA Cluster
Abstract
Graph is widely used in many areas. Breadth-First Search (BFS), a key subroutine for many graph analysis algorithms, has become the primary benchmark for Graph500 ranking. Due to the high communication cost of BFS, multi-socket nodes with large memory capacity (NUMA) are supposed to reduce network pressure. However, the longer latency to remote memory may cause problem if not treated well. In this work, we first demonstrate that simply spawning and binding one MPI process for each socket can achieve the best performance for MPI/OpenMP hybrid programmed BFS algorithm, resulting in 1.53X of performance on 16 nodes. Nevertheless, we notice that one MPI process per socket may exacerbate the communication cost. We propose to share some communication data structure among the processes inside the same node, to eliminate most of the intra-node communication. To fully utilize the network bandwidth, we make all the processes in a node to perform communication simultaneously. We further adjust the granularity of a key bitmap for better cache locality to speed up the computation. With all the optimizations for NUMA, communication and computation together, 2.44X of performance is achieved on 16 nodes, which is 39.2 Billion Traversed Edges per Second for an R-MAT graph of scale 32 (4 billion vertices and 64 billion edges).
Year
DOI
Venue
2012
10.1109/CLUSTER.2012.29
CLUSTER
Keywords
Field
DocType
graph analysis algorithm,mpi process,communication cost,numa cluster,bfs algorithm,billion edge,r-mat graph,breadth-first search,high communication cost,intra-node communication,best performance,communication data structure,clustering algorithms,instruction sets,optimization,computer architecture,graph theory,algorithm design and analysis,graph,bandwidth,bfs,numa
Graph theory,Data structure,Computer science,Parallel computing,Breadth-first search,Power graph analysis,Bitmap,Graph500,Memory architecture,Distributed computing,Speedup
Conference
ISSN
Citations 
PageRank 
1552-5244
4
0.40
References 
Authors
30
6
Name
Order
Citations
PageRank
Zehan Cui119710.00
Licheng Chen21039.74
Ming-yu Chen390279.29
Yungang Bao436131.11
Yongbing Huang5766.24
Huiwei Lv6333.05