Posts

Showing posts with the label vbr

VARIABLE BIT RATE VBR IMPLEMENTATION IN NS2

VARIABLE BIT RATE VBR IMPLEMENTATION IN NS2 We just made a VBR application that randomly change rate or bursts depending on parameters set. In order to use it in ns you have to follow: Include vbr_traffic.o in Makefile.in   Preferrably set the default values in /home/user/Desktop/ns-allinone-2.35/ns-2.35/tcl/lib  Run ./configure in your ns-allinone-2.35 directory  Run make depend in ns-allinone-2.35 Run make Now your VBR is ready. Default values in ns-default.tcl: Application/Traffic/VBR set rate_ 448Kb ;# corresponds to interval of 3.75ms  Application/Traffic/VBR set rate_dev_ 0.25;  Application/Traffic/VBR set rate_time_ 2.0;  Application/Traffic/VBR set burst_time_ 1.0;  Application/Traffic/VBR set n_o_changes_ 10;  Application/Traffic/VBR set time_dev_ 0.5;  Application/Traffic/VBR set constant_ false;  Application/Traffic/VBR set maxrate_ 648Kb;  Application/Traffic/VBR set packetSize_ 210;  Application/Traffic/VBR set m...