arrow
Return

Graphfire: Synergizing Fetch, Insertion, and Replacement Policies for Graph Analytics

delete2023-01-01
delete5
PRE
AI
A
Aninda Manocha *
J
Juan L. Aragón
M
Margaret Martonosi
DOI:10.1109/TC.2022.3157525delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Despite their ubiquity in many important big-data applications, graph analytic kernels continue to challenge modern memory hierarchies due to their frequent, long-latency, pointer indirect accesses to vertex property data. Such accesses exhibit poor locality and variable reuse that trouble cache replacement policies, and consequently increase memory bandwidth pressure. Specialized graph-tailored prefetching mechanisms, processor designs, and memory hierarchy engines have been developed to tolerate the long latencies of such accesses. However, these approaches are either too bandwidth-intensive, require invasive hardware changes that inhibit general-purpose computation flexibility, or rely on software preprocessing that limits true speedup. This work introduces Graphfire, a flexible memory hierarchy approach that learns different access patterns in graph processing and exploits the synergy of specialized fetch, insertion, and replacement optimizations for problematic indirect accesses without relying on software or ISA support. More specifically, Graphfire identifies when these irregular accesses occur and employs tailored access granularities, data-aware insertion, and frequency-based replacement accordingly. It achieves up to a 1.79x speedup (geomean 1.3x) and these improvements scale due to bandwidth efficiency; with 64 cores, Graphfire yields up to a 71.33x speedup (geomean 63.32x) over a single baseline core and allows memory-bound graph analytic codes to scale far beyond prior work.
Keywords:
Encyclopedias
Hardware
Software
Kernel
Memory management
Indexes
Optimization
Cache
graph analytics
memory hierarchy

Journal

IEEE Transactions on Computers cover
IEEE Transactions on Computers
IF:
3.8
Papers:
5.3K
Citations:
9.8K

Organization

U
University of Murcia
Scholars:
9.2K
Papers: 8.1K
Citations: 8
P
Princeton University
Scholars:
2.1W
Papers: 2.3W
Citations: 5.1W