Small Is Not Always Beautiful

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

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
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.
The BitTorrent protocol A peer-to-peer file sharing protocol.
Incentives Build Robustness in BitTorrent Bram Cohen.
Bit Torrent (Nick Feamster) February 25, BitTorrent Steps for publishing – Peer creates.torrent file and uploads to a web server: contains metadata.
Cameron Dale and Jiangchuan LiuA Measurement Study of Piece Population in BitTorrent Introduction BitTorrent Experiment Results Simulation Discussion A.
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.
Seed Scheduling for Peer-to-Peer Networks Flavio Esposito Ibrahim Matta Pietro Michiardi Nobuyuki Mitsutake Damiano Carra.
The BitTorrent content distribution system CS217 Advanced Topics in Internet Research Guest Lecture Nikitas Liogkas, 5/11/2006.
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.
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 (
Exploiting BitTorrent For Fun (But Not Profit) Nikitas Liogkas, Robert Nelson, Eddie Kohler, Lixia Zhang University of California, Los Angeles.
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
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.
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-Assisted Content Distribution Networks: Techniques and Challenges Pei Cao Stanford University.
Bounds on the Performance of P2P Networks Using Tit-for-Tat Strategies Dimitri DeFigueiredo Balaji Venkatachalam S. Felix Wu.
1 Incentives Build Robustness in BitTorrent? Analysis on Bit Torrent Client performance By Jimmy Wong.
Incentives Build Robustness in BitTorrent 1st Workshop on Economics of Peer-to-Peer Systems 2003 Bram Cohen
BitTorrent Background. Common Scenario Millions want to download the same popular huge files (for free) –ISO’s –Media (the real example!) Client-server.
The Bittorrent Protocol
Content Overlays (Nick Feamster) February 25, 2008.
Bit Torrent (Nick Feamster) February 25, BitTorrent Steps for publishing – Peer creates.torrent file and uploads to a web server: contains metadata.
1 V1-Filename.ppt / yyyy-mm-dd / Initials P2P content distribution T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
BitTorrent Internet Technologies and Applications.
BitTorrent How it applies to networking. What is BitTorrent P2P file sharing protocol Allows users to distribute large amounts of data without placing.
1 BitTorrent System Efrat Oune Bar-Ilan What is BitTorrent? BitTorrent is a peer-to-peer file distribution system (built for intensive daily use.
Securing Data Authentication with Cryptographic Signatures in BitTorrent Du Wei cc.hut.fi / Supervisor : Professor Jukka Manner Instructor.
BitTorrent Dr. Yingwu Zhu. Bittorrent A popular P2P application for file exchange!
A P2P file distribution system ——BitTorrent Pegasus Team CMPE 208.
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.
2: Application Layer1 Chapter 2: Application layer r 2.1 Principles of network applications r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail  SMTP,
Do incentives build robustness in BitTorrent? Michael Piatek, Tomas Isdal, Thomas Anderson, Arvind Krishnamurthy, Arun Venkataramani.
Bit Torrent A good or a bad?. Common methods of transferring files in the internet: Client-Server Model Peer-to-Peer Network.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
Impact of Incentives in BitTorrent By Jenny Liu and Seth Cooper.
Empirical Quantification of Opportunities for Content Adaptation in Web Servers Michael Gopshtein and Dror Feitelson School of Engineering and Computer.
A P2P-Based Architecture for Secure Software Delivery Using Volunteer Assistance Purvi Shah, Jehan-François Pâris, Jeffrey Morgan and John Schettino IEEE.
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.
PEAR TO PEAR PROTOCOL. Pure P2P architecture no always-on server arbitrary end systems directly communicate peers are intermittently connected and change.
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
NGS data transmission, A point view from a user
Introduction to BitTorrent
Remind: CEREAL account!!!
nTorrent: Peer-to-Peer File Sharing in Named Data Networking
Designing a new BitTorrent Client
Angelo Sapello University of Delaware
Swarming Overlay Construction Strategies
Simplified Explanation of “Do incentives build robustness in BitTorrent?” By James Hoover.
The BitTorrent Protocol
Content Distribution Networks + P2P File Sharing
Challenges with developing a Commercial P2P System
PEER-TO-PEER SYSTEMS.
Pure P2P architecture no always-on server
Chapter 2 Application Layer
Content Distribution Networks + P2P File Sharing
Presentation transcript:

Small Is Not Always Beautiful Paweł Marciniak1, Nikitas Liogkas2, Arnaud Legout3, Eddie Kohler2 1 Poznan University of Technology, Poland 2 UCLA, Los Angeles, CA USA 3 INRIA, Projet Planète, Sophia Antipolis, France

BitTorrent Overview URL of the tracker http://torrent.fedoraproject.org:6969/announce coolContent.torrent Web server Piece size 256 kBytes One SHA-1 hash (20 bytes) per piece The larger the number of pieces the bigger the torrent file random peer set Tracker coolContent.xvid P1 P2 P3 2

Pieces and Subpieces Pieces are the unit of replication coolContent.xvid pieces subpieces Pieces are the unit of replication Subpieces are the atomic unit of transmission

What piece and subpiece size? Usually hardcoded to 16kB In the following we consider 16kB subpieces Piece size Defined per torrent Usually ranges from 256kB to 2048kB Current practice is to select the smallest piece size so that the torrent file is small enough (100 kB)

What is the Impact of Piece Size? Smaller pieces (larger number of pieces) Faster piece propagation Fewer subpieces to complete and share a piece Better piece diversity Due to rarest first piece selection Faster reaction to data corruption Hashes available for pieces, not subpieces

What is the Impact of Piece Size? But, smaller pieces cause Larger torrent file Larger overhead Higher number of HAVE messages Sent to each neighbor for each received piece Larger BITFIELD messages Exchanged after the initial peer handshake Contain one bit per piece Less efficient pipelining Requesting several subpieces of a piece in parallel

What is the impact of piece size on BitTorrent performance? Efficiency Trade-off Smaller piece size Improves piece replication Reduces pipelining efficiency Increases overhead What is the impact of piece size on BitTorrent performance?

Outline Background and Motivation Methodology Results Conclusion

Methodology: Experiments Using instrumented peers on PlanetLab 1 single initial seed connected for the duration of experiment 40 leechers join at the same time (flash crowd) and leave as soon as they complete the download All peers (seed + leechers) use an instrumented client Seed upload capacity 200 kB/s Leechers’ upload capacities distributed uniformly between 20 kB/s and 200 kB/s

Methodology: Experiments Subpiece size always 16kB Ran experiments for all possible combinations of the following content and piece sizes Content sizes 1, 5, 10, 20, 50, and 100 MB Piece sizes 16, 32, 64, 128, 256, 512, 1024, and 2048 kB

Outline Background and Motivation Methodology Results Conclusion Small Content Large Content Conclusion

Small piece size improves completion time Small Content Content size: 5 MB 5 independent runs Small piece size improves completion time

Small Content: Download Completion Time 16 kB pieces 512 kB pieces 0.95 0.05 0.05 As pieces are smaller, peers can start replicating pieces sooner, which improves the parallelism of the system Greater variability in the download completion time for large pieces Small pieces let peers share pieces sooner

Small Content: Upload Utilization 16 kB pieces 512 kB pieces Each dot is the average upload utilization for all peers for a single run Small pieces result in higher upload utilization

Outline Background and Motivation Methodology Results Conclusion Small Content Large Content Conclusion

Small pieces are no longer optimal Large Content Content size: 100MB 5 independent runs Small pieces are no longer optimal

Large Content: Communication Overhead HAVE and BITFIELD messages overhead for a 100MB content However same overhead observed for a 5 MB content The increased overhead does not explain the observed trade-off for large contents

Possible Explanations Small pieces reduce opportunities for subpiece request pipelining (with more severe impact on larger contents) Need high sustained upload utilization Fast piece propagation due to small pieces has less impact at the scale of a large download The observed trade-off does not depends only on the piece size, but also on the content size TCP cannot use the available bandwidth as efficiently with small pieces

Outline Background and Motivation Methodology Results Conclusion

Conclusion For small contents For large contents Choose pieces as small as subpieces Piece propagation among peers is the bottleneck For large contents Small pieces are no longer optimal More complex trade-off than for small contents, to be further explored

Why Do We Care About Small Contents? Web servers (with a client server architecture) do not scale Even the smallest web site may suffer from a dramatic increase in the number of requests Explored how BitTorrent can help Web servers to scale BitTorrent designed to scale Web needs to scale by design (which is not the case today) BitTorrent designed for large contents

Small Is Not Always Beautiful Paweł Marciniak, Nikitas Liogkas, Arnaud Legout, Eddie Kohler Thank you! Questions? Instrumented client available at: http://www-sop.inria.fr/planete/Arnaud.Legout/Projects/p2p_cd.html