1
P2P Live Streaming: successes and limitations
Yong Liu ECE, Polytechnic U. 04/27/2007
joint work with Keith Ross, Xiaojun Hei, Rakesh Kumar, Chao Liang, Jian Liang
P2P Live Streaming: successes and limitations Yong Liu ECE, - - PowerPoint PPT Presentation
P2P Live Streaming: successes and limitations Yong Liu ECE, Polytechnic U. 04/27/2007 joint work with Keith Ross, Xiaojun Hei, Rakesh Kumar, Chao Liang, Jian Liang 1 Next Disruptive Application? Broadband Residential Access
1
Yong Liu ECE, Polytechnic U. 04/27/2007
joint work with Keith Ross, Xiaojun Hei, Rakesh Kumar, Chao Liang, Jian Liang
2
Broadband Residential Access
Need for Video-over-IP
Impact on Access/Backbone networks
3
Native IP Multicast (future Internet?) Content Distribution Networks (Youtube) Peer-to-Peer Streaming
4
Coolstream: 4,000 simultaneous users in 2003 PPLive:
2006 Chinese New Year, aggregate rate of 100 Gbps
5
Free p2p streaming software
proprietary
commercialized
communities since 2005
400+ channels, 300K+ users daily Video encoded in WMV, RMVB, 300~800kbps http://www.pplive.com/
6
Signaling not encrypted, protocol analysis through passive sniffing BT-Like chunk-driven P2P Streaming
from/to peers watching the same channel (TCP)
locally to ordinary media players
channel list peer list channels peers
pplive servers
peer0 peer1 peer2 peer3
video source
7
diurnal trend flash crowd
scalable stable 8pm, China 8pm EST, US 8pm-1am China
weekly trend
Weekend Weekend
8
indirect/unscientific measures
direct/quantitative measures:
9
Bandwidth intensive
Asymmetric residential access
Peer churn: peers come and go
Lags among viewers
10
Goal: Expose fundamental characteristics and limitations of P2P streaming systems
11
us d2 u1 u2 d1 dn un Video rate: r Abundant Bandwidth No Multicast
12
} , , min{
1 min max
n u u d u r
n i i s s
+ =
s
u r
min max
d r
u u r
n i i s =
+
max
(rate of fresh content from server) (cannot overwhelm slowest peer) universal streaming: all peers receive at same rate (b.w. demand ≤ b.w. supply)
?
Theorem: there exists a perfect scheduling among peers such that all peers’ uploading bandwidth can be employed to achieve the maximum streaming rate
13
To fully utilize peers’ uploading capacity Peers with better access upload more
us=3 u1=2 u2=1 d1=5 d2=5 rmax=3 us=5 u1=2 u2=1 d1=5 d2=5 rmax=4
For any peer b.w. dist., two-hop streaming relay achieves maximum rate
14
bandwidth sharing
peer churn
imperfect b.w. info. rate variations on sessions against static scheduling (tree based) temporary deficits in uploading capacity
impact of peer churn, solutions?
15
Two peer classes:
Upload rate for class i: ui u2 ≤ r ≤ u1 Arrival rate for class i: ηi Average viewing time: 1/μi Li = # of type i, (random variable), ρi = E[Li]=ηi/μi P(“universal streaming”) = P(L1 ≥ cL2 – u’)
16
Let ρ1 and ρ2 approach ∞ But ratio ρ1/ρ2 = K More generally Theorem: In limit, P(“univ streaming”) = 1 if K>c 0 if K<c if K=c
2 2 1
= K
) c c
2
+
17
Infrastructural bandwidth improves system performance
18
Infrastructural bandwidth must grow with system size
19
Peer churn causes fluctuations in a peer’s download rate (from server and/or peers): Traditional streaming problem: bandwidth/delay fluctuations on client-server connections
Pseudo-P2P-Live-Streaming
server/peers
} ) ( ) ( ) ( ) ( , min{ ) (
2 1 2 2 1 1
t L t L t L u t L u u u t
s s
+ + + =
20
Buffering improves performance dramatically.
21
More improvement for large systems
22
Peer churn causes fluctuations in available bandwidth
Performance is largely determined by critical value Large systems have better performance Buffering can dramatically improve things Under-capacity region needs to be addressed
23