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

Re: [ns] Re: test problem



Many thanks to Aun to provide this diff, and I followed to update my code
at
http://www.cs.princeton.edu/~lmwang/ns-module/
and also added a mini-howto README file, hope it helps.

One more thing, a correction to a variable's default value
########################################################
Queue/REM set rate_sample_ 0.001

Since default sampling interval is 1ms, about which I told a rather
lengthy story.

Thanks,
Limin


On Wed, 18 Jul 2001, hai22 wrote:

> Hi,
> I am enclosing that part of ns-default.tcl which you have to put in to
> ns-default.tcl
> So copy the following piece of code into your ns-default.tcl  then
> proceed.
> #########################################################
> # by [email protected]
> Agent/TCP/NewVegas set v_alpha_ 1
> Agent/TCP/NewVegas set v_beta_ 3
> Agent/TCP/NewVegas set v_gamma_ 1
> Agent/TCP/NewVegas set v_rtt_ 0
> Agent/TCP/NewVegas set v_baseRTT_ 0
> Agent/TCP/NewVegas set v_expect_ 0
> Agent/TCP/NewVegas set v_actual_ 0
> Agent/TCP/NewVegas set v_rate_alpha_ 0
> Agent/TCP/NewVegas set v_phi_ 1.15
> Agent/TCP/NewVegas set v_N_ 100
> Agent/TCP/NewVegas set v_fraction_ 1
> Agent/TCP/NewVegas set v_price_ 100000
> ##############################################################################
> # Added for the use of REM queue managemant schemes...
> Queue/REM set bytes_ false
> Queue/REM set queue-in-bytes_ false
> Queue/REM set mean_pktsize_ 1000
> Queue/REM set rate_sample_ 0.1
> Queue/REM set rate_count_ 10
> Queue/REM set delta_ 0.1
> Queue/REM set gamma_ 0.005
> Queue/REM set phi_ 1.15
> Queue/REM set alpha_l_ 0.5
> Queue/REM set q_weight_ 0.002
> Queue/REM set drop-tail_ true
> Queue/REM set drop-front_ false
> Queue/REM set drop-rand_ false
> Queue/REM set ave_ 0.0
> Queue/REM set prob1_ 0.0
> Queue/REM set curq_ 0
> Queue/REM set price_ 0
> Queue/REM set marking_prob_ 0
> ###############################################################################
> As  "Nikolaos Katsarakis Austauschstud. (M. Schweigel)"
> <[email protected]> has said , do not copy whole of
> ns-default.tcl (created by tar -xvf... ).If you have already done it
> then you might need to do some thing else like to restore it to original
> form..if you get errors ...
> Hope this explanation will help.
> Bye,
> Aun
> ***************************************************************************************
>