Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 2.21 KB

README.md

File metadata and controls

32 lines (26 loc) · 2.21 KB

Graph Partitioning Strategy on GraphX (Spark)

We implemented some algorithms for partitioning on GraphX, and evaluated. And find the partitioning has space of improving. Seek opinion and advice.

Motivation

  • Graph in real world follow power law. Eg. On twitter 1% of the vertices are adjacent to nearly half of the edges.
  • For high-degree vertex, one vertex concentrates vast resources. So the workload on few high-degree vertex should be decomposed by all machines
  • For low-degree vertex, The computation on one vertex is quite small. Thus should exploit the locality of the computation on low-degree vertex.

Algorithm Description

  • HybridCut
  • HybridCutPlus
  • Greedy BiCut
    • a heuristic algorithm for bipartite

Result

    • The left Y axis is replication factor, right axis is the balance (measured using CV, coefficient of variation) of either vertices or edges of all partitions. The balance of edges can infer computation balance, and the balance of vertices can infer communication balance.
    • This is an example of a balanced partitioning achieving 20% saving on communication.
    • This is a simple partitioning result of BiCut.
  • in-2.0-1m is a generated power law graph with alpha equals 2.0

Code

Reference

  • Bipartite-oriented Distributed Graph Partitioning for Big Learning.
  • PowerLyra : Differentiated Graph Computation and Partitioning on Skewed Graphs