Top Banner
Queueing Models for P2P Systems
25

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

Dec 18, 2015

Download

Documents

Doris Stanley
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Queueing Models for P2P Systems.  Extend classical queuing theory for P2P systems.  Develop taxonomy for different variations of these queuing models.

Queueing Models for P2P Systems

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

Extend classical queuing theory for P2P systems.

Develop taxonomy for different variations of these queuing models.

Derive stability conditions for these models.

Contents

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

Jobs and service stations both arrive randomly,possibly correlated .

Following questions can be answered : 1.Necessary and sufficient conditions for

stability2.Performance of given workload and

service parameters

Introduction

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

Notations

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

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

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

Stability• A p2p system is stable if its corresponding job-server process {nc(t),ns(t)} is positive recurrent

•Transition rates for M/M/(M/M)/FCFS systems( nc, ns ) to ( nc + 1, ns ) = ƛc( nc, ns ) to ( nc - 1, ns ) = nsµc

( nc, ns ) to ( nc , ns + 1 ) = ƛs( nc, ns ) to ( nc , ns - 1 ) = nsµc

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

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

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

• 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

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

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

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

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

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

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 : • ton – average online time of a storage peer• toff – average offline time of a storage peer• ru – upload bandwidth of each storage peer• rd – download bandwidth of downloading peer• L – average file length

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

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) modelHere

ƛs = 1/toff , µs = 1/ton

ƛ = ɣ , µc = ru / L and k = rd / ru

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

Stability condition reduces to

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

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

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

Queuing Network Models for Multi-Channel P2P Live Streaming Systems

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

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.

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

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.

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

Closed Queuing Network Model Model for always on or slow churn Notations : 1.N – set of all peers , n – total no of

peers2.ui – upload rate of peer i3.J – no of channels4. rj - streaming rate of channel j5.vj - server rate of channel j6.1/µj – expected amount of time a peer

views channel j7.pij – probablity of peer switching from i to j

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

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

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

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 ChannelsResource Index : бj(Mj) = bj –oj / dj(Mj)

Page 21: Queueing Models for P2P Systems.  Extend classical queuing theory for P2P systems.  Develop taxonomy for different variations of these queuing models.
Page 22: Queueing Models for P2P Systems.  Extend classical queuing theory for P2P systems.  Develop taxonomy for different variations of these queuing models.

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

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

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

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

Peer Churn and Channel Churn To include peer churn in the model,

infinite server open jackson network model is used

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

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