queue-ns2-master
所属分类:VC书籍
开发工具:Visual C++
文件大小:341KB
下载次数:4
上传日期:2017-08-28 04:53:30
上 传 者:
nermeen
说明: RED source code in ns2 simulator
文件列表:
1-MD1 (0, 2012-11-10)
1-MD1\md1.tcl (3059, 2012-11-10)
1-MD1\outputs (0, 2012-11-10)
1-MD1\outputs\AvgQlengthVsTime.png (4586, 2012-11-10)
1-MD1\outputs\AvgQlengthVsTime1200.png (4461, 2012-11-10)
1-MD1\outputs\AvgQlengthVsTime13k.png (4080, 2012-11-10)
1-MD1\outputs\AvgQlengthVsTime1k.png (2692, 2012-11-10)
1-MD1\outputs\QlengthVsTime.png (2933, 2012-11-10)
1-MD1\outputs\QlengthVsTime1200.png (3093, 2012-11-10)
1-MD1\outputs\QlengthVsTime13k.png (4095, 2012-11-10)
1-MD1\outputs\QlengthVsTime1k.png (2570, 2012-11-10)
1-MD1\outputs\qsizeplot.p (597, 2012-11-10)
2-DRRvsFQ (0, 2012-11-10)
2-DRRvsFQ\fqdrr.tcl (3590, 2012-11-10)
3-TCP-RED (0, 2012-11-10)
3-TCP-RED\fordemo (0, 2012-11-10)
3-TCP-RED\fordemo\plotwintime.p (856, 2012-11-10)
3-TCP-RED\fordemo\qsizeplot.p (427, 2012-11-10)
3-TCP-RED\fordemo\runtest.pl (2321, 2012-11-10)
3-TCP-RED\red.tcl (5188, 2012-11-10)
queue-ns2.pdf (340394, 2012-11-10)
/*
* Queue Scheduling Algorithms
* D/D/1, DRR vs FQ, RED
*
* Simulation of Queue Scheduling Algorithms
* D/D/1 and M/D/1
* DRR (Deficit Round Robin) vs Fair Queuing (FQ)
* TCP congestion with Drop Tail and RED
*
* @authors: vsubhashini
*/
*This folder contains
this README file
the lab report
and 3 sub-folders named 1-MD1, 2-DRRvsFQ and 3-TCP-RED; which contain the solutions for questions 1.1, 1.2 and 1.3 respectively.
1. Usage:
$ns md1.tcl
To view the animation using nam:
$nam out.nam
Example:
$ns md1.tcl 1300 4.4
2. Usage:
$ns fqdrr.tcl [uniform_cwnd ]
[uniform_cwnd] - is for uniform tcp flow generation in all sources. This is optional.
By default the sources generate at the specified rate of 2Mbps, 4Mbps, 6Mbps and 8Mbps.
Example:
$ns fqdrr.tcl DRR 5
$ns fqdrr.tcl FQ 11.5 50
3. Usage:
$ns red.tcl [uniform_cwnd]
[uniform_cwnd] - is for uniform tcp flow generation in all sources. This is optional.
By default the sources generate at the specified rate of 2Mbps, 4Mbps, 6Mbps and 8Mbps.
Example:
$ns red.tcl DropTail 20
$ns red.tcl RED 25.4 4000
近期下载者:
相关文件:
收藏者: