Scalability of the BitTorrent P2P Application

Similar documents
BitTorrent. Masood Khosroshahy. July Tech. Report. Copyright 2009 Masood Khosroshahy, All rights reserved.

Application Layer: P2P File Distribution

P2P content distribution Jukka K. Nurminen

P2P Applications. Reti di Elaboratori Corso di Laurea in Informatica Università degli Studi di Roma La Sapienza Canale A-L Prof.ssa Chiara Petrioli

Peer-to-Peer Applications Reading: 9.4

The Design Trade-offs of BitTorrent-like File Sharing Protocols

Lecture 17: Peer-to-Peer System and BitTorrent

BitTorrent Optimization Techniques. (from various online sources)

BitTorrent Fairness Analysis

CompSci 356: Computer Network Architectures Lecture 21: Overlay Networks Chap 9.4. Xiaowei Yang

Bandwidth Trading in Unstructured P2P Content Distribution Networks

CMSC 332 Computer Networks P2P and Sockets

CEN5501 Computer Networks Project Description

Chapter 2: Application layer

P2P Content Distribution

P2P Applications. Reti di Elaboratori Corso di Laurea in Informatica Università degli Studi di Roma La Sapienza

Content Overlays (continued) Nick Feamster CS 7260 March 26, 2007

A Fuzzy Approach For Piece Selection In Bit Torrent Like Peer To Peer Network. * M. Padmavathi, ** R. M. Suresh

Content Distribution and BitTorrent [Based on slides by Cosmin Arad]

BitTorrent. Internet Technologies and Applications

ARTICLE IN PRESS. Journal of Network and Computer Applications

P2P content distribution

BitTorrent and CoolStreaming

CS 3516: Advanced Computer Networks

THE PEER-TO-PEER (P2P) paradigm has proved to be

Peer-to-Peer Networks 12 Fast Download

Modeling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks

A Trace Study of BitTorrent P2P File Distribution with Downloading-Side Performance Measurement and Analysis

CS 43: Computer Networks BitTorrent & Content Distribution. Kevin Webb Swarthmore College September 28, 2017

Introduction to P P Networks

MCS-377 Intra-term Exam 1 Serial #:

TCPeer: Rate Control in P2P over IP Networks

Game Theory. Presented by Hakim Weatherspoon

Peer to Peer Systems and Probabilistic Protocols

Energy Efficient BitTorrent for Green P2P File Sharing

inria , version 1-6 Sep 2006

Extreme Computing. BitTorrent and incentive-based overlay networks.

Intelligent Energy Aware Networks - a Content Perspective

CSE 486/586 Distributed Systems Peer-to-Peer Architectures

Do incentives build robustness in BitTorrent?

Lecture 8: Application Layer P2P Applications and DHTs

Last Lecture SMTP. SUNY at Buffalo; CSE 489/589 Modern Networking Concepts; Fall 2010; Instructor: Hung Q. Ngo 1

Analyzing and Improving a BitTorrent Network s Performance Mechanisms

The Scalability of Swarming Peer-to-Peer Content Delivery

Distributed Data Management. Christoph Lofi Institut für Informationssysteme Technische Universität Braunschweig

arxiv:cs.ni/ v1 21 Nov 2006

CS 3516: Computer Networks

P2P Traffic Simulation

CSC 4900 Computer Networks: P2P and Sockets

The Delicate Tradeoffs in BitTorrent-like File Sharing Protocol Design

Performance Analysis of BitTorrent Protocol

Improving Performance of BitTorrent Network through Incentive Mechanism

Fault-Tolerant Data Collection in Heterogeneous Intelligent Monitoring Networks

Application-Layer Protocols Peer-to-Peer Systems, Media Streaming & Content Delivery Networks

Performance Analysis and Improvement for BitTorrent-like File Sharing Systems

Mitigating Egregious ACK Delays in Cellular Data Networks by Eliminating TCP ACK Clocking

Stochastic Analysis and File Availability Enhancement for BT-like File Sharing Systems

internet technologies and standards

Understanding and Deconstructing BitTorrent Performance

T-Chain: A General Incentive Scheme for Cooperative Computing

Efficiency of Data Distribution in BitTorrent-Like Systems

Reti P2P per file distribution: BitTorrent

EE 122: Peer-to-Peer Networks

ON THE OPTIMIZATION OF BITTORRENT-LIKE PROTOCOLS FOR INTERACTIVE ON-DEMAND STREAMING SYSTEMS

University of Würzburg Institute of Computer Science Research Report Series

METHODOLOGIES TO IMPROVE THE PERFORMANCE OF A BITTORRENT LIKE PEER TO PEER NETWORK

Dynamic Load-Balanced Multicast for Data-Intensive Applications on Clouds 1

Cooperative End-to-end content distribution. Márk Jelasity

1 University of Würzburg. Institute of Computer Science Research Report Series. Towards Efficient Simulation of Large Scale P2P Networks

Department of Computer Science Institute for System Architecture, Chair for Computer Networks. File Sharing

Impact of Inner Parameters and Overlay Structure on the Performance of BitTorrent

Performance Improvements of Peer-to-Peer File Sharing

Overview. TCP & router queuing Computer Networking. TCP details. Workloads. TCP Performance. TCP Performance. Lecture 10 TCP & Routers

DISTRIBUTED SYSTEMS CSCI 4963/ /4/2015

Modeling, Analysis and Improvement for BitTorrent-Like File Sharing Networks

UNCORRECTED PROOF AUTHOR'S PROOF. Keywords Energy-efficiency. Proxy. Peer-to-peer. BitTorrent. Broadband router. Mobile.

Improving BitTorrent: A Simple Approach

A Novel ALTO Scheme for BitTorrent-Like P2P File Sharing Systems

Page 1. How Did it Start?" Model" Main Challenge" CS162 Operating Systems and Systems Programming Lecture 24. Peer-to-Peer Networks"

Computer Communication Networks Midterm Review

CSE 461 Module 10. Introduction to the Transport Layer

Traffic Patterns in Peer-to-Peer-Networking. Christian Schindelhauer. joint work with Amir Alsbih Thomas Janson

CS 43: Computer Networks. 14: DHTs and CDNs October 3, 2018

Rapid Identification of BitTorrent Traffic

PEER-TO-PEER (P2P)applications have shown their popularity

Understanding BitTorrent: An Experimental Perspective

BitTorrent for Really Selfish Peers T4T Trading over Cycles

John L. Miller and Jon Crowcroft NetGames 2010

Anatomy of a P2P Content Distribution System with Network Coding

3.2 COMMUNICATION AND INTERNET TECHNOLOGIES

Small Is Not Always Beautiful

4640 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 53, NO. 12, DECEMBER Gossiping With Multiple Messages

Improving the Download Time of BitTorrent-like Systems

Name Student ID Department/Year. Midterm Examination. Introduction to Computer Networks Class#: 901 E31110 Fall 2008

Modeling of Epidemic Diffusion in Peer-to-Peer File-Sharing Networks

CE693: Adv. Computer Networking

Design Space Analysis for Modeling Incentives in Distributed Systems

CC451 Computer Networks

Introduction to Distributed Computing Systems

ON THE STUDY OF THE OPTIMISITC UNCHOKING ALGORITHMS AND INCENTIVE MECHANISMS OF BITTORRENT

Transcription:

Scalability of the BitTorrent P2P Application Kolja Eger, Ulrich Killat Hamburg University of Technology 5.Würzburger Workshop 8.-9. July 2005

Overview File dissemination in peer-to-peer (p2p) networks Analytical model BitTorrent architecture and protocol Simulation set-up Simulation results Conclusion and future work 2

File Dissemination in P2P Networks Objective: Dissemination of a file to a number of users in minimal time Key concept: Segmentation of a file into smaller pieces or chunks which can be shared before download of the whole file is completed Efficiency: All available resources of the peers should be used Fairness: Peers which contribute much should also gain much incentive to contribute 3

Analytical Model What is the overall download time for N P - peers to download a file of size S F from one peer (or seed)? Assumptions: Flash crowd: peers enter the network at the same time Peer's uplink and downlink capacities are the bottlenecks in the whole network and are equal to C Capacity C is the same for all peers File Size S F For N P = 2 n Chunk Size S C # of peers N P Capacity C 4

Analytical Model Example for N P =8 5

Analytical Model (cont.) In general File Size S F = 4 Chunk Size S C = # of peers N P = 5 # of seeds N S = Capacity C = PEER ID CHUNK ID 0 2 3 0 0.0 0.0 0.0 0.0.0 3.0 4.0 2 3.0 2.0 3 2.0 4.0 4.0 4 3.0 4.0 3.0 Model concentrates on symmetric access line capacities But access line capacities are often asymmetric (e.g. ADSL) 6

BitTorrent - Unchoking Popular application for p2p file dissemination Each peer uploads to a number of other peers (default = 4) This is called unchoking in BitTorrent Unchoking algorithm: Every 0s unchoke the 4 peers which have the best upload rate and are interested in a data piece Optimistic Unchoke: Seed: Every 30s unchoke one peer regardless of its rate Newly connected peers are three times as likely as others Unchoke the 4 peers which have the best download rate and are interested 7

BitTorrent - Chunk Selection After peer is unchoked by another one, it requests pieces of a chunk according the following rules: Strict Priority After receiving some bytes of a chunk, request remaining parts instead of another chunk Rarest First Request the chunk which fewest of the known peers has Random First Piece At the time the peer has nothing, request a random chunk 8

Changes to BitTorrent Seeds upload to the peers which have the fewest number of chunks New peers complete first chunk quickly and can contribute their resources to the network Chunk selection Rarest-first instead of strict-priority, if Uploading peer is a seed Another peer is uploading this chunk currently 9

P2P Simulations Simulation of p2p network with the packet simulator ns2 Assumptions: No network losses E2e propagation delay between peers is determined randomly between 25-00ms No limit of TCP connections for each peer, tracker returns max. 50 addresses One seed at the beginning of the simulation Download of a 0MB file with chunks of size 256KB is investigated 0

BitTorrent with different download capacities Simulation Results (I) C up = 0 KB/s

Simulation Results (II) BitTorrent vs. BitTorrent with proposed changes Different number of parallel uploads (unchokes) C up = 0 KB/s C down =8 C up 2

Simulation Results (III) BitTorrent * vs. BitTorrent with proposed changes * vs. Analytical model * results are the same as on Slide 2 3

Conclusion and Future Work Slow increase of download time for increasing number of peers, especially with proposed changes scalable Performance of p2p application is sensitive to small changes More work is needed Future work: Other simulation models (e.g. Poisson arrival process of peers) Defining file dissemination as optimisation problem 4

Thank you for your attention! 5