Queueing Models for P2P Systems.  Extend classical queuing theory for P2P systems.  Develop taxonomy for different variations of these queuing models.

Slides:



Advertisements
Similar presentations
Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Advertisements

Introduction to Queuing Theory
Modeling and Dimensioning of Mobile Networks: from GSM to LTE
View-Upload Decoupling: A Redesign of Multi-Channel P2P Video Systems Keith Ross Polytechnic Institute of NYU.
TCOM 501: Networking Theory & Fundamentals
1 Part III Markov Chains & Queueing Systems 10.Discrete-Time Markov Chains 11.Stationary Distributions & Limiting Probabilities 12.State Classification.
Continuous Time Markov Chains and Basic Queueing Theory
Modelling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
 2003 G.L. Li and V. O.K. Li, The University of Hong Kong 1 Networks of Queues: Myth and Reality Guang-Liang Li and Victor O.K. Li The University of Hong.
Chap. 20, page 1051 Queuing Theory Arrival process Service process Queue Discipline Method to join queue IE 417, Chap 20, Jan 99.
1.(10%) Let two independent, exponentially distributed random variables and denote the service time and the inter-arrival time of a system with parameters.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Analysis of Using Broadcast and Proxy for Streaming Layered Encoded Videos Wilson, Wing-Fai Poon and Kwok-Tung Lo.
Modeling and analysis of BitTorrent-like P2P network Fan Bin Oct,1 st,2004.
RAIDs Performance Prediction based on Fuzzy Queue Theory Carlos Campos Bracho ECE 510 Project Prof. Dr. Duncan Elliot.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Queueing Theory: Part I
2003 Fall Queuing Theory Midterm Exam(Time limit:2 hours)
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Modeling and Analysis of Manufacturing Systems Session 2 QUEUEING MODELS January 2001.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
Queueing Theory.
Bandwidth Allocation in a Self-Managing Multimedia File Server Vijay Sundaram and Prashant Shenoy Department of Computer Science University of Massachusetts.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
CUHK Analysis of Movie Replication and Benefits of Coding in P2P VoD Yipeng Zhou Aug 29, 2012.
Lecture 14 – Queuing Systems
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
Introduction to Queuing Theory
Queueing Theory I. Summary Little’s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems  M/M/1  M/M/m  M/M/1/K  …
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Introduction to Queueing Theory
Network Design and Analysis-----Wang Wenjie Queueing System IV: 1 © Graduate University, Chinese academy of Sciences. Network Design and Analysis Wang.
Networks of Queues Plan for today (lecture 6): Last time / Questions? Product form preserving blocking Interpretation traffic equations Kelly / Whittle.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
1 Queueing Theory Frank Y. S. Lin Information Management Dept. National Taiwan University
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
1 Queuing Models Dr. Mahmoud Alrefaei 2 Introduction Each one of us has spent a great deal of time waiting in lines. One example in the Cafeteria. Other.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
Modeling and Analysis of Computer Networks
Queuing Networks Jean-Yves Le Boudec 1. Contents 1.The Class of Multi-Class Product Form Networks 2.The Elements of a Product-Form Network 3.The Product-Form.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Content caching and scheduling in wireless networks with elastic and inelastic traffic Group-VI 09CS CS CS30020 Performance Modelling in Computer.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Queuing Theory.  Queuing Theory deals with systems of the following type:  Typically we are interested in how much queuing occurs or in the delays at.
Chapter 5 Elementary Stochastic Analysis Prof. Ali Movaghar.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
Queueing Fundamentals for Network Design Application ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
QUEUING THEORY 1.  - means the number of arrivals per second   - service rate of a device  T - mean service time for each arrival   = ( ) Utilization,
Managerial Decision Making Chapter 13 Queuing Models.
Chapter 1 Introduction.
The Impact of Replacement Granularity on Video Caching
Queueing Theory What is a queue? Examples of queues:
B.Ramamurthy Appendix A
CPSC 531: System Modeling and Simulation
IV-2 Manufacturing Systems modeling
Cellular Digital Packet Data: Channel Availability
Queueing networks.
Queuing Theory III.
Queuing Theory III.
Carey Williamson Department of Computer Science University of Calgary
Queuing Theory III.
CSE 550 Computer Network Design
Queueing Theory Frank Y. S. Lin Information Management Dept.
Presentation transcript:

Queueing Models for P2P Systems

 Extend classical queuing theory for P2P systems.  Develop taxonomy for different variations of these queuing models.  Derive stability conditions for these models. Contents

 Jobs and service stations both arrive randomly,possibly correlated.  Following questions can be answered : 1.Necessary and sufficient conditions for stability 2.Performance of given workload and service parameters Introduction

Notations

 A/B/C/E/POLICY  M/M/(M/M)/FCFS  M/M/(M/M)/PS(k)  M/M/(-/-)  M/M/(-/+G)

Stability A p2p system is stable if its corresponding job- server process {n c (t),n s (t)} is positive recurrent Transition rates for M/M/(M/M)/FCFS systems ( n c, n s ) to ( n c + 1, n s ) = ƛ c ( n c, n s ) to ( n c - 1, n s ) = n s µ c ( n c, n s ) to ( n c, n s + 1 ) = ƛ s ( n c, n s ) to ( n c, n s - 1 ) = n s µ c

Quasi Birth Death Process  Quasi birth death process is CTMC that satisfies that : 1.It has a two dimensional state space union of l(n) where l(n) is called level. 2.A transition from (n1,i) to (n2,j) is not possible if | n1- n2| >= 2  It is called homogeneous if transition rates are independent of n

M/M/(M/M)/FCFS system is homogeneous QBD process. Applying results from QBD process, stability condition for M/M/(M/M)/FCFS is ρ c < ρ v

Stability for M/M/(M/M)/PS(k) system M/M/(M/M)/PS(k) system is nonhomogeneous QBD It is stable if and only if ρ c < ρ v

 M/M/(-/-) system : It is one dimensional birth-death process exactly similar to M/M/∞ system which is always stable  M/M/(-/+G) system : Number of servers > Number of jobs, hence always stable.  As long as every peer brings in some service capability, system is always stable

Modelling P2P storage system : Wuala In Wuala,there are storage peers and downloading peers. File is divided into fragments and fragments are stored at different storage peers. Question : What type of online behavior of storage peers is necessary to satisfy download request rates ? Notations : t on – average online time of a storage peer t off – average offline time of a storage peer r u – upload bandwidth of each storage peer r d – download bandwidth of downloading peer L – average file length

Assumptions : Server ON-OFF times and file lengths are exponentially distributed. Arrival of file download requests to follow a Poisson process then such a P2P system can be modeled by an M/M/(M/M)/PS(k) model Here ƛ s = 1/t off, µ s = 1/t on ƛ = ɣ, µ c = r u / L and k = r d / r u

Stability condition reduces to

Discussion and Future Work :  Here classical queuing theory is extended to represent P2P service systems  Future work directions include 1. Study of M/G/M/M systems with general service time 2. System with different classes of service policy 3. System with different type of job/server correlation 4. System with heterogenous servers 5. More analytical results than just stability e.g average queue length, applying little’s law average service time can be obtained

Queuing Network Models for Multi-Channel P2P Live Streaming Systems

Contents  Infinite server queuing network model  Considers two P2P streaming designs : a) Isolated channel design b) View – upload decoupling  Calculates critical performance measures for both designs.

Introduction  Peers enter and leave video application on longer time scale,peers change channels on slower time scale  Isolated channel : Peers viewing same channel are organized into a swarm, with peers in the same swarm distributing to each other  View-Upload Decoupling : it decouples what it uploads from what it views.

Closed Queuing Network Model  Model for always on or slow churn  Notations : 1. N – set of all peers, n – total no of peers 2. u i – upload rate of peer i 3. J – no of channels 4. r j - streaming rate of channel j 5. v j - server rate of channel j 6. 1/µ j – expected amount of time a peer views channel j 7. p ij – probablity of peer switching from i to j

Let Mj be random variable denoting number of peers viewing channel j System can be viewed as closed Jackson network

Performance Metrics 1. Universal Streaming occurs when every peer is receiving channel it is viewing at the streaming rate of channel 2. Expexted no of Happy Channels Resource Index : б j (M j ) = b j –o j / d j (M j )

Viewing-Uploading Decoupling  Here each stream is divided into substreams  Probability of universal streaming is calculated for each substream from which PS and HC are calculated  Optimal Streaming : For given allocation Nj for channel j,to maximize probability of universal streaming, channel is divided into equal rate substreams

 Asymptotic analysis : Determine under what conditions PS, probability of universal streaming goes to 1, for large number of peers They propose a simple scheme to dimension the group sizes  Similarly for ISO design, expressions of probability of universal streaming and expected number of happy channels are derived and asymptotic analysis done

Peer Churn and Channel Churn  To include peer churn in the model, infinite server open jackson network model is used

Conclusion  Performance of multichannel P2P systems is studied using jackson networks  Model captures essential aspects multichannel video systems such as peers churn,channel switching,b/w heterogeneity  VUD performs better than ISO  Model can be extended to capture heterogeneous peer channel switching patterns