arrow
Return

Optimizing graph algorithms for improved cache performance

delete2004-09-01
delete53
delete
OA
AI
J
Joon‐Sang Park *
M
M. Penner
V
Viktor K. Prasanna
DOI:10.1109/TPDS.2004.44delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
In this paper, we develop algorithmic optimizations to improve the cache performance of four fundamental graph algorithms. We present a cache-oblivious implementation of the Floyd-Warshall Algorithm for the fundamental graph problem of all-pairs shortest paths by relaxing some dependencies in the iterative version. We show that this implementation achieves the lower bound on processor-memory traffic of Omega(N-3/rootC), where N and C are the problem size and cache size, respectively. Experimental results show that this cache-oblivious implementation shows more than six times the improvement in real execution time over that of the iterative implementation with the usual row major data layout, on three state-of-the-art architectures. Second, we address Dijkstra's algorithm for the single-source shortest paths problem and Prim's algorithm for minimum spanning tree problem. For these algorithms, we demonstrate up to two times the improvement in real execution time by using a simple cache-friendly graph representation, namely adjacency arrays. Finally, we address the matching algorithm for bipartite graphs. We show performance improvements of two to three times in real execution time by using the technique of making the algorithm initially work on subproblems to generate a suboptimal solution and, then, solving the whole problem using the suboptimal solution as a starting point. Experimental results are shown for the Pentium III, UltraSPARC III, Alpha 21264, and MIPS R12000 machines.
Keywords:
cache-friendly algorithms
cache-oblivious algorithms
graph algorithms
shortest path
minimum spanning trees
graph matching
data layout optimizations
algorithm performance
Shortest Path Tree Computation in Dynamic Graphs
err2009-04-01
err54
PREAI
errChan, Edward P. F.; Yang, Yaya
errShare
errSave
errShare
errSave
GCache: Neighborhood-Guided Graph Caching in a Distributed Environment
err2019-11-01
err5
PREAI
errYuan, Ye; Lian, Xiang; Chen, Lei; Wang, Guoren; Yu, Jeffrey Xu; Wang, Yishu; Ma, Yuliang
errShare
errSave
A Graph Neural Network Approach for Caching Performance Optimization in NDN Networks
err2022-01-01
err6
errOAAI
errHou, Jiacheng; Xia, Huanzhang; Lu, Haoye; Nayak, Amiya
errShare
errSave
errShare
errSave
Topology Optimization of Large-Scale Offshore Wind Power Collection System Based on Graph Genetic DMST
err2024-01-01
err0
errOAAI
errQian, Haiya; Li, Keyu; Xu, Qingshan; Qi, Shuntao; Ni, Yang; Li, Feng
errShare
errSave

Journal

IEEE Transactions on Parallel and Distributed Systems cover
IEEE Transactions on Parallel and Distributed Systems
IF:
6
Papers:
5.2K
Citations:
1.4W

Organization

No organization information available
Cited Papers

Cited Papers

Clinical activity of brigatinib in ROS1-rearranged non-small cell lung cancer
err2020-05-27
err0
PREAI
errE. Dudnik; A. Agbarya; R. Grinberg; A. Cyjon; J. Bar; M. Moskovitz; N. Peled
errShare
errSave
Maternal obesity disrupts the methionine cycle in baboon pregnancy
err2015-11-04
err0
errOAAI
errPeter W. Nathanielsz; Jian Yan; Ralph Green; Mark Nijland; Joshua W. Miller; Guoyao Wu; Thomas J. McDonald; Marie A. Caudill
errShare
errSave
Postural Strategy and Back Muscle Oxygenation during Inspiratory Muscle Loading
err2013-07-01
err0
errOAAI
errLOTTE JANSSENS; MADELON PIJNENBURG; KURT CLAEYS; ALISON K. MCCONNELL; THIERRY TROOSTERS; SIMON BRUMAGNE
errShare
errSave
Dynamic properties of gramicidin A in phospholipid membranes
err2002-05-01
err0
PREAI
errPeter M. Macdonald; Joachim Seelig
errShare
errSave
Synaptic Activity Regulates Mitochondrial Iron Metabolism to Enhance Neuronal Bioenergetics
err2023-01-04
err0
errOAAI
errPaula Tena-Morraja; Guillem Riqué-Pujol; Claudia Müller-Sánchez; Manuel Reina; Ofelia M. Martínez-Estrada; Francesc X. Soriano
errShare
errSave
Leveraging Persistent Homology for Differential Diagnosis of Mild Cognitive Impairment
err2024-12-04
err0
PREAI
errNinad Aithal; Debanjali Bhattacharya; Neelam Sinha; Thomas Gregor Issac
errShare
errSave
researcher View more