A Simple Model for Analyzing P2P Streaming Protocols Zhou Yipeng Chiu DahMing John, C.S. Lui The Chinese University of Hong Kong.

Slides:



Advertisements
Similar presentations
Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.
Advertisements

Building Cloud-ready Video Transcoding System for Content Delivery Networks(CDNs) Zhenyun Zhuang and Chun Guo Speaker: 饒展榕.
CLive Cloud-Assisted P2P Live Streaming
Playback delay in p2p streaming systems with random packet forwarding Viktoria Fodor and Ilias Chatzidrossos Laboratory for Communication Networks School.
Kangaroo: Video Seeking in P2P Systems Xiaoyuan Yang †, Minas Gjoka ¶, Parminder Chhabra †, Athina Markopoulou ¶, Pablo Rodriguez † † Telefonica Research.
Peer-assisted On-demand Streaming of Stored Media using BitTorrent-like Protocols Authors: Niklas Carlsson & Derek L. Eager Published in: Proc. IFIP/TC6.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
Stochastic Analysis of File Swarming Systems The Chinese University of Hong Kong John C.S. Lui Collaborators: D.M. Chiu, M.H. Lin, B. Fan.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
Understanding the Performance Gap between Pull-based Mesh Streaming Protocols and Fundamental Limits Chen Feng, Baochun Li and Bo Li Presented by Zhiming.
Performance Modeling and Engineering Issues of BT-Like File Sharing Systems M.H. Lin, John C.S. Lui, D.M. Chiu The Chinese University of Hong Kong.
Chien-Hao Chien, Shun-Yun Hu, Jehn-Ruey Jiang Adaptive Computing and Networking (ACN) Laboratory Department of Computer Science and Information Engineering.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
P2P Network for Very Large Virtual Environment Proceedings of the ACM symposium on virtual reality software and technology VRST '06.
Service Differentiated Peer Selection An Incentive Mechanism for Peer-to-Peer Media Streaming Ahsan Habib, Member, IEEE, and John Chuang, Member, IEEE.
Periodic Broadcasting with VBR- Encoded Video Despina Saparilla, Keith W. Ross and Martin Reisslein (1999) Prepared by Nera Liu Wing Chun.
VCR-oriented Video Broadcasting for Near Video-On- Demand Services Jin B. Kwon and Heon Y. Yeon Appears in IEEE Transactions on Consumer Electronics, vol.
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,
CoolStreaming/DONet: A Data- driven Overlay Network for Peer- to-Peer Live Media Streaming INFOCOM 2005 Xinyan Zhang, Jiangchuan Liu, Bo Li, and Tak- Shing.
Designing QoE experiments to evaluate Peer-to-Peer streaming applications Tom Z.J. Fu, CUHK Dah Ming Chiu, CUHK Zhibin Lei, ASTRI VCIP 2010, Huang Shan,
Prefix Caching assisted Periodic Broadcast for Streaming Popular Videos Yang Guo, Subhabrata Sen, and Don Towsley.
Multiple Sender Distributed Video Streaming Thinh Nguyen, Avideh Zakhor appears on “IEEE Transactions On Multimedia, vol. 6, no. 2, April, 2004”
Quality-Aware Segment Transmission Scheduling in Peer-to-Peer Streaming Systems Cheng-Hsin Hsu Senior Research Scientist Deutsche Telekom R&D Lab USA Los.
On Peer-to-Peer Media Streaming Dongyan Xu Mohamed Heffeda Susanne Hamrusch Bharat Bhargava 2002 International Conference on Distributed Computing Systems.
A Real-Time Video Multicast Architecture for Assured Forwarding Services Ashraf Matrawy, Ioannis Lambadaris IEEE TRANSACTIONS ON MULTIMEDIA, AUGUST 2005.
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
An Overlay Multicast Infrastructure for Live/Stored Video Streaming Visual Communication Laboratory Department of Computer Science National Tsing Hua University.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
PPCast: A Peer-to-Peer based Video broadcast solution Presented by Shi Lu Feb. 28, 2006.
Efficient Sub-stream Encoding and Transmission for P2P Video on Demand 1 Efficient Sub-Stream Encoding and Transmission for P2P Video on Demand Zhengye.
Department of Computer Science & Engineering The Chinese University of Hong Kong Constructing Robust and Resilient Framework for Cooperative Video Streaming.
CUHK Analysis of Movie Replication and Benefits of Coding in P2P VoD Yipeng Zhou Aug 29, 2012.
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.
Challenges, Design and Analysis of a Large-scale P2P-VoD System Dr. Yingwu Zhu.
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
COCONET: Co-Operative Cache driven Overlay NETwork for p2p VoD streaming Abhishek Bhattacharya, Zhenyu Yang & Deng Pan.
1 V1-Filename.ppt / yyyy-mm-dd / Initials P2P content distribution T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
Chun-Yuan Chang, Cheng-Fu Chou * and Ming-Hung Chen Presenter: Prof. Cheng-Fu Chou National Taiwan University
BitTorrent Under a Microscope: Towards Static QoS Provision in Dynamic Peer-to-Peer Networks Tom H. Luan*, Xuemin (Sherman) Shen* and Danny H. K. Tsang.
1 BitHoc: BitTorrent for wireless ad hoc networks Jointly with: Chadi Barakat Jayeoung Choi Anwar Al Hamra Thierry Turletti EPI PLANETE 28/02/2008 MAESTRO/PLANETE.
1 Towards Cinematic Internet Video-on-Demand Bin Cheng, Lex Stein, Hai Jin and Zheng Zhang HUST and MSRA Huazhong University of Science & Technology Microsoft.
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
Department of Information Engineering The Chinese University of Hong Kong A Framework for Monitoring and Measuring a Large-Scale Distributed System in.
HUAWEI TECHNOLOGIES CO., LTD. Page 1 Survey of P2P Streaming HUAWEI TECHNOLOGIES CO., LTD. Ning Zong, Johnson Jiang.
An IP Address Based Caching Scheme for Peer-to-Peer Networks Ronaldo Alves Ferreira Joint work with Ananth Grama and Suresh Jagannathan Department of Computer.
Multicast instant channel change in IPTV systems 1.
On the Optimal Scheduling for Media Streaming in Data-driven Overlay Networks Meng ZHANG with Yongqiang XIONG, Qian ZHANG, Shiqiang YANG Globecom 2006.
Impact of Incentives in BitTorrent By Jenny Liu and Seth Cooper.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 37 – P2P Applications/PPLive Klara Nahrstedt Spring 2009.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
Efficient AOI-Cast for Peer-to-Peer Networked Virtual Environments.
BALANCING THROUGHPUT, ROBUSTNESS, AND IN- ORDER DELIVERY IN P2P VOD Bin Fan, David G. Andersen, Michael Kaminsky†, Konstantina Papagiannaki † Carnegie.
Peer-to-Peer Streaming of Scalable Video in Future Internet Application Speaker : 吳靖緯 MA0G0101 Communications Magazine, IEEE, On page(s): 128.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
Peer to Peer Network Design Discovery and Routing algorithms
Time-Shifted Streaming in a P2P Video Multicast System Jeonghun Noh, Aditya Mavlankar, Pierpaolo Baccichet 1, and Bernd Girod Information Systems Laboratory.
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
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.
Improving QoS in BitTorrent-like VoD Systems Yan Yang Alix L.H. Chow Leana Golubchik Dannielle Bragg Univ. of Southern California Harvard University InfoCom.
Inside the New Coolstreaming: Principles, Measurements and Performance Implications Bo Li, Susu Xie, Yang Qu, Gabriel Y. Keung, Chuang Lin, Jiangchuan.
Challenges, Design and Analysis of a Large-scale P2P-VoD System Yan Huang, Tom Z. J. Fu, Dah-Ming Chiu, John C. S. Lui and Cheng Huang Chinese University.
A Practical Performance Analysis of Stream Reuse Techniques in Peer-to-Peer VoD Systems Leonardo B. Pinho and Claudio L. Amorim Parallel Computing Laboratory.
Accelerating Peer-to-Peer Networks for Video Streaming
An example of peer-to-peer application
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
Balancing Throughput, Robustness, and In-Order Delivery in P2P VoD
Modeling and Evaluating Variable Bit rate Video Steaming for ax
2019/9/14 PPSP Survey.
Presentation transcript:

A Simple Model for Analyzing P2P Streaming Protocols Zhou Yipeng Chiu DahMing John, C.S. Lui The Chinese University of Hong Kong

Outline Introduction Model & Chunk Selection Strategies Simulation Conclusion

Introduction Unicast Client server is the bottleneck and waste bandwidth Router Waste Bandwidth Bottleneck

Untapped bandwidth resource Weak point Introduction Application Layer Multicast (or CDN) Rely on a single distribution tree server Leaf peers

Introduction P2P Streaming System - P2P resolves this scalability problem by using all resources of all clients. It is like using multiple trees simultaneously to deliver content. Server Peer Fully connected Peers maintain: * buffer * neighbor list

Introduction P2P application: -file distribution, p2p streaming Summary work on p2p streaming: -PPlive, PPstream, CoolStreaming, BiTos -Much work on system study, architecture design and measurement but little theoretic work Our Contributions: -Analytical Models on p2p streaming system to better understand -Chunk selection strategy study and a new strategy is proposed. -Trade off between continuity and scalability

Outline Introduction Model & Chunk Selection Strategies Simulation Conclusion

Model & Chunk Selection Strategies How buffer works?  Server sends out chunks sequentially.  Peer downloads one chunk every time slot  Buffer shits ahead one position one time slot playback server 1 t=1 2 1 t= t=3 Buffer ……….

Model & Chunk Selection Strategies M peers with the same playback requirement Each has a playback buffer In each time slot, the server randomly selects one peer and uploads one chunk Users’ metric is the continuity, defined as p(n), the probability chunk n available To compute p(n), recursively compute p(i). p(i) is defined as: p(i)=prob(position i filled) 1 2 …………… n … M peers playback server 1/M

P2p technology effect Model & Chunk Selection Strategies Each peer’s buffer is a sliding window In each time slot, each peer downloads a chunk from server or its neighbor q(i) = the probability Buf[i] gets filled at this time slot, for i>1 1 2 …………… n p(1)=1/M p(n)=? time=t 1 2 …………… n t+1 p(1)=1/M sliding window

Model & Chunk Selection Strategies  w(i) = probability peer wants to fill Buf[i] w(i)=1-p(i)  h(i) = probability the selected peer has the content for Buf[i] h(i)=p(i)  s(i) = Buf[i] determined by chunk selection strategy 1 2 …… i … n p(1)=1/M p(n) peer 1 2.….. i … n neighbor p(1)=1/M sliding window

Buffer mapX X playback Model & Chunk Selection Strategies Greedy Strategy -try to fill the empty buffer closest to playback Rarest First Strategy -try to fill the empty buffer for the newest chunk since p(i) is an increasing function, this means “Rarest First” An example RF SelectionGreedy Selection

Model & Chunk Selection Strategies Greedy p(i+1)=p(i)+ (1-p(i)) * p(i) * (1-p(1)-p(n)+p(i+1)) Rarest first p(i+1)=p(i)+ (1-p(i)) * p(i) * (1-p(i)) Also studied continuous forms for these difference equations to study sensitivity Simulation to validate models s(i)h(i)w(i) h(i)s(i)

Model & Chunk Selection Strategies From our models we can get the following conclusions:  Rarest First Strategy is more scalable than the Greedy Strategy as the peer population increases.  The Greedy Strategy can achieve better continuity than Rarest First Strategy for small number of peers.

A New Chunk Selection Strategy Partition the buffer into [1,m] and [m+1,n ]  Use RF for [1,m] first  If no chunks available for download by RF, use Greedy for [m+1,n] Difference equations become for i = 1,…,m-1 for i = m, … n-1 Buffer map 1 …….... m First do RFSecond do Greedy m+1....……… n

Outline Introduction Model & Chunk Selection Strategies Simulation Conclusion

Comparing Different Chunk Selection Strategies What do you mean by “better”? Playback continuity: p(n) as large as possible Start-up Latency: Given buffer size (n) and relatively large peer population (M) 1)“Rarest first” is better in continuity! 2)“Greedy” is the best in start-up latency 3)“Mixed” is the best one of them

Simulation M=1000 N=40 In simulation, # neighbors=60 Uploads at most 2 in each time slot for one peer Validate our model

Simulation 1000 peers, 40 buffer Compare three strategies, especially the curve for Mixed. Rarest First Greedy Mixed

Simulation 1000 peers, buffer length varies from 20 to 40. For different buffer sizes Mixed achieves best continuity than both RF and Greedy Mixed has better start-up latency than RF Mixed RF Greedy RF Mixed Greedy

Simulation For (a), there are 40 peers. Greedy is better. For (b), the continuity requirement is fixed at RF is better RF Greedy RF

Simulation Simulate 1000 peers, 2000 time slots Continuity is the average continuity of all peers Continuity for Mixed is more consistent, as well highest Mixed

Simulation Adjust m so that p(m) achieves a target probability (e.g. 0.3) In simulation study, 100 new peers arrive every 100 slots m adapts to a larger value as population increases How to adapt m for the mixed strategy Mixed RF

Outline Introduction Model & Chunk Selection Strategies Simulation Conclusion

Related work -Coolstreaming, BiTos Summary work on p2p streaming: -There are many designed p2p streaming systems, such as PPLive, PPstream -Many measurement papers on these system -Little work on model analysis -Little study on chunk selection strategies Our Contribution: -Analytical Models on p2p streaming system to better understand -Chunk selection strategy study -Mixed strategy is proposed, which is better than RF or Greedy -Trade off between continuity and scalability