Assignment #2 Due Sunday Sept 17, 11:55pm. Objectives  Getting to know ns-2  Manipulate ns-2 as a black box.  Configure/Script.

Slides:



Advertisements
Similar presentations
1 NS-2 Tutorial COMP R2 University of Manitoba March 4, 2009.
Advertisements

Introduction to nam Tim Buchheim 21 November 2002 ns tutorial - fall 2002.
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
1 ns-2 Tutorial, part 2 Dave Anderson, Xiaowei Yang (Modified from Polly Huang’s slides)
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.
Brief Intro to ns2: The most widely used Network Simulator COMP5416 Advanced Network Technologies Based on: Marc Greis's
Ns-2 Tutorial Exercise (1) Multimedia Networking Group, The Department of Computer Science, UVA Jianping Wang Adopted from Nicolas’s slides Jianping Wang,
Ns-2 tutorial Karthik Sadasivam Banuprasad Samudrala CSCI 5931 Network Security Instructor : Dr. T. Andrew Yang.
5-Jul-141 S.Pushpalatha, Associate Professor, PSNACET.
Introduction to NS. Information Main website Documentation, mailing list archive, tutorial Location of Source codes –C++ files.
Playback-buffer Equalization For Streaming Media Using Stateless Transport Prioritization By Wai-tian Tan, Weidong Cui and John G. Apostolopoulos Presented.
Ion Stoica, Scott Shenker, and Hui Zhang SIGCOMM’98, Vancouver, August 1998 subsequently IEEE/ACM Transactions on Networking 11(1), 2003, pp Presented.
Assignment #3 Probability Ideas & Graphing Tools Sunday Sept 17, 11:55pm.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
Katz, Stoica F04 EECS 122 Introduction to Computer Networks (Fall 2003) Network simulator 2 (ns-2) Department of Electrical Engineering and Computer Sciences.
Introduction Future wireless systems will be characterized by their heterogeneity - availability of multiple access systems in the same physical space.
CprE 543x – ns-2 Tutorial Zak Abichar, Dept of Electrical and Computer Engineering Iowa State University Ames,
Binomial Congestion Control  Implement this algorithm into ns-2  Find the c++ source file in ~/ns/ns-2.1b7/tcp.cc  Increase:
Computer Networks NS. Features F Event driven simulator –developed at UC Berkeley F Network Topologies –nodes (connectivity), links (bandwidth, delay)
Questions  RED vs. DropTail  What’s the key difference?  Why RED drops packet randomly?  What’s the major effect if using RED.
EECS122 - UCB1 Project 3: ns Simulation of Application-Level Routing Improve the application performance by user-level / application-level routing. Understand.
1 Modified Schedule Day 2 Network AniMator (nam) Examples simple.tcl mcast.tcl Day 3 Wireless (ad-hoc)
Course Project for CS Objective Simulate the FatTree network using ndnSIM. Simulate a multicast session with l oadbalancing Add more producers to.
TCP Performance: what to measure?  Dynamic Performance  Bottleneck utilization, queue length;  TCP source congestion window,
EECS122 - UCB1 Measurements and Modeling Table of Contents 1. Measurements Measurements 2. Modeling and its Shortcomings Modeling and its Shortcomings.
1 Performance Evaluation of Ring- based Peer-to-Peer Virtual Private Network (RING-P2P-VPN) Hiroyuki Ohsaki Graduate School of Information Sci. & Tech.
Path selection Packet scheduling and multipath Sebastian Siikavirta and Antti aalto.
Network Simulator (NS2) 1 Tutorial on Network Simulator (NS2) Hemant Kumar Rath Infonet Lab, Dept of Electrical Engineering IIT Bombay, Mumbai
NdnSIM Tutorial.
Wireless Networking and Systems CSE 590 ns2 tutorial.
1 Enabling Large Scale Network Simulation with 100 Million Nodes using Grid Infrastructure Hiroyuki Ohsaki Graduate School of Information Sci. & Tech.
ACN: CSFQ1 CSFQ Core-Stateless Fair Queueing Presented by Nagaraj Shirali Choong-Soo Lee ACN: CSFQ1.
Role and Mechanism of Queue Internet Engineering.
NS2 - Appendix Ming-Feng Yang. 2 2 Outline NS2 Models NS2 Directory Structure Extending NS2 in OTcl Extending NS2 in C++ NS2 related links.
JIA-HUI HUANG INSTITUTE OF COMPUTER SCIENCE AND INFORMATION ENGINEERING NATIONAL TAIPEI UNIVERSITY OF TECHNOLOGY Network Simulator – NS-2 1.
Network Simulator-2 Sandeep singla 1998A2A7540. NS-2 A discrete event simulator Focused on modeling network protocols –Wired, wireless –TCP,UDP,unicast,multicast.
NetFlow Very useful for traffic analysis Very useful for traffic analysis Standard sampler: Standard sampler: –Cisco Netflow –Juniper Traffic Sampling.
1 Network Simulator Tutorial. 2 Network Simulation * Motivation: Learn fundamentals of evaluating network performance via simulation Overview: fundamentals.
Internet Computing KUT Youn-Hee Han
NS-2 Tutorial. Motivation What’s NS-2 Network simulator –Discrete event simulator It covers multiple layers –Application layer, transport layer, network.
Assignment #3A Probability Ideas, Confidence Intevals, Regression, Graphing (Continued) Sunday Sept 24, 11:55pm.
Datacenter Network Simulation using ns3
Background of Wireless Communication Student Presentations and Projects Wireless Communication Technology Wireless Networking and Mobile IP Wireless Local.
Quality evaluation of MPEG4 video transmission over GPRS networks.. Presented by: Abdullah M. Rana Multimedia Communication.
Tutorial to use a course link for the schedule and module pages.
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.
Ns-2 Tutorial (1) Multimedia Networking Group, The Department of Computer Science, UVA Jianping Wang Jianping Wang, 2002 cs757 1.
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.
Lab 2, Network Simulator ns2 Shiv Kalyanaraman Yong Xia (TA) Satish Raghunath Sept 4,
Network Simulator Tutorial Wireless Networks. Acknowledgements Material is taken from the presentations by Jim Kurose, University of Massachusetts, Amherst.
Network Simulator 2. Introduction Open source network simulator NS uses two languages: C++ and OTcl  C++ is fast to run but slower to change Kernel 
The Creation of NS2 Simulated Environment ( 1 ) LI Chengbo
NS-2 Shahin Shayandeh December 2004 Session 1. Ns-2, the Network Simulator  A discrete event simulator Simple model  Focused on modeling network protocols.
Lab 2, Network Simulator ns2
Network Topology. Network Topology Cont. Sender = 0 and Receiver = 5 Sender = 0 and Receiver = 5 Sender transmits ftp traffic over TCP/IP to receiver.
Assg #1: Measuring RTT  Write program to measure round-trip time between two end host on the Internet; -Refer to ping: write a simple wrapper program..
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
Queue Scheduler RR v.s. SP v.s. WFQ 佇列排程. Basic Schedulers Round robin (RR) – 輪流、公平 Strict Priority (SP) – 壓倒性優先 Weight Fair Queue (WFQ) – 彈性優先.
DMET 602: Networks and Media Lab
(Modified from Polly Huang’s and last year’s original)
Speaker Dr. Saloua CHETTIBI Lecturer at University of Jijel
Choe, Hyun Jung (Stella)
Introduction to ns-2: “The” Network Simulator
Karthik Sadasivam Banuprasad Samudrala
ns-2 simulation of TCP + CBR traffic
Network Performance modelling and simulation
Presentation transcript:

Assignment #2 Due Sunday Sept 17, 11:55pm

Objectives  Getting to know ns-2  Manipulate ns-2 as a black box.  Configure/Script & run simulations based upon pre-existing ns-2 modules for -Transport (TCP, UDP), and -Queueing/buffer management (deficit round robin scheduling, FIFO DropTail)  Collect and interpret results from simulation  Understand what it means to say that scheme A is better than scheme B using simulation evidence.

Assignment #2  Scenario: TCP/UDP bandwidth sharing analysis 1Mbps, 5ms n0 n1 n2 n3 600Kbps, 10ms CBR/UDP, 0.1s ~ 5.0s FTP/TCP, 0.1s ~ 5.0s  TCP is expected to get a lower allocation when FIFO Droptail is used at n2.  Show this using ns-2 simulation. DropTail DRR

Contd…  By using Deficit Round Robin (DRR) scheduling, we expect to isolate UDP from TCP -This should lead to a fairer bandwidth allocation than FIFO DropTail. -Show this using ns-2 simulation

Submission  Write ns2 script for each case (FIFO droptail & DRR) using the topology shown on Slide 3.  Metric: Percentage of link n2-n3 bandwidth obtained by TCP and UDP respectively. -Measure this using ns2 traces (the.tr file) & process it using a Perl/Awk script. -Repeat for the two cases (FIFO DropTail and DRR).  Submit: -Ns2 simulation script; -Post-processing program to process the trace (eg. Awk, perl, etc.); -Your analysis of capacity sharing at bottleneck link n2  n3 of TCP and UDP sources, compared to what one would expect in each case.  All in text format.  Due Sunday Sept 17, 11:55pm

GRADUATE STUDENTS: Additional Task  Browse the ns-2 manual and David Harrison’s graphing tutorial. You need to be very comfortable with ns-2 for your research project.  ns-2: Briefly discuss the different ways in which the oTcl portion of ns-2 interfaces with the C++ portion (hooks, bindings, tracing, shadow objects, command methods, embedded tcl, instvar etc).  Graphing/Animation: Give an example of when animation more useful in eliciting performance information than what is possible with a collection of graphs? Vice-versa: when would you prefer graphs to animations?  Models: Briefly summarize the various model options available in ns-2 at the transport layer, application layer, routing layer and queue layer.