1 Ns Tutorial: Case Studies John Heidemann (USC/ISI) Polly Huang (ETH Zurich) March 14, 2002.

Slides:



Advertisements
Similar presentations
Internet Measurement Conference 2003 Source-Level IP Packet Bursts: Causes and Effects Hao Jiang Constantinos Dovrolis (hjiang,
Advertisements

Michele Pagano – A Survey on TCP Performance Evaluation and Modeling 1 Department of Information Engineering University of Pisa Network Telecomunication.
1 The ns-2 Network Simulator H Plan: –Discuss discrete-event network simulation –Discuss ns-2 simulator in particular –Demonstration and examples: u Download,
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 tutorial Karthik Sadasivam Banuprasad Samudrala CSCI 5931 Network Security Instructor : Dr. T. Andrew Yang.
Introduction to NS. Information Main website Documentation, mailing list archive, tutorial Location of Source codes –C++ files.
Different TCP Flavors CSCI 780, Fall TCP Congestion Control Slow-start Congestion Avoidance Congestion Recovery Tahoe, Reno, New-Reno SACK.
Bayesian Piggyback Control for Improving Real-Time Communication Quality Wei-Cheng Xiao 1 and Kuan-Ta Chen Institute of Information Science, Academia Sinica.
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
The War Between Mice and Elephants LIANG GUO, IBRAHIM MATTA Computer Science Department Boston University ICNP (International Conference on Network Protocols)
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
1 USC INFORMATION SCIENCES INSTITUTE RAP: An End-to-End Congestion Control Mechanism for Realtime Streams in the Internet Reza Rejaie, Mark Handley, Deborah.
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
Katz, Stoica F04 EECS 122 Introduction to Computer Networks (Fall 2003) Network simulator 2 (ns-2) Department of Electrical Engineering and Computer Sciences.
1 Lecture 10: TCP Performance Slides adapted from: Congestion slides for Computer Networks: A Systems Approach (Peterson and Davis) Chapter 3 slides for.
Anue Systems contribution to TR v Telecommunications Industry AssociationTR-30.3/11-08-xxx Arlington, VA August xx, 2011.
A simulation-based comparative evaluation of transport protocols for SIP Authors: M.Lulling*, J.Vaughan Department of Computer science, University college.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #7 TCP New Reno Vs. Reno.
Split-TCP: State of the Union Address Dan Berger 03/03/03.
1 TCP-LP: A Distributed Algorithm for Low Priority Data Transfer Aleksandar Kuzmanovic, Edward W. Knightly Department of Electrical and Computer Engineering.
17/10/2003TCP performance over ad-hoc mobile networks. 1 LCCN – summer 2003 Uri Silbershtein Roi Dayagi Nir Hasson.
Submitters: Stella Pantofel Michael Halperin Igor Berman
Reduced TCP Window Size for VoIP in Legacy LAN Environments Nikolaus Färber, Bernd Girod, Balaji Prabhakar.
Investigating Forms of Simulating Web Traffic Yixin Hua Eswin Anzueto Computer Science Department Worcester Polytechnic Institute Worcester, MA.
Ns Simulation Final presentation Stella Pantofel Igor Berman Michael Halperin
EECS122 - UCB1 Measurements and Modeling Table of Contents 1. Measurements Measurements 2. Modeling and its Shortcomings Modeling and its Shortcomings.
Network Simulation Internet Technologies and Applications.
1 Performance Evaluation of Ring- based Peer-to-Peer Virtual Private Network (RING-P2P-VPN) Hiroyuki Ohsaki Graduate School of Information Sci. & Tech.
NS2 Agents Leo Bhebhe. Contents Introduction Application Composition Attaching Transport Agents to Nodes UDP Agent TCP Agents SCTP Agents Agent SRM.
Wireless Networking and Systems CSE 590 ns2 tutorial.
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
Advanced Network Architecture Research Group 2001/11/149 th International Conference on Network Protocols Scalable Socket Buffer Tuning for High-Performance.
1 Enabling Large Scale Network Simulation with 100 Million Nodes using Grid Infrastructure Hiroyuki Ohsaki Graduate School of Information Sci. & Tech.
1 Network Simulation and Testing Polly Huang EE NTU
Raj Jain The Ohio State University R1: Performance Analysis of TCP Enhancements for WWW Traffic using UBR+ with Limited Buffers over Satellite.
TFRC: TCP Friendly Rate Control using TCP Equation Based Congestion Model CS 218 W 2003 Oct 29, 2003.
TNK092: Network Simulation - Nätverkssimulering Lecture 3: TCP Vangelis Angelakis.
1 Network Simulator Tutorial. 2 Network Simulation * Motivation: Learn fundamentals of evaluating network performance via simulation Overview: fundamentals.
HighSpeed TCP for High Bandwidth-Delay Product Networks Raj Kettimuthu.
TCP performance Sven Ubik FTP throughput capacity load ftp.uninett.no 12.3 Mb/s 1.2 Gb/s 80 Mb/s (6.6%) ftp.stanford.edu 1.3 Mb/s 600.
1 NS Fundamentals. USC INFORMATION SCIENCES INSTITUTE 2 OTcl and C++: The Duality C++ OTcl Pure C++ objects Pure OTcl objects C++/OTcl split objects ns.
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.
NS2-TCP Internet Computing KUT ( Youn-Hee Han It is licensed under a Creative Commons Attribution.
Transport Layer3-1 TCP throughput r What’s the average throughout of TCP as a function of window size and RTT? m Ignore slow start r Let W be the window.
Self-generated Self-similar Traffic Péter Hága Péter Pollner Gábor Simon István Csabai Gábor Vattay.
TCP Behavior Inference Tool Jitendra Padhye, Sally Floyd Presented by Songjie Wei.
Network Simulator Tutorial Wireless Networks. Acknowledgements Material is taken from the presentations by Jim Kurose, University of Massachusetts, Amherst.
1 Sonia FahmyPurdue University TCP Congestion Control Sonia Fahmy Department of Computer Sciences Purdue University
1 Transport Control Protocol for Wireless Connections ElAarag and Bassiouni Vehicle Technology Conference 1999.
The Macroscopic behavior of the TCP Congestion Avoidance Algorithm.
CATNIP – Context Aware Transport/Network Internet Protocol Carey Williamson Qian Wu Department of Computer Science University of Calgary.
NS-2 Shahin Shayandeh December 2004 Session 1. Ns-2, the Network Simulator  A discrete event simulator Simple model  Focused on modeling network protocols.
Internet research Needs Better Models Sally Floyd, Eddie Kohler ISCI Center for Internet Research, Berkeley, California Presented by Max Podlesny.
Midterm Review Chapter 1: Introduction Chapter 2: Application Layer
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
U Innsbruck Informatik - 1 Specification of a Network Adaptation Layer for the Grid GGF7 presentation Michael Welzl University.
Sandeep Kakumanu Smita Vemulapalli Gnan
TCP Vegas: New Techniques for Congestion Detection and Avoidance
Introduction to ns-2: “The” Network Simulator
TCP-LP Distributed Algorithm for Low-Priority Data Transfer
TCP Westwood(+) Protocol Implementation in ns-3
Removing Exponential Backoff from TCP
Ns Tutorial: Case Studies
A Cognitive Approach for Cross-Layer Performance Management
ECE 599: Multimedia Networking Thinh Nguyen
The Future of Transport
Karthik Sadasivam Banuprasad Samudrala
Sven Ubik TCP performance Sven Ubik
RAP: Rate Adaptation Protocol
Presentation transcript:

1 Ns Tutorial: Case Studies John Heidemann (USC/ISI) Polly Huang (ETH Zurich) March 14, 2002

2 Road Map Simple examples –TCP –web traffic Case Study –Impact of HTTP and TCP parameters to Web performance –Hidden structure behind aggregated Web traffic Provide an entry pointShow case ns’s functionality and relevance to the CN program

3 Presentation Style Slides Script walk-through Live demos with nam (Network AniMator)

4 Example I: TCP set ns [new Simulator] set n0 [$ns node] set n1 [$ns node] n0n1 set ftp [new Application/FTP] $ftp attach-agent $tcp $ns at 0.2 "$ftp start" $ns at 1.2 ”exit" $ns run $ns duplex-link $n0 $n1 1.5Mb 10ms DropTail set tcp [new Agent/TCP] set tcpsink [new Agent/TCPSink] $ns attach-agent $n0 $tcp $ns attach-agent $n1 $tcpsink $ns connect $tcp $tcpsink

5 Example II: Web Traffic A Web session – a series of page downloads –Number of pages –Inter-page time –Page size (number of embedded objects) –Inter-object time –Object size (KB) 5 random variables

6 Case Study I: Web Performance Impact of TCP and HTTP parameters Try to answer: –Will the proposed changes work in a variety of conditions? –Should TCP Sack be deployed? –Should persistency or pipelining be deployed? –Which parameters are more cost effective to tune?

7 Methodology –Select performance critical parameters –Use most commonly used values as the base case –Tune parameter values to compare to the base case Toward a systematic and exhaustive evaluation Enabled by ns –rich library of workload and protocol implementations –Contributed code from a huge user/developer community

8 Parameters and Values Packet size –576, 1460 Delayed ack –on, off Congestion avoidance –NewReno, Tahoe, Reno, Sack Initial retransmission timeout –3, 6 sec Timer granularity –100, 500 msec Timestamp option –on, off Initial window size –2, 4 Connection type –persistent, simple, pipelined Number of parallel connections –2, 1, 4 TCP HTTP

9 Page Download Time – TCP Sack, NewReno, Reno, Tahoe, gradually better Timer-related parameters, no significant impact Sack, NewReno, Reno, Tahoe, gradually better Timer-related parameters, no significant impact

10 Page Download Time - HTTP Simple, persistent, and pipelined connections, gradually better Higher the number of parallel connections, Smaller the range of improvement Simple, persistent, and pipelined connections, gradually better Higher the number of parallel connections, Smaller the range of improvement

11 TCP vs. HTTP TCP HTTP Impact of TCP Sack is relatively small.

12 Low vs. High loss - TCP Low loss High loss That tiny bit of advantage in TCP Sack disappears in high-loss case.

13 Low vs. High loss - HTTP Pipelining loses its advantage when # of parallel connections is high.

14 Preliminary Findings Will the proposed changes work in a variety of conditions? –Not really –TCP Sack and HTTP pipelining Should TCP Sack be deployed? –Maybe not, if deployment cost is high Should persistency or pipelining be deployed? –Maybe yes, but doesn’t make sense to work with too many parallel connections

15 The Real Message Design decisions need to be validated in the context of the Internet. Layers of protocols, tremendous amount of unknown dynamics Simulation tools like ns can help us track the complexity (within a layer or across layers) Ns en-powers such studies –A rich library base –A large community contributing to the base

16 Case Study II: Web Traffic Web traffic is not exact self-similar How does it diverge from exact self- similar? Why is there this divergence?

17 Self-similarity Distributions of #packets/time unit look alike in different time scale

18

19 Wavelet Analysis FFT - frequency decomposition d j WT - frequency and time decomposition d j,k  k (d j,k 2 ) / N j  E j = 2 j(2H-1) C log 2 E j = (2H-1) j + log 2 C j log 2 E j Self-Similar

20 Global Scaling - Trace Round Trip Time

21 Global Scaling - Simulation

22 UDP

23 TCP

24 Findings Periodicity emerges at round-trip time scales That periodicity dominates the traffic behavior at those scales TCP ack clocking plays a critical role Need to be cautious when to use or not use mathematical self-similar models

25 The Real Message Proposed (traffic) models need to be validated in the context of the Internet. Mechanisms can influence Internet characteristics in a surprising way Simulation tools like ns can help us track the implicit complexity Ns en-powers such studies –A rich library base –A large community contributing to the base

26 Concluding remarks Learning ns –video recording –on-line tutorials (audio and slides) –tons of info from the ns web site Research with ns –promote sharing and confidence