Distributed Application Partitioning

Slides:



Advertisements
Similar presentations
Chapter 4 Partition (3) Double Partition Ding-Zhu Du.
Advertisements

Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
~1~ Infocom’04 Mar. 10th On Finding Disjoint Paths in Single and Dual Link Cost Networks Chunming Qiao* LANDER, CSE Department SUNY at Buffalo *Collaborators:
Approximation Algorithms Chapter 5: k-center. Overview n Main issue: Parametric pruning –Technique for approximation algorithms n 2-approx. algorithm.
1 s-t Graph Cuts for Binary Energy Minimization  Now that we have an energy function, the big question is how do we minimize it? n Exhaustive search is.
Yi Wu IBM Almaden Research Joint work with Alina Ene and Jan Vondrak.
HW2 Solutions. Problem 1 Construct a bipartite graph where, every family represents a vertex in one partition, and table represents a vertex in another.
Partitioning 1 Outline –What is Partitioning –Partitioning Example –Partitioning Theory –Partitioning Algorithms Goal –Understand partitioning problem.
Minimum Spanning Trees. Subgraph A graph G is a subgraph of graph H if –The vertices of G are a subset of the vertices of H, and –The edges of G are a.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
Fast Spectrum Allocation in Coordinated Dynamic Spectrum Access Based Cellular Networks Anand Prabhu Subramanian*, Himanshu Gupta*,
Finding dense components in weighted graphs Paul Horn
Paper # – 2009 A Comparison of Heterogeneous Video Multicast schemes: Layered encoding or Stream Replication Authors: Taehyun Kim and Mostafa H.
Approximation Algorithms for NP-hard Combinatorial Problems Magnús M. Halldórsson Reykjavik University Local Search, Greedy and Partitioning
Semantic Wordfication of Document Collections Presenter: Yingyu Wu.
Detecting Equality of Variables in Programs Bowen Alpern, Mark N. Wegman, F. Kenneth Zadeck Presented by: Abdulrahman Mahmoud.
Presenter : Kuang-Jui Hsu Date : 2011/3/24(Thur.).
Foundation of Computing Systems
Domain decomposition in parallel computing Ashok Srinivasan Florida State University.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 25.
Homework - hints Problem 1. Node weights  Edge weights
Graph Theory. undirected graph node: a, b, c, d, e, f edge: (a, b), (a, c), (b, c), (b, e), (c, d), (c, f), (d, e), (d, f), (e, f) subgraph.
© M. Winter COSC/MATH 4P61 - Theory of Computation Minimum-weight Spanning Tree Weighted Graph Spanning.
1. For minimum vertex cover problem in the following graph give
Some links between min-cuts, optimal spanning forests and watersheds Cédric Allène, Jean-Yves Audibert, Michel Couprie, Jean Cousty & Renaud Keriven ENPC.
::Network Optimization:: Minimum Spanning Trees and Clustering Taufik Djatna, Dr.Eng. 1.
Maximum Flow c v 3/3 4/6 1/1 4/7 t s 3/3 w 1/9 3/5 1/1 3/5 u z 2/2
New Characterizations in Turnstile Streams with Applications
Single-Source Shortest Path
Dijkstra’s shortest path Algorithm
Algorithm Design Methods
Minimum Spanning Tree Chapter 13.6.
Minimum Spanning Trees
Finding a Path With Largest Smallest Edge
Richard Anderson Lecture 26 NP-Completeness
A Distributed Algorithm for Minimum-Weight Spanning Trees
Minimum Spanning Tree 8/7/2018 4:26 AM
Design and Analysis of Algorithm
Lectures on Network Flows
Maximum Flow 9/13/2018 6:12 PM Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015.
First-Cut Techniques Lecturer: Jing Liu
Minimum Spanning Trees
The Power of Two in Consistent Network Updates: Hard Loop Freedom, Easy Flow Migration Klaus-Tycho Förster and Roger Wattenhofer.
Spanning Trees.
Minimum Spanning Tree.
CIS 700: “algorithms for Big Data”
Maximum Flow c v 3/3 4/6 1/1 4/7 t s 3/3 w 1/9 3/5 1/1 3/5 u z 2/2
Neural Networks for Vertex Covering
Carlos Ordonez, Predrag T. Tosic
Exam 2 LZW not on syllabus. 73% / 75%.
Connected Dominating Sets
Lecture 19-Problem Solving 4 Incremental Method
CS 583 Analysis of Algorithms
CSCI B609: “Foundations of Data Science”
Timing Optimization.
Minimum Spanning Tree Optimizations
3.3 Network-Centric Community Detection
A Fundamental Bi-partition Algorithm of Kernighan-Lin
Lecture 27 CSE 331 Nov 2, 2010.
Solving the Minimum Labeling Spanning Tree Problem
Algorithms (2IL15) – Lecture 7
Algorithm Design Methods
Maximum Flow c v 3/3 4/6 1/1 4/7 t s 3/3 w 1/9 3/5 1/1 3/5 u z 2/2
Algorithm Design Methods
Clustering.
Instructor: Aaron Roth
Instructor: Aaron Roth
Constructing a m-connected k-Dominating Set in Unit Disc Graphs
Algorithm Design Methods
Minimum Spanning Trees
Presentation transcript:

Distributed Application Partitioning ECE 556 Final Project Brad Colvin

Problem Overview Optimally allocating the components of a distributed program over several machines. Communication between machines is assumed to be the major factor in application performance Can be represented by a graph NP-hard for case of 3 or more terminals Can be thought of as a partitioning problem

Collapse the graph Given G = {N, E, M} N is the set of Nodes E is the set of Edges M is the set of machine nodes

Dominant Edge Take node n and its heaviest edge e Edges a1,a2,…ar with opposite end nodes not in M Edges b1,b2,…bk with opposite end nodes in M If w(e) >= Sum(w(ai)) + Max(w(b1),…,w(bk)) Then the min-cut does not contain e So e can be collapsed

Machine Cut Let machine cut Mi be the set of all edges between a machine mi and non-machine nodes N Let Wi be the sum of the weight of all edges in the machine cut Mi Wi’s are sorted so W1>=W2>=… Any edge that has a weight greater than W2 cannot be part of the min-cut

Zeroing Assume that node n has edges to each of the m machines in M with weights w1<=w2<=…<=wm Reducing the weights of each of the m edges from n to machines M by w1 doesn’t change the assignment of nodes for the min-cut It reduces the cost of the minimum cut by (m-1)w1

Order of Application If the previous 3 techniques are repeatedly applied on a graph until none of them are applicable Then the resulting reduced graph is independent of the order of application of the techniques

Output List of nodes collapsed into each of the machine nodes Weight of edges connecting the machine nodes

Credits Main Paper: Graph Cutting Algorithms for Distributed Applications Partitioning Graphs from: Fast Optimally-Preserving Graph Reduction for Dynamics-Based Partitioning of Distributed Object Applications Authors: Karin Hogstedt, Doug Kimelman, VT Rajan, Tova Roth, and Mark Wegman