2015-8-3CUHK Analysis of Movie Replication and Benefits of Coding in P2P VoD Yipeng Zhou Aug 29, 2012.

Slides:



Advertisements
Similar presentations
February 20, Spatio-Temporal Bandwidth Reuse: A Centralized Scheduling Mechanism for Wireless Mesh Networks Mahbub Alam Prof. Choong Seon Hong.
Advertisements

Hadi Goudarzi and Massoud Pedram
Replication Strategies in Unstructured Peer-to-Peer Networks Edith Cohen Scott Shenker This is a modified version of the original presentation by the authors.
Novasky: Cinematic-Quality VoD in a P2P Storage Cloud Speaker : 童耀民 MA1G Authors: Fangming Liu†, Shijun Shen§,Bo Li†, Baochun Li‡, Hao Yin§,
Playback delay in p2p streaming systems with random packet forwarding Viktoria Fodor and Ilias Chatzidrossos Laboratory for Communication Networks School.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
View-Upload Decoupling: A Redesign of Multi-Channel P2P Video Systems Keith Ross Polytechnic Institute of NYU.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
David Ripplinger, Aradhana Narula-Tam, Katherine Szeto AIAA 2013 August 21, 2013 Scheduling vs Random Access in Frequency Hopped Airborne.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Jack Lee Yiu-bun, Raymond Leung Wai Tak Department.
Queueing Models for P2P Systems.  Extend classical queuing theory for P2P systems.  Develop taxonomy for different variations of these queuing models.
Modelling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks.
The Cache Location Problem IEEE/ACM Transactions on Networking, Vol. 8, No. 5, October 2000 P. Krishnan, Danny Raz, Member, IEEE, and Yuval Shavitt, Member,
Kuang-Hao Liu et al Presented by Xin Che 11/18/09.
1 Data Persistence in Large-scale Sensor Networks with Decentralized Fountain Codes Yunfeng Lin, Ben Liang, Baochun Li INFOCOM 2007.
Analyzing Multi-channel MAC Protocols for Underwater Sensor Networks Presenter: Zhong Zhou.
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
End-to-End Analysis of Distributed Video-on-Demand Systems Padmavathi Mundur, Robert Simon, and Arun K. Sood IEEE Transactions on Multimedia, February.
1 A Framework for Lazy Replication in P2P VoD Bin Cheng 1, Lex Stein 2, Hai Jin 1, Zheng Zhang 2 1 Huazhong University of Science & Technology (HUST) 2.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
Perceptual Quality Assessment of P2P Assisted Streaming Video for Chunk-level Playback Controller Design Tom Z.J. Fu, CUHK W. T. Leung, CUHK P. Y. Lam,
Tirgul 8 Universal Hashing Remarks on Programming Exercise 1 Solution to question 2 in theoretical homework 2.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
A Hybrid Caching Strategy for Streaming Media Files Jussara M. Almeida Derek L. Eager Mary K. Vernon University of Wisconsin-Madison University of Saskatchewan.
Efficient Sub-stream Encoding and Transmission for P2P Video on Demand 1 Efficient Sub-Stream Encoding and Transmission for P2P Video on Demand Zhengye.
How to Turn on The Coding in MANETs Chris Ng, Minkyu Kim, Muriel Medard, Wonsik Kim, Una-May O’Reilly, Varun Aggarwal, Chang Wook Ahn, Michelle Effros.
1 How Many Packets Can We Encode? - An Analysis of Practical Wireless Network Coding Jerry Le, John C.S. Lui, Dah Ming Chiu Chinese University of Hong.
Some recent work on P2P content distribution Based on joint work with Yan Huang (PPLive), YP Zhou, Tom Fu, John Lui (CUHK) August 2008 Dah Ming Chiu Chinese.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Resource Placement and Assignment in Distributed Network Topologies Accepted to: INFOCOM 2013 Yuval Rochman, Hanoch Levy, Eli Brosh.
Chun-Yuan Chang, Cheng-Fu Chou * and Ming-Hung Chen Presenter: Prof. Cheng-Fu Chou National Taiwan University
1 Optimal Power Allocation and AP Deployment in Green Wireless Cooperative Communications Xiaoxia Zhang Department of Electrical.
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
Random Sampling, Point Estimation and Maximum Likelihood.
Segment-Based Proxy Caching of Multimedia Streams Authors: Kun-Lung Wu, Philip S. Yu, and Joel L. Wolf IBM T.J. Watson Research Center Proceedings of The.
A Dynamic Data Grid Replication Strategy to Minimize the Data Missed Ming Lei, Susan Vrbsky, Xiaoyan Hong University of Alabama.
Performance evaluation of video transcoding and caching solutions in mobile networks Jim Roberts (IRT-SystemX) joint work with Salah Eddine Elayoubi (Orange.
Web Caching and Content Distribution: A View From the Interior Syam Gadde Jeff Chase Duke University Michael Rabinovich AT&T Labs - Research.
On Energy-Efficient Trap Coverage in Wireless Sensor Networks Junkun Li, Jiming Chen, Shibo He, Tian He, Yu Gu, Youxian Sun Zhejiang University, China.
Effects of P2P Streaming on Video Quality Csaba Kiraly, Luca Abeni, Renato Lo Cigno DISI – University of Trento, Italy
Salah A. Aly,Moustafa Youssef, Hager S. Darwish,Mahmoud Zidan Distributed Flooding-based Storage Algorithms for Large-Scale Wireless Sensor Networks Communications,
Downlink Scheduling With Economic Considerations to Future Wireless Networks Bader Al-Manthari, Nidal Nasser, and Hossam Hassanein IEEE Transactions on.
On the Optimal Scheduling for Media Streaming in Data-driven Overlay Networks Meng ZHANG with Yongqiang XIONG, Qian ZHANG, Shiqiang YANG Globecom 2006.
A Simple Model for Analyzing P2P Streaming Protocols Zhou Yipeng Chiu DahMing John, C.S. Lui The Chinese University of Hong Kong.
O PTIMAL SERVICE TASK PARTITION AND DISTRIBUTION IN GRID SYSTEM WITH STAR TOPOLOGY G REGORY L EVITIN, Y UAN -S HUN D AI Adviser: Frank, Yeong-Sung Lin.
Wireless Multiple Access Schemes in a Class of Frequency Selective Channels with Uncertain Channel State Information Christopher Steger February 2, 2004.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
1 - CS7701 – Fall 2004 Review of: Detecting Network Intrusions via Sampling: A Game Theoretic Approach Paper by: – Murali Kodialam (Bell Labs) – T.V. Lakshman.
1 Push-to-Peer Video-on-Demand System. 2 Abstract Content is proactively push to peers, and persistently stored before the actual peer-to-peer transfers.
1 Statistical Modeling and Analysis of P2P Replication to Support Vod Service zyp Infocom, 2011, Shanghai.
BALANCING THROUGHPUT, ROBUSTNESS, AND IN- ORDER DELIVERY IN P2P VOD Bin Fan, David G. Andersen, Michael Kaminsky†, Konstantina Papagiannaki † Carnegie.
On Reducing Mesh Delay for Peer- to-Peer Live Streaming Dongni Ren, Y.-T. Hillman Li, S.-H. Gary Chan Department of Computer Science and Engineering The.
Algorithms for Resource Allocation in HetNet Jianwei Liu Clemson University.
Cooperative Mobile Live Streaming Considering Neighbor Reception SPEAKER: BO-YU HUANG ADVISOR: DR. HO-TING WU 2015/10/15 1.
Content caching and scheduling in wireless networks with elastic and inelastic traffic Group-VI 09CS CS CS30020 Performance Modelling in Computer.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
Minimizing Delay in Shared Pipelines Ori Rottenstreich (Technion, Israel) Joint work with Isaac Keslassy (Technion, Israel) Yoram Revah, Aviran Kadosh.
Network and Systems Laboratory nslab.ee.ntu.edu.tw Yipeng Zhou, Dah Ming Chiu, and John C.S. Lui Information Engineering Department The Chinese University.
Data Consolidation: A Task Scheduling and Data Migration Technique for Grid Networks Author: P. Kokkinos, K. Christodoulopoulos, A. Kretsis, and E. Varvarigos.
A Bandwidth Scheduling Algorithm Based on Minimum Interference Traffic in Mesh Mode Xu-Yajing, Li-ZhiTao, Zhong-XiuFang and Xu-HuiMin International Conference.
Chance Constrained Robust Energy Efficiency in Cognitive Radio Networks with Channel Uncertainty Yongjun Xu and Xiaohui Zhao College of Communication Engineering,
1 Using Network Coding for Dependent Data Broadcasting in a Mobile Environment Chung-Hua Chu, De-Nian Yang and Ming-Syan Chen IEEE GLOBECOM 2007 Reporter.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 27 – Media Server (Part 2) Klara Nahrstedt Spring 2009.
The Impact of Replacement Granularity on Video Caching
Video On Demand.
Balancing Throughput, Robustness, and In-Order Delivery in P2P VoD
Kunxiao Zhou and Xiaohua Jia City University of Hong Kong
Replications in Multi-Region Peer-to-peer Systems
Presentation transcript:

CUHK Analysis of Movie Replication and Benefits of Coding in P2P VoD Yipeng Zhou Aug 29, 2012

CUHK Outline Movie Replication Introduction Problem Formulation Analysis of Scheduling Algorithm Simulation Results Benefits of Coding for VoD Background Analysis Simulation Results Conclusion

CUHK Introduction Objective is to minimize server load by optimizing movies replicated by different peers Practical System: PPTV PPStream UUSee Challenge: How to organize peers share content? Scheduling How to place right content on peers? Replication

CUHK Related Work Scheduling strategy and Movie Replication strategy are not analyzed separately. Not covered Topology: Any pair of peers can talk with each other. However, the number of simultaneously communicated peers is limited. No Coding: Only a complete copy is replicated by a peer to simplify model complexity.

CUHK To simplify analysis, we assume: Homogeneous movies. Homogeneous peers. (Same upload capacity & storage) Total peers’ uplink capacity is equal to total demand. View Upload Decoupling. No start-up delay, buffer is not considered Assumption

CUHK Closed queuing network model N users, continuously watching movies. Select a movie, watch for a random period. After viewing a movie, select another movie based on transition probability matrix. By solving a fixed point equation, derive stationary popularity of movies. User Behavior Model N users continuously generate N viewing requests [D. Wu et al, Infocom ’ 09 best paper]  Relative popularity: for movie j and The peer population to view movie j follows Binomial Distribution.

CUHK Movie Popularity Zipf distribution is used for movie popularity. All movies are ranked by descending order of popularity is a parameter in the range [0.271, 1]. [N. Venkatasubramanian et al, ICDCS 97 ] is a key parameter. Solution: Derive bound of server load to ignore the effect of Θ without considering long tail.

CUHK The Chinese University of Hong Kong Formulation Q i is the set of movies replicated by peer i. L is the storage size of each peer. Xj is the random variable to denote the bandwidth received by peers watching movie j from P2P system. Xj is determined by request scheduling strategy and replication strategy.

CUHK The Chinese University of Hong Kong Formulation Cont. It is still difficult to minimize the weighted variance. Fortunately, we can get the bound of average server load. Balance BW Allocation

CUHK Fig. 2 Xj Objective Playback Rate Fig. 1 time Xj Server load

CUHK Request Scheduling Strategy Fixed BW allocation(FBA) Fair Sharing

CUHK FBA A virtual super server can be used to derive average server load, as the figure shows Replication strategy: Proportional (to popularity) in homogeneous network. It is easy to calculate the bandwidth allocated to a particular movie. [D. Wu et al, Infocom mini 09]

CUHK FBA Cont. Server load is: Binomial Distribution Proportional to movie popularity.

CUHK PFS and FSFD Both of perfect fair sharing (PFS) and fair sharing with fixed degree (FSFD) are special cases of FS PFS When a peer wants to stream movie j, it sends out sub-requests to all peers storing movie j to fetch parts of that movie. When serving other peers, a peer treats all sub-requests the same. FSFD When a peer wants to stream a movie j, it sends out sub- requests to exactly y peers who store movie j.

CUHK PFS Received sub-requests by peer i in PFS is: We use Poisson distribution as an approximation of Binomial distribution We can derive the expected value and variance of X j (i) The distribution of X j (i) is: X j (i) is the random variable to denote the BW received by sending a sub-request to peer i for movie j.

CUHK PFS Cont. The variance of X j The correlation determines total variance. The distribution of X j (i) depends on the number of sub-requests received by peer i. The number of sub-requests received by peer i depends on Q i It is very complicated to get the distribution of X j

CUHK PFS Worst Case Correlation is equal to 1 means that peers form K/L clusters. In each cluster, all peers store the same movie set. The movie set is random selected from the whole movie set. The received requests is the same for all peers in the same clusters. The behavior of a cluster is like a super server. The server load can be derived exactly. Cluster 1 store movie 1, 2,..L Cluster 1 store movie L+1,L+2,.. 2L Cluster L store movie K- L+1,..K

CUHK PFS Best Case The upper bound is achieved when all peers have the same load λ i and the bandwidth from different peers is independent. X j (i)s are independent identical distributed for different i. Normal distribution is used as approximation of X j. The required server load to support one peer is: The total serever load is:

CUHK Random Load Balancing Algorithm Initialization To minimize correlation To balance bandwidth allocation B j = E[X j ]

CUHK FSFD Each peer sends out exactly y sub-requests to randomly selected peers replicating target movie. Similar to PFS, the received BW from one sub-request is: Proportional replication strategy achieves the balanced bandwidth allocation since λ i = y [J. Wu et al, Infocom mini 2009] [K. Suh et al, JSAC 2007]

CUHK FSFD Worst Case The received requests is perfect correlated for all peers in the same clusters. The behavior of a cluster is like a super server. The server load can be derived exactly. Cluster 1 store movie 1, 2,..L Cluster 1 store movie L+1,L+2,..2L Cluster L store movie K-L+1,..K Here, the difference from PFS is that the each peer sends only y sub-requests instead of sending sub-requests to all peers.

CUHK FBA, PFS vs FSFD Scheduling StrategyOptimal Replication Strategy FBAProportional PFSRLB FSFDProportional H = NL/K, which is the average storage resource.

CUHK FSBD When a peer wants to stream a movie j, it sends out at most Y sub-requests to random selected peers who store movie j. Balanced BW allocation, equivalent to E[X j ] = 1 N k is the expected peer population to view movie k.

CUHK FSBD Worst Case The worst case is similar to the worst case of PFS. But there are two type clusters. In type I cluster: y = Y, similar to FSFD. In type II cluster: y = No. of Peers, similar to PFS. Type I An example with Y = 3 Type II

CUHK FSBD Cont. Type I Type II R i is the peer population of cluster i. B is maximized whenγ = 1

CUHK FSBD Cont Performance comparison of FSBD with FSFD and PFS The next question: design a replication strategy to work no matter what the bound of out-degree, i.e. Y

CUHK DAR Algorithm

CUHK N = 10000, Fix ratio of K/L= 50, Homo. movie popularity and peer uplink bandwidth Bound Validation of PFS COV  0 B = O(K/L) B = O(Sqrt(NK/L)) COV  1

CUHK Model Validation FBA Bound of PFS FSFD N=4000, K=400, L=4

CUHK FSBD DAR ARLB Proportional N=4000, K=400, L=4 Proportional

CUHK Outline Movie Replication Introduction Problem Formulation Analysis of Scheduling Algorithm Simulation Results Benefits of Coding for VoD Background Analysis Simulation Results Conclusion

CUHK Background For P2P, helper no. = peer no.

CUHK Previous Work [F. Liu et al, Infocom ’ 11] adopts RS Coding. [Y. Kao et al, TPDS ’ 11] adopts Network Coding.

CUHK To simplify analysis, we assume: Perfect View Upload Decoupling. Random Selected Enough Neighbors. Limited Downloading. No Encoding or Decoding Overhead. Discrete time slot. Model & Assumption

CUHK Model with d=1 For Greedy Strategy For FF Strategy Buffer mapX X playback FF SelectionGreedy Selection Performance depends on p(n). Streaming cost is 1-p(n) Helper Selection

CUHK Proposition 1: In a P2P system with perfect view-upload decoupling, the Greedy strategy is always the optimal strategy to maximize p(n, d). Proposition 2: For two coding schemes using Greedy strategy with block size d 1 and d 2, if d 1 < d 2 and d 2 is divisible by d 1, the streaming cost for coding scheme d 2 is smaller than that for d 1. Main Result It is a tradeoff between streaming cost and movie replication cost.

CUHK Simulation Helpers are assumed to have stored necessary encoded chunks. Streaming cost decreases with d

CUHK Simulation Cont. A scenario with new movie. No helper replicates the new movie. Two ways for new movie replication: 1.Pushed from server. 2.Distributed among helpers.

CUHK We use a new approach to analyze three kinds of request scheduling strategies. Real-world systems is likely to be in between fair sharing (with some fixed degree) and perfect fair sharing. Therefore, we propose a novel FSBD model with varying out-degree. This allows us to illustrate the effect of out-degree in request scheduling. We use a simple mean field stochastic model to analyze the benefits by adopting coding for movie replication. Conclusion

CUHK The end Thank you Q & A