하드웨어 지원 전파 차단으로 그래프 처리 및 전처리 최적화
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.
초록
전통적인 연구는 그래프 분석 워크로드의 특징적인 캐시 국지성 부족을 완화하는 데 집중해 왔으나, 그래프 전처리 작업은 상대적으로 덜 탐구되어 왔다. 많은 중요한 시나리오에서 그래프 전처리 작업은 하류 그래프 분석 커널과 동등하게 비싸게 소요될 수 있다. 본 연구에서는 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).