Skip to main content
QUICK REVIEW

[Paper Review] An SSD-based eigensolver for spectral analysis on billion-node graphs

Da Zheng, Randal Burns|arXiv (Cornell University)|Feb 3, 2016
Graph Theory and AlgorithmsComputer Science19 references4 citations
TL;DR

FlashEigen is an SSD-based eigensolver that enables spectral analysis on billion-node graphs using a single machine by storing the dense vector subspace on SSDs and performing sparse matrix-vector multiplication in semi-external memory. It achieves 40%-60% of in-memory performance and scales to 3.4 billion-node graphs with 129 billion edges using 120 GB RAM.

ABSTRACT

Many eigensolvers such as ARPACK and Anasazi have been developed to compute eigenvalues of a large sparse matrix. These eigensolvers are limited by the capacity of RAM. They run in memory of a single machine for smaller eigenvalue problems and require the distributed memory for larger problems. In contrast, we develop an SSD-based eigensolver framework called FlashEigen, which extends Anasazi eigensolvers to SSDs, to compute eigenvalues of a graph with hundreds of millions or even billions of vertices in a single machine. FlashEigen performs sparse matrix multiplication in a semi-external memory fashion, i.e., we keep the sparse matrix on SSDs and the dense matrix in memory. We store the entire vector subspace on SSDs and reduce I/O to improve performance through caching the most recent dense matrix. Our result shows that FlashEigen is able to achieve 40%-60% performance of its in-memory implementation and has performance comparable to the Anasazi eigensolvers on a machine with 48 CPU cores. Furthermore, it is capable of scaling to a graph with 3.4 billion vertices and 129 billion edges. It takes about four hours to compute eight eigenvalues of the billion-node graph using 120 GB memory.

Motivation & Objective

  • To enable spectral analysis on billion-node graphs using a single machine with limited RAM.
  • To overcome the memory capacity bottleneck of traditional in-memory eigensolvers like ARPACK and Anasazi.
  • To design an external-memory eigensolver that efficiently utilizes SSDs for large-scale sparse matrix operations.
  • To optimize I/O and memory access patterns for power-law graphs with skewed vertex degree distributions.
  • To achieve high performance comparable to in-memory eigensolvers despite SSDs being an order of magnitude slower than DRAM.

Proposed method

  • Uses a semi-external memory (SEM) approach: keeps sparse matrix on SSDs and dense matrices in main memory.
  • Deploys a user-space filesystem (SAFS) to manage I/O and reduce OS overhead.
  • Applies in-memory optimizations such as dynamic load balancing, cache blocking, and NUMA-aware memory distribution for dense matrix operations.
  • Compresses the sparse matrix stored on SSDs to reduce I/O volume and improve retrieval speed.
  • Optimizes dense matrix multiplication by caching the most recently used dense matrix and minimizing redundant I/O.
  • Leverages the Block Krylov-Schur solver from Anasazi, which supports block updates and reduces I/O overhead.

Experimental results

Research questions

  • RQ1Can an external-memory eigensolver achieve high performance on billion-node graphs using commodity SSDs?
  • RQ2How can I/O bottlenecks in sparse and dense matrix operations be mitigated on SSDs for large-scale eigensolvers?
  • RQ3To what extent can SSD-based storage of the vector subspace reduce memory pressure and enable scaling beyond main memory limits?
  • RQ4How does the performance of an SSD-based eigensolver compare to in-memory counterparts in terms of runtime and I/O efficiency?
  • RQ5Can the proposed optimizations saturate SSD I/O bandwidth and achieve near-maximal throughput on commodity hardware?

Key findings

  • FlashEigen achieves 40%-60% of the performance of its in-memory counterpart on a 48-core machine.
  • The system scales to a 3.4 billion-node, 129 billion-edge graph, computing eight eigenvalues in about four hours using 120 GB of RAM.
  • Average I/O throughput reaches 10 GB/s, approaching the theoretical maximum of the SSD array.
  • External-memory dense matrix multiplication is three to four times slower than in-memory counterparts, but I/O optimizations help saturate SSD bandwidth.
  • The eigensolver maintains low memory consumption, allowing users to choose larger subspace sizes for faster convergence.
  • FlashEigen outperforms MKL and Trilinos implementations on SSD-based workloads due to targeted I/O and memory optimizations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.