On Transport Layer Mechanisms for Real-Time Application QoS 8 December 2005 Panagiotis Papadimitriou { } ComNet Lab Demokritos University.

Slides:



Advertisements
Similar presentations
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 2 TCP/IP Fundamentals.
Advertisements

RTP: A Transport Protocol for Real-Time Applications Provides end-to-end delivery services for data with real-time characteristics, such as interactive.
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
1 End to End Bandwidth Estimation in TCP to improve Wireless Link Utilization S. Mascolo, A.Grieco, G.Pau, M.Gerla, C.Casetti Presented by Abhijit Pandey.
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
TDC365 Spring 2001John Kristoff - DePaul University1 Internetworking Technologies Transmission Control Protocol (TCP)
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
End-to-End TCP-Friendly Streaming Protocol and Bit Allocation for Scalable Video Over Wireless Internet Fan Yang, Qian Zhang, Wenwu Zhu, and Ya-Qin Zhang.
Open Issues on TCP for Mobile Computing Ibrahim Matta Computer Science, Boston University Vassilis Tsaoussidis Computer Science, Northeastern University.
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.
Week 9 TCP9-1 Week 9 TCP 3 outline r 3.5 Connection-oriented transport: TCP m segment structure m reliable data transfer m flow control m connection management.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
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.
Data Communication and Networks
Efficient Internet Traffic Delivery over Wireless Networks Sandhya Sumathy.
1 ATP: A Reliable Transport Protocol for Ad-hoc Networks Sundaresan, Anantharam, Hseih, Sivakumar.
Medium Start in TCP-Friendly Rate Control Protocol CS 217 Class Project Spring 04 Peter Leong & Michael Welch.
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
Reliable Transport Layers in Wireless Networks Mark Perillo Electrical and Computer Engineering.
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 E2E Protocols (point-to-point)
L13: Sharing in network systems Dina Katabi Spring Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans.
1 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
EE 4272Spring, 2003 Chapter 17 Transport Protocols Connection-Oriented Transport Protocol  Reliable Network Service: Design Issues  Unreliable Network.
Gursharan Singh Tatla Transport Layer 16-May
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
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.
Principles of Congestion Control Congestion: informally: “too many sources sending too much data too fast for network to handle” different from flow control!
1 Impact of transmission errors on TCP performance (Nitin Vaidya)
Copyright 2002, S.D. Personick. All Rights Reserved.1 Telecommunications Networking II Topic 20 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
CA-RTO: A Contention- Adaptive Retransmission Timeout I. Psaras, V. Tsaoussidis, L. Mamatas Demokritos University of Thrace, Xanthi, Greece This study.
CSE679: Computer Network Review r Review of the uncounted quiz r Computer network review.
HighSpeed TCP for High Bandwidth-Delay Product Networks Raj Kettimuthu.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
TCP with Variance Control for Multihop IEEE Wireless Networks Jiwei Chen, Mario Gerla, Yeng-zhong Lee.
Wireless TCP. References r Hari Balakrishnan, Venkat Padmanabhan, Srinivasan Seshan and Randy H. Katz, " A Comparison of Mechanisms for Improving TCP.
Lecture 9 – More TCP & Congestion Control
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Principles of Congestion Control Some slides.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
Chapter 11.4 END-TO-END ISSUES. Optical Internet Optical technology Protocol translates availability of gigabit bandwidth in user-perceived QoS.
Flow Control in Multimedia Communication Multimedia Systems and Standards S2 IF Telkom University.
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
1 Advanced Transport Protocol Design Nguyen Multimedia Communications Laboratory March 23, 2005.
Rate/Congestion Control for Multimedia Streaming
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
1 Ad-hoc Transport Layer Protocol (ATCP) EECS 4215.
Chapter 9: Transport Layer
Instructor Materials Chapter 9: Transport Layer
Approaches towards congestion control
Chapter 3 outline 3.1 transport-layer services
Satellite TCP Lecture 19 04/10/02.
Chapter 3 outline 3.1 Transport-layer services
Congestion Control, Internet transport protocols: udp
RAP: Rate Adaptation Protocol
TCP Overview.
Transport Layer: Congestion Control
Chapter 3 outline 3.1 Transport-layer services
Computer Networks Protocols
Review of Internet Protocols Transport Layer
Impact of transmission errors on TCP performance
Presentation transcript:

On Transport Layer Mechanisms for Real-Time Application QoS 8 December 2005 Panagiotis Papadimitriou { } ComNet Lab Demokritos University of Thrace Xanthi, GREECE

ComNet Lab - 8 December 2005 Contents Introduction Real-time streaming requirements State-of-the-art transport mechanisms Real-time Performance Metric Performance of MPEG-4 video delivery / VoIP Scalable Streaming Video Protocol (SSVP) Real-time streaming with TCP over satellite links

ComNet Lab - 8 December 2005 Introduction A highly determinant feature of the Internet is its heterogeneity. Basic parameters of heterogeneity: Application Domain: Traditional Applications (e.g. HTTP, FTP) Real-Time Applications (e.g. multimedia streaming) Network Connections (Wired, Wireless) Protocols (e.g. TCP, UDP) Mechanisms dealing with congestion: Congestion control Congestion avoidance / Bandwidth estimation

ComNet Lab - 8 December 2005 Real-Time QoS Parameters End-to-end Delay Delay Variation Delay variation is usually caused by the variable queuing and processing delays on routers during periods of increased traffic and sometimes by routing changes. Delay variation is responsible for network jitter, which has unpleasant effects in a real-time application, as packets often reach the receiver later than required. Packet loss Packet loss is typically the result of excessive congestion on the network. In a heterogeneous wired/wireless environment, apart from congestion, hand-offs and fading channels may result in packet drops.

ComNet Lab - 8 December 2005 Delay and Jitter Guidelines for VoIP DelayEffect in perceived quality Less than 150 msDelay is not noticeable msAcceptable quality with slight speech impairments Over msUnacceptable delay, conversation is inefficient Delay VariationEffect in perceived quality Less than 40 msJitter is not noticeable msAcceptable quality with minor impairments Over 75 msUnacceptable quality, too much jitter

ComNet Lab - 8 December 2005 User Datagram Protocol (UDP) A real-time application has the option to run over TCP or UDP. UDP is a fast, lightweight protocol without any transmission or retransmission control. However, UDP has certain limitations: it does not incorporate any congestion control mechanism the design principles of UDP do not anticipate fairness, thus, any applications running over UDP are not fair The Internetworking functionality evolves towards punishing free- transmitting protocols

ComNet Lab - 8 December 2005 Transmission Control Protocol (TCP) The sliding window adjustments of TCP do not provide the regular flow required by real-time applications when transmitting data. Since standard TCP was designed for wired Internet, it does not perform well in heterogeneous wired/wireless environments. More precisely, TCP demonstrates some major shortfalls: ineffective bandwidth utilization unnecessary congestion-oriented responses to wireless link errors (e.g. fading channels) and operations (e.g. handoffs) The effect of these awkward conditions is long and varying delays, which damage the timely delivery of real-time data.

ComNet Lab - 8 December 2005 AIMD Congestion Control TCP-style additive-increase/multiplicative decrease (AIMD) is inappropriate for streaming media: TCP causes large, drastic rate changes Window Time Slow start Goal: Smooth rate adjustments

ComNet Lab - 8 December 2005 TCP-Friendly Protocols TCP-Friendly are TCP compatible protocols, which satisfy two primary objectives: achieve smooth window adjustments by reducing the window decrease ratio during congestion, and compete fairly with TCP flows by reducing the window increase factor according to a steady state TCP throughput equation Three representative TCP-Friendly protocols, which are highly advisable for real-time applications: TCP-Friendly Rate Control (TFRC) TCP-Real TCP Westwood

ComNet Lab - 8 December 2005 Contents Introduction Real-time streaming requirements State-of-the-art transport mechanisms Real-time Performance Metric Performance of MPEG-4 video delivery / VoIP Scalable Streaming Video Protocol (SSVP) Real-time streaming with TCP over satellite links

ComNet Lab - 8 December 2005 Real-Time Performance Metric Traditional performance metrics (e.g. throughput) do not effectively capture the bandwidth and delay characteristics of real-time traffic. In this context, Real-Time Performance metric is proposed:

ComNet Lab - 8 December 2005 Algorithm: Timely Received Packets # For each packet received with sequence number i, determine # whether it is a timely received packet or a delayed packet if threshold > 0 then set packetTime[i] = currentTime increase packetsReceived if i = 0 then increase timelyPackets else if packetTime[i] - PacketTime[i - 1] > threshold then increase delayedPackets end if set timelyPackets = packetsReceived - delayedPackets

ComNet Lab - 8 December 2005 Contents Introduction Real-time streaming requirements State-of-the-art transport mechanisms Real-time Performance Metric Performance of MPEG-4 video delivery / VoIP Scalable Streaming Video Protocol (SSVP) Real-time streaming with TCP over satellite links

ComNet Lab - 8 December 2005 MPEG Performance System Goodput Average Real-Time Performance Fairness Index

ComNet Lab - 8 December 2005 MPEG Performance vs. Buffer Size (1) TCP Reno TCP Vegas UDP

ComNet Lab - 8 December 2005 MPEG Performance vs. Buffer Size (2) Queue Limit (20 Flows) TCP Reno TCP Vegas UDP Queue Limit (40 Flows) TCP Reno TCP Vegas UDP

ComNet Lab - 8 December 2005 Simulation Topology for VoIP Evaluation

ComNet Lab - 8 December 2005 VoIP Performance System Goodput Average Real-Time Performance Delayed Pack.

ComNet Lab - 8 December 2005 VoIP Traffic Friendliness Goodput of 20 FTP flows Goodput of 60 FTP flows

ComNet Lab - 8 December 2005 Contents Introduction Real-time streaming requirements State-of-the-art transport mechanisms Real-time Performance Metric Performance of MPEG-4 video delivery / VoIP Scalable Streaming Video Protocol (SSVP) Real-time streaming with TCP over satellite links

ComNet Lab - 8 December 2005 The need for End-to-end Congestion Control Congestion control is mandatory and protocols which do not incorporate such mechanisms (i.e. UDP) have limited efficiency and potential. We need sophisticated congestion control that interacts efficiently with other flows on the Internet. Routers play a relatively passive role: they merely indicate congestion through packet drops or ECN. The end-systems perform the crucial role of responding appropriately to the congestion signals.

ComNet Lab - 8 December 2005 Where to implement congestion control? Application-level congestion control is difficult and not part of most applications’ core needs. Congestion control without reliability on top of TCP requires several modifications considering the TCP semantics and its reliance on cumulative acknowledgments. Implementing congestion control on top of UDP is more appropriate, due its unreliable and out-of-order delivery.

ComNet Lab - 8 December 2005 The outcome… A new transport protocol is needed, which would combine unreliable datagram delivery with built-in congestion control. This protocol would act as an enabling technology: new and existing applications could use it to timely transmit data without destabilizing the Internet.

ComNet Lab - 8 December 2005 SSVP Design Principles Scalable Streaming Video Protocol (SSVP) is a new transport protocol operating on top of UDP. SSVP is intended to support a plethora of streaming applications, which are capable of adjusting their transmission rate based on congestion feedback. The protocol incorporates end-to-end congestion control and does not rely on QoS functionality in routers, such as RED or ECN. The objective is to provide efficient and smooth rate control while maintaining friendliness with corporate flows.

ComNet Lab - 8 December 2005 SSVP Packet Header

ComNet Lab - 8 December 2005 SSVP: Server and Receiver Interaction SSVP acknowledges each datagram received by transmitting a control packet. Control packets: do not trigger retransmissions are effectively used in order to determine bandwidth and RTT estimates, and consequently properly negotiate and adjust the rate of the transmitted video stream. The receiver uses packet drops or re-ordering as congestion indicator. Consequently, congestion control is triggered, when: a packet is received carrying a sequence number greater than the expected sequence number the receiver does not acquire any packets within a timeout interval.

ComNet Lab - 8 December 2005 SSVP: Rate Adjustment (1) The desired scalability can be attained through various transcoding techniques, such as simulcast or layered adaptation. The receiver detects the state of congestion and determines the next transmission rate in terms of a pre-defined scale value: if no congestion is detected, the scale value is increased by 1 in case of congestion, the scale value is decreased by 1 In order to explore the available bandwidth, transmission initiates with the lower scale value and increases linearly.

ComNet Lab - 8 December 2005 SSVP: Rate Adjustment (2) The receiver uses control packets to periodically send feedback of reception statistics to the sender. Each control packet generated is updated with a scale value (through the field video scale) which signifies the proper transmission rate to the sender. The linear scale adjustments are automatically translated to gentle fluctuations in the transmission rate resulting in a smooth and regular video flow.

ComNet Lab - 8 December 2005 Simulation Topology for SSVP Evaluation

ComNet Lab - 8 December 2005 Experimental Video Scale Assignment Scale ValueAvg. Bit Rate (Kbps)

ComNet Lab - 8 December 2005 SSVP vs. UDP (1) MPEG-4 Goodput Average Real-Time Performance Delayed Packets

ComNet Lab - 8 December 2005 SSVP vs. UDP (2) Packet Loss Rate Queue Length at Router R3 Fairness Index

ComNet Lab - 8 December 2005 SSVP Friendliness Goodput of 30 FTP flows Goodput of 50 FTP flows

ComNet Lab - 8 December 2005 Contents Introduction Real-time streaming requirements State-of-the-art transport mechanisms Real-time Performance Metric Performance of MPEG-4 video delivery / VoIP Scalable Streaming Video Protocol (SSVP) Real-time streaming with TCP over satellite links

ComNet Lab - 8 December 2005 Characteristics of satellite links Geostationary Earth Orbit (GEO) Satellite systems exhibit: long latency (550ms) transmission errors or channel unavailability Low Earth Orbit (LEO) Satellite systems exhibit: relatively smaller delays ( ms) more variable delays Most types of satellite links exhibit bandwidth asymmetry, since they comprise: a high-capacity forward space link, and a low-bandwidth reverse space/terrestrial path

ComNet Lab - 8 December 2005 TCP Issues over Satellite Links TCP is dramatically affected by: Long delays Large delay-bandwidth products Transmission errors Long delays increase the duration of the Slow-Start phase: the sender often allocates a small portion of the available network resources the transmission of small amounts of data (e.g. web transfers) is dramatically affected, since the entire transfer may occur within the Slow-Start phase

ComNet Lab - 8 December 2005 Improving TCP-over-Satellite Larger congestion window (window scale option) Selective ACKs (SACK) Fast Recovery can only recover one packet loss per RTT SACK allows multiple packet recovery per RTT Delayed ACKs effectively reduce back traffic the delay adjustment is critical (an improper adjustment may increase transmission delay)

ComNet Lab - 8 December 2005 TCP-over-satellite Performance System Goodput Average Real-Time Performance Delayed Packets

ComNet Lab - 8 December 2005 TCP Performance vs. Error Rates (20 Flows) System Goodput Average Real-Time Performance Delayed Packets

ComNet Lab - 8 December 2005 Effect of Delayed ACKs (TCP SACK) System Goodput Average Real-Time Performance Delayed Packets

ComNet Lab - 8 December 2005 Thank you!