Comp 249 - Spring 2003 Delay Jitter Ketan Mayer-Patel.

Slides:



Advertisements
Similar presentations
Computer Networking Lecture 20 – Queue Management and QoS.
Advertisements

EE 4272Spring, 2003 Chapter 12 Congestion in Data Networks Effect of Congestion Control  Ideal Performance  Practical Performance Congestion Control.
NUS.SOC.CS5248 Ooi Wei Tsang 1 Adaptive Playout. NUS.SOC.CS5248 Ooi Wei Tsang 2 You are Here Network Encoder Sender Middlebox Receiver Decoder.
RTP: A Transport Protocol for Real-Time Applications Provides end-to-end delivery services for data with real-time characteristics, such as interactive.
1 NUS.SOC.CS5248 OOI WEI TSANG Playout Buffer Management.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) 1 Adaptive Playout.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
Voice Over Internet- Issues Dr. Abhay Karandikar Department of Electrical Engineering Indian Institute of Technology, Bombay. Dr. Abhay Karandikar Department.
Voice over the Internet (the basics) CS 7270 Networked Applications & Services Lecture-2.
1 Voice Over IP (VoIP) is a common technology for performing voice calls over the Internet. Voice Over IP (VoIP) is a common technology for performing.
Computer Networks Performance Metrics Advanced Computer Networks.
IP Telephony Project By: Liane Lewin Shahar Eytan Guided By: Ran Cohen - IBM Vitali Sokhin - Technion.
ACM Multimedia October 4, 2001 Real-time Voice Communication over the Internet Using Packet Path Diversity Yi Liang, Eckehard Steinbach, and Bernd Girod.
2001/02/15Chin-Kai Wu, CS, NTHU1 Adaptive Playout Mechanisms for Packetized Audio Applications in Wide-Area Networks Ramachandran Ramjee, Jim Kurose, Don.
Packet audio playout delay adjustment Performance bounds and algorithms Moon, Kurose, Towsley.
Adaptive Playout Scheduling Using Time-scale Modification Yi Liang, Nikolaus Färber Bernd Girod, Balaji Prabhakar.
An Empirical Study of Delay Jitter Management Policies D. Stone and K. Jeffay Computer Science Department University of North Carolina, Chapel Hill ACM.
Computer Networks: Performance Measures1 Computer Network Performance Measures.
Traffic Sensitive Active Queue Management - Mark Claypool, Robert Kinicki, Abhishek Kumar Dept. of Computer Science Worcester Polytechnic Institute Presenter.
Streaming Media. Unicast Redundant traffic Multicast One to many.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Streaming Video Gabriel Nell UC Berkeley. Outline Scalable MPEG-4 video – Layered coding method – Integrated transport-decoder buffer model RAP streaming.
Networks: Performance Measures1 Network Performance Measures.
Adaptive Playout Scheduling Using Time- scale Modification in Packet Voice Communications Yi J. Liang, Nikolaus Farber, Bernd Girod Information Systems.
RRAPID: Real-time Recovery based on Active Probing, Introspection, and Decentralization Takashi Suzuki Matthew Caesar.
Light-Weight Stream Synchronization Framework for Multimedia Collaborative Applications Agustín J. González Department of Electronics Engineering Federico.
CS :: Fall 2003 Layered Coding and Networking Ketan Mayer-Patel.
Traffic Management & QoS. Quality of Service (QoS) J The collective effect of service performances which determine the degree of satisfaction of a user.
Error Checking continued. Network Layers in Action Each layer in the OSI Model will add header information that pertains to that specific protocol. On.
An Adaptive Predictor for Media Playout Buffering Phillip DeLeon New Mexico State University Cormac J. Sreenan AT&T Labs ICASSP 99’
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Switching Techniques Student: Blidaru Catalina Elena.
Distributed Multimedia March 19, Distributed Multimedia What is Distributed Multimedia?  Large quantities of distributed data  Typically streamed.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
1 Queue Management Hamed Khanmirza Principles of Networking University of Tehran.
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
An Empirical Evaluation of VoIP Playout Buffer Dimensioning in Skype, Google Talk, and MSN Messenger Chen-Chi Wu, Kuan-Ta Chen, Yu-Chun Chang, and Chin-Laung.
1 Multimedia Communication Multimedia Systems(Module 5 Lesson 2) Summary: r Internet Phone Example m Making the Best use of Internet’s Best-Effort Service.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
CS :: Fall 2003 Media Scaling / Content Adaptation Ketan Mayer-Patel.
1. Performance Guarantees Introduction –by asking sources about flow behavior it is possible to construct networks that could guarantee performance for.
E0262 MIS - Multimedia Playback Systems Prof Pallapa Venkataram, Electrical Communication Engineering, Indian Institute of Science, Bangalore – ,
Queueing and Active Queue Management Aditya Akella 02/26/2007.
CS 453 Computer Networks Lecture 23 Network Management and Performance.
LOG Objectives  Describe some of the VoIP implementation challenges such as Delay/Latency, Jitter, Echo, and Packet Loss  Describe the voice encoding.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
1 1 July 28, Goal of this session is too have a discussion where we learn about the relevant data to help us understand the problem and design.
Advanced Technology Laboratories Practical Considerations for Smoothing Multimedia Traffic over Packet- Switched Networks Christos Tryfonas
Jon Turner Resilient Cell Resequencing in Terabit Routers.
Computer Networking Lecture 18 – More TCP & Congestion Control.
Ch 6. Multimedia Networking Myungchul Kim
We used ns-2 network simulator [5] to evaluate RED-DT and compare its performance to RED [1], FRED [2], LQD [3], and CHOKe [4]. All simulation scenarios.
Queuing Delay 1. Access Delay Some protocols require a sender to “gain access” to the channel –The channel is shared and some time is used trying to determine.
3GPP2 Evolution Workshop Multimedia Codecs and Protocols 3GPP2 TSG-C SWG1.2.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
Queue Scheduling Disciplines
RTP and playout delay compensation Henning Schulzrinne Dept. of Computer Science Columbia University Fall 2003.
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Distributed Systems Lecture 5 Time and synchronization 1.
Chapter 10 Congestion Control in Data Networks and Internets 1 Chapter 10 Congestion Control in Data Networks and Internets.
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 6 Multimedia Communication Across Networks.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer Timing Recovery.
E0262 MIS - Multimedia Playback Systems Prof Pallapa Venkataram, Electrical Communication Engineering, Indian Institute of Science, Bangalore – ,
Adaptive Playout.
Congestion Control, Quality of Service, & Internetworking
Presentation transcript:

Comp Spring 2003 Delay Jitter Ketan Mayer-Patel

Comp Spring 2003 What is jitter? Jitter: variation in delay –Can be measured as the variance of delay. Sender Reciever

Comp Spring 2003 Elements of Delay Packetization –Think of audio. Propagation –Physical transmission. Queuing –Routing, congestion, etc. –This is the part that is most variable. Synchronization –May need to wait for corresponding samples from other streams.

Comp Spring 2003 Elements of Delay SamplingPacketizationTransmission ReceptionDecompressSynchronizeDisplay Compress

Comp Spring 2003 Sources of Jitter In general, due to queuing effects. When queue is building… –Competing traffic inserted between successive packets of a stream. When queue is draining… –Probe compression.

Comp Spring 2003 Jitter Buffer In general, jitter is removed by buffering in the reciever. Sources of delay and jitter considered a black box.

Comp Spring 2003 Jitter Buffer SamplingPacketizationTransmission ReceptionDecompressSynchronizeDisplay Compress Usually here with hardware support. Usually here with software support.

Comp Spring 2003 Why? Why do we care about jitter anyway? –Smoothness of playback. –Inelastic media types. What is the cost of a jitter buffer? –Increased end-to-end latency. –When will we care about this? Interactive streams. Live streams. –Stored playback applications can afford the cost of larger jitter buffers.

Comp Spring 2003 Media Elasticity Extent to which presentation time of one ADU is dependent on presentation times of previous ADU’s. –Video Fairly elastic. –Audio Fairly inelastic

Comp Spring 2003 Jitter Buffer Design On one extreme: static jitter buffer. –Total delay budget held at some static amount. –If ADU arrives late, same as if lost (i.e., discard) –I-policy [Naylor82] On the other: constantly increasing buffer. –Every ADU is played. –Jitter buffer is adjusted to largest delay seen thus far. –E-policy

Comp Spring 2003 I-policy Establish jitter buffer on first ADU. p = t * r + off Use first ADU to calculate offset. p = playout time t = timestamp of ADU r = period of ADU clock off = jitter buffer offset –Solve for off for first ADU. –Add jitter allowance to off.

Comp Spring 2003 Example Variance allowance = 60 ms Media timestamp period = 30 ms First ADU: –Media Timestamp = 10 –System Clock = 1000 Solve for off: –1000 = 10 * 30 + off => off = 700 Add variance allowance –p = t *

Comp Spring 2003 I-policy Maintain queue of incoming ADU’s and schedule playback of head. Example: PacketTSArrivalTime a b c d e141185

Comp Spring 2003 I-policy Playback smoothness is achieved if arriving ADU’s delay average + max jitter is less than first ADU delay + jitter allowance. What happens if initial delay is unrepresentative?

Comp Spring 2003 E-policy Solve for off for every ADU. If late, adjust off. If early, queue. Again, maintain a queue and schedule playout of the head. Basically keep adjusting playout delay for the largest delay experienced so far. Accommodates jitter by definition.

Comp Spring 2003 E-policy PacketTSArrivalTime a b c d e141185

Comp Spring 2003 Adaptive Buffer Techniques Between E and I are adaptive techniques. Adaptively estimate delay variance. –Calculate off on a per ADU basis. –Maintain a weighted moving average for off. –Maintain a weighted moving average for variance of off. –Manage queue using off average + k * off variance where k is typically 2-4 p = t * r + (off + k * v)

Comp Spring 2003 Moving Averages off new estimate = off old estimate +  x (off observed – off old estimate ) v new estimate = v old estimate +  x (|off observed – off old estimate | – v old estimate ) or off new estimate =  off old estimate + (1 –  ) off observed v new estimate =   v old estimate + (1 –  ) x (|off observed – off old estimate |) or off new estimate = MIN(off observed in the recent past)

Comp Spring 2003 Adjusting Down Extending jitter buffer delay is easy. How do you make downward adjustments? Two basic techniques: –Play faster –Drop ADU’s

Comp Spring 2003 Adaptive Issues What should k be? –Depends on variance distribution. What should weighting coefficients be? –Tradeoff between stability and responsiveness. What about inelastic media? –Truncating audio frames or allowing space between audio frames causes problems.

Comp Spring 2003 Media Specific Techniques For audio, can take advantage of “talkspurt” structure. Make playout buffer adjustments in silence periods.

Comp Spring 2003 Talkspurt Example Talkspurt iTalkspurt i+1 abcdefgh Send Receive Playout off + kv off new + kv new

Comp Spring 2003 Agility vs. Stability Tradeoff between agile and stable. –Controlled by gain parameter in moving weighted filters. Agile –Weighs new measurements more than past measurements. –Reacts quickly to change. –Can react too quickly to transient changes. Stable –Weighs past measurements more than new measurements –Change in value bounded to small percentage of current value. –Takes a while to react to fundamental changes.

Comp Spring 2003 Kim and Noble 01 Proposes three different filters which adaptively vary the gain parameter. – Flip-flop: detects when to use an agile gain and when to use a stable gain. Control heuristics come from statistical process control world –Stability filter: adapts gain relative to current variance measure and recent variance range. –Error filter: adapts gain to reinforce “good” estimation behavior. Concludes that FF filter works best in fairly wide spectrum of applications. Work done in the mobile domain but very applicable to all areas of networking.