Network Protocols: Design and Analysis Polly Huang EE NTU

Slides:



Advertisements
Similar presentations
Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Advertisements

Michele Pagano – A Survey on TCP Performance Evaluation and Modeling 1 Department of Information Engineering University of Pisa Network Telecomunication.
The Importance of Being TCP-Friendly Eiman Zolfaghari E190 – Professor Hatton May 2002 UDP TCP DCP.
Transport Layer3-1 TCP AIMD multiplicative decrease: cut CongWin in half after loss event additive increase: increase CongWin by 1 MSS every RTT in the.
Congestion Control Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
Computer Networks Transport Layer. Topics F Introduction (6.1)  F Connection Issues ( ) F TCP (6.4)
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
Lecture 3  A round up of the most important basics I haven’t covered yet.  A round up of some of the (many) things I am missing out of this course (ATM,
Selfish Behavior and Stability of the Internet: A Game-Theoretic Analysis of TCP Presented by Shariq Rizvi CS 294-4: Peer-to-Peer Systems.
Presentation by Joe Szymanski For Upper Layer Protocols May 18, 2015.
Modeling of Web/TCP Transfer Latency Yujian Peter Li January 22, 2004 M. Sc. Committee: Dr. Carey Williamson Dr. Wayne Eberly Dr. Elena Braverman Department.
1 EE 627 Lecture 11 Review of Last Lecture UDP & Multimedia TCP & UDP Interaction.
TDC365 Spring 2001John Kristoff - DePaul University1 Internetworking Technologies Transmission Control Protocol (TCP)
Congestion Control Tanenbaum 5.3, /12/2015Congestion Control (A Loss Based Technique: TCP)2 What? Why? Congestion occurs when –there is no reservation.
RAP: An End-to-End Rate-Based Congestion Control Mechanism for Realtime Streams in the Internet Reza Rejai, Mark Handley, Deborah Estrin U of Southern.
WPI - Advanced Computer Network 1 Promoting the Use of End-to-End Congestion Control in the Internet IEEE/ACM Transactions on Networking, May Sally.
1 EE 689 Lecture 3 Review of Last Lecture UDP & Multimedia TCP & UDP Interaction.
1 689 Lecture 2 Review of Last Lecture Networking basics TCP/UDP review.
High-performance bulk data transfers with TCP Matei Ripeanu University of Chicago.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
Promoting the Use of End-to- End Congestion Control in the Internet Sally Floyd and Kevin Fall Presented by Scott McLaren.
ACN: TCP Friendly1 Promoting the Use of End-to-End Congestion Control in the Internet Sally Floyd and Kevin Fall IEEE/ACM Transactions on Networking May.
TCP Friendliness CMPT771 Spring 2008 Michael Jia.
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
Promoting the Use of End-to-End Congestion Control & Random Early Detection of Network Congestion.
TCP Congestion Control
CS :: Fall 2003 TCP Friendly Streaming Ketan Mayer-Patel.
Junxian Huang 1 Feng Qian 2 Yihua Guo 1 Yuanyuan Zhou 1 Qiang Xu 1 Z. Morley Mao 1 Subhabrata Sen 2 Oliver Spatscheck 2 1 University of Michigan 2 AT&T.
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.
Congestion control for multimedia Henning Schulzrinne Dept. of Computer Science Columbia University Fall 2003.
TFRC: TCP Friendly Rate Control using TCP Equation Based Congestion Model CS 218 W 2003 Oct 29, 2003.
1 On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows by Selma Yilmaz Ibrahim Matta Computer Science Department Boston University.
CSE679: Computer Network Review r Review of the uncounted quiz r Computer network review.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
Paper Review: Latency Evaluation of Networking Mechanisms for Game Traffic Jin, Da-Jhong.
Lecture 9 – More TCP & Congestion Control
What is TCP? Connection-oriented reliable transfer Stream paradigm
Promoting the Use of End-to-End Congestion Control in the Internet Sally Floyd and Kevin Fall IEEE-ACAM Transactions on Networking, 馬儀蔓.
TCP: Transmission Control Protocol Part II : Protocol Mechanisms Computer Network System Sirak Kaewjamnong Semester 1st, 2004.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
Network Protocols: Design and Analysis Polly Huang EE NTU
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
Peer-to-Peer Networks 13 Internet – The Underlay Network
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
CIS679: UDP and Multimedia r Review of last lecture r UDP and multimedia.
1 ICCCN 2003 Modelling TCP Reno with Spurious Timeouts in Wireless Mobile Environments Shaojian Fu School of Computer Science University of Oklahoma.
Sandeep Kakumanu Smita Vemulapalli Gnan
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
David Wetherall Spring 2000
Topics discussed in this section:
Chapter 3 outline 3.1 transport-layer services
COMP 431 Internet Services & Protocols
Misbehaving flows can be classified
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
CSE679: Multimedia and Networking
So far, On the networking side, we looked at mechanisms to links hosts using direct linked networks and then forming a network of these networks. We introduced.
IT351: Mobile & Wireless Computing
Chapter 6 TCP Congestion Control
“Promoting the Use of End-to-End Congestion Control in the Internet”
RAP: Rate Adaptation Protocol
TCP Throughput Modeling
TCP Congestion Control
EE 122: Lecture 10 (Congestion Control)
Project 3 Flow and congestion control
Transport Layer: Congestion Control
Congestion Michael Freedman COS 461: Computer Networks
Presentation transcript:

Network Protocols: Design and Analysis Polly Huang EE NTU

TCP Flows [Padhye98a] [Floyd99b]

[Padhye98a]

Polly Huang, NTU EE4 Key ideas define typical throughput for TCP flow in terms of loss rates, RTT, etc. why bother? –might define what’s “fair”: TCP friendliness –insight into what to expect from TCP first paper to consider some new things about TCP… (see next)

Polly Huang, NTU EE5 Context Series of increasingly complete models of TCP steady state performance –Floyd, 1991 –Mathis et al, 1997 –new contribution: considers TDP and timeouts Parallel line of research: modeling short connections: –Heidemann, Obrazcka, Touch 1997 –Cardwell, Savage, Anderson 1998 [Mathis97a, eqn 3]

Polly Huang, NTU EE6 Basic Approach model TCP in rounds –consider congestion avoidance (ignore slow- start) –each round is a flight of packets until their ACKs –model window size W model TDP: series of rounds followed by a drop and a Triple-Dup-ACK make assumptions where necessary –losses are i.i.d., but at end of round all pkts are lost solve for mean values using probability

Polly Huang, NTU EE7 Basic Approach, pictorially solve bandwidth via solving Y and A Y: number of segs sent in TDP A: duration of TDP in seconds A Y Y: A: round 1 round b … ()

Polly Huang, NTU EE8 Result for Triple-Dup-ACKs [Mathis97a, eqn 3] conclusion for triple-dup-ACK steady state (in segments): compare to Mathis et al’s earlier result (in bytes): [Padhye98a, eqn 20]

Polly Huang, NTU EE9 What About Timeouts? Z TO add Z TO to estimate timeouts

Polly Huang, NTU EE10 Modeling a Limited Window Define W max as the window limit What is performance if window limited? –data sent per round: W max –rounds until TDP: E[X] –so data sent in TDP = E[Y] = Wmax * E[X] / RTT

Polly Huang, NTU EE11 Back to B(p) with timeouts: with timeouts and limited windows: [Padhye98a, eqn 29] [Padhye98a, eqn 32]

Polly Huang, NTU EE12 Validation Ok, nice math, but does it really work? Validation approach: –set up bulk transfers –compare measured data vs. analysis with and without timeouts

Polly Huang, NTU EE13 Validation [Padhye98a, figs 7 & 9] (window limited)(non-window limited)

Polly Huang, NTU EE14 Insights and Results Users of this stuff –TCP friendly work –analytic-augmented simulation insights into TCP –timeouts are very frequent –why? get many burst error, TCP doesn’t recover very well from multiple loss in single RTT

Polly Huang, NTU EE15 Other observations xxx

[Floyd99b]

Polly Huang, NTU EE17 Key ideas xxx

Polly Huang, NTU EE18 Problem: Congestion Collapse [Floyd99b, figs 2&3] What was congestion collapse in [Jacobson88a]?  retransmitting packets it thought were lost (but they weren’t) What is cng. collapse for F&F?  lots of undelivered packets in the network (xxx) aggregate goodput TCP UDP offered and accepted TCP UDP accepted UDP offered aggregate goodput

Polly Huang, NTU EE19 F&F Congestion Collapse classical collapse: TCP retransmissions collapse from undelivered packets: –open-loop apps dump traffic into net –don’t react to congestion signals –example apps: RealPlayer, VOIP, etc. (these could be congestion reactive, but they traditionally haven’t been) why not just use fair queueing –breaks down with many many flows

Polly Huang, NTU EE20 Other Examples of Collapse classic collapse (unnecessary pkt retx) collapse from undelivered packets fragmentation based collapse –ex. retransmission unit >> loss unit increased control traffic collapse from stale packets –ex. sending audio that misses deadline  common thread: fewer useful bytes of data

Polly Huang, NTU EE21 How to fix problematic flows? pricing (but that’s a big change) per-flow queueing –pros: good isolation –cons: requires a lot of router state (per-flow) => slower routers F&F’s suggestions: –1) flows should be TCP friendly –2) identify the ones that aren’t and “punish” them—the “penalty box” potentally this requires less state (only need state for high bandwidth flows)

Polly Huang, NTU EE22 E2E Approach everyone should react to congestion signals if they don’t, we should make them :-)

Polly Huang, NTU EE23 TCP Friendliness What is good: TCP-friendly given R (RTT) and B (packet size), routers can identify conforming and non- conforming flows –requirements: tx rate need to observe for “long time” (>> RTT) need to know RTT, pkt size, drop rate

Polly Huang, NTU EE24 Flows that must be regulated Unresponsive: –fail to reduce load in response to increased loss Not TCP friendly –long-term usage exceeds that of TCP under same conditions Using disproportionate bandwidth –use disproportionately more bandwidth than other flows during congestion Assumptions: –We can monitor a flow’s arrival rate

Polly Huang, NTU EE25 Identifying non-TCP Friendly Flows Not TCP friendly: –use TCP model –B: packet size in bytes, p: packet drop rate –Better approximation in Padhye et al. paper –Problems: Needs bounds on packet sizes and RTTs

Polly Huang, NTU EE26 Identifying Unresponsive and Disporportionate Flows Flows are unresponsive if drops don’t cause rate reduction –p up by 4 => T down by 2 (if responsive) Flows are disporportionate if they use more bandwidth than others –T > 12000/sqrt(p) and T > ln(3n)/n

Polly Huang, NTU EE27 Other questions/observations? policing flows requires per-flow state, so what have we gained? –perhaps a simpler queueing discipline –but still a problem