Hi to all,
I am beginning with NS and I have problems to
set the maximum buffer size parameter of the Queues to zero.
I used 2 differents methods:
The first one:
#Maximum buffer size
$ns queue-limit $n0 $n3 0
$ns queue-limit $n1 $n3 0
$ns queue-limit $n2 $n3 0
$ns queue-limit $n3 $n4 0
or The second one:
#Maximum buffer size set q [[$ns link $n0 $n3] queue]
$q set limit_ 0 set q [[$ns link $n1 $n3] queue] $q set limit_ 0 set q [[$ns link $n2 $n3] queue] $q set limit_ 0 set q [[$ns link $n3 $n4] queue] $q set limit_ 0 Even after this, I can see with "Nam" some buffering capabilities. I use
the following command to view the queue of link 3->4 for example:
$ns duplex-link-op $n3 $n4 queuePos 0.5
Perhaps it is just a visualization problem?
Thanks in advance for your help,
David.
|