BALANCING THROUGHPUT, ROBUSTNESS, AND IN- ORDER DELIVERY IN P2P VOD Bin Fan, David G. Andersen, Michael Kaminsky†, Konstantina Papagiannaki † Carnegie.

Slides:



Advertisements
Similar presentations
Optimal Scheduling in Peer-to-Peer Networks Lee Center Workshop 5/19/06 Mortada Mehyar (with Prof. Steven Low, Netlab)
Advertisements

Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
Seminar in Auctions and Mechanism Design Based on J. Hartline’s book: Approximation in Economic Design Presented by: Miki Dimenshtein & Noga Levy.
Incentives Build Robustness in BitTorrent Bram Cohen.
Novasky: Cinematic-Quality VoD in a P2P Storage Cloud Speaker : 童耀民 MA1G Authors: Fangming Liu†, Shijun Shen§,Bo Li†, Baochun Li‡, Hao Yin§,
Agenda Introduction BT + Multimedia Experimental Conclusion 2.
Playback-buffer Equalization For Streaming Media Using Stateless Transport Prioritization By Wai-tian Tan, Weidong Cui and John G. Apostolopoulos Presented.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
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.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
1 Analysis of BitTorrent-like Protocols for On-Demand Stored Media Streaming Khandoker Nadim Parvez Carey Williamson Anirban Mahanti Niklas Carlsson.
Amir Rasti Reza Rejaie Dept. of Computer Science University of Oregon.
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.
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
ZIGZAG A Peer-to-Peer Architecture for Media Streaming By Duc A. Tran, Kien A. Hua and Tai T. Do Appear on “Journal On Selected Areas in Communications,
Tirgul 10 Rehearsal about Universal Hashing Solving two problems from theoretical exercises: –T2 q. 1 –T3 q. 2.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
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.
Improving ISP Locality in BitTorrent Traffic via Biased Neighbor Selection Ruchir Bindal, Pei Cao, William Chan Stanford University Jan Medved, George.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
Distributed Video Streaming Over Internet Thinh PQ Nguyen and Avideh Zakhor Berkeley, CA, USA Presented By Sam.
Modeling and analysis of BitTorrent-like P2P network Fan Bin Oct,1 st,2004.
Distributed Servers Architecture for Networked Video Services S.-H. Gary Chan and Fouad Tobagi Presented by Todd Flanagan.
Issues in Offering Live P2P Streaming Service to Residential Users Nazanin Magharei, *Yang Guo, and Reza Rejaie Dept. of Computer and Information Science.
Traffic Sensitive Active Queue Management - Mark Claypool, Robert Kinicki, Abhishek Kumar Dept. of Computer Science Worcester Polytechnic Institute Presenter.
Adaptive Content Management in Structured P2P Communities Jussi Kangasharju Keith W. Ross David A. Turner.
On Peer-to-Peer Media Streaming Dongyan Xu Mohamed Heffeda Susanne Hamrusch Bharat Bhargava 2002 International Conference on Distributed Computing Systems.
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
On Peer-to-Peer Media Streaming by Dongyan Xu, Mohamed Hefeeda, Susanne Hambrusch, Bharat Bhargava Dept. of Computer Science, Purdue University, West Lafayette.
Efficient Sub-stream Encoding and Transmission for P2P Video on Demand 1 Efficient Sub-Stream Encoding and Transmission for P2P Video on Demand Zhengye.
Loopback: Exploiting Collaborative Caches for Large-Scale Streaming Ewa Kusmierek, Yingfei Dong, Member, IEEE, and David H. C. Du, Fellow, IEEE.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
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.
Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX.
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.
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.
INFOCOM, 2007 Chen Bin Kuo ( ) Young J. Won ( ) DPNM Lab.
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
Do incentives build robustness in BitTorrent? Michael Piatek, Tomas Isdal, Thomas Anderson, Arvind Krishnamurthy, Arun Venkataramani.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
EE 685 presentation Utility-Optimal Random-Access Control By Jang-Won Lee, Mung Chiang and A. Robert Calderbank.
"1"1 Introduction to Managing Data " Describe problems associated with managing large numbers of disks " List requirements for easily managing large amounts.
A Simple Model for Analyzing P2P Streaming Protocols Zhou Yipeng Chiu DahMing John, C.S. Lui The Chinese University of Hong Kong.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
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.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
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.
1 FairOM: Enforcing Proportional Contributions among Peers in Internet-Scale Distributed Systems Yijun Lu †, Hong Jiang †, and Dan Feng * † University.
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.
Geethanjali College Of Engineering and Technology Cheeryal( V), Keesara ( M), Ranga Reddy District. I I Internal Guide Mrs.CH.V.Anupama Assistant Professor.
An example of peer-to-peer application
Random Testing: Theoretical Results and Practical Implications IEEE TRANSACTIONS ON SOFTWARE ENGINEERING 2012 Andrea Arcuri, Member, IEEE, Muhammad.
The Impact of Replacement Granularity on Video Caching
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
Peer-to-Peer Video Services
Javad Ghaderi, Tianxiong Ji and R. Srikant
Balancing Throughput, Robustness, and In-Order Delivery in P2P VoD
Fluid Modeling Abstracting a discrete-valued system (e.g., packets, customers, users) into a continuous-valued model Writing equations to model system.
Presentation transcript:

BALANCING THROUGHPUT, ROBUSTNESS, AND IN- ORDER DELIVERY IN P2P VOD Bin Fan, David G. Andersen, Michael Kaminsky†, Konstantina Papagiannaki † Carnegie Mellon University, †Intel Labs Pittsburgh Presented by Haoming Fu

INDEX INTRODUCTION TRS TRADEOFF BALANCING THE TRADEOFF EVALUATION CONCLUSION

1, INTRODUCTION P2P Background Important Metrics VOD Goals

P2P BACKGROUND P2P file transfer: Bit Torrent, Emule VoD(Video on Demand): PPLive Live Streaming: 中大网络电视 (no terminal software, centralized solution?) Features of VoD: Demand sequentiality for playback while downloading chunks. Desire short buffering time but not low downloading time. Less synchrony, permit longer buffering time(though not desired), jump & skip.

I MPORTANT M ETRICS (T)hroughtput: the number of bytes downloaded per second (R)obustness: the ability to maintain high throughput in face of network conditions such as node failure, arrival/departure and heterogeneity of users’ bandwidth. (S)equentiality: the order of chunk arrival. What we actually want is: high sequential throughput with tolerable robustness.

VOD GOALS Useful chunks : a subset of chunks in a contiguous sequence from the start of the file. Useful chunks

VOD GOALS Buffer time Out of buffer Slope: playback rate

2, TRS TRADEOFF Model Assumptions and Metrics Definitions & Assumptions Throughput Robustness Sequentiality Three Basic Schemes Tradeoff Theorem

DEFINITIONS & ASSUMPTIONS Downlink capacity is not bottleneck. Leave once a node has all chunks. Steady state : #the rate of departures = #the rate of new arrivals, thus the population size of the swarm is stable. Bandwidth allocation : Seed and peers allocate their uplink bandwidth capacity uniformly among the chunks that they are serving. chunk 1348 chk bandwidth

DEFINITIONS & ASSUMPTIONS Ci: the sum of the share of the uplink bandwidth allocated for chunk i from the seed and all other peers.

THROUGHPUT It’s safe to assume there is only one seed in the swarm since seeds are homogeneous( 同质的 ). g i : the seed allocates a fraction g i of its uplink bandwidth to chunk i. f i : on average a peer allocates fi.

THROUGHPUT Theorem 1: for a system in steady state, b: chunk size : maximal arrival rate Proof: Steady state: Q i (T)/T is the rate of replicating chunk i, which is bounded by the per-chunk capacity C i /b. Therefore < <=C i /b, for all i. num of chunk i’s copies peers go peers come

THROUGHPUT By eq.(1) and eq.(2), we have Chunk k is the bottleneck chunk. Apply a little law: to eq.(3), we have T is the average downloading time.

THROUGHPUT Applying Theorem 1, N= T, We get the lower bound for T,

ROBUSTNESS denotes the probability of a peer being “bad”(e.g. slow; failing) r i be the number of available sources that each peer can download chunk i from Intuitively, it is the probability of having at least one good source to download from.

ROBUSTNESS In steady state, the probability for a randomly selected peer to have x chunks is 1/M, for x = 0;1;…; M-1. the expected number of chunks that a random peer has downloaded is R’s upper bound: Total number of chunks

SEQUENTIALITY useful chunks Denote U(x) as the fraction of useful chunks given x downloaded chunks. 0 <= S <= 1 e.g U(400) = 300/400

2, TRS TRADEOFF Model Assumptions and Metrics Three Basic Schemes Rarest Random Naive( 幼稚的 ) Sequential Cascading( 瀑布 ) Tradeoff Theorem

RAREST RANDOM The probability for a peer that has downloaded x chunks to have any particular chunk i is x/M. BT Throughput Apply theorem 1, we have Lower bound! Perfect throughput.

RAREST RANDOM Robustness Thus, Upper bound! Perfect robustness. Sequentiality Completely no sequentiality. #num of peers having x chunks #pro of having chunk i

NAIVE SEQUENTIAL Note, only peers with i, i+1, …, M chunks have chunk i. In steady state, the number of peers with 0, 1, …, M-1 chunks is N/M. Throughput C M is contributed only by seeds. C M is bottleneck, & Naive Sequential is unstable.

NAIVE SEQUENTIAL Robustness Sequentiality

CASCADING Highest throughput, if the seed is not the bottleneck, the downloading time is Lowest robustness, intuitively, when one link breaks down, the whole chain collapses. Fully sequentiality.

2, TRS TRADEOFF Model Assumptions and Metrics Three Basic Schemes Tradeoff Theorem

TRADEOFF THEOREM Theorem 2. A P2P VoD system can not simultaneously maximize throughput, robustness and sequentiality. Proof Assume otherwise. Maximized T: Maximized S: a seed has i, then has i-1, …, 1 Maximized R: serve all the chunks it has i < j, then Ci < Cj, contradiction!

3, BALANCING THE TRADEOFF Hybrid Strategy Segment Random Many More in the Space

HYBRID STRATEGY Combine rarest first and naive sequential. download a chunk according to naive sequential with pro, according to random with 1-s. higher s improves sequentiality but may reduce the system throughput. grey: x xs x(1-s)

HYBRID STRATEGY Discussion: bandwidth division 1. Downlink capacity d, playback rate q. d > q. Download sequentially at rate q, while randomly at d-q? When q/d  1, it degenerate to NS. 2. Dynamic scheme. With enough useful chunks buffered, s is low? Useful chunks buffered not enough  s increase  low throughput  further not enough  s increase  …

SEGMENT RANDOM The Segment random strategy groups all M chunks of the file into K segments, each of which consists of W chunks. Segments in order Chunks random chunk segment

SEGMENT RANDOM peers downloading chunks in the last segment can help upload this last segment. W large, RF K large, NS

4, EVALUATION Experiment Setup TRS Tradeoff in Emulation Buffering Time

EXPERIMENT SETUP 1 seed, 50 peers 10 Mbps up, 20 Mbps down, 10 ms latency For robustness measurement, “bad” nodes: heterogeneous nodes (one third are significantly slower: 2 Mbps up and 5 Mbps down)

TRS TRADEOFF IN EMULATION high throughput 7.33, robust awful seq

BUFFERING TIME Only when sequential throughput is high, can the buffering time become low. beautiful aweful

5, CONCLUSION TRS Tradeoff Theorem.

THANK YOU! Any questions, remarks or objections?

RAREST RANDOM The chunks are uniformly distributed among peers, thus the probability for a peer that has downloaded x chunks to have any particular chunk i is x/M. (BT) chunk i obtains 1/x of the uplink bandwidth if it has been downloaded already (with probability x/M) 0 with pro 1-x/M

RAREST RANDOM Throughput, we have Apply theorem 1, we have Lower bound! Perfect throughput.

RAREST RANDOM Robustness In steady state, peers are downloading equally rapidly so the number of peers having x chunks (x = 0;1;…;M-1) is N/M, we have Thus, Upper bound! Perfect robustness.

RAREST RANDOM Sequentiality We have, Completely no sequentiality.