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.

Slides:



Advertisements
Similar presentations
Modelling and Stability of TCP Peter Key MSR Cambridge.
Advertisements

Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Michele Pagano – A Survey on TCP Performance Evaluation and Modeling 1 Department of Information Engineering University of Pisa Network Telecomunication.
Internet Protocols Steven Low CS/EE netlab.CALTECH.edu October 2004 with J. Doyle, L. Li, A. Tang, J. Wang.
1 TCP Congestion Control. 2 TCP Segment Structure source port # dest port # 32 bits application data (variable length) sequence number acknowledgement.
Lecturer: Namratha Vedire
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
TCP Congestion Control Dina Katabi & Sam Madden nms.csail.mit.edu/~dina 6.033, Spring 2014.
CS640: Introduction to Computer Networks Mozafar Bag-Mohammadi Lecture 3 TCP Congestion Control.
Congestion Control: TCP & DC-TCP Swarun Kumar With Slides From: Prof. Katabi, Alizadeh et al.
Mathematical models of the Internet Frank Kelly Hood Fellowship Public Lecture University of Auckland 3 April 2012.
Ahmed El-Hassany CISC856: CISC 856 TCP/IP and Upper Layer Protocols Slides adopted from: Injong Rhee, Lisong Xu.
Introduction 1 Lecture 14 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
TCP Stability and Resource Allocation: Part II. Issues with TCP Round-trip bias Instability under large bandwidth-delay product Transient performance.
A Game Theoretic Approach to Provide Incentive and Service Differentiation in P2P Networks John C.S. Lui The Chinese University of Hong Kong Joint work.
Transport Layer 3-1 Fast Retransmit r time-out period often relatively long: m long delay before resending lost packet r detect lost segments via duplicate.
Charge-Sensitive TCP and Rate Control Richard J. La Department of EECS UC Berkeley November 22, 1999.
Bandwidth sharing: objectives and algorithms Jim Roberts France Télécom - CNET Laurent Massoulié Microsoft Research.
TCP Stability and Resource Allocation: Part I. References The Mathematics of Internet Congestion Control, Birkhauser, The web pages of –Kelly, Vinnicombe,
Network Bandwidth Allocation (and Stability) In Three Acts.
High-performance bulk data transfers with TCP Matei Ripeanu University of Chicago.
TCP Congestion Control TCP sources change the sending rate by modifying the window size: Window = min {Advertised window, Congestion Window} In other words,
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
1 Chapter 3 Transport Layer. 2 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4.
Congestion Control for High Bandwidth-Delay Product Environments Dina Katabi Mark Handley Charlie Rohrs.
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Congestion Control In The Internet JY Le Boudec Fall
Lecture 17 Congestion Control; AIMD; TCP Reno 10/31/2013
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jennifer Rexford Princeton University With Jiayue He, Rui Zhang-Shen, Ying Li,
Transport Layer 4 2: Transport Layer 4.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
L14. Fair networks and topology design D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2015.
1 Transport BW Allocation, and Review of Network Routing 11/2/2009.
MaxNet NetLab Presentation Hailey Lam Outline MaxNet as an alternative to TCP Linux implementation of MaxNet Demonstration of fairness, quick.
High-speed TCP  FAST TCP: motivation, architecture, algorithms, performance (by Cheng Jin, David X. Wei and Steven H. Low)  Modifying TCP's Congestion.
Congestion Control in CSMA-Based Networks with Inconsistent Channel State V. Gambiroza and E. Knightly Rice Networks Group
Acknowledgments S. Athuraliya, D. Lapsley, V. Li, Q. Yin (UMelb) S. Adlakha (UCLA), J. Doyle (Caltech), K. Kim (SNU/Caltech), F. Paganini (UCLA), J. Wang.
Congestion Control for High Bandwidth-Delay Product Networks D. Katabi (MIT), M. Handley (UCL), C. Rohrs (MIT) – SIGCOMM’02 Presented by Cheng.
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.
Transport Layer3-1 TCP throughput r What’s the average throughout of TCP as a function of window size and RTT? m Ignore slow start r Let W be the window.
June 4, 2003EE384Y1 Demand Based Rate Allocation Arpita Ghosh and James Mammen {arpitag, EE 384Y Project 4 th June, 2003.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Principles of Congestion Control Some slides.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
TCP transfers over high latency/bandwidth networks & Grid DT Measurements session PFLDnet February 3- 4, 2003 CERN, Geneva, Switzerland Sylvain Ravot
Congestion Control CS 168 Discussion Week 7. RECAP: How does TCP set rate? How much data can be outstanding? – min{RWND, CWND} RWND: do not overload the.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP Congestion Control.
CS 268: Lecture 5 (TCP Congestion Control) Ion Stoica February 4, 2004.
@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 Network Transport Layer: TCP Analysis and BW Allocation Framework Y. Richard Yang 3/30/2016.
1 Transport Bandwidth Allocation, Intro to Network Layer 4/3/2012.
@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.
Network Transport Layer: Congestion Control
Transport Protocols over Circuits/VCs
TCP Congestion Control
TCP Congestion Control
Lecture 19 – TCP Performance
TCP Congestion Control
TCP Congestion Control
Acknowledgement: slides include content from Hedera and MP-TCP authors
Understanding Congestion Control Mohammad Alizadeh Fall 2018
Transport Layer: Congestion Control
Network Transport Layer: TCP/Reno Analysis, TCP Cubic, TCP/Vegas
Presentation transcript:

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

3 Recap: TCP/Reno: Big Picture Time cwnd slow start congestion avoidance TD TD: Triple duplicate acknowledgements TO: Timeout TO ssthresh congestion avoidance TD congestion avoidance slow start congestion avoidance TD

4 Recap: TCP/Reno Queueing Dynamics r Consider congestion avoidance only Time cwnd congestion avoidance TD ssthresh bottleneck bandwidth filling buffer draining buffer There is a filling and draining of buffer process for each TCP flow.

5 Recap: TCP/Reno Throughput Modeling: Relating W with Loss Rate p r Consider congestion avoidance only Time cwnd congestion avoidance TD ssthresh Assume one packet loss (loss event) per cycle Total packets send per cycle = (W/2 + W)/2 * W/2 = 3W 2 /8 Thus p = 1/( 3W 2 /8) = 8/(3W 2 ) available bandwidth W/2 W

6 Recap: TCP/Reno Throughput Modeling =>

7 TCP/Reno Dynamics

8 queue size for every RTT { if W – W/RTT RTT min <  then W ++ if W – W/RTT RTT min >  then W -- } for every loss W := W/2 Recap: TCP/Vegas CA algorithm SS time window CA maintain a constant number of packets in the bottleneck buffer

9 TCP/Vegas Dynamics

10 TCP/Reno vs. TCP/Vegas TCP/RenoTCP/Vegas Congestion signal Dynamics (x’) Equilibrium loss rate p queueying delay T queueing Discussion: Why and why not TCP/Vegas?

11 Interpreting Congestion Measure r A congestion measure (loss/delay) is a signal from the network to the flows reflecting congestion r Another way to think of congestion measure is to think of it as “price” m price goes up as the rate to a link is getting close to capacity m the higher the “price”, the lower the rate

12 Interpreting Congestion Measure x f (t) q l (t) q 2 (t) TCP/Reno: TCP/Vegas:

Outline r Recap r Network bandwidth allocation framework m motivation 13

14 Motivation r So far our discussion is implicitly on a network with a single bottleneck link; this simplifies design and analysis: m efficiency/optimality (high utilization) fully utilize the bandwidth of the link m fairness (resource sharing) each flow receives an equal share of the link’s bandwidth

15 Network Resource Allocation r It is important to understand and design protocols for a general network topology m how will TCP allocate resource in a general topology? m how should resource be allocated in a general topology?

16 Example: TCP/Reno Rates x1x1 x2x2 x3x3 Rate: x 1 = 0.26 x 2 = x 3 = 0.74 C= 1

17 Example: TCP/Vegas Rates x1x1 x2x2 x3x3 Rates : x 1 = 1/3 x 2 = x 3 = 2/3 C= 1

18 Example: Maximize Throughput x1x1 x2x2 x3x3 Optimal: x 1 = 0 x 2 = x 3 = 1 C= 1

Example: Max-min Fairness r Max-min fairness: maximizes the throughput of the flow receiving the minimum (of resources) Justification: John Rawls, A Theory of Justice (1971) This is a resource allocation scheme used in Asynchronous Transfer Mode and some other network resource allocation proposals 19

20 Example: Max-Min x1x1 x2x2 x3x3 Rates: x 1 = x 2 = x 3 = 1/2 C= 1

21 Network Resource Allocation Using Utility Functions r A set of flows F r If x f is the rate of flow f, then the utility to flow f is U f (x f ), where U f (x f ) is a concave utility function. r Maximize aggregate utility, subject to capacity constraints

22 Example: Proportional Fairness x1x1 x2x2 x3x3 Optimal: x 1 = 1/3 x 2 = x 3 = 2/3 C= 1

23 Example 3: a Utility Function x1x1 x2x2 x3x3 Optimal: x 1 = 0.26 x 2 = x 3 = 0.74 C= 1

Summary: Allocation 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

Questions r Forward engineering: which allocation objective when allocation by optimization? r Reverse engineering: what are the objectives of TCP/Reno, TCP/Vegas? 25 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)

Outline r Recap r Bandwidth allocation framework m Motivation m Forward: Nash Bargaining Solution (NBS) 26

27 Network Bandwidth Allocation Using Nash Bargain Solution (NBS) r High level picture m given the feasible set of bandwidth allocation, we want to pick an allocation point that is efficient and fair r The determination of the allocation point should be based on “first principles” (axioms)

28 Network Bandwidth Allocation: Feasible Region x1x1 x2x2 x3x3 C= 1 x1x1 x3x3 x2x2

29 Nash Bargain Solution (NBS) r Assume a finite, convex feasible set in the first quadruant r Axioms m Pareto optimality impossibility of increasing the rate of one user without decreasing the rate of another m symmetry a symmetric feasible set yields a symmetric outcome m invariance of linear transformation the allocation must be invariant to linear transformations of users’ rates m independence of irrelevant alternatives assume s is an allocation when feasible set is R, s  T  R, then s is also an allocation when the feasible set is T R T s x1x1 x2x2

30 Nash Bargain Solution (NBS) r Surprising result by John Nash (1951) m the rate allocation point is the feasible point which maximizes r This is equivalent to maximize r In other words, assume each flow f has utility function log(x f ) r I will give a proof for F = 2 m think about F > 2 R x1x1 x2x2

31 Nash Bargain Solution s x1 * x2 r Assume s is the feasible point which maximizes x1 * x2 r Scale the feasible set so that s is at (1, 1) r Question: after the transformation, is s still the point maximizing x1*x2? x2x2 x1x1 1 1

32 Nash Bargain Solution x1 = x2 s x1 + x2 = 2 x1 * x2 = 1 Question: after the transformation, is there any feasible point with x1 + x2 > 2? P Q x1x1 x2x2 R 1 1

33 Nash Bargain Solution x1 = x2 s x1 + x2 = 2 x1 * x2 = 1 r Consider the symmetric rectangle U containing the original feasible set -> According to symmetry and Pareto, s is the allocation when feasible set is U r According to independence of irrelevant alternatives, the allocation of R is s as well. x1x1 x2x2 R 1 1 U

34 NBS  Proportional Fairness  Allocation is proportionally fair if for any other allocation, aggregate of proportional changes is non-positive, e.g. if x f is a proportional-fair allocation, and y f is any other feasible allocation, then require

Summary: Allocation Schemes r Max throughput r Max-min r Proportional fair m NBS 35 x1x1 x3x3 x2x2

Questions r Forward engineering: which allocation objective when allocation by optimization? m NBS  Reverse engineering: what are the objectives of TCP/Reno, TCP/Vegas? 36 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)

37 Recall: Resource Allocation Framework r Maximize aggregate utility, subject to capacity constraints