A BitTorrent Module for the OMNeT++ Simulator MASCOTS 2009, London, UK G. Xylomenos (with K. Katsaros, V.P. Kemerlis and C. Stais)

Slides:



Advertisements
Similar presentations
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Advertisements

INTRODUCTION TO SIMULATION WITH OMNET++ José Daniel García Sánchez ARCOS Group – University Carlos III of Madrid.
1 The ns-2 Network Simulator H Plan: –Discuss discrete-event network simulation –Discuss ns-2 simulator in particular –Demonstration and examples: u Download,
Logically Centralized Control Class 2. Types of Networks ISP Networks – Entity only owns the switches – Throughput: 100GB-10TB – Heterogeneous devices:
MicroCast: Cooperative Video Streaming on Smartphones Lorenzo Keller, Anh Le, Blerim Cic, Hulya Seferoglu LIDS, Christina Fragouli, Athina Markopoulou.
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.
Web Server Benchmarking Using the Internet Protocol Traffic and Network Emulator Carey Williamson, Rob Simmonds, Martin Arlitt et al. University of Calgary.
Cameron Dale and Jiangchuan LiuA Measurement Study of Piece Population in BitTorrent Introduction BitTorrent Experiment Results Simulation Discussion A.
Traffic Shaping Why traffic shaping? Isochronous shaping
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.
Topology Generation Suat Mercan. 2 Outline Motivation Topology Characterization Levels of Topology Modeling Techniques Types of Topology Generators.
GlobeTraff A traffic workload generator for the performance evaluation of ICN architectures K.V. Katsaros, G. Xylomenos, G.C. Polyzos A.U.E.B. (presented.
Adapting Asynchronous Messaging Middleware to Ad Hoc Networking Mirco Musolesi Cecilia Mascolo Stephen Hailes Dept. of Computer Science University College.
Session 4f, 16 th June 2010 Future Network & MobileSummit 2010 Copyright 2010 Mobile Multimedia Laboratory Socket Emulation over a Publish/Subscribe Network.
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
Improving ISP Locality in BitTorrent Traffic via Biased Neighbor Selection Ruchir Bindal, Pei Cao, William Chan Stanford University Jan Medved, George.
Matnet – Matlab Network Simulator for TinyOS Alec WooTerence Tong July 31 st, 2002.
A Routing Control Platform for Managing IP Networks Jennifer Rexford Princeton University
The new The new MONARC Simulation Framework Iosif Legrand  California Institute of Technology.
Locality-Aware Content Distribution Danny Bickson, Dahlia Malkhi, David Rabinowitz.
Network Simulation Internet Technologies and Applications.
Conference title1 A New Methodology for Studying Realistic Processors in Computer Science Degrees Crispín Gómez, María E. Gómez y Julio Sahuquillo DISCA.
1 Proceeding the Second Exercises on Computer and Systems Engineering Professor OKAMURA Laboratory. Othman Othman M.M.
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
 Zhichun Li  The Robust and Secure Systems group at NEC Research Labs  Northwestern University  Tsinghua University 2.
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
BitTorrent How it applies to networking. What is BitTorrent P2P file sharing protocol Allows users to distribute large amounts of data without placing.
GPS: A General Peer-to-Peer Simulator and its Use for Modeling BitTorrent Weishuai Yang Nael Abu-Ghazaleh
Modeling Internet Topology Kenneth L. Calvert Matthew B. Doar Ellen W. Zegura Presented by Kiran Komaravolu.
Thesis Proposal Data Consistency in DHTs. Background Peer-to-peer systems have become increasingly popular Lots of P2P applications around us –File sharing,
Predicting performance of applications and infrastructures Tania Lorido 27th May 2011.
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
LiNK: An Operating System Architecture for Network Processors Steve Muir, Jonathan Smith Princeton University, University of Pennsylvania
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.
1 Insertion of ISP-owned Peer & Locality Awareness in BitTorrent Ioanna Papafili, George D. Stamoulis, Sergios Soursos AUEB EuroNF workshop, Athens October.
SC 2012 © LLNL / JSC 1 HPCToolkit / Rice University Performance Analysis through callpath sampling  Designed for low overhead  Hot path analysis  Recovery.
Heterogeneous Network Topology Generators Amer Zaheer 1.
BitTorrent enabled Ad Hoc Group 1  Garvit Singh( )  Nitin Sharma( )  Aashna Goyal( )  Radhika Medury( )
Running large scale experimentation on Content-Centric Networking via the Grid’5000 platform Massimo GALLO (Bell Labs, Alcatel - Lucent) Joint work with:
Kaleidoscope – Adding Colors to Kademlia Gil Einziger, Roy Friedman, Eyal Kibbar Computer Science, Technion 1.
Impact of Incentives in BitTorrent By Jenny Liu and Seth Cooper.
Efficient P2P Search by Exploiting Localities in Peer Community and Individual Peers A DISC’04 paper Lei Guo 1 Song Jiang 2 Li Xiao 3 and Xiaodong Zhang.
Workshop BigSim Large Parallel Machine Simulation Presented by Eric Bohm PPL Charm Workshop 2004.
Experience Sharing in Mobile Peer Communities EPI Planete, INRIA International Consortium Meeting (Oulou) 10 June, 2009.
Advanced Packet Analysis and Troubleshooting Using Wireshark 23AF
1 Wide Area Network Emulation on the Millennium Bhaskaran Raman Yan Chen Weidong Cui Randy Katz {bhaskar, yanchen, wdc, Millennium.
NTMS 2012 GlobeTraff: a traffic workload generator for the performance evaluation of future Internet architectures K.V. Katsaros, G. Xylomenos, G.C. Polyzos.
Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
Lecture 4 Page 1 CS 111 Online Modularity and Virtualization CS 111 On-Line MS Program Operating Systems Peter Reiher.
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
Multi-layer Network Virtualization with Resource Reservation based on SDN Nguyen Huu Thanh Tran Manh Nam Truong Thu Huong School of Electronics and Telecommunications.
Bit Torrent Nirav A. Vasa. Topics What is BitTorrent? Related Terms How BitTorrent works Steps involved in the working Advantages and Disadvantages.
T3 data access via BitTorrent Charles G Waldman USATLAS/University of Chicago USATLAS T2/T3 Workshop Aug
IHP Im Technologiepark Frankfurt (Oder) Germany IHP Im Technologiepark Frankfurt (Oder) Germany ©
Peer-to-Peer Networks 10 Fast Download Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
Performance Evaluation of Redirection Schemes in Content Distribution Networks Jussi Kangasharju, Keith W. Ross Institut Eurecom Jim W. Roberts France.
Introduction to BitTorrent
Decentralized peer discovery performance in swarm-protocols
Zueyong Zhu† and J. William Atwood‡
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Configuration of Cisco Routers in GNS3
nTorrent: Peer-to-Peer File Sharing in Named Data Networking
The BitTorrent Protocol
Balancing Throughput, Robustness, and In-Order Delivery in P2P VoD
Distributed Systems and Algorithms
Presentation transcript:

A BitTorrent Module for the OMNeT++ Simulator MASCOTS 2009, London, UK G. Xylomenos (with K. Katsaros, V.P. Kemerlis and C. Stais)

Outline Context Motivation Advantages Features Structure Extras Performance Conclusion

Context The ICT PSIRP Project –The Internet mostly disseminates data –Publish-Subscribe Internet Routing Paradigm –Clean slate approach to Future Internet –Pub-Sub at application and network levels What does that have to do with BitTorrent? –PSIRP was motivated by content distribution –BitTorrent is the perfect benchmark for this! –Now if we only had a good BitTorrent simulator…

Motivation Why a BitTorrent simulator? –BitTorrent swarms exhibit very complex behavior Many mechanisms and strategies are at play –Traces are hard to gather and understand Fully distributed systems are hard to monitor –Performance predictions are simply guesses What happens when we modify a strategy? –Existing simulators were not detailed enough Some omit large parts of the protocol Others only work over abstract networks

Advantages Why bother with our simulator? –It operates over the OMNeT++ platform You can use it with everything available for OMNeT++ Example: OMNeT++ supports two types of network –InetUnderlay: hosts with full TCP/IP stacks –SimpleUnderlay: simple and fast abstract hosts –It incorporates nearly all BitTorrent details All policies and options are present and tunable If something is missing, feel free to add it! –Extra features that simplify simulations Asymmetric links, churn model, GT-ITM topologies

Features Full implementation of tracker and peer-wire protocols –All messages are included Arbitrary file, piece and block sizes Variable number of peer connections (min/max) Rarest first and random first download strategies Data request pipelining Tunable choking algorithm (intervals, peers) Super seeding and end game modes Not implemented (yet!): trackerless mode (DHT based)

Structure Fully modularized code –Extends existing class hierarchy –Easier to modify and extend –Possibility of parallel simulation Tracker module –Models a multi-threaded tracker Tracker client module –Connects client with tracker Peer-wire module –Models a multi-threaded peer

Extras BitTorrent simulation scenarios are complex –Numerous widely dispersed nodes are needed –Hard to manually place and start them Topology creation: GT-ITM import filter –Extension of the BRITE import tool Supports hierarchical networks Supports asymmetric (ADSL) access links Host deployment: BitTorrent churn generator –Empirical distribution of host interarrival times –Based on actual BitTorrent trace data

Performance CPU time measurements (Intel E GHz) –200 MByte file –Mixed ADSL GT-ITM –Full stack –1400 routers Skitter –Delays only –No queueing

Performance Memory footprint measurements (Ubuntu, 4 GB RAM) –Same scenario

Performance Question: which piece size minimizes download time? –Same scenario –60 peers Any differences? –Variance –Slope –Knee at 512

Conclusion OMNeT++ based BitTorrent module –Comprehensive protocol model –Works with detailed and simplified stacks Space/time vs. accuracy tradeoff The difference is important! –Extra tools to help your simulations Churn generator, topologies, mix of ADSL links –Code available under the GPL –New version for OMNeT++ 4 coming real soon now!