Scalable GPU graph traversal BFS Compressed Row Format Sequential - - PowerPoint PPT Presentation

scalable gpu graph traversal
SMART_READER_LITE
LIVE PREVIEW

Scalable GPU graph traversal BFS Compressed Row Format Sequential - - PowerPoint PPT Presentation

Scalable GPU graph traversal BFS Compressed Row Format Sequential BFS Parallel BFS Quadratic parallelizations - O(n^2+m) Linear parallelizations - O(n+m) Frontiers may be maintained in-core or out-of-core Distributed


slide-1
SLIDE 1

Scalable GPU graph traversal

BFS

slide-2
SLIDE 2

Compressed Row Format

slide-3
SLIDE 3

Sequential BFS

slide-4
SLIDE 4

Parallel BFS

  • Quadratic parallelizations - O(n^2+m)
  • Linear parallelizations - O(n+m)

○ Frontiers may be maintained in-core or out-of-core

  • Distributed parallelizations

○ partition the graph amongst multiple processors ○ out-of-core edge queues are used for communication

  • Our parallelization strategy: out-of-core E&V
slide-5
SLIDE 5

Prefix sum

slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8

Microbenchmark Analyses

Because edge-frontier is dominant we focus on

  • neighbor-gathering
  • status-lookup
slide-9
SLIDE 9

Isolated neighbor-gathering

  • Serial gathering
  • Coarse-grained, warp-based gathering
  • Fine-grained, scan-based gathering
  • Scan+warp+CTA gathering
slide-10
SLIDE 10
slide-11
SLIDE 11
slide-12
SLIDE 12

Isolated status-lookup

Use bitmask to reduce size of status data from 32 bit to 1 bit. Avoid atomic operations therefore bitmask is conservative approximation.

slide-13
SLIDE 13
slide-14
SLIDE 14

Concurrent discovery

Key: number of duplicate vertices in the edge- frontier.

  • Warp culling
  • History culling
slide-15
SLIDE 15
slide-16
SLIDE 16

Fused neighbor-gathering and lookup

slide-17
SLIDE 17

Single-GPU parallelizations

  • Expand-contract (out-of-core vertex queue)
  • Contract-expand (out-of-core edge queue)
  • Two-phase (both queues out-of-core)
  • Hybrid (contract-expand + two-phase)
slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20

Multi-GPU