tivit interactive: p2p vod

11
P2P VoD: Do Samuli Aalto, Pasi Lassila Aalto University School of Electrical and Engineering Email: {firstname.lastname}@tkk.fi oes it Scale? Niklas Raatikainen, Sasu Tarkoma, Petri Savolainen Savolainen Helsinki Institute for Information Technology (HIIT) Email: {firstname.lastname}@hiit.fi

Upload: digile

Post on 26-Jan-2015

461 views

Category:

Technology


2 download

DESCRIPTION

Tivit Interactive Webinar presentation 13 April 2011 Pasi Lassila, Aalto University

TRANSCRIPT

Page 1: Tivit Interactive: P2P VoD

P2P VoD: Does it Scale?

Samuli Aalto, Pasi Lassila

Aalto University School of

Electrical and Engineering

Email: {firstname.lastname}@tkk.fi

: Does it Scale?

Niklas Raatikainen, Sasu Tarkoma, Petri

SavolainenSavolainen

Helsinki Institute for Information

Technology (HIIT)

Email: {firstname.lastname}@hiit.fi

Page 2: Tivit Interactive: P2P VoD

Problem statement

• Fundamental idea in P2P: clients also act as servers

• P2P VoD: combines file sharing (video exists) and

wants to view file asap)wants to view file asap)

• Fundamental question: Are P2P VoD systems scalable?

– (Qiu & Srikant, 2004) : P2P file sharing systems can scale independent of peer

arrival rate if peers cooperate “even a little bit”

– (Parvez et al., 2008): similar conclusions for

modeling

• We give a fluid model where playback phase is modeled explicitly and

characterize conditions for acceptable

FI SHOK Webinar, 13.4.2011

Fundamental idea in P2P: clients also act as servers

: combines file sharing (video exists) and realtime streaming (user

systems scalable?

, 2004) : P2P file sharing systems can scale independent of peer

arrival rate if peers cooperate “even a little bit”

et al., 2008): similar conclusions for VoD using simplified playback phase

We give a fluid model where playback phase is modeled explicitly and

characterize conditions for acceptable QoS.

2FI SHOK Webinar, 13.4.2011

Page 3: Tivit Interactive: P2P VoD

Fluid model (1)

• Assumptions:

– All peers have same upload (μ) and download (c)

– Every peer leaves at latest once the video is over (conservative assumption)

• z = time to watch video (video size / coding rate)

• Other parameters:

– η = sharing efficiency factor (peer/chunk selection policies)

– ζ = probability that a leacher will stay as a seed

– k = number permanent seeds (that never leave)

• State variables:

– x(t) = number of leachers at time t

– y(t) = number of seeds at time t

FI SHOK Webinar, 13.4.2011

have same upload (μ) and download (c) capacities

the video is over (conservative assumption)

= time to watch video (video size / coding rate)

= sharing efficiency factor (peer/chunk selection policies)

will stay as a seed

= number permanent seeds (that never leave)

3FI SHOK Webinar, 13.4.2011

Page 4: Tivit Interactive: P2P VoD

Fluid model (2)

1

x(t)λ

z

φ(t)

FI SHOK Webinar, 13.4.2011

1-ζ

y(t)ζ

z

)

4FI SHOK Webinar, 13.4.2011

Page 5: Tivit Interactive: P2P VoD

Validation

• Compare (x(t), y(t)) from fluid model (solid) with stochastic model (dashed) and

BitTorrent simulations (jagged)

Steady state is approximated very accurately!

FI SHOK Webinar, 13.4.2011

Compare (x(t), y(t)) from fluid model (solid) with stochastic model (dashed) and

state is approximated very accurately!

5FI SHOK Webinar, 13.4.2011

Page 6: Tivit Interactive: P2P VoD

Steady-state analysis

• Solve explicit steady

download constrained cases

• Positivity, uniqueness, stability of • Positivity, uniqueness, stability of

– are satisfied at steady state

– Local stability of differential equations at

FI SHOK Webinar, 13.4.2011

steady-state solution for upload and

satisfied at steady state

equations at

6FI SHOK Webinar, 13.4.2011

Page 7: Tivit Interactive: P2P VoD

Steady-state synthesis

• The system has a unique and stable equilibrium and

coding rate) if

• System is scalable (QoS ok independent of arrival rate λ) if

– Scalability is independent of permanent seeds/altruism– Scalability is independent of permanent seeds/altruism

Efficiency η is critical for operation!

FI SHOK Webinar

equilibrium and QoS is good (service rate >

ok independent of arrival rate λ) if

is independent of permanent seeds/altruismis independent of permanent seeds/altruism

is critical for operation!

7Webinar, 13.4.2011

Page 8: Tivit Interactive: P2P VoD

Scalability example

• Cases 1 and 2 are scalable

• Case 3 remains stable only until a certain

FI SHOK Webinar, 13.4.2011

certain λ

8FI SHOK Webinar, 13.4.2011

Page 9: Tivit Interactive: P2P VoD

Fluid model for segmented system

• Efficiency parameter η not ”very natural”

– In VoD only older peers can help younger ones

• Segmented system without η parameter• Segmented system without η parameter

x2(t)

z

x1(t)λ φ1(t) φI

– Exact analysis not possible…

• Segmented system is never scalable, but limit can be improved by increasing

number of phases (last phase is the bottle neck)

FI SHOK Webinar, 13.4.2011

system

not ”very natural”

only older peers can help younger ones

parameterparameter

1−ζ

ζxI(t) y(t)I-1(t) φI(t)

system is never scalable, but limit can be improved by increasing

number of phases (last phase is the bottle neck)

9FI SHOK Webinar, 13.4.2011

Page 10: Tivit Interactive: P2P VoD

Conclusions

• Fluid models for analyzing P2P VoD

– Black-box model, with η parameter

– Segmented model

Scalability• Scalability

– Black-box model: system can scale if efficiency is ”good enough”

– Segmented model: never scalable, but limit can be improved by splitting in smaller

segments

FI SHOK Webinar, 13.4.2011

box model: system can scale if efficiency is ”good enough”

Segmented model: never scalable, but limit can be improved by splitting in smaller

10FI SHOK Webinar, 13.4.2011

Page 11: Tivit Interactive: P2P VoD