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…

Fedora 12 Installation

This post will show you the installation of Fedora along with Windows 7.

This Post is mainly for

  • Beginners of Linux
  • those who entered the college just now
  • who don’t have prior working knowledge on Linux

Here we go….

I have taken DVD Version of Fedora 12 (32 Bit OS)

Step 1: Create a Partition on windows to give space for Fedora, Just 20GB space is enough.. You can store all your files under windows and use it in linux whenever you need. So no extra space needed for Linux. (see the image below)


Step 2:  Insert the DVD and boot from the DVD and select the first option (as shown below) “Install or Upgrade an existing System”


Once selected, the system asks you to check the correctness of the media (DVD ROM). if you have doubt with your DVD, please click OK else SKIP it. (see below)


Once done, start proceeding with the installation as given in the following images

Step 4: Select the language (as given below, If you have doubt, leave with the default and click next)


Step 5: Select the Keyboard layout (If you have doubt, leave with the default and click next)


Step 6: Give a name for your Linux OS.


Step 7: Select your locale, I have Selected Asia/Kolkata which is GMT +5 30


Step 8: Select a root (Super User) password (minimum 6 chars)


Step 9:  Now select “Use Free Space” or “Replace Existing Linux system” (See Step 1, we have created a partition in Windows for 20GB which will be used for Linux)

Step 10: Since it is dual OS, then select which OS you like to be the default boot, I made windows 7 as Default OS.


Step 11: Now click “Customize Now” which shows the screen for additional softwares to be installed along with the OS, If you don’t select “customize now”, then only default set of packages will be installed, Later you can install the other package. If you are a developer, then select “Customise Now” and install all the packages that you need. (Please the next couple of images)


Put a “Tick” wherever possible (if you have doubt, select all the software and install the OS).  Once the Components in the left side is selected, in the right hand side a set of softwares will be listed and put a tick to install that software.


Step 12: Depending on the size of RAM and other parameters, the installation will vary from 15 minutes to 45 minutes.



Once done, you will get the following screen and hence Fedora is installed successfully, reboot and take out the DVD and that’s it..


Popular posts from this blog

AWK Scripts for NS2 to process data from Trace Files


ns2 installation in Ubuntu 14.04