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.

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

WHITE – Achieving Fair Bandwidth Allocation with Priority Dropping Based on Round Trip Time Name : Choong-Soo Lee Advisors : Mark Claypool, Robert Kinicki.
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
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.
1 © 2013 Cisco and/or its affiliates. All rights reserved. An Improved Hop-by-hop Interest Shaper for Congestion Control in Named Data Networking Yaogong.
Bayesian Piggyback Control for Improving Real-Time Communication Quality Wei-Cheng Xiao 1 and Kuan-Ta Chen Institute of Information Science, Academia Sinica.
Www3.informatik.uni-wuerzburg.de Institute of Computer Science Department of Distributed Systems Prof. Dr.-Ing. P. Tran-Gia Efficient Simulation of Large-Scale.
1 Nazanin Magharei, Reza Rejaie University of Oregon INFOCOM 2007 PRIME: P2P Receiver-drIven MEsh based Streaming.
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.
Denial-of-Service Resilience in Peer-to-Peer Systems D. Dumitriu, E. Knightly, A. Kuzmanovic, I. Stoica and W. Zwaenepoel Presenter: Yan Gao.
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
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
Towards Efficient Simulation of Large Scale P2P Networks
1 Modeling and Emulation of Internet Paths Pramod Sanaga, Jonathon Duerig, Robert Ricci, Jay Lepreau University of Utah.
Improving ISP Locality in BitTorrent Traffic via Biased Neighbor Selection Ruchir Bindal, Pei Cao, William Chan Stanford University Jan Medved, George.
A BitTorrent Module for the OMNeT++ Simulator MASCOTS 2009, London, UK G. Xylomenos (with K. Katsaros, V.P. Kemerlis and C. Stais)
Peer-Assisted Content Distribution Networks: Techniques and Challenges Pei Cao Stanford University.
Kyushu University Graduate School of Information Science and Electrical Engineering Department of Advanced Information Technology Supervisor: Professor.
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
Medium Start in TCP-Friendly Rate Control Protocol CS 217 Class Project Spring 04 Peter Leong & Michael Welch.
6/28/2015Reza Rejaie INFOCOM 07 1 Nazanin Magharei, Reza Rejaie University of Oregon PRIME: P2P Receiver-drIven MEsh based.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
Path selection Packet scheduling and multipath Sebastian Siikavirta and Antti aalto.
Tiziana FerrariQuality of Service for Remote Control in the High Energy Physics Experiments CHEP, 07 Feb Quality of Service for Remote Control in.
Grid simulation (AliEn) Network data transfer model Eugen Mudnić Technical university Split -FESB.
A measurement study of vehicular internet access using in situ Wi-Fi networks Vladimir Bychkovsky, Bret Hull, Allen Miu, Hari Balakrishnan, and Samuel.
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.
Professor OKAMURA Laboratory. Othman Othman M.M. 1.
GPS: A General Peer-to-Peer Simulator and its Use for Modeling BitTorrent Weishuai Yang Nael Abu-Ghazaleh
Michael Sirivianos Xiaowei Yang Stanislaw Jarecki Presented by Vidya Nalan Chakravarthy.
Experiences in Design and Implementation of a High Performance Transport Protocol Yunhong Gu, Xinwei Hong, and Robert L. Grossman National Center for Data.
E-STAB: Energy-Efficient Scheduling for Cloud Computing Applications with Traffic Load Balancing Dzmitry KliazovichUniversity of Luxembourg, Luxembourg.
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 MaxNet and TCP Reno/RED on mice traffic Khoa Truong Phan Ho Chi Minh city University of Technology (HCMUT)
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
Multiclass P2P Networks: Static Resource Allocation for Service Differentiation and Bandwidth Diversity Florence Clévenot-Perronnin, Philippe Nain and.
E VALUATION OF F AIRNESS IN ICN X. De Foy, JC. Zuniga, B. Balazinski InterDigital
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.
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.
Othman Othman M.M., Koji Okamura Kyushu University 1.
Peer-Assisted Content Distribution Pablo Rodriguez Christos Gkantsidis.
PRIME: P2P Receiver-drIven MEsh based Streaming Nazanin Magharei, Reza Rejaie University of Oregon Presenter Jungsik Yoon.
Uplink Scheduling with Quality of Service in IEEE Networks Juliana Freitag and Nelson L. S. da Fonseca State University of Campinas, Sao Paulo,
Interconnect simulation. Different levels for Evaluating an architecture Numerical models – Mathematic formulations to obtain performance characteristics.
Interconnect simulation. Different levels for Evaluating an architecture Numerical models – Mathematic formulations to obtain performance characteristics.
Flashback: A Peer-to-Peer Web Server for Flash Crowds Presented by Tom Batkiewicz CS 587x Fall ‘07.
Deadline-based Resource Management for Information- Centric Networks Somaya Arianfar, Pasi Sarolahti, Jörg Ott Aalto University, Department of Communications.
Time-Shifted Streaming in a P2P Video Multicast System Jeonghun Noh, Aditya Mavlankar, Pierpaolo Baccichet 1, and Bernd Girod Information Systems Laboratory.
Receiver Driven Bandwidth Sharing for TCP Authors: Puneet Mehra, Avideh Zakor and Christophe De Vlesschouwer University of California Berkeley. Presented.
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
A Pseudo Random Coordinated Scheduling Algorithm for Bluetooth Scatternets MobiHoc 2001.
Bit Torrent Nirav A. Vasa. Topics What is BitTorrent? Related Terms How BitTorrent works Steps involved in the working Advantages and Disadvantages.
Performance Limitations of ADSL Users: A Case Study Matti Siekkinen, University of Oslo Denis Collange, France Télécom R&D Guillaume Urvoy-Keller, Ernst.
An example of peer-to-peer application
Introduction to BitTorrent
Hybrid Cloud Architecture for Software-as-a-Service Provider to Achieve Higher Privacy and Decrease Securiity Concerns about Cloud Computing P. Reinhold.
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
Simplified Explanation of “Do incentives build robustness in BitTorrent?” By James Hoover.
The BitTorrent Protocol
Presentation transcript:

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 University of Technology ITG-Fachgruppentreffen, Aachen 4. Mai 2006

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 2 Overview P2P Content Distribution Packet-level Simulation Flow-level Simulation Simulation complexity & accuracy Conclusion

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 3 P2P Content Distribution Objective: Disseminate large files in minimal time to a large number of users Swarming principle: –A file is fragmented into small pieces which can be shared before download of the whole file is completed –E.g.: BitTorrent protocol Our research interests: –Efficiency: Peer has something of interest for at least one other peer at any point of time –Fairness: Peers which contribute much should also gain much ⇒ incentive to contribute

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 4 Complexity of P2P Simulation P2P networks are complex: –Large and varying peer populations –Peer behaviour is user-driven –Peers provide and consume different services, e.g. exchange different pieces of a file with each other –Services are offered with different quality, e.g. upload bandwidth –Each peer has only local information about the network Only simple cases can be studied analytically, e.g. flash crowd of homogeneous peers Simulations must be based on simplifications

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 5 Packet-level Simulations Assumptions: –Access line of the peers is the bottleneck in the network –No packet drops in the core network Simplified topology: –Access link plus overlay link –Different RTTs between access routers –No. of links: Z = (N P -1)N P /2 + N P = N P /2 (N P +1) –Memory increases quadratically with N P –No. of events is decreased, because of small no. of hops

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 6 Peer contacts tracker Connects to other peers Inform about pieces Check interest Peer selection (Unchoke) Request pieces Upload Event 1Event 2 Download Have Check interest Timer x Event x BitTorrent Messages Packet-level Flow-level

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 7 TCP Behaviour In BitTorrent each peer uploads to a number of other peers (default = 5) (called unchoking) Every 10s peers are chosen based on the download rates from them Exponential increase RTT C up / (No. of uploads) * RTT Upload Capacity: 1*10 kbit/s to 30*10 kbit/s RTT 1*10ms to 25*10ms If uplink of a peer is the bottleneck, TCP reduces to exponential increase at the beginning TCP throughput / max. throughput

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 8 Flow-level Simulation In peer selection algorithm download volume is computed beforehand If remote peer needs less, it is redistributed over the remaining connections Thus, peer allocates its upload bandwidth max-min fair Surplus / 3 Surplus / 2 Volume = (Upload Capacity * unchoking interval) / (No. of uploads) Demand

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 9 Simulation Setup Flash crowd scenario where a single peer holds the complete file at the beginning Time measured until all peers have finished their download No peer leaves the network beforehand File size: 10MB, piece size: 256KB Homogeneous peers with upload capacity of 10KB/s and download capacity 8 times higher (asymmetric access line) Packet-level simulation with ns-2 Flow-level simulation uses timer functionality of ns-2 Simulation are run on a Pentium 4: 3,2 GHz, 1 GB RAM

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 10 Simulation Time approx. 11h for 60 peers with packet-level compared to 2 sec. with flow-level simulation Calendar queue is used

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 11 Map List Calendar insert: O(log(n)) delete: O(log(n)) Heap insert: O(log(n)+) delete: O(log(n)+) insert: O(n) delete: O(1) insert: O(1) to O(n) delete: O(1) to O(n) Event Scheduler No. of peers Simulation Time [s]

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 12 Flow-level Simulation Memory consumption No. of PeersMB MB MB MB MB MB MB peers in less than 30min.

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 13 Standard-Upload-Kapazität B/s = 10 KiB/s = 80 Kib/s ADSL B/s = 75 KiB/s = 600 Kib/s ADSL B/s = 24 KiB/s = 192 Kib/s ADSL B/s = 16 KiB/s = 128 Kib/s 640 B/s = 0,625 KiB/s = 5 Kib/s Flow-level Simulation (cont.) Simulation time for a flash crowd of 4000 peers with different upload capacities Higher capacities result in less events for the same download volume

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 14 Simulation Accuracy Both curves have the same shape But results differ by around 10% Reasons: –Packet headers –TCP behaviour –Load for BitTorrent messages

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 15 Conclusion Packet-level simulation does not scale for P2P networks Flow-level simulation is inevitable to study networks of reasonable size Results with flow-level simulator are qualitatively comparable but underestimate the true values due to the simplifications made Flow-level simulation is a good compromise to study protocol design But inadequate to take cross-layer interactions into account, e.g. unchoking is based on TCP throughput which depends on RTT

1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 16 Thank you for your attention!