Professional Documents
Culture Documents
Defense PDF
Defense PDF
Defense PDF
Presented by
Ihsan Ullah
Supervised by
Dr. Guillaume Doyen & Prof. Dominique Gaiti
November 3, 2011
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 1/50 1 / 50
Outline
1 Context
Introduction
Performance issues
Related work
2 Modeling
Non-contextual approach
Contextual approach
3 Comparison through experimentation
Optimization for improved quality
Experimental evaluation
4 General conclusion and perspectives
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 2/50 2 / 50
Context
Outline
1 Context
Introduction
Performance issues
Related work
2 Modeling
Non-contextual approach
Contextual approach
3 Comparison through experimentation
Optimization for improved quality
Experimental evaluation
4 General conclusion and perspectives
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 3/50 3 / 50
Context Introduction
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 4/50 4 / 50
Context Introduction
Video streaming
Streaming is the transfer of media such as audio or video over a
network as a steady and continuous stream [HB05]
Live video streaming
Source-driven
Broadcasts the newly generated content as it is produced
Limited buffering
Video-on-Demand (VoD)
Receiver-driven
Users can request for any video, any time
Extended buffering
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 5/50 5 / 50
Context Introduction
Telco-managed IPTV
uses IP multicast
Client/Server CDN-based P2P
Limited to private Decentralization level
networks and expensive [LRLZ08]
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 6/50 6 / 50
Context Introduction
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 7/50 7 / 50
Context Introduction
Push Pull
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 8/50 8 / 50
Context Performance issues
Problem statement
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 9/50 9 / 50
Context Related work
Global models
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 10/50 10 / 50
Context Related work
Incomplete models
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 11/50 11 / 50
Modeling
Outline
1 Context
Introduction
Performance issues
Related work
2 Modeling
Non-contextual approach
Contextual approach
3 Comparison through experimentation
Optimization for improved quality
Experimental evaluation
4 General conclusion and perspectives
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 12/50 12 / 50
Modeling Non-contextual approach
Hypotheses
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 13/50 13 / 50
Modeling Non-contextual approach
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 14/50 14 / 50
Modeling Non-contextual approach
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 15/50 15 / 50
Modeling Non-contextual approach
A receiver-drive approach
Start
A
Join/Schedule
move
Continue
B D
C
When the scheduled time is up
E F G
Attempt a move to NO
the most stable
End
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 16/50 16 / 50
Modeling Non-contextual approach
Experimental framework
Simulated behaviors
Dynamic: Uncorrelated consecutive sessions
Persistent: Strongly correlated consecutive sessions
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 17/50 17 / 50
Modeling Non-contextual approach
Measured parameters
Frame losses
Video frames lost due to abrupt departures
Shows the efficiency of the approach in terms of reducing
the stream disruption
Attempted moves
A move is attempted to switch from the current parent to a
new one
Shows the communication cost
Successful moves
The actual switching of a peer from its current parent to a
new one
Shows the efficacy of the optimization strategy
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 18/50 18 / 50
Modeling Non-contextual approach
Experimental results
Dynamic case
x 10
5 Frame loss Attempted moves Successful moves
500 500
Total number of lost frames
4 EMA
2
200 200
Scribe
1 EMA20 100 EMA20 100
Bayes Bayes
0 0 0
0 1000 2000 3000 0 1000 2000 3000 0 1000 2000 3000
Time in Seconds Time in Seconds Time in Seconds
Persistent case
x 10
5 Frame loss Attempted moves Successful moves
500 500
Total number of lost frames
400 Bayes
3
300 300
2
200 200
Scribe
1 EMA20 100 EMA20 100
Bayes Bayes
0 0 0
0 1000 2000 3000 0 1000 2000 3000 0 1000 2000 3000
Time in Seconds Time in Seconds Time in Seconds
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 19/50 19 / 50
Modeling Non-contextual approach
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 20/50 20 / 50
Modeling Contextual approach
Outline
1 Context
Introduction
Performance issues
Related work
2 Modeling
Non-contextual approach
Contextual approach
3 Comparison through experimentation
Optimization for improved quality
Experimental evaluation
4 General conclusion and perspectives
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 21/50 21 / 50
Modeling Contextual approach
Overview of measurements
Metrics
Reference Type System Period Method
OD SD CP A/D D/U
[SGGS09] Feb. to Nov. 2008 X X X
[VGLN07] Apr. to Dec. 2006 Crawler X X
[WLX08] PPLive Nov. 2006 (about 28 hours) X X
[HLL+ 07] 2006 − 07 Passive/ X X X X
Crawler
[SFB+ 09] P2P Jun. 2006 Passive X X
[JLC07] PPStream unknown Crawler X X X
[SMC+ 09] Zattoo Mar. 2008 (2 weaks) X X
[ZLL05] Mar. 2005 (4 days) X X X
Cool-
[XKL07] Oct. 2006 (1 day) X X X
Streaming
[LXK+ 07] Sep. 2006 (1 day) X X X X
[Aga07] unknown 2006 (11 hours) X X
[TSZ+ 07] GridMedia Jan. 2006 (4.5 hours) X
[LWLZ09] UUSee May to Jun. 2008 (5 days) Logs X X X
[TSLZ06] Feb. 2005/Jan. 2006 X
CCTV
[TSLZ06] C/S Oct. to Jan. 2004 − 05 X
[SMZ04] CDN Akamai Oct. to Jan. 2003 − 04 X X X
[VAM+ 06] C/S unknown 2002 (90 days) X X X
[QGL+ 09a] Apr. 2008 (6 days) X X X X
Telco-
[QGL+ 09b] IPTV
Managed Jun. 2008 (1 month) X
[CRC+ 08] May to Oct. 2007 X X X
OD: Online Duration; SD: Session Duration; CP: Channel Popularity; A/D: Arrival/Departure rates; D/U: Download/Upload traffic
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 22/50 22 / 50
Modeling Contextual approach
Measurements’ synthesis
Environmental impacting
Environment
factors: Variables in the Time-of-Day Day-of-Week Content Type
Elapsed Failure
user activities Time
Popularity Contribution
Ratio
Rate
Network performance
parameters: Network Partners discovery Streaming Quality Delay
performance variables
Network
having relationships with
user behavior metrics
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 23/50 23 / 50
Modeling Contextual approach
Information domain
Environment
estimations Network
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 24/50 24 / 50
Modeling Contextual approach
Bayesian networks
Bayesian networks are graphical models that encode
probabilistic relationships among variables of interest
[Hec95]
Simplify the joint distribution through conditional
independence
Y
n
p(x) = p(xi |pai ) (4)
i=1
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 25/50 25 / 50
Modeling Contextual approach
User
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 26/50 26 / 50
Modeling Contextual approach
simulations)
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 27/50 27 / 50
Modeling Contextual approach
Simulation scenarios
GlobalBN
Global scenario:
One network for the whole
community Peer Peer
Local scenario:
A dedicated network for each Peer
LocalBN
Peer
LocalBN
peer
Trained over individual traces
Local estimations LocalBN
Peer Peer
LocalBN
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 28/50 28 / 50
Modeling Contextual approach
Simulation parameters
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 29/50 29 / 50
Modeling Contextual approach
overestimated 20
good
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 30/50 30 / 50
Modeling Contextual approach
40 J
E 60
35
S
30 A 50
P
25 L 40
20
30
15
20
10
10
5
0 0
20 40 60 80 100 120 140 160 180 0 10 20 30 40 50 60
Time in days Actual session durations
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 31/50 31 / 50
Modeling Contextual approach
A classifier of users DS 1 , DS 2 , . . ., DS k
according to their
behaviors Training classifier Training BNs
estimations User
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 32/50 32 / 50
Modeling Contextual approach
User classifier
classifier
Based on the viewing
durations of users
Session
User Class
Includes all the related Duration
variables
Estimation of the user
class variable gives the Streaming
Content Type
Quality
required class
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 33/50 33 / 50
Modeling Contextual approach
Classification error
4
x 10
15
Incorrect
Correct
Nomber of classifications
10
0
J E S A P L
User classes
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 34/50 34 / 50
Modeling Contextual approach
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 35/50 35 / 50
Modeling Contextual approach
1
10
Percent error
0
10
−1
10
−2
10
1 5 10 15 20 25
History size
Conclusion
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 37/50 37 / 50
Comparison through experimentation
Outline
1 Context
Introduction
Performance issues
Related work
2 Modeling
Non-contextual approach
Contextual approach
3 Comparison through experimentation
Optimization for improved quality
Experimental evaluation
4 General conclusion and perspectives
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 38/50 38 / 50
Comparison through experimentation Optimization for improved quality
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 39/50 39 / 50
Comparison through experimentation Optimization for improved quality
Swap
Start
A
Join/Schedule
swap
B C
Continue
inform other
children (list)
Yes
Yes
Add parent
D C
Random join
End
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 40/50 40 / 50
Comparison through experimentation Experimental evaluation
Experimental environment
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 41/50 41 / 50
Comparison through experimentation Experimental evaluation
70
60
50
40
30
WS
20 BN
EMA20
10
BR
0
0 20 40 60 80 100 120
Time in minutes
Frame losses
5
x 10
70 12
WS WS
BN BN
EMA20 10 EMA20
BR BR
50
8
40
6
30
4
20
10 2
0 0
0 20 40 60 80 100 120 0 20 40 60 80 100 120
Time in minutes Time in minutes
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 43/50 43 / 50
Comparison through experimentation Experimental evaluation
Control overhead
350 2000
BN BN
EMA 1800 EMA
300 BR BR
1600
250 1400
1200
200
1000
150
800
100 600
400
50
200
0 0
0 20 40 60 80 100 120 0 20 40 60 80 100 120
Time in minutes Time in minutes
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 44/50 44 / 50
General conclusion and perspectives
Outline
1 Context
Introduction
Performance issues
Related work
2 Modeling
Non-contextual approach
Contextual approach
3 Comparison through experimentation
Optimization for improved quality
Experimental evaluation
4 General conclusion and perspectives
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 45/50 45 / 50
General conclusion and perspectives Closing remarks
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 46/50 46 / 50
General conclusion and perspectives Closing remarks
Conclusion
Consideration of user behavior significantly reduces the
frame losses and stream disruption
Other performance metrics (delay, streaming quality) are
also improved
Contextual approach appears to be more accurate than
non-contextual one
Sender-driven (swap) stabilization strategy is more effective
Limits
No support for dynamic behaviors
No consideration of malicious behavior
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 47/50 47 / 50
General conclusion and perspectives Perspectives
Future directions
Short term
Inclusion of other metrics such as bandwidth contribution
and streaming quality
Modification to predict next channel in cross-channel
systems
Feedback mechanism for dynamic behaviors
Extension of the semi-Markovian model to support channel
switching
Long term
Investigation of user-oriented topologies
Consideration of malicious behavior through trust
management
Application to resource allocation in C/S and CDN systems
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 48/50 48 / 50
Thesis publications
International Journals
IEEE Communications Surveys & Tutorials (to appear)
International Conferences
12th IFIP/IEEE International Symposium on Integrated Network Management (IM), 2011
4th IFIP International Conference on New Technologies, Mobility and Security (NTMS), 2011
4th IFIP International Conference on Autonomous Infrastructure, Management and Security, (AIMS), 2010
12th IFIP/IEEE International Conference on Management of Multimedia and Mobile Networks and Services, (MMNS),
2009
National Conferences
Colloque Francophone sur l’Ingénierie des Protocoles (CFIP), 2011
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 49/50 49 / 50
Questions
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 50/50 50 / 50
References
Sachin Agarwal.
A case study of large scale P2P video multicast.
In International Conference on IP Multimedia Subsystem Architecture and Applications (IMSAA), pages 1–5. IEEE, 2007.
Grégory Bonnet, Ihsan Ullah, Guillaume Doyen, Lionel Fillatre, Dominique Gaïti, and Igor Nikiforov.
A Semi-Markovian individual model of users for P2P video streaming applications.
In 4th IFIP International Conference on New Technologies, Mobility and Security (NTMS), pages 1–5. IEEE, 2011.
Meeyoung Cha, Pablo Rodriguez, Jon Crowcroft, Sue Moon, and Xavier Amatriain.
Watching television over an IP network.
In Internet Measurement Conference (IMC), pages 71–84. ACM, 2008.
David Heckerman.
A tutorial on learning with Bayesian networks.
Technical report, Learning in Graphical Models, 1995.
Xiaojun Hei, Chao Liang, Jian Liang, Yong Liu, and Keith W. Ross.
A measurement study of a large-scale P2P IPTV system.
IEEE Transactions on Multimedia, 9(8):1672–1687, 2007.
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 50/50 50 / 50
References
Bo Li, Susu Xie, Gabriel Yik Keung, Jiangchuan Liu, Ion Stoica, Hui Zhang, and Xinyan Zhang.
An empirical study of the Coolstreaming+ system.
IEEE Journal on Selected Areas in Communications, 25(9):1627–1639, 2007.
Tongqing Qiu, Zihui Ge, Seungjoon Lee, Jia Wang, Jun Xu, and Qi Zhao.
Modeling user activities in a large IPTV system.
In Internet Measurement Conference (IMC), pages 430–441. ACM, 2009.
Tongqing Qiu, Zihui Ge, Seungjoon Lee, Jia Wang, Qi Zhao, and Jun Xu.
Modeling channel popularity dynamics in a large IPTV system.
In 11th international joint conference on Measurement and Modeling of Computer Systems (SIGMETRICS), pages
275–286, 2009.
Thomas Silverston, Olivier Fourmaux, Alessio Botta, Alberto Dainotti, Antonio Pescapè, Giorgio Ventre, and Kavé
Salamatian.
Traffic analysis of Peer-to-Peer IPTV communities.
Computer Networks, 53(4):470–484, 2009.
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 50/50 50 / 50
References
Khaldoon Shami, Damien Magoni, Hyunseok Chang, Wenjie Wang, and Sugih Jamin.
Impacts of peer characteristics on P2PTV networks scalability.
In IEEE INFOCOM, pages 2736–2740, 2009.
Yun Tang, Lifeng Sun, Kaiyun Zhang, Shi-Qiang Yang, and Yuzhuo Zhong.
Longer, better: On extending user online duration to improve quality of streaming service in P2P networks.
In IEEE International Conference on Multimedia and Expo (ICME), pages 2158–2161, 2007.
Eveline Veloso, Virgílio Almeida, Wagner Jr. Meira, Azer Bestavros, and Shudong Jin.
A hierarchical characterization of a live streaming media workload.
IEEE/ACM Transactions on Networking, 14(1):133–146, 2006.
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 50/50 50 / 50
References
Dynamics of individual television viewing behavior: Models, empirical evidence, and a research program.
Communication Studies, 60(3):235 – 252, 2009.
Ihsan Ullah (ERA / ICD – UMR 6279) User-aware P2P live streaming systems 50/50 50 / 50