ECE 599: Multimedia Networking Thinh Nguyen

Slides:



Advertisements
Similar presentations
CSCI-1680 Transport Layer II Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Advertisements

The Importance of Being TCP-Friendly Eiman Zolfaghari E190 – Professor Hatton May 2002 UDP TCP DCP.
2: Transport Layer 31 Transport Layer 3. 2: Transport Layer 32 TCP Flow Control receiver: explicitly informs sender of (dynamically changing) amount of.
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.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth Edition,Peterson.
Introduction 1 Lecture 14 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
Multirate Congestion Control Using TCP Vegas Throughput Equations Anirban Mahanti Department of Computer Science University of Calgary Calgary, Alberta.
1 Equation-Based Congestion Control for Unicast Applications Sally Floyd, Mark Handley, Jitendra Padhye & Jorg Widmer August 2000, ACM SIGCOMM Computer.
Modeling TCP Throughput Jeng Lung WebTP Meeting 11/1/99.
1 Lecture 10: TCP Performance Slides adapted from: Congestion slides for Computer Networks: A Systems Approach (Peterson and Davis) Chapter 3 slides for.
Transport Layer 3-1 Transport Layer r To learn about transport layer protocols in the Internet: m TCP: connection-oriented protocol m Reliability protocol.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Third Ed.,Peterson.
Transport Layer Transport Layer: TCP. Transport Layer 3-2 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional.
Transport Layer 3-1 Transport Layer r To learn about transport layer protocols in the Internet: m TCP: connection-oriented protocol m Reliability protocol.
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, TCP Increase/Decrease.
CSE 124 Networked Services Fall 2009 B. S. Manoj, Ph.D 10/20/20091CSE 124 Networked Services Fall 2009 Some.
1 Design study for multimedia transport protocol in heterogeneous networks Haitao Wu; Qian Zhang; Wenwu Zhu; Communications, ICC '03. IEEE International.
Announcement Project 2 out –Much harder than project 1, start early! Homework 2 due next Tu.
1 TCP latency modeling. 2 Q: How long does it take to receive an object from a Web server after sending a request? r TCP connection establishment r data.
TCP Friendliness CMPT771 Spring 2008 Michael Jia.
Performance Enhancement of TFRC in Wireless Ad Hoc Networks Travis Grant – Mingzhe Li, Choong-Soo Lee, Emmanuel.
Data Communication and Networks
Medium Start in TCP-Friendly Rate Control Protocol CS 217 Class Project Spring 04 Peter Leong & Michael Welch.
Advanced Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth.
Introduction 1 Lecture 14 Transport Layer (Congestion Control) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
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.
Congestion control for multimedia Henning Schulzrinne Dept. of Computer Science Columbia University Fall 2003.
A Simulation of Adaptive Packet Size in TCP Congestion Control Zohreh Jabbari.
Network LayerII-1 RSC Part III: Transport Layer 3. TCP Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part.
Transport Layer1 Reliable Transfer Ram Dantu (compiled from various text books)
TFRC: TCP Friendly Rate Control using TCP Equation Based Congestion Model CS 218 W 2003 Oct 29, 2003.
3: Transport Layer3b-1 TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 r full duplex data: m bi-directional data flow in same connection m MSS: maximum.
Datagram Congestion Control Protocol
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
TCP. TCP ACK generation [RFC 1122, RFC 2581] Event at Receiver Arrival of in-order segment with expected seq #. All data up to expected seq # already.
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.
1 Advanced Transport Protocol Design Nguyen Multimedia Communications Laboratory March 23, 2005.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
-Mayukh, clemson university1 Project Overview Study of Tfrc Verification, Analysis and Development Verification : Experiments. Analysis : Check for short.
Transport Layer3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
Transport Layer3-1 Transport Layer If you are going through Hell Keep going.
@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 ICCCN 2003 Modelling TCP Reno with Spurious Timeouts in Wireless Mobile Environments Shaojian Fu School of Computer Science University of Oklahoma.
Chapter 3 outline 3.1 Transport-layer services
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
CS 1652 Jack Lange University of Pittsburgh
TCP: Overview RFCs: 793, 1122, 1323, 2018, 2581 full duplex data:
Chapter 3 outline 3.1 transport-layer services
The Transport Layer (TCP)
Chapter 6 TCP Congestion Control
COMP 431 Internet Services & Protocols
CS 268: Lecture 6 Scott Shenker and Ion Stoica
Chapter 3 outline 3.1 Transport-layer services
CS1652 TCP Jack Lange University of Pittsburgh
Review: UDP demultiplexing TCP demultiplexing Multiplexing?
TCP Westwood(+) Protocol Implementation in ns-3
TCP Friendly Rate Control (TFRC): Protocol Specification RFC3448bis
The University of Adelaide, School of Computer Science
RAP: Rate Adaptation Protocol
TCP Throughput Modeling
Transportation Layer.
15-744: Computer Networking
Transport Layer: Congestion Control
Chapter 3 outline 3.1 Transport-layer services
Chapter 3 Transport Layer
Flow Control.
Presentation transcript:

ECE 599: Multimedia Networking Thinh Nguyen TFRC: TCP Friendly Rate Control using TCP Equation Based Congestion Model ECE 599: Multimedia Networking Thinh Nguyen

References S. Floyd, J. Padhye, J.Widmer “Equation Based Congestion Control for Unicast Applications”, Sigcomm 2000 J. Padhye, V.Firoiu, D. Towsley, J. Kurose” Modeling TCP Throughput: a Simple Model and its Empirical Validation” Sigcomm 98

Internet Transport Protocols UDP No congestion control No reliability – no retransmission of lost packets Small throughput and delay fluctuation (jitter) TCP Congestion control Reliability – automatic retransmission Large throughput and delay fluctuations Multimedia Protocols Small throughput and delay fluctuation Fair with TCP No need for retransmission

TCP Bandwidth Model Goal: Estimate TCP bandwidth based on the loss rates and round trip times

TCP Behavior Evolution of window size over time Loss occurs TDP: triple duplicate period

Detail view of TDP model

Estimated Bandwidth : Loss rate : Bandwidth (throughput) : Round trip time

Derivation of Define : The number of packets sent in period : The first lost packet in period : The round where the loss occurs

Derivation of Now, we just need to figure out and Now,

Derivation of : Round trip time of the j-th round of TDPi Now,

Derivation of

Derivation of

More Accurate Model Round trip delay R (measured at source) Packet size s (measured at source) Packet loss (congestion) rate p (fed back by rcv each RTT) Retransmission time out tRTO (measured at source)

TFRC (TCP-Friendly Rate Control) How does TFRC relate to TCP Model? Sender receives the feedback packet loss event rate p from receiver every RTT Sender calculates new value of allowed sending rate; it increases/decreases current value to match the calculated rate. In so doing, TFRC behaves like any other TCP Reno session (same equation); it produced the same external effects

TFRC Continues Sender: measures various parameters; calculates the TCP-like rate corresponding to the measured parameters. Receiver: provides feedback to sender to allow it to calculate RTT; also calculates loss event rate p. The p rate computation critical for performance of TFRC. Average Loss Interval: weighted average of loss rate over the last N loss intervals (loss interval = interval of packets between loss episodes)

Calculate loss rates: Sliding window Lost packet P = 2/8 = .25 P=1/8

Calculate loss rates: Average loss interval

EstimatedRTT = (1- )*EstimatedRTT + *SampleRTT TCP Round Trip Time EstimatedRTT = (1- )*EstimatedRTT + *SampleRTT Exponential weighted moving average influence of past sample decreases exponentially fast typical value:  = 0.125

TCP Round Trip Time

TimeoutInterval = EstimatedRTT + 4*DevRTT TCP Timeout Mimic TCP timeout computation EstimatedRTT plus “safety margin” large variation in EstimatedRTT -> larger safety margin first estimate of how much SampleRTT deviates from EstimatedRTT: DevRTT = (1-)*DevRTT + *|SampleRTT-EstimatedRTT| (typically,  = 0.25) Then set timeout value in the TFRC equation to TimeoutInterval = EstimatedRTT + 4*DevRTT

NS Simulation results: TCP SACK +TFRC fair sharing Normalized TCP Thr =1 means perfect fairness N TCP flows + N TFRC flows

TFRC less aggressive than TCP TFRC internally unevenly “fair”

TFRC results in lower throughput jitter than TCP – using RED queuing

TFRC results in lower throughput jitter than TCP – Using DropTail queuing

40 “long lived” flows simulation: the 40 flows start in the first 20 s. We show bottleneck queue dynamics Comment: TFRC (bottom) is as stable as TCP (top). TCP drop rate =4.9%; TFRC drop rate = 3.5%

Internet Measurements: 3 TCP connections – London to Berkeley Internet Measurements: 3 TCP connections – London to Berkeley. Throughput measured over 1 sec intervals TFRC much more stable than TCP

Conclusions TFRC is better than TCP for low throughput and delay jitter applications. TFRC shares bandwidth fairly with TCP Can be used in Multicast?