P2P VoD Systems: Modelling and Performance

Similar documents
Modeling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks

Stochastic Analysis and File Availability Enhancement for BT-like File Sharing Systems

BitTorrent Fairness Analysis

Analysis of Peer-Assisted Video-on-Demand Systems with Scalable Video Streams

A new caching policy for cloud assisted Peer-to-Peer video on-demand services

Abandonment and its Impact on P2P VoD Streaming

Toward Efficient On-Demand Streaming with BitTorrent

Chunk Scheduling Strategies In Peer to Peer System-A Review

Abandonment and its Impact on P2P VoD Streaming

Performance Improvements of Peer-to-Peer File Sharing

Designing a Tit-for-Tat Based Peer-to-Peer Video-on-Demand System

Joint-Family: Enabling Adaptive Bitrate Streaming in Peer-to-Peer Video-on-Demand

The Design Trade-offs of BitTorrent-like File Sharing Protocols

Performance Analysis and Improvement for BitTorrent-like File Sharing Systems

Adaptive Server Allocation for Peer-assisted VoD

Scalability of the BitTorrent P2P Application

BitTorrent and CoolStreaming

THE PEER-TO-PEER (P2P) paradigm has proved to be

Impact of Inner Parameters and Overlay Structure on the Performance of BitTorrent

Flow-Level Analysis of Load Balancing in HetNets and Dynamic TDD in LTE

Delft University of Technology Parallel and Distributed Systems Report Series. Bandwidth Allocation in BitTorrent-like VoD Systems under Flashcrowds

Lecture 5: Performance Analysis I

T-Chain: A General Incentive Scheme for Cooperative Computing

Local and Global Stability of Symmetric Heterogeneously- Delayed Control Systems

BiToS: Enhancing BitTorrent for Supporting Streaming Applications

CS 43: Computer Networks BitTorrent & Content Distribution. Kevin Webb Swarthmore College September 28, 2017

An algorithm for Performance Analysis of Single-Source Acyclic graphs

Application-Layer Protocols Peer-to-Peer Systems, Media Streaming & Content Delivery Networks

Performance and Scalability of Networks, Systems, and Services

Dynamic resource allocation for virtual path connections

A Trace Study of BitTorrent P2P File Distribution with Downloading-Side Performance Measurement and Analysis

P2P content distribution Jukka K. Nurminen

Overlay and P2P Networks. Introduction and unstructured networks. Prof. Sasu Tarkoma

DIT - University of Trento Performance Evaluation of Overlay Content Distribution Systems

Do incentives build robustness in BitTorrent?

Understanding the impact of VCR operations in P2P VoD systems

inria , version 1-6 Sep 2006

Bandwidth Trading in Unstructured P2P Content Distribution Networks

P2P Applications. Reti di Elaboratori Corso di Laurea in Informatica Università degli Studi di Roma La Sapienza

Fundamentals of Queueing Models

Serving Niche Video-on-Demand Content in a Managed P2P Environment

A STUDY OF THE PERFORMANCE TRADEOFFS OF A TRADE ARCHIVE

Peer-Cached Content in Peer-Assisted Video-on-Demand Systems

Modeling, Analysis and Improvement for BitTorrent-Like File Sharing Networks

Delay Bounds of Peer-to-Peer Video Streaming

Page 1. How Did it Start?" Model" Main Challenge" CS162 Operating Systems and Systems Programming Lecture 24. Peer-to-Peer Networks"

Robustness of BitTorrent-like VoD Protocols

10. Network dimensioning

P2P content distribution

Multimedia Streaming. Mike Zink

Efficiency of Data Distribution in BitTorrent-Like Systems

Content Overlays (continued) Nick Feamster CS 7260 March 26, 2007

Media Streaming in the Internet - BitVampire

Understanding and Deconstructing BitTorrent Performance

P2P Applications. Reti di Elaboratori Corso di Laurea in Informatica Università degli Studi di Roma La Sapienza Canale A-L Prof.ssa Chiara Petrioli

PEER-TO-PEER (P2P)applications have shown their popularity

Scheduling Algorithms to Minimize Session Delays

VIDEO streaming over the Internet is already a widely deployed

Research Article Modeling and Simulation Based on the Hybrid System of Leasing Equipment Optimal Allocation

BitTorrent-Like Protocols for Interactive Access to VoD Systems

Network-Adaptive Video Coding and Transmission

CIS 1.5 Course Objectives. a. Understand the concept of a program (i.e., a computer following a series of instructions)

From synchronous models to distributed, asynchronous architectures

Assessing the Efficiency of a P2P Video Client

Interactive Design and Visualization of Urban Spaces using Geometrical and Behavioral Modeling

Episode 4. Flow and Congestion Control. Baochun Li Department of Electrical and Computer Engineering University of Toronto

The Delicate Tradeoffs in BitTorrent-like File Sharing Protocol Design

The Increase of the Instability of Networks due to Quasi-Static Link Capacities

The Fundamentals of Economic Dynamics and Policy Analyses: Learning through Numerical Examples. Part II. Dynamic General Equilibrium

Designing a Tit-for-Tat Based Peer-to-Peer Video-on-Demand System

Lecture 17: Peer-to-Peer System and BitTorrent

Reduction of Periodic Broadcast Resource Requirements with Proxy Caching

TCP and BBR. Geoff Huston APNIC

Effective Utilization of User Resources in PA-VoD Systems with Channel Heterogeneity

PERFORMANCE OF PREMIUM SERVICE IN QOS IP NETWORK

ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND STREAMING SYSTEMS

TCP and BBR. Geoff Huston APNIC

Performance Analysis of Non-stationary Peer-assisted VoD Systems

improving the performance and robustness of P2P live streaming with Contracts

Changing the Unchoking Policy for an Enhnaced BitTorrent

Markov Chains and Multiaccess Protocols: An. Introduction

Connection-Level Scheduling in Wireless Networks Using Only MAC-Layer Information

Understanding Pull-based Method Efficiency in Peer-to-Peer Live Video Streaming over Mesh Networks

Intelligent Energy Aware Networks - a Content Perspective

Spectrum Allocation for Smooth Video Delivery over Cognitive Radio Networks

Peer to Peer Networks

Outline. CS 6776 Evolutionary Computation. Numerical Optimization. Fitness Function. ,x 2. ) = x 2 1. , x , 5.0 x 1.

A window-based, server-assisted P2P network for VoD services with QoE guarantees

SALSA: Super-Peer Assisted Live Streaming Architecture

AutoTune: Game-based Adaptive Bitrate Streaming in P2P-Assisted Cloud-Based VoD Systems

EE 122: Peer-to-Peer Networks

Traffic theory for the Internet and the future Internet

Peer-to-Peer Applications Reading: 9.4

Targeting Nominal GDP or Prices: Expectation Dynamics and the Interest Rate Lower Bound

ipass: Incentivized Peer-assisted System for Asynchronous Streaming

On Minimizing Packet Loss Rate and Delay for Mesh-based P2P Streaming Services

On the System Parameters of Peer-to-Peer Video Streaming with Network Coding

Video Splicing Techniques for P2P Video Streaming

CS 3516: Advanced Computer Networks

ITU Workshop on Performance, QoS and QoE. Dakar, Senegal, 19-March Erwin Dirckx

Transcription:

P2P VoD Systems: Modelling and Performance Samuli Aalto, Aalto University, Finland Pasi Lassila, Aalto University, Finland Niklas Raatikainen, HIIT, Finland Petri Savolainen, HIIT, Finland Sasu Tarkoma, HIIT, Finland UCB-IEOR Seminar 13 September 2010 UC Berkeley

Contents Peer-to-peer systems File sharing: fluid model File sharing: steady-state analysis File sharing: conclusions Video-on-demand: fluid model Video-on-demand: steady-state analysis Video-on-demand: steady-state synthesis Video-on-demand: conclusions 2

Fundamental principle Client/Server (CS) paradigm Clients download content from servers Clear distinction between the two roles Service capacity remains the same, while load increases When too many clients, transfer times explode Offered load bounded by this stability limit (for sure!) Peer-to-peer (P2P) systems Peers download pieces of content from other peers/seeds and simultaneously upload downloaded pieces to other peers Blurring of roles: peers not only act as clients (when downloading) but also serve other peers (when uploading) Service capacity scales with the offered load No stability limit (for sure?) 3

Applications P2P used commonly for file sharing (e.g. BitTorrent) and live streaming P2P video-ondemand (VoD): Alternative to client-server approaches (YouTube)? Under what conditions? 4

Quality of Service P2P file sharing Retrieve the whole file as soon as possible Retrieve pieces in any order Minimize the file transfer time P2P streaming Retrieve pieces at least at playback rate and in almost sequential order Minimize the startup delay (needed to fill the playout buffer) P2P video-on-demand Retrieve the whole file Retrieve pieces at least at playback rate and in almost sequential order Minimize the startup delay (needed to fill the playout buffer) 5

Why performance modelling? Scalability Is the system really scalable? Stability If not, where is the stability limit for the load? Performance When stable, is the performance sufficient? 6

Modelling aspects Dynamic population model describing the evolution of the peer population in the P2P system Peer arrival process steady arrival rate, smoothly attenuating arrival rate, or flash crowd? Efficiency of resource sharing utilization of a peer s upload capacity effect of the piece/peer selection policy number of parallel connections Selfishness / altruism part of peers are free-riders that do not want to share upload capacity Download and upload rates homogeneous or heterogeneous peer population? Number of permanent seeds correspond to servers in the client-server architecture 7

Contents Peer-to-peer systems File sharing: fluid model File sharing: steady-state analysis File sharing: conclusions Video-on-demand: fluid model Video-on-demand: steady-state analysis Video-on-demand: steady-state synthesis Video-on-demand: conclusions 8

Model for P2P file sharing Life span of a peer consists of two sequential phases: file transfer phase, during which the peers are called leechers sharing phase, during which the peers are called seeds Altruistic peers have a longer sharing phase than selfish peers Model by Qiu and Srikant (2004): deterministic fluid model (= system of differential equations) describing the system dynamics related to sharing of a single file x(t) = (average) number of leechers at time t y(t) = (average) number of non-permanent seeds at time t l x f(x,y) y g y 9

Assumptions Steady arrival process described by arrival rate l to transfer phase (arrivals per time unit) Efficiency described by upload utilization ratio h (belonging to (0,1]) Selfishness described by departure rate g from service phase (departures per time unit) Homogeneous peer population with download rate c (file transfers per time unit) and upload rate m (file transfers per time unit) No permanent seeds l x f(x,y) y g y 10

Fluid model Switched nonlinear system: Aggregate service rate: l x f(x,y) y g y 11

Contents Peer-to-peer systems File sharing: fluid model File sharing: steady-state analysis File sharing: conclusions Video-on-demand: fluid model Video-on-demand: steady-state analysis Video-on-demand: steady-state synthesis Video-on-demand: conclusions 12

Steady-state analysis Solve the equilibrium of the system by setting xʹ(t) = yʹ(t) = 0 in (1): Two cases considered separately: download-constrained system in equilibrium upload-constrained system in equilibrium Parameter space divided nicely in two complementary parts each of which has a unique equilibrium solution that are even globally stable by Qiu and Sang (2008) 13

Download-constrained system

Upload-constrained system

Deterministic model vs. stochastic simulations Source: Qiu and Srikant (2004) 16

Contents Peer-to-peer systems File sharing: fluid model File sharing: steady-state analysis File sharing: conclusions Video-on-demand: fluid model Video-on-demand: steady-state analysis Video-on-demand: steady-state synthesis Video-on-demand: conclusions 17

Conclusions from the P2P file sharing model Scalability System scalable in the whole parameter space by (6) and (10), in particular for any h > 0 Stability Consequently, system stable for any l > 0 Performance By Little s formula, the mean file transfer time is Thus, no real problems in performance if reasonable download and upload rates with respect to the mean file size The last approximation justified for the file sharing application (mainly due to the free retrieving order of pieces) 18

Contents Peer-to-peer systems File sharing: fluid model File sharing: steady-state analysis File sharing: conclusions Video-on-demand: fluid model Video-on-demand: steady-state analysis Video-on-demand: steady-state synthesis Video-on-demand: conclusions 19

Model for P2P VoD Life span of a peer consists of two overlapping phases: file transfer phase, during which the peers are called leechers watching phase, starting immediately after the initial buffering delay Altruistic peers become seeds after the file transfer phase if the watching phase still continues Model by Aalto et al. (2010): deterministic fluid model (= system of differential equations) describing the system dynamics related to sharing of a single video file x(t) = (average) number of leechers at time t y(t) = (average) number of non-permanent seeds at time t z l x f(x,y) y 1-z 20

Assumptions (1) Steady arrival process described by arrival rate l (arrivals per time unit) Efficiency described by upload utilization ratio h (belonging to (0,1]) Altruism described by probability z (for a peer to become a seed) Homogeneous peer population with download rate c (file transfers per time unit) and upload rate m (file transfers per time unit) Number of permanent seeds = k (belonging to {0,1,2, }) z l x f(x,y) 1-z y 21

Assumptions (2) Startup delay negligible (if video sufficiently long) Thus, the transfer phase and the playback phase start essentially at the same time Video watched at (fixed) playback rate Total watching time denoted by z Natural requirement: z > 1/c (since transfer rate always bounded by c) Playback quality problems if the transfer phase takes longer than z In this case, the playback phase ends as soon as the transfer is completed Selfish peers stay in the system until the end of the transfer phase while altruist peers stay until the end of the playback phase but no longer, which is a worst case scenario l x z f(x,y) 1-z y 22

Fluid model Switched nonlinear system: Aggregate service rate: z l x f(x,y) y 1-z 23

Contents Peer-to-peer systems File sharing: fluid model File sharing: steady-state analysis File sharing: conclusions Video-on-demand: fluid model Video-on-demand: steady-state analysis Video-on-demand: steady-state synthesis Video-on-demand: conclusions 24

Steady-state analysis Solve the equilibrium of the system by setting xʹ(t) = yʹ(t) = 0 in (13): Two cases considered separately: download-constrained system in equilibrium upload-constrained system in equilibrium Multiple solutions found Local stability analysis used to rule out some of them 25

Download-constrained system

Upload-constrained system (1)

Upload-constrained system (2) 28

Summary of the steady-state analysis (1) (24) (19) (23) (24) 29

Summary of the steady-state analysis (2) 30

Contents Peer-to-peer systems File sharing: fluid model File sharing: steady-state analysis File sharing: conclusions Video-on-demand: fluid model Video-on-demand: steady-state analysis Video-on-demand: steady-state synthesis Video-on-demand: conclusions 31

Steady-state synthesis (1) 32

Steady-state synthesis (2) If If transfer rate < playback rate, i.e. playback quality problems Number of leechers and seeds well estimated by (x 0,y 0 ): transfer rate > playback rate, i.e. sufficient playback quality If further DL constrained system (x d,y d ) Otherwise UL constrained system (x u,y u ) 33

Deterministic model vs. stochastic and BitTorrent simulations

Contents Peer-to-peer systems File sharing: fluid model File sharing: steady-state analysis File sharing: conclusions Video-on-demand: fluid model Video-on-demand: steady-state analysis Video-on-demand: steady-state synthesis Video-on-demand: conclusions 35

Conclusions from the P2P VoD model Scalability System scalable in the whole parameter space by the synthesis, in particular for any h > 0 Stability Consequently, system stable for any l > 0 Performance Playback quality problems if the efficiency parameter h is too small On the other hand, performance even scales (= good quality for all l) if the efficiency parameter h is sufficiently large Transfer rates for DL and UL constrained cases: 36

References 37