1 Transport Bandwidth Allocation, Intro to Network Layer 4/3/2012.

Slides:



Advertisements
Similar presentations
1 Traffic Engineering (TE). 2 Network Congestion Causes of congestion –Lack of network resources –Uneven distribution of traffic caused by current dynamic.
Advertisements

1 EL736 Communications Networks II: Design and Algorithms Class8: Networks with Shortest-Path Routing Yong Liu 10/31/2007.
The Structure of Networks with emphasis on information and social networks T-214-SINE Summer 2011 Chapter 8 Ýmir Vigfússon.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
5: DataLink Layer5-1 Asynchronous Transfer Mode: ATM r 1990’s/00 standard for high-speed (155Mbps to 622 Mbps and higher) Broadband Integrated Service.
Traffic Engineering Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 13.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
1 Network Layer: Host-to-Host Communication. 2 Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using.
Routing and Routing Protocols
On Self Adaptive Routing in Dynamic Environments -- A probabilistic routing scheme Haiyong Xie, Lili Qiu, Yang Richard Yang and Yin Yale, MR and.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
The Structure of Networks with emphasis on information and social networks T-214-SINE Summer 2011 Chapter 8 Ýmir Vigfússon.
The Routing & the IP network data link physical network data link physical network data link physical network data link physical network data link physical.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Distributed Quality-of-Service Routing of Best Constrained Shortest Paths. Abdelhamid MELLOUK, Said HOCEINI, Farid BAGUENINE, Mustapha CHEURFA Computers.
Network Layer Goals: understand principles behind network layer services: –routing (path selection) –dealing with scale –how a router works –advanced topics:
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jennifer Rexford Princeton University With Jiayue He, Rui Zhang-Shen, Ying Li,
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Routing and Routing Protocols Routing Protocols Overview.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
CCNA 1 Module 10 Routing Fundamentals and Subnets.
Dynamic Routing Protocol EIGRP Enhanced Interior Gateway Routing Protocol (EIGRP) is an advanced distance vector routing protocol developed by Cisco.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Network Layer introduction.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
1 Transport BW Allocation, and Review of Network Routing 11/2/2009.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
4: Network Layer4-1 Schedule Today: r Finish Ch3 r Collect 1 st Project r See projects run r Start Ch4 Soon: r HW5 due Monday r Last chance for Qs r First.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
1 Week 5 Lecture 2 IP Layer. 2 Network layer functions transport packet from sending to receiving hosts transport packet from sending to receiving hosts.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jiayue He, Rui Zhang-Shen, Ying Li, Cheng-Yen Lee, Jennifer Rexford, and Mung.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Forwarding.
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
1 Traffic Engineering By Kavitha Ganapa. 2 Introduction Traffic engineering is concerned with the issue of performance evaluation and optimization of.
Internet Traffic Engineering Motivation: –The Fish problem, congested links. –Two properties of IP routing Destination based Local optimization TE: optimizing.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
1 Network Transport Layer: Primal-Dual Resource Allocation; TCP in New Settings Y. Richard Yang 4/6/2016.
1 Transport Bandwidth Allocation 3/29/2012. Admin. r Exam 1 m Max: 65 m Avg: 52 r Any questions on programming assignment 2 2.
1 Network Transport Layer: TCP Analysis and BW Allocation Framework Y. Richard Yang 3/30/2016.
Prof. Alfred J Bird, Ph.D., NBCT Office – Science 3rd floor – S Office Hours – Monday and Thursday.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
1 Network Layer: Routing Distance Vector Protocols with Revisions and Link State Protocols Y. Richard Yang 4/13/2016.
Year 2 - Chapter 5/Cisco 3 - Module 5 Routing Protocols: IGRP.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Monday 3:00 to 4:00 and.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
1 Network Layer: Routing Distributed, Distance Vector Protocols Y. Richard Yang 4/11/2016.
INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723
Working at a Small-to-Medium Business or ISP – Chapter 6
Semester 3, Chapter 5 Allan Johnson
Routing and Routing Protocols: Routing Static
Network Layer Goals: Overview:
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing.
Routing and Routing Protocols: Routing Static
ECE453 – Introduction to Computer Networks
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing.
Network Layer: intro; Distance Vector Protocols
CCNA 2 JEOPARDY Module 6.
Presentation transcript:

1 Transport Bandwidth Allocation, Intro to Network Layer 4/3/2012

Admin. r Programming assignment 2 status 2

3 Recap: TCP CC Signaling TCP/RenoTCP/Vegas Congestion signal Dynamics Equilibrium loss rate p queueying delay T queueing

Recap: Global Resource Allocation Examples ObjectiveAllocation (x1, x2, x3) TCP/Reno TCP/Vegas1/32/3 Max Throughput011 Max-min½½½ Max sum log(x)1/32/3 Max sum of -1/(RTT 2 x) x1x1 x2x2 x3x3 C= 1

5 Recap: Resource Allocation Frameworks r Forward (design) engineering: m how to determine objective functions m given objective, how to design effective alg r Reverse (understand) engineering: m understand current protocols (what are the objectives of TCP/Reno, TCP/Vegas?)

6 Recap: Nash Bargain Solution Axioms m Pareto optimality m symmetry m invariance of linear transformation m independence of irrelevant alternatives => R T s x1x1 x2x2

7 Roadmap: Resource Allocation Frameworks r Forward (design) engineering: how to determine objective functions m given objective, how to design effective alg r Reverse (understand) engineering: m understand current protocols (what are the objectives of TCP/Reno, TCP/Vegas?)

8 A Two-Slide Summary of Constrained Convex Optimization Theory g(x) f(x) f(x) concave g(x) linear S is a convex set q S -Map each x in S, to [g(x), f(x)] -For each slope q (>=0), computes f(x) – q g(x) of all mapped [f(x), g(x)] q

9 A Two-Slide Summary of Constrained Convex Optimization Theory g(x) f(x) f(x) concave g(x) linear S is a convex set q1q1 q2q2 S -D(q) is called the dual; q (>= 0) are called prices in economics - According to optimization theory: when D(q) achieves minimum over all q (>= 0), then the optimization objective is achieved. -D(q) provides an upper bound on obj. q3q3

10 Dual of the Primal x1x1 x2x2 x3x3 1 1

11 Decomposition r Assume each link l has non-negative congestion signal q l, consider the dual D(q) x1x1 x2x2 x3x3 1 1

12 Distributed Optimization: User Problem r Given price signal per unit rate p f (=sum of q l along the path) flow f chooses rate x f to maximize: r Using the price signals, the optimization problem of each user is independent of each other!

13 Distributed Optimization: User Problem At equilibrium (i.e., at optimal), x f satisfies: How should flow f adjust x f locally?

14 Interpreting Congestion Measure x f (t) q l (t) q 2 (t)

15 Distributed Optimization: Network Problem The network (i.e., link l) adjusts the link signals q l (assume after all flows have picked their optimal rates given congestion signal)

16 Distributed Optimization: Network Problem how should link l adjust q l locally?

17 Decomposition r SYSTEM(U): r USER f : r NETWORK:

Outline r Bandwidth allocation framework m framework m Nash Bargaining Solution (NBS) m distributed computation m TCP/Reno, TCP/Vegas revisited 18

19 TCP/Reno Dynamics

20 TCP/Vegas Dynamics

21 Summary: TCP/Vegas and TCP/Reno r Pricing signal is queueing delay T queueing r Pricing signal is loss rate p

22 Summary: Resource Allocation Frameworks r Forward (design) engineering: m how to determine objective functions m given objective, how to design effective alg r Reverse (understand) engineering: m understand current protocols (what are the objectives of TCP/Reno, TCP/Vegas?) r Additional pointers: m

23 Network Layer r Transport packet from source to dest. r Network layer in every host, router Most basic functions: r Control plane: path determination and call setup m determine routes taken by packets from sources to destinations r Data plane: forwarding m move packets from router’s input port to router output port

24 Internet Network Layer: Protocols forwarding Network layer functions: Routing protocols path selection e.g., RIP, OSPF, BGP Network layer protocol (e.g., IP) addressing conventions packet format packet handling conventions Control protocols error reporting e.g. ICMP Transport layer Link layer physical layer Network layer Control protocols - router “signaling” e.g. RSVP

Data Plane: Forwarding routing and call setup

26 Control Plane: Routing Graph abstraction for the routing problem: r graph nodes are routers r graph edges are physical links m links have properties: delay, capacity, $ cost, policy Goal: determine “good” paths (sequences of routers) thru network from source to dest. Routing A E D CB F

27 Routing Design Space r Routing has a large design space m who decides routing? source routing: end hosts make decision network routing: networks make decision m how many paths from source s to destination d? multi-path routing single path routing m does the route(s) provide QoS? QoS best effort m will routing adapt to network traffic demand? adaptive routing static routing

28 Routing Design Space: User-based, Multipath, Adaptive r Routing has a large design space m who decides routing?  source routing: end hosts make decision network routing: networks make decision m how many paths from source s to destination d?  multi-path routing single path routing m does the route(s) provide QoS? QoS best effort m will routing adapt to network traffic demand?  adaptive routing static routing m …

29 User Optimal, Multipath, Adaptive r User optimal: users pick the shortest routes (selfish routing) Braess’s paradox

30 Bound on Price of Anarchy For a network with linear latency functions  total latency of user (selfish) routing for given traffic demand ≤ 4/3 total latency of network optimal routing for the traffic demand

31 Bound on Price of Anarchy r For any network with continuous, non- decreasing latency functions  total latency of user (selfish) routing for given traffic demand ≤ total latency of network optimal routing for twice traffic demand

32 Routing Design Space: Adaptive Routing r Routing has a large design space m who decides routing? source routing: end hosts make decision network routing: networks make decision m how many paths from source s to destination d? multi-path routing single path routing m does the route(s) provide QoS? QoS best effort m will routing adapt to network traffic demand? adaptive routing static routing

33 Routing: Single-Path, Adaptive Routing r Assume link costs reflect current traffic D A B C 0 2+e 1+e t=2 Solution: Link costs are a combination of current traffic intensity (dynamic) and topology (static). To improve stability, the static topology part should be large. Thus less sensitive to traffic; thus non- adaptive. D A B C 2+e e 1 t=1 0 Link costs reflect current traffic intensity D A B C 1 1+e e 0 e t=0 0 0 D A B C 2+e 0 e 0 1+e 1 t=3 0 D A B C e 1 1

34 r Routing has a large design space m who decides routing? source routing: end hosts make decision  network routing: networks make decision - (applications such as overlay and p2p are trying to bypass it) m how many paths from source s to destination d? multi-path routing  single path routing (with small amount of multipath) m does the route(s) provide QoS? QoS best effort m will routing adapt to network traffic demand? adaptive routing  static routing (mostly static; adjust in larger timescale) m … Routing Design Space: Internet

35 QoS Support of Network Routing Arch Network Architecture Internet ATM Service Model best effort CBR VBR ABR UBR Bandwidth none constant rate guaranteed rate guaranteed minimum none Loss no yes no Order no yes Timing no yes no Congestion feedback no (inferred via loss/delay) no congestion no congestion yes no Guarantees ? r Internet model being extended: Intserv, Diffserv m multimedia networking ATM: Asynchronous Transfer Mode; CBR: Constant Bit Rate; V: Variable; A: available; U: User

36 Outline  Recap  Network overview  Routing overview  Distance vector protocols

Distance Vector Routing r Positive costs assigned to network links r The path from a source to a destination chosen by the routing protocol is a shortest path among all possible paths r Basis of RIP, IGRP, EIGRP routing protocols r Conceptually, runs for each destination separately

Example: Cisco Proprietary Recommendation on Link Cost r Link metric: By default, k1=k3=1 and k2=k4=k5=0. The default composite metric for EIGRP, adjusted for scaling factors, is as follows: EIGRP : Enhanced Interior Gateway Routing Protocol

Example: EIGRP Link Cost r BW min is in kbps and the sum of delays are in 10s of microseconds. r Example r The bandwidth and delay for an Ethernet interface are 10 Mbps and 1ms, respectively. r The calculated EIGRP BW metric is as follows: m 256 × 10 7 /BW = 256 × 10 7 /10,000 m = 256 × m =

Backup Slides 40

41 Distance Vector Routing: Basic Idea r At node i, the basic update rule where - d i denotes the distance estimation from i to the destination, - N(i) is set of neighbors of node i, and - d ij is the distance of the direct link from i to j; assume positive i j destination

42 Outline  Recap  Control plane: routing overview  Distance vector protocols  synchronous Bellman-Ford (SBF)

43 Synchronous Bellman-Ford (SBF) r Nodes update in rounds: m there is a global clock; m at the beginning of each round, each node sends its estimate to all of its neighbors; m at the end of the round, updates its estimation A E D CB A B E C D

44 Outline  Network overview  Control plane: routing overview  Distance vector protocols  synchronous Bellman-Ford (SBF) - SBF/ 

45 SBF/  r Initialization (time 0): A E D CB

46 Example A E D CB A B C E D d(0)     0 Consider D as destination; d(t) is a vector consisting of estimation at each node at round t d(1)   d(2) d(3) d(4) Observation: d(0)  d(1)  d(2)  d(3)  d(4) =d*

47 A Nice Property of SBF: Monotonicity r Consider two configurations d(t) and d’(t) r If d(t)  d’(t) m i.e., each node has a higher estimate in one scenario (d) than in another scenario (d’), r then d(t+1)  d’(t+1) m i.e., each node has a higher estimate in d than in d’ after one round of synchronous update.

48 Correctness of SBF/   Claim: d i (h) is the length L i (h) of a shortest path from i to the destination using ≤ h hops m base case: h = 0 is trivially true  assume true for ≤ h, i.e., L i (h)= d i (h), L i (h-1)= d i (h-1), …

49 Correctness of SBF/   consider ≤ h+1 hops: since d i (h) ≤ d i (h-1)

50 Bellman Equation r We refer to these equations as Bellman equations (BE): where d D = 0. - SBF/  yields a shortest path solution to BE. - Does BE have a unique solution (i.e., the shortest path one)?

51 Uniqueness of Solution to BE r Assume another solution d, we will show that d = d* case 1: we show d  d* Since d is a solution to BE, we can construct paths as follows: for each i, pick a j which satisfies the equation; since d* is shortest, d  d* Dest. A E D CB

52 Uniqueness of Solution to BE Case 2: we show d ≤ d* assume we run SBF with two initial configurations: m one is d m another is SBF/  (d  ), -> monotonicity and convergence of SBF/  imply that d ≤ d*

53 Example: Latency Optimal Routing r Assume each link has a latency function l e (x): latency of link e when x amount of traffic goes through e, m e.g., prop. + 1/(  –x), where prop. is link propagation delay and  the link capacity r Objective: min  e x e l e (x e ) st l(x) = 1 l(x) = x total demand = 1

54 Network problem r As if the network maximizes a logarithmic utility function, but with constants (w f, f  F) chosen by the users

55 Three Optimization Problems r SYSTEM(U f ): r USER f (U f ; p f ) r NETWORK(w f )

56 Decomposition Theorem r There exist vectors p, w and x such that 1. w f = p f x f for f  F 2. w f solves USER f (U f ; p f ) 3. x solves NETWORK(w) r The vector x then also solves SYSTEM(U).

57 Another Decomposition r SYSTEM(U): r USER f (U f ; p f ) r NETWORK(w f )

58 Decomposition Theorem r There exist vectors p, w and x such that 1. w f = p f x f for f  F 2. w f solves USER f (U f ; p f ) 3. x solves NETWORK(w) r The vector x then also solves SYSTEM(U).