[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: your mail



queue-limit only works on _simplex_ links. You can configure it on one
direction only, if that's what you want.

- Haobo

On Thu, 10 Feb 2000, Hotmail wrote:

> Thanks a lot for your suggestion. I really helps.
> 
> On the other hand, I think I have a concept problem as I am confused why
> 1. only node r1 and r2 has to be configured in both direction
> 2. the queue limit has to be defined in both direction for node r1 and r2
> 
>     $ns duplex-link $node_(s1) $node_(r1) 10Mb 2ms DropTail
>     $ns duplex-link $node_(s2) $node_(r1) 10Mb 6ms DropTail
>     $ns duplex-link $node_(r1) $node_(r2) 1.5Mb 20ms RED
>     $ns queue-limit $node_(r1) $node_(r2) 25
>     $ns queue-limit $node_(r2) $node_(r1) 25
>     $ns duplex-link $node_(s3) $node_(r2) 10Mb 4ms DropTail
>     $ns duplex-link $node_(s4) $node_(r2) 10Mb 5ms DropTail
> 
> 3. Can I just configure for 1 direction ? What is the differences ?
> 
> Appreciate it if you can advise.
> 
> Thanks
> Estella
> 
> ----- Original Message -----
> From: Haobo Yu <[email protected]>
> To: TSANG Chi Man Estella <[email protected]>
> Cc: ns-users <[email protected]>
> Sent: Thursday, February 03, 2000 5:52 AM
> Subject: Re: your mail
> 
> 
> > See ~ns/tcl/ex/tcpecn.tcl, it uses otcl binding tracevar to trace a
> > particular variable. Also notice if you want it to send the trace output
> > into nam trace, you should say 'Agent/TCP set nam_tracevar_ true' before
> > starting the trace. The default is to dump every trace to standard output.
> > You can also say 'Agent/TCP set trace_all_oneline_' then "all" variables
> > will be traced and dumped. However, in this case, no nam output will be
> > generated.
> >
> > - Haobo
> >
> > On Wed, 2 Feb 2000, TSANG Chi Man Estella wrote:
> >
> > > I am a newcomer to ns.
> > >
> > > I am trying to use ns to monitor the congestion window, threshold,
> round-trip
> > > times, sequence no. etc. - In fact most of the variables in the
> procedure
> > > "TraceALL()" in tcp.cc.
> > >
> > > Please help by giving instructions and examples.
> > >
> > > I have attached the TCL file I have written so far.
> > >
> > > Thanks
> > > Estella
> > >
> >
> 
>