Investigating the scale-invariance of graph algorithm performance - - PowerPoint PPT Presentation

investigating the scale invariance of graph algorithm
SMART_READER_LITE
LIVE PREVIEW

Investigating the scale-invariance of graph algorithm performance - - PowerPoint PPT Presentation

Investigating the scale-invariance of graph algorithm performance Tim van Zalingen UvA July 5, 2018 Supervisors (UvA): Merijn Verstraaten & dr. ir. A.L. (Ana) Varbanescu Research Project 19 Tim van Zalingen (UvA) RP19 July 5, 2018 1 /


slide-1
SLIDE 1

Investigating the scale-invariance of graph algorithm performance

Tim van Zalingen

UvA

July 5, 2018

Supervisors (UvA): Merijn Verstraaten & dr. ir. A.L. (Ana) Varbanescu Research Project 19

Tim van Zalingen (UvA) RP19 July 5, 2018 1 / 15

slide-2
SLIDE 2

Introduction

Graph processing

Breadth First Search (BFS)

Parallel Edge-centric vs vertex-centric implementation

GPU Scaling

Figure 1: Example of a simple graph. Figure 2: Left: CPU architecture, right: GPU

  • architecture. (source: nvidia.com)

Tim van Zalingen (UvA) RP19 July 5, 2018 2 / 15

slide-3
SLIDE 3

Scaling mechanism

Figure 3: Original graph.

Tim van Zalingen (UvA) RP19 July 5, 2018 3 / 15

slide-4
SLIDE 4

Scaling mechanism

Figure 3: Original graph. Figure 4: Sample of graph in figure 3.

Tim van Zalingen (UvA) RP19 July 5, 2018 3 / 15

slide-5
SLIDE 5

Scaling mechanism

Figure 3: Original graph. Figure 4: Sample of graph in figure 3. Figure 5: Scaled graph comprised of two samples as shown in figure 6.

Tim van Zalingen (UvA) RP19 July 5, 2018 3 / 15

slide-6
SLIDE 6

Scaling parameters

Number of interconnections High degree or random vertex bridges Sample size Topology:

Figure 6: Chain Ring Star Fully connected Illustration of different topologies

Tim van Zalingen (UvA) RP19 July 5, 2018 4 / 15

slide-7
SLIDE 7

Research Question

Is the relative performance of graph algorithms scale-invariant? What are the effects of tuning the scaling parameters? Do implementations show similar behaviour under scaling?

Tim van Zalingen (UvA) RP19 July 5, 2018 5 / 15

slide-8
SLIDE 8

Method

Scaling parameters

What parameters?

Comparison of graphs

Diverse set of graphs Scaled versions of this set

Tim van Zalingen (UvA) RP19 July 5, 2018 6 / 15

slide-9
SLIDE 9

Results: Scaling parameters - actor-collaboration

Figure 7: Comparison between scaling parameters for the actor-collaboration graph.

Tim van Zalingen (UvA) RP19 July 5, 2018 7 / 15

slide-10
SLIDE 10

Results: Scaling parameters - dbpedia-starring

Figure 8: Comparison between scaling parameters for the dbpedia-starring graph.

Tim van Zalingen (UvA) RP19 July 5, 2018 8 / 15

slide-11
SLIDE 11

Results: Graph comparison

Figure 9: Comparison between algorithm mean computation time for different graphs.

Tim van Zalingen (UvA) RP19 July 5, 2018 9 / 15

slide-12
SLIDE 12

Vertex-push transition point

Observation: The point where vertex-push starts to outperform other algorithm implementations, is in the hundred thousands of vertices. For similar graphs, is this transition point similar as well?

Tim van Zalingen (UvA) RP19 July 5, 2018 10 / 15

slide-13
SLIDE 13

Results: Vertex-push transition point

Figure 10: Mean execution time over scale on similar graphs.

All graphs are/have: Undirected Unweighted Average degree around 5 vertices/edges: ca: 6K/13K as-caida: 26K/53K AstroPh: 19K/198K loc: 58K/214K

Tim van Zalingen (UvA) RP19 July 5, 2018 11 / 15

slide-14
SLIDE 14

Discussion: Conclusion

The relative performance of BFS implementations can be stable under scaling. However, it is not fully scale-invariant. Tuning scaling parameters has no great effect. Transition points and stability depends on the graph. The vertex-push implementation scales better. Results hint to a predicable transition

  • point. Appears to depend on number of edges per vertex.

Tim van Zalingen (UvA) RP19 July 5, 2018 12 / 15

slide-15
SLIDE 15

Discussion: Limitations

Effects of scaling parameters only investigated on two graphs. Set of graphs diverse and limited. Conclusions only valid for current implementation of scaling and BFS algorithms.

Tim van Zalingen (UvA) RP19 July 5, 2018 13 / 15

slide-16
SLIDE 16

Future work

Investigate more graph algorithms. Compare similar graphs. Investigate variants of BFS implementations. Can transition points be determined?

Tim van Zalingen (UvA) RP19 July 5, 2018 14 / 15

slide-17
SLIDE 17

Summary

The scaling parameters have low impact on how algorithm implementations scale. Relative performance is stable around a size. When scaling to multiple times the original size, algorithms can switch in ranking. Vertex-push appears to scale best.

Tim van Zalingen (UvA) RP19 July 5, 2018 15 / 15