You need to set the queue size by modifying the following two lines. $ns queue-limit $node_(r1) $node_(r2) 100 $ns queue-limit $node_(r2) $node_(r1) 100
On 3/7/06, ben <[EMAIL PROTECTED]> wrote: > Hi Soo-Hyun Choi, > > I attached the output of the xgraph in ps format. > 1. red.ps - red.tcl run on ns2.27 in fedora core 4 > 2. red2.ps - the same red.tcl on ns2.28 in fedora > core4 > > In previous post, I wrote the limit is 100. It is > mistake, it is infact limit_ is equals to 25. > > > In the first part the current queue is below 25 > packets. However, in the second part, the red queue > just grow beyond 25 packets. > > > Cheers, > > > --- Soo-Hyun Choi <[EMAIL PROTECTED]> > wrote: > > > The instantaneous RED queue size shouldn't grow > > beyond the actual RED > > queue size, and the average RED queue size shouldn't > > grow beyond the > > maxthresh. > > > > You may want to check your parameters again. > > > > On 3/7/06, ben <[EMAIL PROTECTED]> wrote: > > > > > > Hi ns users, > > > > > > I some doubt about the RED Queue. I run a > > > simple tcl script ( can be download from > > > http://nile.wpi.edu/NS/Example/red.tcl) for RED > > queue > > > with 2 TCP sources. I observed that the RED queue > > just > > > grow beyond the limit (it is set to 100 packets in > > the > > > tcl script) when run on ns-2.28, ns-2.28 with > > eurane > > > extension and ns-2.29 . > > > > > > It is perfectly ok when run on ns-2.27 and ns-2.26 > > > with eurane extension. Any comment on this? > > > > > > p/s: I'm using fedora core 4 and cygwin on windows > > > > > > Ok cheers, > > > > > > Ben > > > Master Student. > > > > > > Send instant messages to your online friends > > http://uk.messenger.yahoo.com > > > > > > > > > > Send instant messages to your online friends http://uk.messenger.yahoo.com > >