Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (

Slides:



Advertisements
Similar presentations
Impact of Interference on Multi-hop Wireless Network Performance Kamal Jain, Jitu Padhye, Venkat Padmanabhan and Lili Qiu Microsoft Research Redmond.
Advertisements

Optimal Scheduling in Peer-to-Peer Networks Lee Center Workshop 5/19/06 Mortada Mehyar (with Prof. Steven Low, Netlab)
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 Author: Bram Cohen Presenter: Brian Liao.
Incentives Build Robustness in BitTorrent Bram Cohen.
Agenda Introduction BT + Multimedia Experimental Conclusion 2.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
Session 8b, 5 th July 2012 Future Network & MobileSummit 2012 Copyright 2012 Mobile Multimedia Laboratory Realistic Media Streaming over BitTorrent George.
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.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli University of Calif, Berkeley and Lawrence Berkeley National Laboratory SIGCOMM.
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.
Seed Scheduling for Peer-to-Peer Networks Flavio Esposito Ibrahim Matta Pietro Michiardi Nobuyuki Mitsutake Damiano Carra.
Clustering and Sharing Incentives in BitTorrent Systems Arnaud Legout 1, Nikitas Liogkas 2, Eddie Kohler 2, Lixia Zhang 2 1 INRIA, Projet Planète, Sophia.
Amir Rasti Reza Rejaie Dept. of Computer Science University of Oregon.
Resilient Peer-to-Peer Streaming Paper by: Venkata N. Padmanabhan Helen J. Wang Philip A. Chou Discussion Leader: Manfred Georg Presented by: Christoph.
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
Performance Analysis of Orb Rabin Karki and Thangam V. Seenivasan 1.
Alex Sherman Jason Nieh Cliff Stein.  Lack of fairness in bandwidth allocation in P2P systems:  Users are not incentivized to contributed bandwidth.
A survey of BitTorrent study Jian Liang EL933 Prof. Yong Liu.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
End-to-End Analysis of Distributed Video-on-Demand Systems Padmavathi Mundur, Robert Simon, and Arun K. Sood IEEE Transactions on Multimedia, February.
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.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
Bounds on the Performance of P2P Networks Using Tit-for-Tat Strategies Dimitri DeFigueiredo Balaji Venkatachalam S. Felix Wu.
1 Denial-of-Service Resilience in P2P File Sharing Systems Dan Dumitriu (EPFL) Ed Knightly (Rice) Aleksandar Kuzmanovic (Northwestern) Ion Stoica (Berkeley)
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.
1 Incentives Build Robustness in BitTorrent? Analysis on Bit Torrent Client performance By Jimmy Wong.
Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX.
Leveraging Social Networks for Increased BitTorrent Robustness Wojciech Galuba, Karl Aberer EPFL, Switzerland Zoran Despotovic, Wolfgang Kellerer Docomo.
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
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.
GPS: A General Peer-to-Peer Simulator and its Use for Modeling BitTorrent Weishuai Yang Nael Abu-Ghazaleh
BitTorrent Dr. Yingwu Zhu. Bittorrent A popular P2P application for file exchange!
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.
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.
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.
LOCALITY-AWARENESS IN BITTORRENT-LIKE P2P APPLICATIONS R 黃琇琳 R 呂柏頡.
Tsunami: Maintaining High Bandwidth Under Dynamic Network Conditions Dejan Kostić, Ryan Braud, Charles Killian, Eric Vandekieft, James W. Anderson, Alex.
Multiclass P2P Networks: Static Resource Allocation for Service Differentiation and Bandwidth Diversity Florence Clévenot-Perronnin, Philippe Nain and.
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
Presented by Rajan Includes slides presented by Andrew Sprouse, Northeastern University CISC 856 TCP/IP and Upper Layer Protocols Date:May 03, 2011.
1 On the Placement of Web Server Replicas Lili Qiu, Microsoft Research Venkata N. Padmanabhan, Microsoft Research Geoffrey M. Voelker, UCSD IEEE INFOCOM’2001,
Peer-Assisted Content Distribution Pablo Rodriguez Christos Gkantsidis.
Downlink Scheduling With Economic Considerations to Future Wireless Networks Bader Al-Manthari, Nidal Nasser, and Hossam Hassanein IEEE Transactions on.
Flashback: A Peer-to-Peer Web Server for Flash Crowds Presented by Tom Batkiewicz CS 587x Fall ‘07.
A P2P-Based Architecture for Secure Software Delivery Using Volunteer Assistance Purvi Shah, Jehan-François Pâris, Jeffrey Morgan and John Schettino IEEE.
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.
Rate-Based Channel Assignment Algorithm for Multi-Channel Multi- Rate Wireless Mesh Networks Sok-Hyong Kim and Young-Joo Suh Department of Computer Science.
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
Bit Torrent Nirav A. Vasa. Topics What is BitTorrent? Related Terms How BitTorrent works Steps involved in the working Advantages and Disadvantages.
Improving QoS in BitTorrent-like VoD Systems Yan Yang Alix L.H. Chow Leana Golubchik Dannielle Bragg Univ. of Southern California Harvard University InfoCom.
Peer-to-Peer Networks 10 Fast Download Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
Traffic Localization with Information Guidance of Pseudo Peer Agent on BT-P2P Network 學生 : 楊宏昌 指導教授 : 曾黎明教授 在 BT 同儕通訊上利用參與者訊息引導對外流量之區域化節約.
An example of peer-to-peer application
FairTorrent: BrinGing Fairness to Peer-to-Peer Systems
Introduction to BitTorrent
Nuno Salta Supervisor: Manuel Ricardo Supervisor: Ricardo Morla
Determining the Peer Resource Contributions in a P2P Contract
Managing Inter-domain Traffic in the Presence of BitTorrent File-Sharing Srinivasan Seetharaman and Mostafa Ammar School of Computer Science Objective:
Small Is Not Always Beautiful
Challenges with developing a Commercial P2P System
Pure P2P architecture no always-on server
Presentation transcript:

Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan ( Microsoft Research, Redmond ) April 27, IEEE INFOCOM, Barcelona April 27, IEEE INFOCOM, Barcelona

2 How BitTorrent Works Seed … … … … … … … … 1 3  Content Distribution Tool  File is chopped into pieces

3 How BitTorrent works Downloaders exchange blocks with each other Utilizes perpendicular bandwidth Tracker keeps track of connected peers Salient features Which block to download first?  Locally rarest block Which peers should I upload blocks to?  Tit-for-tat: peers which give best download rates

4 Why study BitTorrent (again) ? Very popular, successful: empirically What exactly makes it perform so well? Which parameter it chose is crucial? Motivating Questions Are download rates optimal? Can we do better? Is the Rarest First policy really beneficial? Does rate-based Tit-for-tat (TFT) work? Must nodes continue seeding after downloading? Answers depend on many parameters! Hard to control in measurements or analytically

5 Talk Outline 1.Evaluation Methodology Simulation-based 2.Scalability under homogeneous settings Impact of block-choosing policy, degree, etc. 3.Fairness under heterogeneous settings Impact of Tit-for-tat 4.Post-flash-crowd scenario: pre-seeded nodes 5.Conclusion Goal: Analyze and understand BitTorrent under various scenarios

6 Experimental Setup Discrete-event simulator Models BitTorrent joins, leaves, block exchanges Models queuing delays, no propagation delay Fluid model of link sharing, no TCP dynamics Assumes bw-bottlenecks only at the edge Common parameters 100 MB file; 400 blocks of 256 KB 1 seed always on, flash-crowd: 100 joins/sec Seed-uplink = 6 Mbps, Nodes = 1500/400 kbps #nodes = 1000, #neighbors = 7

7 Scalability Questions: Does BitTorrent scale as the size of the flash crowd increases? Does it perform optimally?  High uplink utilization  High fairness (in the heterogeneous case) Measurement Metrics Mean uplink utilization  Mean over time, across all nodes  Mean download time is directly related

8 Scalability: Uplink Utilization Upload utilization is constantly very high

9 Problem Case: Slow Seed Node capacities Uplink: 400 kbps Downlink: 1500 kbps Seed capacity Uplink: varies from 200 kbps  1000 kbps Scenario: seed uplink = 400 kbps If BitTorrent is performing optimally, we should see near 100% uplink utilizatoin

10 Problem Case: Slow Seed Vanilla BitTorrent: Connected nodes decide which blocks to request from seed The seed node decides which blocks to serve Avoid sending duplicate blocks from seed at all costs

11 Neighbor Count and Block Policy Questions: How many neighbors required to guarantee good uplink utilization? When does Local Rarest First matter?

12 Neighbor Count and Block Policy Very low neighbor count is sub-optimal Beyond a threshold, neighbor count does not affect utilization Local Rarest First policy works better than Random block picking However, differences are discernible only when the seed bandwidth is low!

13 Improving Fairness Goal: ensure nodes upload as much as they download ISPs have begun to charge heavy P2P users Uploaders will bear the brunt of the charges BitTorrent’s rate-based TFT and optimistic unchoke can result in high unfairness Proposed solution: pair-wise block-based TFT Bound the difference between blocks uploaded and downloaded

14 Improving Fairness Questions: In the worst case, how many blocks does a node serve?  Measure as ratio to #blocks downloaded What is the overall uplink utilization?  TFT advocates blocking a link even when there is data to send  Can hurt link utilization

15 Improving Fairness: Blocks served Vanilla BitTorrent results in high unfairness Block-level TFT effective Matching Tracker useful

16 Improving Fairness: Uplink Utilization Matching Tracker helps increase utilization Pairwise TFT needs higher node degrees for better utilization

17 Other Workloads: Pre-seeded Nodes Scenario Some nodes join a flash crowd Partially finish the download Re-join a flash crowd laterQuestion: Other nodes start afresh; hence not so choosy These nodes are looking for specific blocks  Do they require more time to finish?

18 Pre-seeded nodes: Download Time LRF “equalizes” rate of block “flow”  pre-seeded nodes takes longer Small amount of FEC improves performance significantly!

19 Conclusion Focus: upload utilization and (un)fairness Findings BitTorrent scales well  Local Rarest First eliminates last-block problem  Design decisions crucial when seed uplink is slow Rate-based TFT can result in unfairness in heterogeneous settings  Block-based TFT can alleviate it LRF may be sub-optimal if nodes have differing objectives  Source-based FEC sometimes useful

20 Thank You! Find simulator-code (C#) at: Questions?

21 Why study BitTorrent? – 1 slide, 1 min Motivating questions from Introduction Present talk outline – 1 slide, 1 min Present BT overview for unfamiliars – 2 slides, 2 mins Evaluation Methodology – 1/2 slides, 2 mins Metric: uplink utilization; why not dnld time? Which graphs to present? - ~10 mins remain. Can present ~ 5-6 graphs, at best. 1. Scaling 2. Smartseed – this can be quick 3. Effect of ‘d’ and block policy – important part 4. “fairness” motivation; 5. Central problem is bw-mismatch of peers 6. How bittorrent “equalizes” block distribution and how that can hurt sometimes!