CP3397 Network Design and Security Lecture 4 WAN design - Principles and practice.

Slides:



Advertisements
Similar presentations
Lecture 15. Graph Algorithms
Advertisements

Weighted graphs Example Consider the following graph, where nodes represent cities, and edges show if there is a direct flight between each pair of cities.
O(N 1.5 ) divide-and-conquer technique for Minimum Spanning Tree problem Step 1: Divide the graph into  N sub-graph by clustering. Step 2: Solve each.
Chen, Lu Mentor: Zhou, Jian Shanghai University, School of Management Chen213.shu.edu.cn.
IKI 10100: Data Structures & Algorithms Ruli Manurung (acknowledgments to Denny & Ade Azurat) 1 Fasilkom UI Ruli Manurung (Fasilkom UI)IKI10100: Lecture10.
Graphs: MSTs and Shortest Paths David Kauchak cs161 Summer 2009.
Minimum Spanning Tree CSE 331 Section 2 James Daly.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
3 -1 Chapter 3 The Greedy Method 3 -2 The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
Graphs & Graph Algorithms 2 Nelson Padua-Perez Bill Pugh Department of Computer Science University of Maryland, College Park.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 11 Instructor: Paul Beame.
Graphs. Graph A “graph” is a collection of “nodes” that are connected to each other Graph Theory: This novel way of solving problems was invented by a.
TCOM 540/11 TCOM 540 Session 6. TCOM 540/12 Agenda Review Session 4 and 5 assignments Multicenter local access design.
CSE 550 Computer Network Design Dr. Mohammed H. Sqalli COE, KFUPM Spring 2007 (Term 062)
Minimum Spanning Trees
TECH Computer Science Graph Optimization Problems and Greedy Algorithms Greedy Algorithms  // Make the best choice now! Optimization Problems  Minimizing.
Minimum Spanning Trees What is a MST (Minimum Spanning Tree) and how to find it with Prim’s algorithm and Kruskal’s algorithm.
1.1 Data Structure and Algorithm Lecture 13 Minimum Spanning Trees Topics Reference: Introduction to Algorithm by Cormen Chapter 13: Minimum Spanning Trees.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Graph Algorithms: Minimum.
© The McGraw-Hill Companies, Inc., Chapter 3 The Greedy Method.
Chapter 9 – Graphs A graph G=(V,E) – vertices and edges
1 TCOM 5143 Telecommunications Analysis, Planning and Design Lecture 6 Network Design and Graph Theory: part 2 Shortest Path trees and Tours.
Networks and the Shortest Path Problem.  Physical Networks  Road Networks  Railway Networks  Airline traffic Networks  Electrical networks, e.g.,
Lecture 12-2: Introduction to Computer Algorithms beyond Search & Sort.
Graph Dr. Bernard Chen Ph.D. University of Central Arkansas.
COSC 2007 Data Structures II Chapter 14 Graphs III.
Representing and Using Graphs
Spanning Trees Introduction to Spanning Trees AQR MRS. BANKS Original Source: Prof. Roger Crawfis from Ohio State University.
Spanning Trees Introduction to Spanning Trees AQR MRS. BANKS Original Source: Prof. Roger Crawfis from Ohio State University.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Module 5 – Networks and Decision Mathematics Chapter 23 – Undirected Graphs.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
Chapter 3 Graphs, Trees, and Tours Presented by Qibin Cai.
Minimum spanning trees Aims: To know the terms: tree, spanning tree, minimum spanning tree. To understand that a minimum spanning tree connects a network.
Slide 1 Chapter 9 Mesh Network Design - II. Slide 2 Mesh Network Design The design of backbone networks is governed by 3 goals: nDirect path between source.
Fundamental Data Structures and Algorithms (Spring ’05) Recitation Notes: Graphs Slides prepared by Uri Dekel, Based on recitation.
TCOM 540/11 TCOM 540 Session 2. TCOM 540/12 Web Page OM htm.
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
Minimum- Spanning Trees
Graphs Upon completion you will be able to:
Chapter 20: Graphs. Objectives In this chapter, you will: – Learn about graphs – Become familiar with the basic terminology of graph theory – Discover.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Spanning Trees Dijkstra (Unit 10) SOL: DM.2 Classwork worksheet Homework (day 70) Worksheet Quiz next block.
Lecture 12 Algorithm Analysis Arne Kutzner Hanyang University / Seoul Korea.
Minimum Spanning Trees
Introduction to Algorithms
Shortest Paths and Minimum Spanning Trees
Dijkstra’s shortest path Algorithm
Minimum Spanning Tree Chapter 13.6.
COMP 6/4030 ALGORITHMS Prim’s Theorem 10/26/2000.
Lecture 12 Algorithm Analysis
Intra-Domain Routing Jacob Strauss September 14, 2006.
I206: Lecture 15: Graphs Marti Hearst Spring 2012.
Graph Algorithm.
Minimum Spanning Tree.
Minimum Spanning Trees
Graphs Chapter 13.
4-4 Graph Theory Trees.
Lecture 12 Algorithm Analysis
Shortest Paths and Minimum Spanning Trees
Mesh Network Design Backbone network design goals:
Route Inspection Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we introduce a vertex.
Minimum Spanning Tree.
CSE 550 Computer Network Design
Graphs.
Minimum spanning trees
Lecture 12 Algorithm Analysis
Spanning Trees Lecture 20 CS2110 – Spring 2015.
Prim’s algorithm for minimum spanning trees
Presentation transcript:

CP3397 Network Design and Security Lecture 4 WAN design - Principles and practice

WAN design Wide area networks constructed from private circuits (leased lines) need careful design to optimise performance minimise costs provide adequate service allow redundancy for fault tolerance

Backbone and access networks WANs can be split into two parts Backbone network linking main centres Access networks linking endpoints to nearest backbone node Both aspects of the network need design Different rules apply to each type

Principles 1. Good designs have many well-utilized components 2. In voice network utilization should be high (to reduce costs) - in a data network utilization should be low (to reduce delay) 3. Aim for 50% utilization on all links (to balance cost/delay) 4. Aim to have as few links as possible under 50% utilization 5. Use “natural traffic centres” - found from “weight” calculation 6. Balance need for shortest path, economy of scale from high speed links and utilization 7. Most design algorithms need repeated application to give best results

Some definitions Graphs n A,B,C etc. are vertices(nodes) n (A,X), (X,Y) etc. are edges n P,Q,Z is a cycle (loop) n Degree of a node is the number of edges at the node –Degree Y =3, degree C=1 X Y Z P Q A B D C

Trees A tree is a connected simple graph with no cycles e.g. X Y Z P Q A B D C

Star A tree is a star if only 1 node has degree >1 X Y Z P Q A B D C

Chains A chain is a tree with no nodes of degree >2 X Y Z P Q A B D C

Weighted graphs Each edge has a value (e.g. link speed, cost, etc.) Weight of the edge e i = w(e i ) To optimise a connected graph find the graph with the minimum weight The Minimal Spanning Tree (MST)

Finding the MST Two algorithms Prim and Kruskal Prim starts by selecting a node, adding the “least expensive edge” iterates until tree is built Kruskal achieves the MST by starting with a graph and cutting out edges

Example MST

Use of MSTs Small design problems - few nodes Highly reliable links with low “downtime” or network can tolerate unreliability Nodes ‘v’ reliability As the number of nodes increases reliability decreases (exponentially!)

Shortest path trees SPTs are when the path between each pair of nodes has the lowest weight Can be found using Dijkstra’s algorithm  See Cahn p67 and Kenyon p102 MSTs and SPTs will be different Prim and Dijkstra algorithms can be combined to give MST or SPT using parameter alpha Ref: R. S. Cahn (1998) “Wide area network design”, Morgan Kaufmann, ISBN and the Delite design tool, and mirrored on the CP3397 homepage Ref: T Kenyon (2002) “High-performance data network design” Digital Press, ISBN

Access design Each node on a backbone may have a number of local access points Access networks route all traffic to the local backbone node. With n nodes there are n n-2 spanning trees! There are algorithms that reduce the possibilities - e.g. Esau-Williams, Sharma (Cahn Chapter 5)

Backbone design Aim is to minimise the degree of the nodes (X) (i.e. number of connections at each) and minimise the number of hops (H) between all the nodes These need balancing to produce a credible design Fully-connected n-node mesh (H=1, X=n) Star (H=2, X=1 for all except central node)

Design algorithm Mentor algorithm (one of many) relies on radius and weight to determine backbone  radius is proximity-based  weight is traffic-related (in and out) Calculates merit of a site based on  distance from centre of network  weight - i.e. traffic

Algorithm steps 1. Cluster sites within radius (Rparm) around those with largest merit 2. Select backbone centre (smallest weight x distance) 3. Build backbone tree 4. Find the sequence of all pairs on the tree starting with the outside 5. Choose homes (sites between each pair)

Algorithm steps 6. Consider each pair once and add links if  utilization is too high  otherwise traffic is sent via home node  This adds links between non-adjacent sites

Example

Detail diagrams South East Midlands

Input data Coordinates of sites Cost of links Traffic between sites in kbytes User population at each site Parameters Rparm, wparm, slack

Network design Parameters Rparm 0.4 Wparm 1.0 Slack 0.0 Utilization 0.5 Cost

Alternative robust design Parameters Rparm 0.4 Wparm 1.0 Slack 0.5 Utilization 0.5 Cost

Detail diagrams Midlands area detail512K 128K 3x 128k

Summary Design will depend on traffic, costs, and Other desirable parameters such as slack and utilization Design methods for Access and backbone are different Many algorithms are available Real networks will require careful cost minimisation