Speeding up Dynamic Shortest Path Algorithms

Size: px
Start display at page:

Download "Speeding up Dynamic Shortest Path Algorithms"

Transcription

1 Speeding up Dynamic Shortest Path Algorithms Luciana S. Buriol Ph.D. Student, UNICAMP Brazil Visitor, AT&T Labs Research Joint work with Mauricio Resende and Mikkel Thorup AT&T Labs Research

2 Problem definition; Applications; Current algorithms: Using reduced heaps; Computational results; Conclusions. Outline

3 Objectives To compare current dynamic shortest paths algorithms with respect to arc weight increase and decrease; To propose a new idea for reducing heap size to save computational time;

4 Dynamic Shortest Path problem Given a graph G = (V, E), a shortest path graph G SP = (V, E ), and a vector W with a weight w i associated with each link i. Update G SP considering a weight change without recomputing it from scratch. 4 4 Destination Node 7 7

5 Destination Node Destination Node Original Graph Updated Graph Weight Increase

6 Destination Node Destination Node Original Graph Updated Graph Weight Decrease

7 Applications Transportation network, when weights are associated with traffic/distance; Databases: maintaining distances between objects in a large data base; Data flow analysis and compilers; Document formatting; Local search procedure in packet routing.

8 Packet routing When packet arrives at router, router must decide where to send it next. router Packet s final destination. router router router D D D D 4 R R R R 4 Routing table router

9 Updating algorithms Specialized for weight increase and decrease; An arc deletion can be considered an increase of w i to ; The shortest paths can be a tree or a graph, depending on the application;

10 Graph and tree representations OSPF routing: Traffic flow is routed along shortest paths, splitting flow at nodes with more than one outgoing link. Transportation: If the load cannot be split, only one shortest path is needed.

11 Algorithms Trees: King & Thorup increase; Demetrescu increase; Frigioni et al. decrease; Graphs: R&R increase; R&R decrease; The above algorithms have two versions: the standard implementation and one avoiding use of heaps. Dijkstra s algorithm: recomputes shortest path graph from scratch only when at least one node distance changes. Otherwise, update the local change without Dijkstra.

12 Ramalingan & Reps arc weight increase 4 4 Destination Node 7

13 Ramalingan & Reps arc weigh increase 4 Destination Node 7 Q Find set Q of affected nodes. Q will contain all nodes which have all shortest paths traversing the changed arc.

14 Determining set Q 7 4 Destination Node Find set Q of affected nodes. Set Q will contain all nodes which have all shortest paths crossing the changed arc.

15 Determining set Q 7 4 Destination Node Find set Q of affected nodes. Set Q will contain all nodes which have all shortest paths crossing the changed arc.

16 Determining set Q 7 4 Destination Node Find set Q of affected nodes. Set Q will contain all nodes which have all shortest paths crossing the changed arc.

17 Determining set Q 4 Destination Node Find set Q of affected nodes. Set Q will contain all nodes which have all shortest paths crossing the changed arc.

18 Determining set Q 4 Destination Node Q All arcs s u incoming into nodes s Q are removed from G SP. If u has no outgoing links in G SP, u is an affected node. If u is an affected node, it is added to Q and dist u =.

19 Updating Q-node distances Update distances to nodes in Q considering arcs linking nodes outside Q Destination Node Check all outgoing links from nodes u є Q and update dist u if possible. Insert all nodes u in a heap H considering their distances to the destination H = {,, 9, 9, }

20 Updating Q-node distances Destination Node Remove nodes u H, one by one. For each node u, traverse all incoming links u s and update dist s if possible.

21 Determine the new SP graph Destination Node Traverse each outgoing link e = u v from nodes u Q. If dist u =dist v +w e then arc e G SP.

22 Original Graph Updated Graph R&R weight increase

23 #arcs: [, 49404] # nodes e+0 Ramalingam & Reps vs Dijkstra on dense graphs Dijkstra from scratch 0000 Time (secs) Ramalingam & Reps

24 #arcs: [7, 49404] # nodes Ramalingam & Reps vs Dijkstra on sparse graphs e Dijkstra from scratch Time (secs) Ramalingam & Reps e+0.e+0

25 R&R: determining set Q Q Non affected part of the graph + Destination node - Find set Q; remove all links from nodes u Q and set dist u =.

26 R&R: updating Q-node distances e Q b a c + d Destination node Update distances of nodes u Q considering arcs linking nodes Q.

27 R&R: updating Q-node distances e Q b a c + f e d Destination node Update distances of nodes u Q considering arcs linking nodes Q.

28 R&R: determining the new G SP e Q b a c + f e d Destination node Traverse each outgoing link from nodes u Q to compute G SP.

29 Avoiding use of heaps: Determining set Q & updating Q-node distances + u Q + u + u + u + u + u + u a + v Destination node Instead of attributing to the distances of all nodes Q, add to their original distances the value u, where u is the amount that dist u will increase by considering the cheapest outgoing link from u.

30 Avoiding use of heaps: updating Q- node distances + u Q + u + u + u + u + u + u a + v Destination node Insert in H only nodes that have an alternative cheapest path linking a node Q

31 Avoiding use of heaps: determining the new G SP + u Q + u + u + u + u + u + u a + v Destination node Remove nodes from H, one by one, and insert/update in H new nodes which can have their distances decreased.

32 Effect of weight increment on heap size R & R 000 Heap size R & R reduced Weight increment

33 0. Effect of weight increment on time Time (secs) R&R R&R reduced weight increment

34 Time vs #nodes on random weight increment Demetrescu Demetrescu reduced Demetrescu 00 Time (secs) Demetrescu reduced e+0 e+07 # nodes

35 Time vs #nodes on random weight increment R & R R & R reduced Demetrescu Demetrescu reduced Tree Tree reduced Tree R&R Tree reduced Time (secs) R&R reduced Demetrescu Demetrescu reduced # nodes e+0 e+07

36 Time vs #nodes on random weight decrement R & R R & R reduced Tree Tree reduced R&R Time (secs) Tree reduced Tree R&R reduced e+0 e+07 # nodes

37 Avoiding heaps: Unit increase Q Destination node Increment by all distances from nodes u Q..

38 Avoiding heaps: Unit increase + Q Destination node Traverse each outgoing link from nodes u Q to compute G SP.

39 Avoiding use of heaps in unit weight decrease Q C Destination node Considering unit decrement, the sets A and B are empty.

40 Computational results 0 classes of graphs: Real data from AT&T; Small instances used in OSPF studies by Fortz & Thorup (000); Sparse graphs, dense graphs, square/long/large shape, hard graphs, etc. by A. Goldberg from DIMACS Challenge; Instance sizes from 0 to million nodes; 00 to million arcs. Weight setting range: [,0000]; For each instance, we applied 000 weight increases and 000 decreases. We force the changes to always alter G SP.

41 R&R vs avoiding heaps for weight increase on 0 classes of instances 0000 R&R R&R reduced 000 Time (secs.) 00 0 Average reduction in CPU time: % Instance class

42 Demetrescu vs avoiding heaps for weight increase on 0 classes of instances 0000 Demetrescu Demetrescu reduced 000 Time (secs.) 00 0 Average reduction in CPU time: 0% Instance class

43 K&T vs avoiding heaps for weight increase on 0 classes of instances 0000 King & Thorup King & Thorup reduced 000 Time (secs.) 00 0 Average reduction in CPU time: % Instance class

44 Dijkstra vs K&T avoiding heaps for weight increase on 0 classes of instances e Time (secs.) Average speedup varied from to 4,000 0 Dijkstra King & Thorup reduced Instance class

45 R&R and avoiding heaps for weight decrease on 0 classes of instances Time (secs.) 00 0 Average reduction in CPU time: % R&R R&R reduced Instance class

46 Frigioni and avoiding heaps for weight decrease on 0 classes of instances Instance class Time (secs.) 00 0 Average increase in CPU time: % Frigioni Frigioni reduced

47 Dijkstra & Frigioni for weight decrease on 0 classes of instances Instance class e Time (secs.) Average speedup varied from to 7,000 0 Dijkstra Frigioni

48 Conclusions Ramalingan & Reps on graphs: avoiding use of heaps reduced CPU time by % for weight increase and by % for weight decrease; Demetrescu weight increase on trees: avoiding use of heaps reduced CPU time by 0%; King & Thorup weight increase on trees: avoiding use of heaps reduced CPU time by %; Frigioni et al. weight decrease on trees: avoiding use of heaps increased CPU time by %;

49 Conclusions Considering unit weight changes, the standard algorithms are times faster if they avoid using heaps; The incremental algorithm is 0% faster then the decremental algorithm; On average, King & Thorup algorithm is 4% faster then Demetrescu algorithm; Updating trees is % faster than updating graphs for weight increase and % faster for weight decrease.

50 Local search for OSPF routing For unit increment/decrement the idea of avoiding heaps reduced the computational time by a factor of.

SPEEDING UP DYNAMIC SHORTEST PATH ALGORITHMS

SPEEDING UP DYNAMIC SHORTEST PATH ALGORITHMS SPEEDING UP DYNAMIC SHORTEST PATH ALGORITHMS L.S. BURIOL, M.G.C. RESENDE, AND M. THORUP ABSTRACT. Dynamic shortest path algorithms update the shortest paths to take into account a change in an edge weight.

More information

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF Multicast OSPF OSPF Open Shortest Path First Link State Protocol Use Dijkstra s algorithm (SPF) Calculate shortest path from the router to every possible destination Areas Limit the information volume

More information

Efficient Dynamic SPT algorithm for Network Routing

Efficient Dynamic SPT algorithm for Network Routing Efficient Dynamic SPT algorithm for Network Routing Snehal Kolte M. E. (C.E.) Second Year Department of computer engineering, DYPSOE, Pune University, Pune, Maharashtra, India Email: snehalkolte2010@gmail.com

More information

Routing, Routers, Switching Fabrics

Routing, Routers, Switching Fabrics Routing, Routers, Switching Fabrics Outline Link state routing Link weights Router Design / Switching Fabrics CS 640 1 Link State Routing Summary One of the oldest algorithm for routing Finds SP by developing

More information

A Space Saving Trick for Directed Dynamic Transitive Closure and Shortest Path Algorithms

A Space Saving Trick for Directed Dynamic Transitive Closure and Shortest Path Algorithms A Space Saving Trick for Directed Dynamic Transitive Closure and Shortest Path Algorithms Valerie King 1 and Mikkel Thorup 1,2 1 Department of Computer Science, University of Victoria, Victoria, BC. val@csr.uvic.ca,

More information

Engineering shortest-path algorithms for dynamic networks

Engineering shortest-path algorithms for dynamic networks Engineering shortest-path algorithms for dynamic networks Mattia D Emidio and Daniele Frigioni Department of Information Engineering, Computer Science and Mathematics, University of L Aquila, Via Gronchi

More information

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007.

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007. Routing Algorithms CS158a Chris Pollett Apr 4, 2007. Outline Routing Algorithms Adaptive/non-adaptive algorithms The Optimality Principle Shortest Path Routing Flooding Distance Vector Routing Routing

More information

From Routing to Traffic Engineering

From Routing to Traffic Engineering 1 From Routing to Traffic Engineering Robert Soulé Advanced Networking Fall 2016 2 In the beginning B Goal: pair-wise connectivity (get packets from A to B) Approach: configure static rules in routers

More information

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load Dynamic Routing Overview Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph C

More information

Wedge A New Frontier for Pull-based Graph Processing. Samuel Grossman and Christos Kozyrakis Platform Lab Retreat June 8, 2018

Wedge A New Frontier for Pull-based Graph Processing. Samuel Grossman and Christos Kozyrakis Platform Lab Retreat June 8, 2018 Wedge A New Frontier for Pull-based Graph Processing Samuel Grossman and Christos Kozyrakis Platform Lab Retreat June 8, 2018 Graph Processing Problems modelled as objects (vertices) and connections between

More information

Introduction to Internet Routing

Introduction to Internet Routing Introduction to Internet Routing (RCSE) Lecture Based on Slides by Prof. Dr. Günter Schäfer Page Topics of Special course on planning aspects in communication networks Prior attendance of courses Telematics

More information

Traffic Engineering with Estimated Traffic Matrices

Traffic Engineering with Estimated Traffic Matrices Traffic Engineering with Estimated Traffic Matrices Matthew Roughan Mikkel Thorup Yin Zhang www.research.att.com/~roughan www.research.att.com/~mthorup www.research.att.com/~yzhang Shannon Lab AT&T Research

More information

Lecture 13: Link-state Routing. CSE 123: Computer Networks Alex C. Snoeren

Lecture 13: Link-state Routing. CSE 123: Computer Networks Alex C. Snoeren Lecture 3: Link-state Routing CSE 23: Computer Networks Alex C. Snoeren Lecture 3 Overview Routing overview Intra vs. Inter-domain routing Link-state routing protocols 2 Router Tasks Forwarding Move packet

More information

Unreserved Resource Information Advertisement Method in GMPLS

Unreserved Resource Information Advertisement Method in GMPLS OECC 2007 Unreserved Resource Information Advertisement Method in GMPLS Masahiro Nishida Keio University No.1 Outline Background Conventional Advertisement method Proposed Advertisement method Performance

More information

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview Lecture : Link-state Routing CSE 3: Computer Networks Chris Kanich Lecture Overview Routing overview Intra vs. Inter-domain routing Link-state routing protocols CSE 3 Lecture : Link-state Routing Router

More information

On the Optimality of Link-State Routing Protocols

On the Optimality of Link-State Routing Protocols On the Optimality of Link-State Routing Protocols Dahai Xu, Ph.D. Florham Park AT&T Labs - Research Joint work with Mung Chiang and Jennifer Rexford (Princeton University) New Mathematical Frontiers in

More information

Graphs & Digraphs Tuesday, November 06, 2007

Graphs & Digraphs Tuesday, November 06, 2007 Graphs & Digraphs Tuesday, November 06, 2007 10:34 PM 16.1 Directed Graphs (digraphs) like a tree but w/ no root node & no guarantee of paths between nodes consists of: nodes/vertices - a set of elements

More information

Link-State Routing OSPF

Link-State Routing OSPF CE Computer Networks Link-State Routing OSPF Behnam Momeni Computer Engineering Department Sharif University of Technology Acknowledgments: Lecture slides are from Computer networks course thought by Jennifer

More information

Computer Networks. Routing

Computer Networks. Routing Computer Networks Routing Topics Link State Routing (Continued) Hierarchical Routing Broadcast Routing Sending distinct packets Flooding Multi-destination routing Using spanning tree Reverse path forwarding

More information

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

Fairness Example: high priority for nearby stations Optimality Efficiency overhead Routing Requirements: Correctness Simplicity Robustness Under localized failures and overloads Stability React too slow or too fast Fairness Example: high priority for nearby stations Optimality Efficiency

More information

Computer Networks. Routing Algorithms

Computer Networks. Routing Algorithms Computer Networks Routing Algorithms Topics Routing Algorithms Shortest Path (Dijkstra Algorithm) Distance Vector Routing Count to infinity problem Solutions for count to infinity problem Link State Routing

More information

Experimental Analysis of Dynamic All Pairs Shortest Path Algorithms

Experimental Analysis of Dynamic All Pairs Shortest Path Algorithms Experimental Analysis of Dynamic All Pairs Shortest Path Algorithms Camil Demetrescu Giuseppe F. Italiano Abstract We present the results of an extensive computational study on dynamic algorithms for all

More information

II. Principles of Computer Communications Network and Transport Layer

II. Principles of Computer Communications Network and Transport Layer II. Principles of Computer Communications Network and Transport Layer A. Internet Protocol (IP) IPv4 Header An IP datagram consists of a header part and a text part. The header has a 20-byte fixed part

More information

An Enhanced Estimator to Multi-objective OSPF Weight Setting Problem

An Enhanced Estimator to Multi-objective OSPF Weight Setting Problem An Enhanced Estimator to Multi-objective OSPF Weight Setting Problem Mohammed H. Sqalli, Sadiq M. Sait, and Mohammed Aijaz Mohiuddin Computer Engineering Department King Fahd University of Petroleum &

More information

CS 344/444 Computer Network Fundamentals Midterm Exam Spring /07/2007

CS 344/444 Computer Network Fundamentals Midterm Exam Spring /07/2007 CS 344/444 Computer Network Fundamentals Midterm Exam Spring 2007 03/07/2007 Question 344 Points 444 Points Score 1 10 10 2 30 30 3 30 20 4 30 20 5 (444 only) 20 otal: 100 100 Name: Course: CS344 CS444

More information

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa Multicast Communications Slide Set were original prepared by Dr. Tatsuya Susa Outline 1. Advantages of multicast 2. Multicast addressing 3. Multicast Routing Protocols 4. Multicast in the Internet 5. IGMP

More information

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan Routing Protocols of IGP Koji OKAMURA Kyushu University, Japan Routing Protocol AS (Autonomous System) Is operated autonomous in the organization. 6bit IGP (Interior Gateway Protocol) Routing Control inside

More information

Networking Version 2.0 Benchmarks

Networking Version 2.0 Benchmarks Networking Version 2.0 Benchmarks William Bryant Engineering Manager, Sun Microsystems, Inc. and Chairman, EEMBC Networking Subcommittee Rick Foos Director of Engineering, EEMBC Certification Labs (ECL),

More information

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30 Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30 R1. Let s review some of the terminology used in this textbook. Recall that

More information

CS 421: Computer Networks SPRING MIDTERM II May 5, minutes

CS 421: Computer Networks SPRING MIDTERM II May 5, minutes CS 4: Computer Networks SPRING 004 MIDTERM II May 5, 004 0 minutes Name: Student No: ) a) (8 pts) List the reasons why Internet has a hierarchical routing architecture. (Use at most four sentences) b)

More information

Distributed Conditional Multicast Access for IP TV in High-Speed Wireless Networks (Destination Specific Multicast)

Distributed Conditional Multicast Access for IP TV in High-Speed Wireless Networks (Destination Specific Multicast) 137 Distributed Conditional Multicast Access for IP TV in High-Speed Wireless Networks (Destination Specific Multicast) 1, 2 Jan Fesl, 1 Richard Klee, 1 Marie Dolezalova 1 Institute of Applied Informatics,

More information

C13b: Routing Problem and Algorithms

C13b: Routing Problem and Algorithms CISC 7332X T6 C13b: Routing Problem and Algorithms Hui Chen Department of Computer & Information Science CUNY Brooklyn College 11/20/2018 CUNY Brooklyn College 1 Acknowledgements Some pictures used in

More information

The Network Layer and Routers

The Network Layer and Routers The Network Layer and Routers Daniel Zappala CS 460 Computer Networking Brigham Young University 2/18 Network Layer deliver packets from sending host to receiving host must be on every host, router in

More information

Finding a Needle in a Haystack: Pinpointing Significant BGP Routing Changes in an IP Network

Finding a Needle in a Haystack: Pinpointing Significant BGP Routing Changes in an IP Network Finding a Needle in a Haystack: Pinpointing Significant BGP Routing Changes in an IP Network Jian Wu (University of Michigan) Z. Morley Mao (University of Michigan) Jennifer Rexford (Princeton University)

More information

CSC 401 Data and Computer Communications Networks

CSC 401 Data and Computer Communications Networks CSC 40 Data and Computer Communications Networks Network Layer NAT, Routing, Link State, Distance Vector Prof. Lina Battestilli Fall 07 Chapter 4 Outline Network Layer: Data Plane 4. Overview of Network

More information

Finish Network Layer Start Transport Layer. CS158a Chris Pollett Apr 25, 2007.

Finish Network Layer Start Transport Layer. CS158a Chris Pollett Apr 25, 2007. Finish Network Layer Start Transport Layer CS158a Chris Pollett Apr 25, 2007. Outline OSPF BGP IPv6 Transport Layer Services Sockets Example Socket Program OSPF We now look at routing in the internet.

More information

OSI Layers (Open System Interconnection)

OSI Layers (Open System Interconnection) OSI Layers (Open System Interconnection) What is a Network? A network refers to two or more connected computers that can share resources such as data, a printer, an Internet connection, applications, or

More information

Name Student ID Department/Year. Final Examination. Introduction to Computer Networks Class#: 901 E31110 Fall 2008

Name Student ID Department/Year. Final Examination. Introduction to Computer Networks Class#: 901 E31110 Fall 2008 Name Student ID Department/Year Final Examination Introduction to Computer Networks Class#: 901 E31110 Fall 2008 9:30-11:10 Tuesday January 13, 2009 Prohibited 1. You are not allowed to write down the

More information

PIM-SM Multicast Routing

PIM-SM Multicast Routing PIM-SM Multicast Routing Achmad Husni Thamrin SOI-ASIA OW 2004 Outline IP Multicast review Multicast forwarding review DVMRP and PIM-DM PIM-SM XORP 1 IP Multicast Review Many-to-many communication model

More information

Dynamics of Hot-Potato Routing in IP Networks

Dynamics of Hot-Potato Routing in IP Networks Dynamics of Hot-Potato Routing in IP Networks Jennifer Rexford AT&T Labs Research http://www.research.att.com/~jrex Joint work with Renata Teixeira (UCSD), Aman Shaikh (AT&T), and Timothy Griffin (Intel)

More information

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice Hierarchical Routing Our routing study thus far - idealization all routers identical network flat not true in practice scale: with 200 million destinations: can t store all destinations in routing tables!

More information

An Efficient Technique for Computing Shortest Path Tree in Dynamic Graphs

An Efficient Technique for Computing Shortest Path Tree in Dynamic Graphs An fficient Technique for Computing Shortest Path Tree in Dynamic Graphs Abstract Neeraj Kumar Maurya Lecturer TCT IT department Kandivli(),Mumbai.400101, India This paper proposes an efficient technique

More information

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First) Computer Networking Intra-Domain Routing RIP (Routing Information Protocol) & OSPF (Open Shortest Path First) IP Forwarding The Story So Far IP addresses are structured to reflect Internet structure IP

More information

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration Table of Contents Table of Contents... 1-1 1.1 Multicast Routing and Forwarding Overview... 1-1 1.1.1 Introduction to Multicast Routing and Forwarding... 1-1 1.1.2 RPF Mechanism... 1-2 1.1.3 Multicast

More information

ACEAIT On IP Network Traffic Engineering Performance of Modified Branch Exchange and Interior Point Method

ACEAIT On IP Network Traffic Engineering Performance of Modified Branch Exchange and Interior Point Method ACEAIT-5239 On IP Network Traffic Engineering Performance of Modified Branch Exchange and Interior Point Method Kairat Jaroenrat *, Tichakon Sumrongsub, Thanachot Thitivichienlert and Natdanai Suksaeng

More information

Data and Computer Communications. Chapter 12 Routing in Switched Networks

Data and Computer Communications. Chapter 12 Routing in Switched Networks Data and Computer Communications Chapter 1 Routing in Switched Networks Routing in Packet Switched Network Select route between end nodes Characteristics required: Correctness Simplicity Robustness Stability

More information

Network Performance Analysis of an Adaptive OSPF Routing Strategy Effective Bandwidth Estimation

Network Performance Analysis of an Adaptive OSPF Routing Strategy Effective Bandwidth Estimation International Telecommunication Symposium ITS 22, Natal, Brazil Network Performance Analysis of an Adaptive OSPF Routing Strategy Effective Bandwidth Estimation Tatiana B. Pereira and Lee L. Ling UNICAMP,

More information

Highway Dimension and Provably Efficient Shortest Paths Algorithms

Highway Dimension and Provably Efficient Shortest Paths Algorithms Highway Dimension and Provably Efficient Shortest Paths Algorithms Andrew V. Goldberg Microsoft Research Silicon Valley www.research.microsoft.com/ goldberg/ Joint with Ittai Abraham, Amos Fiat, and Renato

More information

CSE 461 Routing. Routing. Focus: Distance-vector and link-state Shortest path routing Key properties of schemes

CSE 461 Routing. Routing. Focus: Distance-vector and link-state Shortest path routing Key properties of schemes CSE 46 Routing Routing Focus: How to find and set up paths through a network Distance-vector and link-state Shortest path routing Key properties of schemes Application Transport Network Link Physical Forwarding

More information

Associative version of the Ramalingam incremental algorithm for the dynamic all-pairs shortest-path problem

Associative version of the Ramalingam incremental algorithm for the dynamic all-pairs shortest-path problem Bull. Nov. Comp. Center, Comp. Science, 40 (2016), 75 86 c 2016 NCC Publisher Associative version of the Ramalingam incremental algorithm for the dynamic all-pairs shortest-path problem A. S. Nepomniaschaya

More information

Internet Traffic Engineering

Internet Traffic Engineering Internet Traffic Engineering by Optimizing OSPF Weights Bernard Fortz Service de Mathématiques de la Gestion Institut de Statistique et de Recherche Opérationnelle Université Libre de Bruxelles Brussels,

More information

ETSF10 Internet Protocols Routing on the Internet

ETSF10 Internet Protocols Routing on the Internet ETSF10 Internet Protocols Routing on the Internet 2013, Part 2, Lecture 1.2 Jens Andersson (Kaan Bür) Routing on the Internet Unicast routing protocols (part 2) [ed.5 ch.20.3] Multicast routing, IGMP [ed.5

More information

Incremental A. S. Koenig and M. Likhachev Georgia Institute of Technology College of Computing Atlanta, GA skoenig,

Incremental A. S. Koenig and M. Likhachev Georgia Institute of Technology College of Computing Atlanta, GA skoenig, Incremental A S. Koenig and M. Likhachev Georgia Institute of Technology College of Computing Atlanta, GA 30312-0280 skoenig, mlikhach @cc.gatech.edu Abstract Incremental search techniques find optimal

More information

EEC-684/584 Computer Networks

EEC-684/584 Computer Networks EEC-684/584 Computer Networks Lecture 14 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of last lecture Internetworking

More information

Introduction xvii. Assessment Test xxxiii

Introduction xvii. Assessment Test xxxiii Contents at a Glance Introduction xvii Assessment Test xxxiii Chapter 1 The Components of a Juniper Networks Router 1 Chapter 2 Interfaces 61 Chapter 3 Protocol-Independent Routing 107 Chapter 4 Routing

More information

Firewall Simulation COMP620

Firewall Simulation COMP620 Firewall Simulation COMP620 Firewall Simulation The simulation allows participants to configure their own simulated firewalls using Cisco-like syntax. Participants can take benign or malicious actions

More information

Quality of Service (QoS)

Quality of Service (QoS) Quality of Service (QoS) The Internet was originally designed for best-effort service without guarantee of predictable performance. Best-effort service is often sufficient for a traffic that is not sensitive

More information

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Network Layer PREPARED BY AHMED ABDEL-RAOUF Network Layer PREPARED BY AHMED ABDEL-RAOUF Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on receiving side, delivers segments to transport

More information

Review: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues

Review: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues Review: Routing in Packet Networks Shortest Path lgorithms: ijkstra s & ellman-ford Routing: Issues How are routing tables determined? Who determines table entries? What info used in determining table

More information

A FRAMEWORK FOR PERFORMANCE CHARACTERIZATION AND ENHANCEMENT OF THE OSPF ROUTING PROTOCOL

A FRAMEWORK FOR PERFORMANCE CHARACTERIZATION AND ENHANCEMENT OF THE OSPF ROUTING PROTOCOL A FRAMEWORK FOR PERFORMANCE CHARACTERIZATION AND ENHANCEMENT OF THE OSPF ROUTING PROTOCOL H. El-Sayed, M. Ahmed, M. Jaseemuddin, D. Petriu UAE University, Al-Ain P.O.Box, UAE, helsayed@uaeu.ac.ae, CIENA

More information

CSE 461: Bridging LANs. Last Topic

CSE 461: Bridging LANs. Last Topic CSE 461: Bridging LANs Last Topic Medium Access Control (MAC) protocols Part of the Link Layer At the heart of Local Area Networks (LANs) How do multiple parties share a wire or the air? Random access

More information

Graphs. Tessema M. Mengistu Department of Computer Science Southern Illinois University Carbondale Room - Faner 3131

Graphs. Tessema M. Mengistu Department of Computer Science Southern Illinois University Carbondale Room - Faner 3131 Graphs Tessema M. Mengistu Department of Computer Science Southern Illinois University Carbondale tessema.mengistu@siu.edu Room - Faner 3131 1 Outline Introduction to Graphs Graph Traversals Finding a

More information

Adaptive Load Balancing Using MPLS

Adaptive Load Balancing Using MPLS Adaptive Load Balancing Using MPLS Riikka Susitaival, Jorma Virtamo and Samuli Aalto Networking Laboratory Helsinki University of Technology Content Introduction Objectives of research Proposed algorithms

More information

BTEC Level 3 Extended Diploma

BTEC Level 3 Extended Diploma BTEC Level 3 Extended Diploma Unit 9 Computer Network Routing and Routing Protocols BTEC Level 3 Extended Diploma Introduction to Routing Routing is the process that a router uses to forward packets toward

More information

COM-208: Computer Networks - Homework 6

COM-208: Computer Networks - Homework 6 COM-208: Computer Networks - Homework 6. (P22) Suppose you are interested in detecting the number of hosts behind a NAT. You observe that the IP layer stamps an identification number sequentially on each

More information

LS Example 5 3 C 5 A 1 D

LS Example 5 3 C 5 A 1 D Lecture 10 LS Example 5 2 B 3 C 5 1 A 1 D 2 3 1 1 E 2 F G Itrn M B Path C Path D Path E Path F Path G Path 1 {A} 2 A-B 5 A-C 1 A-D Inf. Inf. 1 A-G 2 {A,D} 2 A-B 4 A-D-C 1 A-D 2 A-D-E Inf. 1 A-G 3 {A,D,G}

More information

OSPF Incremental SPF

OSPF Incremental SPF The Open Shortest Path First (OSPF) protocol can be configured to use an incremental SPF algorithm for calculating the shortest path first routes. Incremental SPF is more efficient than the full SPF algorithm,

More information

Topic: Multicast routing

Topic: Multicast routing Topic: Multicast routing What you will learn Broadcast routing algorithms Multicasting IGMP Multicast routing algorithms Multicast routing in the Internet Multicasting 1/21 Unicasting One source node and

More information

Routing in packet-switching networks

Routing in packet-switching networks Routing in packet-switching networks Circuit switching vs. Packet switching Most of WANs based on circuit or packet switching Circuit switching designed for voice Resources dedicated to a particular call

More information

Address Translation. Map IP addresses into physical addresses destination host next hop router

Address Translation. Map IP addresses into physical addresses destination host next hop router Address Translation Map IP addresses into physical addresses destination host next hop router Techniques encode physical address in host part of IP address table-based ARP table of IP to physical address

More information

CSE 123: Computer Networks

CSE 123: Computer Networks CSE 123: Computer Networks Homework 3 Out: 11/19 Due: 11/26 Instructions 1. Turn in a physical copy at the beginning of the class on 11/26 2. Ensure the HW cover page has the following information clearly

More information

CSC 401 Data and Computer Communications Networks

CSC 401 Data and Computer Communications Networks CSC 401 Data and Computer Communications Networks Link Layer, Switches, VLANS, MPLS, Data Centers Sec 6.4 to 6.7 Prof. Lina Battestilli Fall 2017 Chapter 6 Outline Link layer and LANs: 6.1 introduction,

More information

Routing in Delay Tolerant Networks (2)

Routing in Delay Tolerant Networks (2) Routing in Delay Tolerant Networks (2) Primary Reference: E. P. C. Jones, L. Li and P. A. S. Ward, Practical Routing in Delay-Tolerant Networks, SIGCOMM 05, Workshop on DTN, August 22-26, 2005, Philadelphia,

More information

Overview 4.2: Routing

Overview 4.2: Routing Overview 4.2: Routing Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph A 6 1

More information

Antonio Cianfrani. Access Control List (ACL) Part I

Antonio Cianfrani. Access Control List (ACL) Part I Antonio Cianfrani Access Control List (ACL) Part I Index ACL? How to configure Standard ACL Extended ACL Named ACL Limiting the vty access ACL (1/3) Control lists applied to traffic incoming in / outgoing

More information

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan Internet Protocol: Routing Algorithms Srinidhi Varadarajan Routing Routing protocol Goal: determine good path (sequence of routers) thru network from source to dest. Graph abstraction for routing algorithms:

More information

Lecture 8. Network Layer (cont d) Network Layer 1-1

Lecture 8. Network Layer (cont d) Network Layer 1-1 Lecture 8 Network Layer (cont d) Network Layer 1-1 Agenda The Network Layer (cont d) What is inside a router Internet Protocol (IP) IPv4 fragmentation and addressing IP Address Classes and Subnets Network

More information

Optimising OSPF Routing for Link Failure Scenarios

Optimising OSPF Routing for Link Failure Scenarios Optimising OSPF Routing for Link Failure Scenarios Sadiq M. Sait, Mohammed H. Sqalli, Syed Asadullah Computer Engineering Department King Fahd University of Petroleum & Minerals Dhahran 31261, Saudi Arabia

More information

Chapter 12. Routing and Routing Protocols 12-1

Chapter 12. Routing and Routing Protocols 12-1 Chapter 12 Routing and Routing Protocols 12-1 Routing in Circuit Switched Network Many connections will need paths through more than one switch Need to find a route Efficiency Resilience Public telephone

More information

Defining Route Maps. Information About Route Maps CHAPTER

Defining Route Maps. Information About Route Maps CHAPTER 20 CHAPTER This chapter describes route maps and includes the following sections: Information About Route Maps, page 20-1 Licensing Requirements for Route Maps, page 20-3 Guidelines and Limitations, page

More information

Review. Some slides are in courtesy of J. Kurose and K. Ross

Review. Some slides are in courtesy of J. Kurose and K. Ross Review The Internet (IP) Protocol Datagram format IP fragmentation ICMP: Internet Control Message Protocol NAT: Network Address Translation Routing in the Internet Intra-AS routing: RIP and OSPF Inter-AS

More information

Computer Networks and the internet. Daniel Graham Ph.D

Computer Networks and the internet. Daniel Graham Ph.D Computer Networks and the internet Daniel Graham Ph.D 1.1 What Is the Internet? The Internet is a computer network that interconnects hundreds of millions of computing devices throughout the world. As

More information

Lecture 4 Wide Area Networks - Routing

Lecture 4 Wide Area Networks - Routing DATA AND COMPUTER COMMUNICATIONS Lecture 4 Wide Area Networks - Routing Mei Yang Based on Lecture slides by William Stallings 1 ROUTING IN PACKET SWITCHED NETWORK key design issue for (packet) switched

More information

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ Lecture 5: Network Layer Reference: Chapter 5 - Computer Networks, Andrew S. Tanenbaum, 4th Edition, Prentice Hall, 2003. Contents The

More information

Top-Down Network Design

Top-Down Network Design Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Original slides by Cisco Press & Priscilla Oppenheimer Selection Criteria for Switching and Routing Protocols Network traffic

More information

Advanced Topics in Routing

Advanced Topics in Routing Advanced Topics in Routing EE122 Fall 2012 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and UC

More information

ICS 351: Today's plan. distance-vector routing game link-state routing OSPF

ICS 351: Today's plan. distance-vector routing game link-state routing OSPF ICS 351: Today's plan distance-vector routing game link-state routing OSPF distance-vector routing game 1. prepare a list of all neighbors and the links to them, and the metric for each link 2. create

More information

A Connectionless Approach to Intra- and Inter-Domain Traffic Engineering

A Connectionless Approach to Intra- and Inter-Domain Traffic Engineering A Connectionless Approach to Intra- and Inter-Domain Traffic Engineering Hema T. Kaur, Shivkumar Kalyanaraman ECSE Department, Rensselaer Polytechnic Institute, Troy, NY-12180 {hema,shivkuma}@networks.ecse.rpi.edu

More information

Basic Switch Organization

Basic Switch Organization NOC Routing 1 Basic Switch Organization 2 Basic Switch Organization Link Controller Used for coordinating the flow of messages across the physical link of two adjacent switches 3 Basic Switch Organization

More information

Multicast Troubleshooting

Multicast Troubleshooting Multicast Troubleshooting Denise Fish Fishburne Customer Proof of Concept Team Lead CCIE #2639, CCDE 2009:0014 BRKIPM-2264 Cisco Spark How Questions? Use Cisco Spark to chat with the speaker after the

More information

Principles of Wireless Sensor Networks. Routing, Zigbee, and RPL

Principles of Wireless Sensor Networks. Routing, Zigbee, and RPL http://www.ee.kth.se/~carlofi/teaching/pwsn-2011/wsn_course.shtml Lecture 8 Stockholm, November 11, 2011 Routing, Zigbee, and RPL Royal Institute of Technology - KTH Stockholm, Sweden e-mail: carlofi@kth.se

More information

5.2 Routing Algorithms

5.2 Routing Algorithms CEN445 Network Protocols and Algorithms Chapter 5 Network Layer 5. Routing Algorithms Dr. Mostafa Hassan Dahshan Department of Computer Engineering College of Computer and Information Sciences King Saud

More information

Configuring Networking Protocols

Configuring Networking Protocols 11 CHAPTER This chapter describes how to configure the ML-Series card for supported IP routing protocols. It is intended to provide enough information for a network administrator to get the protocols up

More information

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology internet technologies and standards Piotr Gajowniczek BGP (Border Gateway Protocol) structure of the Internet Tier 1 ISP Tier 1 ISP Google

More information

Hands-On IP Multicasting for Multimedia Distribution Networks

Hands-On IP Multicasting for Multimedia Distribution Networks Hands-On for Multimedia Distribution Networks Course Description This Hands-On course provides an in-depth look how IP multicasting works, its advantages and limitations and how it can be deployed to provide

More information

CS 421: COMPUTER NETWORKS SPRING FINAL May 21, minutes

CS 421: COMPUTER NETWORKS SPRING FINAL May 21, minutes CS 421: COMPUTER NETWORKS SPRING 2015 FINAL May 21, 2015 150 minutes Name: Student No: Show all your work very clearly. Partial credits will only be given if you carefully state your answer with a reasonable

More information

Unit 2 Packet Switching Networks - II

Unit 2 Packet Switching Networks - II Unit 2 Packet Switching Networks - II Dijkstra Algorithm: Finding shortest path Algorithm for finding shortest paths N: set of nodes for which shortest path already found Initialization: (Start with source

More information

Bit Index Explicit Replication (BIER) Multicasting in Transport Networks

Bit Index Explicit Replication (BIER) Multicasting in Transport Networks Bit Index Explicit Replication (BIER) Multicasting in Transport Networks A. Giorgetti(1), A. Sgambelluri(1), F. Paolucci(1), N. Sambo(1), P. Castoldi(1), F. Cugini(2) (1) Scuola Superiore Sant Anna, Pisa,

More information

Module 8. Routing. Version 2 ECE, IIT Kharagpur

Module 8. Routing. Version 2 ECE, IIT Kharagpur Module 8 Routing Lesson 27 Routing II Objective To explain the concept of same popular routing protocols. 8.2.1 Routing Information Protocol (RIP) This protocol is used inside our autonomous system and

More information

ETSF10 Internet Protocols Routing on the Internet

ETSF10 Internet Protocols Routing on the Internet ETSF10 Internet Protocols Routing on the Internet 2012, Part 2, Lecture 1.2 Kaan Bür, Jens Andersson Routing on the Internet Unicast routing protocols (part 2) [ed.4 ch.22.4] [ed.5 ch.20.3] Forwarding

More information