Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-3523

GraphX graph partitioning strategy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.0.2
    • None
    • GraphX
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            larryxiao Di Xiao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: