1 Simulating the Internet: challenges & methods Kevin Fall Network Research Group, Lawrence Berkeley National Laboratory Berkeley, CA USA.

Slides:



Advertisements
Similar presentations
MCT620 – Distributed Systems
Advertisements

EE384Y: Packet Switch Architectures
Balaji Prabhakar Active queue management and bandwidth partitioning algorithms Balaji Prabhakar Departments of EE and CS Stanford University
Computer Networks TCP/IP Protocol Suite.
1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
Pricing for Utility-driven Resource Management and Allocation in Clusters Chee Shin Yeo and Rajkumar Buyya Grid Computing and Distributed Systems (GRIDS)
Impact of Background Traffic on Performance of High-speed TCPs
Effective Change Detection Using Sampling Junghoo John Cho Alexandros Ntoulas UCLA.
Reconsidering Reliable Transport Protocol in Heterogeneous Wireless Networks Wang Yang Tsinghua University 1.
Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Scalable Routing In Delay Tolerant Networks
International Telecommunication Union Workshop on End-to-End Quality of Service.What is it? How do we get it? Geneva, 1-3 October 2003 Are Existing Performance.
Communicating over the Network
Protocol layers and Wireshark Rahul Hiran TDTS11:Computer Networks and Internet Protocols 1 Note: T he slides are adapted and modified based on slides.
Streaming Video over the Internet
Chapter 1: Introduction to Scaling Networks
Local Area Networks - Internetworking
The Platform as a Service Model for Networking Eric Keller, Jennifer Rexford Princeton University INM/WREN 2010.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Distance Vector Routing Protocols Routing Protocols and Concepts –
INTRODUCTION TO SIMULATION WITH OMNET++ José Daniel García Sánchez ARCOS Group – University Carlos III of Madrid.
1 Improving TCP Performance over Mobile Networks HALA ELAARAG Stetson University Speaker : Aron ACM Computing Surveys 2002.
1 COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED. On the Capacity of Wireless CSMA/CA Multihop Networks Rafael Laufer and Leonard Kleinrock Bell.
Countering DoS Attacks with Stateless Multipath Overlays Presented by Yan Zhang.
IP Multicast Information management 2 Groep T Leuven – Information department 2/14 Agenda •Why IP Multicast ? •Multicast fundamentals •Intradomain.
Scale Free Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 EN0129 PC AND NETWORK TECHNOLOGY I IP ADDRESSING AND SUBNETS Derived From CCNA Network Fundamentals.
1 School of Computing Science Simon Fraser University CMPT 771/471: Internet Architecture & Protocols TCP-Friendly Transport Protocols.
1 NS-2 Tutorial COMP R2 University of Manitoba March 4, 2009.
1 Introduction to Network Layer Lesson 09 NETS2150/2850 School of Information Technologies.
RED-PD: RED with Preferential Dropping Ratul Mahajan Sally Floyd David Wetherall.
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
One More Bit Is Enough Yong Xia, RPI Lakshmi Subramanian, UCB Ion Stoica, UCB Shiv Kalyanaraman, RPI SIGCOMM’ 05, Philadelphia, PA 08 / 23 / 2005.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA TCP/IP Protocol Suite and IP Addressing Halmstad University Olga Torstensson
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Computer Networking Lecture 20 – Queue Management and QoS.
From Model-based to Model-driven Design of User Interfaces.
Katz, Stoica F04 EECS 122 Introduction to Computer Networks (Fall 2004) Network simulator 2 (ns-2) Department of Electrical Engineering and Computer Sciences.
Wireless Communication : LAB 3
Network Simulation One tool to simulation network protocols for the Internet is the network simulator (NS) The simulation environment needs to be set-
An Introduction to NS-2 * Gayatri Swamynathan CS 276 TA *some slides are from a presentation by Haobo Yu & Nader Salehi, USC/ISI.
NS-2 Shahin Shayandeh December 2004 Session 2. Ns programming  Create the event scheduler  Turn on tracing  Create network  Setup routing  Insert.
Ns-2 tutorial Karthik Sadasivam Banuprasad Samudrala CSCI 5931 Network Security Instructor : Dr. T. Andrew Yang.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli University of Calif, Berkeley and Lawrence Berkeley National Laboratory SIGCOMM.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
Advanced Computer Networks: RED 1 Random Early Detection Gateways for Congestion Avoidance * Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Katz, Stoica F04 EECS 122 Introduction to Computer Networks (Fall 2003) Network simulator 2 (ns-2) Department of Electrical Engineering and Computer Sciences.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
Promoting the Use of End-to- End Congestion Control in the Internet Sally Floyd and Kevin Fall Presented by Scott McLaren.
Random Early Detection Gateways for Congestion Avoidance
Investigating Forms of Simulating Web Traffic Yixin Hua Eswin Anzueto Computer Science Department Worcester Polytechnic Institute Worcester, MA.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Receiver-driven Layered Multicast Paper by- Steven McCanne, Van Jacobson and Martin Vetterli – ACM SIGCOMM 1996 Presented By – Manoj Sivakumar.
Data Communications and Networks
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
1 On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows by Selma Yilmaz Ibrahim Matta Computer Science Department Boston University.
Requirements for Simulation and Modeling Tools Sally Floyd NSF Workshop August 2005.
1 Introduction to NS-2 r Tutorial overview of NS m Create basic NS simulation r Walk-through a simple example m Model specification m Execution and trace.
CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.
The New NS2 Emulation Facility Kevin Fall NS2 is the simulation vehicle for the VINT project: –USC/ISI: Deborah Estrin, Mark Handley,
NS-2 Shahin Shayandeh December 2004 Session 1. Ns-2, the Network Simulator  A discrete event simulator Simple model  Focused on modeling network protocols.
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
VINT: Status and Plans Deborah Estrin: Project overview Steve McCanne: ns architecture John Heidemann: scaling, visualization Audience: Comments and questions.
Introduction to ns-2: “The” Network Simulator
NS2 (and possible directions for mobile routing simulation) Kevin Fall
Random Early Detection Gateways for Congestion Avoidance
RAP: Rate Adaptation Protocol
Presentation transcript:

1 Simulating the Internet: challenges & methods Kevin Fall Network Research Group, Lawrence Berkeley National Laboratory Berkeley, CA USA

2 LBNLs Network Research Group: Members: Van Jacobson, group leader Kevin Fall Sally Floyd * Craig Leres Vern Paxson *

3 Outline Simulating the Internet is not easy The VINT project: an effort in Internet-style simulation

4 Simulations for Network Research Models of interesting behavior Easily-varied parameters Controlled environment, reproducible results

5 Problems in Characterizing the Internet Large Scale:Large Scale: –even a small fraction of misbehaving entities is non- negligible –scale stresses assumptions in protocol design and implementation Drastic Change:Drastic Change: –will the rate of change continue? –predominant use not obvious (e.g. the web, continuous media, ?) Heterogeneity everywhere!

6 Link and Topology Heterogeneity Delay and bandwidth span 5 to 6 orders of magnitude! –20 sec to 2s round-trip prop delay –10Kb/s to 10Gb/s bandwidth range Topology –hierarchy and clustering chosen by ISPs –performance tied to which path packets take in network –paths may change dynamically –IP routes are frequently asymmetric

7 Protocol Heterogeneity Adaptive and non-adaptive Internet protocols –react to congestion (TCP) –nonreactive (UDP) Application Dynamics –multi-protocol interactions –user activity –application mix varies greatly by site Implementations may not be consistent

8 Traffic Internet traffic not easily characterized –no commonly accepted model –traffic may be shaped by congestion response Dependent on source behavior –application protocol limitations –new applications –pricing policies

9 So, what can be done in simulation? StrategyStrategy –1: Look for invariants –2: Explore the parameter space –3: Understand the limits of simulation

10 1: Searching for Invariants What do we really know about Internet dynamics ? How to characterize statistically? –traffic –users –sessions –congestion, etc. Mathematical simplicity does not imply accuracy

11 The Self-Similar Nature of Traffic packet arrivals not exponentially distributed –thus, arrival process is not Poisson –bursts over multiple time-scales –they exhibit long-range dependence –suggests self-similar models –(there is still contention on this point) Implications –aggregation does not smooth out variation –traffic synthesis more difficult –network buffering may be much less effective than thought based on Markovian models

12 User-generated Sessions look Poisson user-generated session arrivals look Poisson (machine-generated connection arrivals are not) distribution is invariant, parameterized only by a (fixed, hourly) rate

13 Network Activity tends to have a heavy- tailed distribution Examples: packets in a users TELNET session; bytes in FTP-DATA transfers distribution looks Pareto with 0.9 < Pareto distribution with shape has: –infinite mean if –infinite variance if This type of Pareto has infinite mean and variance (and is very unlike an exponential) burstiness remains across aggregation

14 2: Exploring the Parameter Space Consider a large range for parameters –recall, 5-6 orders of magnitude range in bandwidth and delay –note that behavior is often non-linear in parameter values Repeat, repeat, repeat –topology generators –randomness

15 3: The Limits of Simulation Simplified Models –useful for gaining intuition and exploring parameters –danger of oversimplification Need for a Reality Check –compare simulation results with measurement –Internet measurements often offer surprises

16 USC/ISI: Deborah Estrin, Mark Handley, John Heideman, Ahmed Helmy, Polly Huang, Satish Kumar, Kannan Varadhan, Daniel Zappala LBNL: Kevin Fall, Sally Floyd UCBerkeley: Elan Amir, Steven McCanne Xerox PARC: Lee Breslau, Scott Shenker VINT is currently funded by DARPA through mid The VINT Project (Virtual InterNet Testbed)

17 VINT Goals provide common platform for network research explore issues of scale and multi-protocol interaction Specific Areas:Specific Areas: –multicast, end-to-end transport –simulation scaling –traffic management –emulation

18 Multicast Research Reliable Multicast Transport –Large Scale –SRM-- Scalable Reliable Multicast Multicast Congestion Management –Group formation –(still ongoing) Layered Transmission –layered encoding –dynamic multi-group join/leave

19 Simulation Scaling Simulator capable of 1000s of nodes Want 100,000s of nodes (or more) Session Abstraction –abstract away some simulation details –trade detail for time/space –scales simulation by about 10X

20 Traffic Management Active Buffer Management –Random Early Detection Gateways –Explicit Congestion Notification (ECN) Packet Scheduling –Class-Based Queuing (CBQ) –Round-Robin and Fair Queuing Variants Differentiated Services –Admission Control –Reservation Support

21 Emulation Interface Simulator with Live Network Live Traffic Passes through Simulated Topology Special Real-Time Scheduler –may not keep synchronized under load

22 The VINT Simulation Environment ns2 namComponents: ns2 and nam NS2 (network simulator, version 2): –Discrete-event C++ simulation engine scheduling, timers, packets –Split Otcl/C++ object library protocol agents, links, nodes, classifiers, routing, error generators, traces, queuing, math support (random variables, integrals, etc) Nam (network animator) –Tcl/Tk application for animating simulator traces available on UNIX and Windows 95/NT

23 NS Supported Components Protocols : –TCP (2modes + variants),UDP, IP, RTP/RTCP, SRM, MAC, MAC Routing –global topology map, classifiers –static unicast, dynamic unicast (distance-vector), multicast Queuing and packet scheduling –FIFO/drop-tail, RED, CBQ, WRR, DRR, SFQ Topology: nodes, links Failures: link errors/failures Emulation: interface to a live network

24 TCP Animation

25 SRM Animation

26 Benefits Common simulation environment –simulations expressed in scripting language –separate visualization tool –topology and scenario generators –modular structure is extensible; sources provided Unique Features –Rich Protocol Set –Session abstraction provides scaling simulations by a factor of 4 –Visualization and Emulation capabilities separate Network Animator (nam) tool low-level interface to systems protocols

27 The NS Architecture Simulator is a Object-Tcl shell Split Objects –fine-grain, easily composed –objects exist both in C++ and Tcl Context –library handles object consistency

28 Work in Progress Adaptive Web Caching (LBNL, UCLA) Nam Improvements (USC, ISI) Simulator Scaling (USC, ISI) Simulator Addressing Hierarchy (USC, ISI) Protocol Robustness (USC, ISI) Emulation (LBNL, UCB) Quality of Service (Xerox PARC) Router-Based Congestion Control (LBNL) Topology and Scenario Generation

29 Router-Based Congestion Control Two main classes of traffic on Internet: –TCP (reduces sending rate in face of loss) –UDP (application decides when and how much to send) Internet stability due in large part to TCPs congestion response Danger with growing use of UDP-based applications –UDP will steal bandwidth from TCP –currently no incentives to prevent this behavior

30 Encouraging Congestion Control Combine RED Gateway with analysis and regulation RED (Random Early Detection) Gateways : –keep smoothed average queue size measure –when measure exceeds threshold, drop or mark packets with increasing probability –a flows fraction of the aggregate random packet drop rate is roughly equal to its fraction of the aggregate arrival rate Select candidate bad flows with high drop rate

31 Bad Flow Selection Criteria Flow is not TCP-friendly –throughput exceeds factor times analytic model: Flow is not responsive –does not alter arrival rate with increased packet drops Flow is high-bandwidth –uses more than its fair share

32 Flow Regulation Need bandwidth-regulating packet scheduler –CBQ –others Use good and bad scheduling partitions Bad partition gets allocation below current usage –decays over time with continued offered load –flows may be reclassified as ok if they adapt

33 Conclusion Simulating the Internet is difficult Simulation is useful, but must be used carefully The VINT project a common simulation framework that addresses many of the issues

34 Additional Information Web pages: – – – – NS Users Mailing list: subscribe ns-users