Commit 137f8fc2 authored by Abhijeet Joglekar's avatar Abhijeet Joglekar
Browse files

This file was used for testing RED and asymmetric queues.

parent 45cd59b4
......@@ -64,8 +64,8 @@ $ns connect $tcp0 $null1
# And some events.
$ns at 20.0 "$cbr0 start"
$ns at 30.0 "$link0 down"
$ns at 40.0 "$link0 up"
$ns at 30.0 "$link0 down"
$ns at 40.0 "$link0 up"
$ns at 50.0 "$link0 bandwidth 10Mb duplex"
$ns at 51.0 "$link0 bandwidth 100Mb duplex"
$ns at 60.0 "$link0 delay 10ms"
......@@ -77,25 +77,25 @@ $ns at 120.0 "$cbr1 set packetSize_ 500"
$ns at 120.0 "$cbr1 set interval_ 0.05"
$ns at 130.0 "$link0 down"
$ns at 140.0 "$link0 up"
$ns at 150.0 "$link0 delay 100ms"
$ns at 160.0 "$link0 bandwidth 10Mb duplex"
$ns at 161.0 "$link0 bandwidth 100Mb duplex"
$ns at 210.0 "$queue0 set thresh_ 5 ; $queue0 set linterm_ 10"
$ns at 215.0 "$queue0 set maxthresh_ 30 ; $queue0 set q_weight_ 0.5"
$ns at 220.0 "$queue0 set queue-in-bytes_ 0"
$ns at 230.0 "$queue0 set limit_ 30"
$ns at 210.0 "$queue1 set thresh_ 5 ; $queue1 set linterm_ 10"
$ns at 215.0 "$queue1 set maxthresh_ 30 ; $queue1 set q_weight_ 0.5"
$ns at 220.0 "$queue1 set queue-in-bytes_ 0"
$ns at 230.0 "$queue1 set limit_ 30"
$ns at 240.0 "$cbr1 stop"
$ns at 250.0 "$cbr0 start"
$ns at 260.0 "$link0 bandwidth 10Mb duplex"
$ns at 261.0 "$link0 bandwidth 100Mb duplex"
$ns at 270.0 "$link0 delay 10ms"
$ns at 280.0 "$link0 plr 0.05"
$ns at 150.0 "$link0 delay 100ms"
$ns at 160.0 "$link0 bandwidth 10Mb duplex"
$ns at 161.0 "$link0 bandwidth 100Mb duplex"
$ns at 210.0 "$queue0 set thresh_ 11 ; $queue0 set linterm_ 10"
$ns at 215.0 "$queue0 set maxthresh_ 30 ; $queue0 set q_weight_ 0.5"
$ns at 220.0 "$queue0 set queue-in-bytes_ 0"
$ns at 230.0 "$queue0 set limit_ 70"
$ns at 235.0 "$queue1 set thresh_ 8 ; $queue1 set linterm_ 15"
$ns at 240.0 "$queue1 set maxthresh_ 40 ; $queue1 set q_weight_ 0.4"
$ns at 245.0 "$queue1 set queue-in-bytes_ 0"
$ns at 250.0 "$queue1 set limit_ 80"
$ns at 255.0 "$cbr1 stop"
$ns at 260.0 "$cbr0 start"
$ns at 265.0 "$link0 bandwidth 10Mb duplex"
$ns at 266.0 "$link0 bandwidth 100Mb duplex"
$ns at 270.0 "$link0 delay 10ms"
$ns at 280.0 "$link0 plr 0.05"
$ns at 290.0 "$link0 down"
$ns at 300.0 "$link0 up"
$ns at 310.0 "$cbr0 stop"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment