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.

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

Network Resource Broker for IPTV in Cloud Computing Lei Liang, Dan He University of Surrey, UK OGF 27, G2C Workshop 15 Oct 2009 Banff,
An Alliance based Peering Scheme for P2P Live Media Streaming Darshan Purandare Ratan Guha University of Central Florida August 31, P2P-TV, Kyoto.
Neighbour selection strategies in BitTorrent- like Peer-to-Peer systems L.G. Alex Sung, Herman Li March 30, 2005 for CS856 Web Data Management University.
Rarest First and Choke Algorithms Are Enough
Rarest First and Choke Algorithms are Enough Arnaud LEGOUT INRIA, Sophia Antipolis France G. Urvoy-Keller and P. Michiardi Institut Eurecom France.
The BitTorrent Protocol. What is BitTorrent?  Efficient content distribution system using file swarming. Does not perform all the functions of a typical.
Incentives Build Robustness in BitTorrent Bram Cohen.
Presented by: Su Yingbin. Outline Introduction SocialSwam Design Notations Algorithms Evaluation Conclusion.
Agenda Introduction BT + Multimedia Experimental Conclusion 2.
Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
View-Upload Decoupling: A Redesign of Multi-Channel P2P Video Systems Keith Ross Polytechnic Institute of NYU.
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.
1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 1 From Packet-level to Flow-level Simulations of P2P Networks Kolja Eger, Ulrich Killat Hamburg.
1 Nazanin Magharei, Reza Rejaie University of Oregon INFOCOM 2007 PRIME: P2P Receiver-drIven MEsh based Streaming.
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
1 Analysis of BitTorrent-like Protocols for On-Demand Stored Media Streaming Khandoker Nadim Parvez Carey Williamson Anirban Mahanti Niklas Carlsson.
Natural Selection in Peer-to-Peer Streaming: From the Cathedral to the Bazaar Vivek Shrivastava, Suman Banerjee University of Wisconsin-Madison, USA ACM.
MAC Performance Analysis for Vehicle to Infrastructure Communication Tom H. Luan*, Xinhua Ling, Xuemin (Sherman) Shen* *BroadBand Communication Research.
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 (
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
Using Layered Video to Provide Incentives in P2P Live Streaming
Kuang-Hao Liu et al Presented by Xin Che 11/18/09.
1 Live P2P Streaming with Scalable Video Coding and Network Coding Shabnam Mirshokraie, Mohamed Hefeeda School of Computing Science Simon Fraser University,
Alex Sherman Jason Nieh Cliff Stein.  Lack of fairness in bandwidth allocation in P2P systems:  Users are not incentivized to contributed bandwidth.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
Improving ISP Locality in BitTorrent Traffic via Biased Neighbor Selection Ruchir Bindal, Pei Cao, William Chan Stanford University Jan Medved, George.
Peer-Assisted Content Distribution Networks: Techniques and Challenges Pei Cao Stanford University.
Service Differentiated Peer Selection An Incentive Mechanism for Peer-to-Peer Media Streaming Ahsan Habib, Member, IEEE, and John Chuang, Member, IEEE.
Modeling and analysis of BitTorrent-like P2P network Fan Bin Oct,1 st,2004.
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.
Multiple Sender Distributed Video Streaming Thinh Nguyen, Avideh Zakhor appears on “IEEE Transactions On Multimedia, vol. 6, no. 2, April, 2004”
Issues in Offering Live P2P Streaming Service to Residential Users Nazanin Magharei, *Yang Guo, and Reza Rejaie Dept. of Computer and Information Science.
An Alliance based PeeringScheme for P2P Live Media Streaming An Alliance based Peering Scheme for P2P Live Media Streaming Darshan Purandare Ratan Guha.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
A P2P file distribution system ——BitTorrent Fan Bin Sep,25,2004.
On Fairness, Optimizing Replica Selection in Data Grids Husni Hamad E. AL-Mistarihi and Chan Huah Yong IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS,
CUHK Analysis of Movie Replication and Benefits of Coding in P2P VoD Yipeng Zhou Aug 29, 2012.
Receiver-driven Layered Multicast Paper by- Steven McCanne, Van Jacobson and Martin Vetterli – ACM SIGCOMM 1996 Presented By – Manoj Sivakumar.
Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX.
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
Analyzing the Resilience-Complexity Tradeoff of Network Coding in Dynamic P2P Networks IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. 22,
Chun-Yuan Chang, Cheng-Fu Chou * and Ming-Hung Chen Presenter: Prof. Cheng-Fu Chou National Taiwan University
Do incentives build robustness in BitTorrent? Michael Piatek, Tomas Isdal, Thomas Anderson, Arvind Krishnamurthy, Arun Venkataramani.
1 Insertion of ISP-owned Peer & Locality Awareness in BitTorrent Ioanna Papafili, George D. Stamoulis, Sergios Soursos AUEB EuroNF workshop, Athens October.
Distributing Layered Encoded Video through Caches Authors: Jussi Kangasharju Felix HartantoMartin Reisslein Keith W. Ross Proceedings of IEEE Infocom 2001,
Multiclass P2P Networks: Static Resource Allocation for Service Differentiation and Bandwidth Diversity Florence Clévenot-Perronnin, Philippe Nain and.
Fen Hou and Pin-Han Ho Department of Electrical and Computer Engineering, University of Waterloo, Waterloo, Ontario Wireless Communications and Mobile.
1 [3] Jorge Martinez-Bauset, David Garcia-Roger, M a Jose Domenech- Benlloch and Vicent Pla, “ Maximizing the capacity of mobile cellular networks with.
ACM NOSSDAV 2007, June 5, 2007 IPTV Experiments and Lessons Learned Panelist: Klara Nahrstedt Panel: Large Scale Peer-to-Peer Streaming & IPTV Technologies.
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
On Optimizing the Backoff Interval for Random Access Scheme Zygmunt J. Hass and Jing Deng IEEE Transactions on Communications, Dec 2003.
1 Measuring P2P IPTV Systems Thomas Silverston, Olivier Fourmaux Universit ´e Pierre et Marie Curie - Paris 6 ACM NOSSDAV th International workshop.
Wireless communications and mobile computing conference, p.p , July 2011.
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.
An Optimal Distributed Call Admission control for Adaptive Multimedia in Wireless/Mobile Networks Reporter: 電機所 鄭志川.
Toward a Packet Duplication Control for Opportunistic Routing in WSNs Georgios Z. Papadopoulos, Julien Beaudaux, Antoine Gallais, Periklis Chatzimisios,
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.
A P2P On-Demand Video Streaming System with Multiple Description Coding Yanming Shen, Xiaofeng Xu, Shivendra Panwar, Keith Ross, Yao Wang Polytechnic University.
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.
A Cluster Based On-demand Multi- Channel MAC Protocol for Wireless Multimedia Sensor Network Cheng Li1, Pu Wang1, Hsiao-Hwa Chen2, and Mohsen Guizani3.
CHANNEL ALLOCATION FOR SMOOTH VIDEO DELIVERY OVER COGNITIVE RADIO NETWORKS Globecom 2010, FL, USA 1 Sanying Li, Tom H. Luan, Xuemin (Sherman) Shen Department.
Accelerating Peer-to-Peer Networks for Video Streaming
FairTorrent: BrinGing Fairness to Peer-to-Peer Systems
Video Streaming over Cognitive radio networks
Presentation transcript:

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 * University of Waterloo Hong Kong University of Science and Technology § §

 BT, first appeared in October 2002, is a file distribution system based on the P2P paradigm  Engrosses about 30% of all Internet traffic volume [1]  Leads to the proliferation of P2P media streaming using the user-driven data-oriented download approach  For example, CoolStreaming, PPLive [2] and PPStream for live and on-demand video streaming  PPlive is reported in [2] to broadcast to over 200,000 users in one event at the bit rate of kbps  Successful media streaming requires providing users with the static and guaranteed download throughput 2BT Under a MicroscopeIWQoS’10 BitTorrent (BT): A Brief Introduction [1]. EContentMag.com, “Chasing the user: The revenue streams of 2006”, December 2005 [2]. 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, vol. 9, no. 8, pp , Dec

 QoS provisioning is tough in P2P  P2P network is inherently dynamic and heterogeneous  The heterogeneous bandwidth of peer uploaders results in the unpredictable download throughput of nodes  The dynamic nature of peer uploaders results in the intense variance (or jitters) of download throughput to nodes  Problem Statement: How to accommodate the bandwidth heterogeneity and dynamics of peers to provision nodes with static and guaranteed download throughput?  Methodology: Evaluate and enhance the performance of BT 3BT Under a MicroscopeIWQoS’10 QoS in P2P Content Distribution

 BT strives to ensure (proportional) fairness: Nodes attain the download rates proportional to their upload rates  Incentive mechanism to encourage the upload 4BT Under a MicroscopeIWQoS’10 BT Protocol  Tit-for-Tat scheme (Forbid freeriders)  Each node only uploads to others who are uploading to it  Choking algorithm (Preserve the high-rate uploaders)  Every Tc (e.g., 10) seconds, select nc (e.g, 4) nodes to unchoke (upload to) among the peers which are uploading to it  Optimistic unchoke (Explore the high-rate nodes for data exchange)  Randomly unchoke no (e.g., 1) node which is not uploading to it every To (e.g, 30) seconds

5BT Under a MicroscopeIWQoS’10 Example of the Node Connectivity Data exchange governed by tit-for-tat and choking algorithm Download from others via optimistic unchoke of others Upload to others with its optimistic unchoke  Fixed number of upload connections  Random number of download connections

 Assuming two classess of peers, high bandwidth (H-BW) and low bandwidth peers  Model the download connections of a randomly tagged node in class as a Markov process with state  Downloading from H-BW nodes and L-BW nodes  Download rate at time t  Asymptotically, the mean and variance of are, respectively, 6BT Under a MicroscopeIWQoS’10 Throughput Analysis of a Random BT Node and, Upload capacity of H-BW and L-BW nodes, respectively. Mean population of peers., Portion of H-BW and L-BW nodes, respectively. Steady state of the Markov process

 Transition rates are composed of three events  Dynamic node arrivals and departures  Connections/disconnections due to the choking algorithm  Connections/disconnections due to the optimistic unchoke  Obtain the steady state probability with the balance equations 7BT Under a MicroscopeIWQoS’10 Numerical Solution where is the transition rate matrix of the node in class

8BT Under a MicroscopeIWQoS’10 Model Validation  Session level simulator coded in C++  Poisson arrival to the network at the rate of peers/s  Mean network size to be N  Nodal departure rate  Each experiment with 30 simulation runs and 95% confidence interval

 Highly dynamic due to peer churns and the frequent disconnection of choking algorithm and optimistic unchoke  Download rate is proportional to upload rate 9BT Under a MicroscopeIWQoS’10 Download Rate of Tagged Node over Time

10BT Under a MicroscopeIWQoS’10 Increasing n c and n o  n c : connections in the choking algorithm n o : connections in the optimistic unchoke  Our model is more accurate to capture the dynamic nature of P2P  Increasing n c improves the fairness  Increasing n o degrades the fairness Fan: Fan, B., Chiu, D.-M., and Lui, J. “Stochastic analysis and file availability enhancement for BT like file sharing systems”, In proc. of IEEE IWQoS, 2006

11BT Under a MicroscopeIWQoS’10 Increase T c and Arrival Rate  T o = 3T c : Time interval for executing optimistic algorithm  Increasing T c degrades the fairness as nodes are slow to adapt  Increase arrival rate degrades the fairness as the network becomes more chaos  T c : Time interval for executing choking algorithm

 Given the peer arrival rate and mean network size, we can optimize the parameters of BT towards maximal fairness as  Parameters including: number of links and execution frequency for choking algorithm, and those of optimistic unchoke  Rather than fine tune the parameters, can we improve the protocol for better performance?  Enhanced protocol for better QoS provisioning 12BT Under a MicroscopeIWQoS’10 Optimize BT Parameters

 BT relies on node clustering to provision QoS  Nodes of similar upload capacity tend to form clusters to exchange data 13BT Under a MicroscopeIWQoS’10 Node Clustering in BT

14BT Under a MicroscopeIWQoS’10 Protocol Enhancement  What is wrong with the clustering in BT?  Optimistic unchoke: blind search  Randomly connect to nodes in the peer ocean to explore high rate nodes  Choking algorithm: a trail-and-error manner  Time to locate appropriate cluster peers is long  cluster effect is weak in a highly heterogeneous and dynamic network  Random walk based peer selection  Efficiently and fast search cluster nodes

15BT Under a MicroscopeIWQoS’10 Link Level Homogeneity  Form the graph in which nodes have equal capacity per out-degree  Make outgoing connections of nodes proportional to their upload capacity  With TCP connection, bandwidth is equally allocated to upload connections  Random walk algorithm to search peers with high capacity per out-degree value  Guaranteed fairness: each connection is bidirectional, downloading and uploading at the same rate

Simulation  A more heterogeneous network with capacity distribution where Download rate of the tagged node over simulation time Enhanced BT with random walk Approaches to the upload capacity with vary small variations in the dynamic network 16BT Under a MicroscopeIWQoS’10

Validation of Link-level Homogeneity  Over 75% of peers have equal capacity per upload connection, with the value same to the analysis Change the upload capacity of the tagged node every 1000 seconds In practice, upload capacity is shared by multiple applications 17BT Under a MicroscopeIWQoS’10

Conclusions  To provision static and accurate QoS guarantee is a fundamental and important issue for P2P content distribution networks (e.g., BT, PPStream)  How to address the network dynamic and heterogeneity  We propose a Markov model to evaluate the download rate of a randomly selected BT node  Throughput in the dynamic and heterogeneous network  Describe an enhanced BT protocol with efficient peer selection using the random walk algorithm  The Blind trial-and-error search is inefficient 18BT Under a MicroscopeIWQoS’10

Thank You ! 19BT Under a MicroscopeIWQoS’10 Q & A