Optimizing Cache Performance for Graph Analytics.
Yunming Zhang, Vladimir Kiriansky, Charith Mendis et al. · arXiv (Cornell University) · 2016
Modern hardware systems are heavily underutilized when running large-scale graph applications. While many in-memory graph frameworks have made substantial progress in optimizing these applications, we show that it is still possible to achieve up to 4 $\times$ speedups over the fastest frameworks by greatly improving cache utilization. Previous systems have applied out-of-core processing techniques from the memory/disk boundary to the cache/DRAM boundary. However, we find that blindly applying such techniques is ineffective because of the much smaller performance gap between DRAM and cache. We present two techniques that take advantage of the cache with minimal or no instruction overhead. The first, frequency based clustering, groups together frequently accessed vertices to improve the utilization of each cache line with no runtime overhead. The second, CSR segmenting, partitions the graph to restrict all random accesses to the cache, makes all DRAM access sequential, and merges partition results using a very low overhead cache-aware merge. Both techniques can be easily implemented on top of optimized graph frameworks. Our techniques combined give speedups of up to 4 $\times$ for PageRank, Label Propagation and Collaborative Filtering, and 2 $\times$ for Betweenness Centrality over the best published results
Cited by 11 works.
Authors
References
- The PageRank Citation Ranking : Bringing Order to the Web
- What is Twitter, a social network or a news media?
- A Fast and High Quality Multilevel Scheme for Partitioning Irregular Graphs
- The Netflix Prize
- Pregel
- The university of Florida sparse matrix collection
- Distributed GraphLab
- R-MAT: A Recursive Model for Graph Mining
- Optimization of sparse matrix-vector multiplication on emerging multicore platforms
- GraphChi: Large-Scale Graph Computation on Just a PC