ハードウェア支援によるグラフ処理と前処理の最適化:伝播ブロックによるアプローチ
Optimizing Graph Processing and Preprocessing with Hardware Assisted Propagation Blocking
Optimizing Graph Processing and Preprocessing with Hardware Assisted Propagation Blocking
@misc{balaji2020optimizing,
title = {Optimizing Graph Processing and Preprocessing with Hardware Assisted Propagation Blocking},
author = {Vignesh Balaji and Brandon Lucia},
year = {2020},
eprint = {2011.08451},
archivePrefix = {arXiv},
primaryClass = {cs.AR},
url = {https://arxiv.org/abs/2011.08451}
}
Balaji, V., & Lucia, B. (2020). Optimizing Graph Processing and Preprocessing with Hardware Assisted Propagation Blocking [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.08451
BALAJI V, LUCIA B. Optimizing Graph Processing and Preprocessing with Hardware Assisted Propagation Blocking[EB/OL]. (2020-11-17)[2026-11-29]. https://arxiv.org/abs/2011.08451.
要旨
従来の研究は、グラフ解析ワークロードの特性である不良キャッシュ局所性の緩和に焦点を当ててきた。しかしながら、グラフ前処理タスクは相対的に未探索な領域である。多くの重要なシナリオにおいて、グラフ前処理タスクのコストは、下流のグラフ解析核(kernel)のコストと同程度である。我々は、SpMV 核向けに設計されたソフトウェア最適化である Propagation Blocking(PB)が、多くのグラフ解析核および一般的な前処理タスクにも一般化することを観察した。本稿では、従来のマルチコア上で PB の実行に残存する非効率を特定し、PB のボトルネックを排除し PB の性能向上をさらに高めるためのアーキテクチャ支援を提案する。我々が提案するアーキテクチャ COBRA は、グラフ処理および前処理の両方の PB 実行を最適化し、エンドツーエンドの速度向上を最大 4.6 倍(平均 3.5 倍)を実現する。
Extensive prior research has focused on alleviating the characteristic poor cache locality of graph analytics workloads. However, graph pre-processing tasks remain relatively unexplored. In many important scenarios, graph pre-processing tasks can be as expensive as the downstream graph analytics kernel. We observe that Propagation Blocking (PB), a software optimization designed for SpMV kernels, generalizes to many graph analytics kernels as well as common pre-processing tasks. In this work, we identify the lingering inefficiencies of a PB execution on conventional multicores and propose architecture support to eliminate PB's bottlenecks, further improving the performance gains from PB. Our proposed architecture - COBRA - optimizes the PB execution of both graph processing and pre-processing alike to provide end-to-end speedups of up to 4.6x (3.5x on average).