A Hybrid Model of the Akamai Adaptive Streaming Control System



Similar documents
A Mathematical Model of the Skype VoIP Congestion Control Algorithm

OPTIMIZING FAIRNESS OF HTTP ADAPTIVE STREAMING IN CABLE NETWORKS

An Experimental Investigation of the Congestion Control Used by Skype VoIP

17: Queue Management. Queuing. Mark Handley

Using TrueSpeed VNF to Test TCP Throughput in a Call Center Environment

Web Load Stress Testing

The Feasibility of Supporting Large-Scale Live Streaming Applications with Dynamic Application End-Points

Low-rate TCP-targeted Denial of Service Attack Defense

Network Performance Monitoring for Applications Using EXPAND.

Latency on a Switched Ethernet Network

Content Delivery Networks. Shaxun Chen April 21, 2009

Analysis of Internet Transport Service Performance with Active Queue Management in a QoS-enabled Network

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

SDN-based Application-Aware Networking on the Example of YouTube Video Streaming

Video Recording in the Cloud: Use Cases and Implementation We Deliver the Future of Television

STANDPOINT FOR QUALITY-OF-SERVICE MEASUREMENT

TCP, Active Queue Management and QoS

Analysis and modeling of YouTube traffic

Impact of Control Theory on QoS Adaptation in Distributed Middleware Systems

Lab 3: Evaluating Application Performance across a WAN

Performance of UMTS Code Sharing Algorithms in the Presence of Mixed Web, and FTP Traffic

Pull versus Push Mechanism in Large Distributed Networks: Closed Form Results

Final for ECE374 05/06/13 Solution!!

Testing Packet Switched Network Performance of Mobile Wireless Networks IxChariot

The network we see so far. Internet Best Effort Service. Is best-effort good enough? An Audio Example. Network Support for Playback

Why Congestion Control. Congestion Control and Active Queue Management. Max-Min Fairness. Fairness

Software Stacks for Mixed-critical Applications: Consolidating IEEE AVB and Time-triggered Ethernet in Next-generation Automotive Electronics

Testing & Assuring Mobile End User Experience Before Production. Neotys

Serving Media with NGINX Plus

4.2: Multimedia File Systems Traditional File Systems. Multimedia File Systems. Multimedia File Systems. Disk Scheduling

Robust Router Congestion Control Using Acceptance and Departure Rate Measures

Delivering reliable VoIP Services

Application Level Congestion Control Enhancements in High BDP Networks. Anupama Sundaresan

Politecnico di Torino. Porto Institutional Repository

Master s Thesis. Design, Implementation and Evaluation of

Personalizing the Home Network Experience using Cloud-Based SDN

QoS Measurements Methods and Tools

Performance of Cisco IPS 4500 and 4300 Series Sensors

EXPERIMENTAL STUDY FOR QUALITY OF SERVICE IN VOICE OVER IP

Kaltura On-Prem Evaluation Package - Getting Started

itvsense Probe M-301/M-304

Linux 2.4 Implementation of Westwood+ TCP with rate-halving: A Performance Evaluation over the Internet

Ring Protection: Wrapping vs. Steering

Top 10 Tips for z/os Network Performance Monitoring with OMEGAMON Session 11899

Traffic Control Functions in ATM Networks Byung G. Kim Payoff

Active Queue Management of TCP Flows with Self-scheduled Linear Parameter Varying Controllers

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

Petri Net Models for Supply Chain Operational Management and Performance Evaluation

Sources: Chapter 6 from. Computer Networking: A Top-Down Approach Featuring the Internet, by Kurose and Ross

Windows Server Performance Monitoring

Optimization of Supply Chain Networks

Exposing the Technical and Commercial Factors Underlying Internet Quality of Experience. Don Bowman NANOG 60 January 6, 2014

D. SamKnows Methodology 20 Each deployed Whitebox performs the following tests: Primary measure(s)

Streamit s audio streaming solutions for dummies

LotServer Deployment Manual

Managing Central Monitoring in Distributed Systems

Discrete-Event Simulation

Configuring Your Computer and Network Adapters for Best Performance

Content Delivery Networks

Luca De Cicco, Ing., PhD

D1.2 Network Load Balancing

A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Computing

IxChariot Pro Active Network Assessment and Monitoring Platform

Requirements of Voice in an IP Internetwork

About the Stability of Active Queue Management Mechanisms

Earliest Due Date (EDD) [Ferrari] Delay EDD. Jitter EDD

MEASURING WORKLOAD PERFORMANCE IS THE INFRASTRUCTURE A PROBLEM?

Active Queue Management: Comparison of Sliding Mode Controller and Linear Quadratic Regulator

Mobile Multimedia Meet Cloud: Challenges and Future Directions

APPLICATION NOTE 209 QUALITY OF SERVICE: KEY CONCEPTS AND TESTING NEEDS. Quality of Service Drivers. Why Test Quality of Service?

Network Characteristics of Video Streaming Traffic

400B.2.1 CH2827-4/90/ $1.OO IEEE

How To Test Video Quality With Real Time Monitor

Performance Evaluation of Active Queue Management Using a Hybrid Approach

Giving life to today s media distribution services

Transcription:

A Hybrid Model of the Akamai Adaptive Streaming Control System Cape Town, South Africa 26 August 2014 L. De Cicco, G. Cofano and S. Mascolo Politecnico di Bari, Dipartimento di Ingegneria Elettrica e dell'informazione

AGENDA 1. Introduction 2. The Akamai Control System 3. Model and Properties 4. Experimental Validation 5. Conclusion

Introduction INTRODUCTION In video streaming a client streams the video over an HTTP connection from the server that stores it; Video streaming is becoming the largest fraction of the Internet traffic; With the stream-switching approach the video bitrate can be throttled on-the-fly to match the time-varying available bandwidth; At the client a buffer is employed to absorb instantaneous bandwidth variations;

Introduction THE STREAM-SWITCHING APPROACH The raw video is encoded in N different qualities (video levels or bitrates) which are stored at the server; Each level is divided into segments of fixed duration; At every segment download the Switching Controller selects the level of the next segment;

Introduction THE PLAYOUT BUFFER MODEL In a generic video streaming control system the playout buffer length, i.e. the total duration of video stored in the playout buffer, can be modelled as: q (t) = f(t) - d(t) filling rate: draining rate: f t = r(t) 1, ppppppp l(t) d(t)= 0, pppppp r(t) is the received rate, l(t) is the selected video bitrate

The Akamai Control System THE AKAMAI STREAM-SWITCHING CONTROL SYSTEM Motivation: why are we considering the Akamai stream-switching control system? it is a leading CDN operator whose platform is employed by several streaming platforms, including Livestream; it presents some interesting and perhaps unique control features; however, the code is not open source, thus this work is based on a previous work of system identification! (see De Cicco, L. and Mascolo, S., An adaptive video streaming control system: Modeling, validation, and performance evaluation. IEEE/ACM Transactions on Networking)

The Akamai Control System THE AKAMAI STREAM-SWITCHING CONTROL SYSTEM The Akamai control system consists of two controllers: 1. the stream-switching controller, which selects the video level; 2. the playout buffer length controller, which aims at avoiding that the buffer gets empty (buffering events) by throttling the sending rate; Their behavior changes according to the logical phase in which the control system is. There are three phases: 1. the Buffering phase: entered to quickly fill the queue at the start or after a buffering event; 2. the Normal phase (periodically triggered): the sending rate is throttled to steer the buffer length to a target length; 3. the Greedy phase (periodically triggered): the sending rate is set to a much higher value than in the Normal phase to probe and estimate the available bandwidth;

The Akamai Control System THE AKAMAI STREAM-SWITCHING CONTROLLER The stream-switching controller: given the available bandwidth, selects the optimal video level l ooo (t) such that: estimated bandwidth l ooo t = aaaaaa l l L s. t. b (t) > 1 + S f l Safety margin S f > 0 is event-based: 1. level switch-up is triggered when b t > 1 + S f l i+1 2. level switch-down is triggered when q t < q d lower threshold

The Akamai Control System THE AKAMAI PLAYOUT BUFFER LENGTH CONTROLLER The playout buffer length controller throttles the sending rate to steer the buffer length to the target q T : T(t) is equal to: 1. T B > 1 (Buffering phase); 2. max (1 + q T q(t), T q m ) (Normal T phase); 3. T M > 2 (Greedy phase); the saturation block models the bottleneck link of bandwidth b(t)

Model and Properties MODELLING ASSUMPTIONS A piecewise constant bandwidth input function has been employed. It allows us to analyze any practical traffic scenario with a bottleneck link; The communication forward and backward delays from the client to the server and the actuation time-delay have been neglected; The safety factor S f, the queue threshold q d and the queue target q T have been assumed to be constant (in the reality they are time-varying);

Model and Properties THE HYBRID AUTOMATON Due to the state-dependent and event-triggered dynamics and the discontinuous elements the model has the form of the following hybrid automaton: The state x = i, r, q, τ, τ 1, τ 2 T : i (the video level index); r (the sending rate); q (the queue length); τ (the phases timer), τ 1 (time-varying duration of the Normal phase timer); τ 2 (time varying duration of the Greedy phase timer);

Model and Properties PROPERTIES Proposition 1: a necessary condition to permit a switch-up between two adjacent levels l i and l i+1 is that l i+1 l i T M. l i S f Remark: this condition ensures the reachability of all the video levels. Proposition 2: a sufficient condition for the boundedness of the playout buffer length q t is that τ 2 1 T m. τ 1 T M 1 Remark: large buffering is a waste of resources from the network point of view. It is prevented when this condition is satisfied. Proposition 3: let us assume that an actuation time-delay τ a occurs when a switch-down event is triggered and that B l 0. A sufficient condition to avoid buffering is that q d > (1 l 0 l i )τ a. Remark: thanks to this property the threshold q d can be tuned to ensure robustness against actuation time-delays.

Experimental Validation THE MODEL VALIDATION PROCEDURE the dynamics of the variables of the simulated model have been compared with the ones obtained through Internet experiments; the model has been simulated with the Matlab Hybrid Equations (HyEq) Toolbox; the experimental results have been obtained by playing the video Elephant s Dream, served by the Akamai server, on a Linux PC equipped with the traffic shaper tc to change the link capacity in real time; abrupt step-like bandwidth increases and decreases have been considered to validate, respectively, the switch-up and the switch-down case;

Experimental Validation THE SWITCH-UP CASE The model is quite accurate; The succession of the two phases is confirmed; The difference in the transient is due to the neglected actuation delay, which is present in the real system;

Experimental Validation THE SWITCH-DOWN CASE The model is quite accurate; The alternating dynamics due to phases are shown; Here, too, the difference in the transient is due to the neglected actuation delay;

Conclusions CONCLUSIONS A model of the Akamai stream-switching control system has been proposed; The model is in the form of a hybrid automaton; The model has been validated by comparing simulations and experimental results; We have provided insights on the parameters tuning by means of some key properties;

Questions?