Queuing Models in NS2

M/M/1 is a system with poisson arrival time, servicing exponentially and a queue of unlimited capacity and type of FIFO Queue. This is the simplest queuing system.  NS2 supports various distributions like pareto, exponential, constant, unifrom, etc to handle the network dynamics and metrics. So it is very easy to test the given network link to monitor a given queue using any of these queuing models. The listing 3 and 4 are monitoring the link when DropTail queue is used with a capacity of finite and infinite. Listing 13.3 uses infinite capacity and Listing 13.4 uses Finite capacity The output screen shot is shown below the scripts for further understanding
Listing 3 – M/M/1 Queuing Model #new Simulator creation set ns [new Simulator] #trace file creation for capturing the UDP data set tf [open out.tr w] $ns trace-all $tf
#setting the exponential distribution param set lambda 30.0 set mu     33.0
#creation of nodes set n1 [$ns node] set n2 [$ns node] #The queue limit is 1Lakh as the capacity is infin…

Network Simulator 2(NS2) Projects for Students (PG and UG)

Here are some list of projects that may help PG/UG students to do their final Year Projects.  These projects can be implemented using NS2 as a tool and of other tools also. The following projects are categorized as wired and wireless networks (Sensor, Adhoc and Mesh).

  • Performance of TCP in presence of UDP Flows
  • Performance comparison of various routing protocols of Wireless Adhoc Networks (DSR, AODV, DSDV and TORA)
  • Performance comparison of various routing protocols of Sensor Networks (LEACH, SPIN, etc)
  • Implementation of a New TCP Protocol and compare it with other fellow protocols.
  • Comparison of AODV, Trusted AODV and Secure AODV protocol
  • Distance matrix based protocol for wireless sensor networks
  • Bandwidth reuse and utilization for Wireless adhoc networks
  • Peer to Peer Network
  • Quality of Service (QoS) metrics in Adhoc Networks
  • QoS metrics in Sensor Networks
  • Qos Metrics in Wireless multimedia sensor networks
  • QoS metrics in wireless Multimedia Adhoc Networks
  • Animal Habitat using sensor networks
  • enhancing an existing routing protocol for wireless adhoc networks
  • Adding a new metrics in any existing TCP protocol and compare it with other protocols
  • Adding a new queuing method and implement the queue for any existing wired or wireless application
  • Adding a new packet structure and test it using any wireless or wired networks (multimedia UDP packets for wireless adhoc networks)
  • Video/Audio streaming in wireless sensor networks
  • Video/audio streaming in  wireless mesh networks
  • Power aware routing in wireless adhoc networks using fuzzy logic
  • Power aware routing in wireless sensor networks
  • Stochastic Power modelling in wireless sensor networks
  • Localisation in wireless sensor networks
  • data acquisition and aggregation in wireless sensor networks
  • Transmission power control using any algorithm in wireless sensor or wireless adhoc networks.
  • Mobile IP based network monitoring in comparison with node ID based.
  • Adding a new agent and test it with existing wired or wireless networks.
  • Real implementation of Adhoc Routing protocol using Laptops 802.11 interface

Popular posts from this blog

AWK Scripts for NS2 to process data from Trace Files


ns2 installation in Ubuntu 14.04