Hi Arya,

    I guess what you mean is to change the minimum RTO (as against to what
you asked me in the off-line email of changing timeout calculation
algorithm)?
    The RTO is dynamically calculated by the Karn's algorithm. 200ms is the
lower-bound for it.
    If you need to change RTO algorithm, go to tcp.cc and change
rtt_timeout()
    If you just need to change the minimum bound, just change the tcl
variable "minrto_" for the TCP agent or TCP/Linux Agent.

    Some documents recommended: RFC 2581, RFC 2988

    Thanks.

-David

------------------------------
>
> Message: 3
> Date: Wed, 5 Dec 2007 23:51:20 -0500
> From: "Arya Afrashteh" <[EMAIL PROTECTED]>
> Subject: [ns] Changing a TCP's timeout time
> To: <ns-users@ISI.EDU>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;       charset="us-ascii"
>
> In ns2, how do I change TCPs timeout interval from 200ms to 1000ms so it
> won't count a packet as lost if it doesn't receive an ACK or 3 dupACKS
> within 200ms?  Note I'm using the Linux patch provided Xiaoliang (David)
> Wei
> so I need the effect to be for all those variants of TCP too.  Anyone know
> how to do this?  What file to edit etc etc.
>
> -----------------------------------------------
> Arya Afrashteh
> Virginia Tech - CpE Grad Student
> [EMAIL PROTECTED]
> -----------------------------------------------
>
>
>
> ------------------------------
>
> Message: 4
> Date: 6 Dec 2007 07:52:56 -0000
> From: "neeraj  gupta" <[EMAIL PROTECTED]>
> Subject: [ns] help configure
> To: ns-users@ISI.EDU
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;       charset=iso-8859-1
>
>
> hi all
>  i was installing tk8.4.14.i had already installed tcl8.4.14.
> while installing i used the following commands
>
> ./configure  --disable-load --with-tcl=../../tcl8.4.14/unix
>
>  make
>
>  while i run the make at the end i recevie following error:
>
>
> {standard input}: Assembler messages:
> {standard input}:426: Warning: size of "width" is already 8; not changing
> to 4
> make: *** [tk3d.o] Error 1
>
> kindly tell me the mistake i am commiting
>
> thanks in advance
>
>
>
> Neeraj
>
> ------------------------------
>
> Message: 5
> Date: Thu, 6 Dec 2007 12:10:42 -0500
> From: "ryan m" <[EMAIL PROTECTED]>
> Subject: [ns] dei80211mr MAC parameters
> To: ns-users@ISI.EDU
> Message-ID:
>        <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hello,
>     I am using dei80211mr-1.1.1, I have successfully set it up under
> ns 2.31.  I just have a couple quick question about it's use.
>
> there is a parameter for the mac, $mac($i) dataMode_ $PHYDataRate ,
> and one possibility for PHYDataRate is Mode6Mb.  What are the other
> possibilities, in particular I'd like to know the option for 802.11g
> multirate, and if possible 11MB unirate.
>
> the other question is about the parameter $mac($i) basicMode_ Mode6Mb,
> is this the basic rate for the multirate beacons and broadcast
> packets?  Are the possibilities for this parameter the same as for the
> other parameter?  If my interpretation of the parameter is correct;
> 2MB is the correct basic rate for 802.11g right?, what is the correct
> value for setting it to that?
>
> Thank you very much for any help you can offer,
> Ryan
>
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 06 Dec 2007 17:34:10 +0000
> From: Adriano Galati <[EMAIL PROTECTED]>
> Subject: [ns] segmentation fault in the tcl script
> To: ns-users@ISI.EDU
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
> when I write and run my tcl script with
> puts "Starting Simulation..."
> or when I open a file for writing with
> set f [open out.tr w]
> $ns trace-all $f
>
> I get a segmentation fault
> Does anybody know the reason?
> Thanks
> Adriano
>
>
>
> This message has been checked for viruses but the contents of an
> attachment
> may still contain software viruses, which could damage your computer
> system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
> ------------------------------
>
> Message: 7
> Date: Thu, 6 Dec 2007 13:21:35 -0500
> From: "ryan m" <[EMAIL PROTECTED]>
> Subject: [ns] dei80211mr dsr seg fault
> To: ns-users@ISI.EDU
> Message-ID:
>        <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hello,
>    Has anyone has any luck with using dei80211mr with DSR?  When I
> take the the adhoc_tcp.tcl script from the sample directory in the
> distribution and change the routing protocol to DSR and change NOTHING
> else ns Segmentation faults when I run the script.  Would you know
> what has to be changed about the script to make it work with DSR?  Or
> even better have a script handy that uses dei80211mr, dsr, and output
> from setdest for mobility?
>
> Thank you for any help you might offer,
> Ryan
>
>
>
> ------------------------------
>
> Message: 8
> Date: Thu, 6 Dec 2007 22:02:08 +0300
> From: Pilugin Alexander <[EMAIL PROTECTED]>
> Subject: [ns] voip traffic generator?
> To: ns-users@ISI.EDU
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii
>
> Hi, ns users!
> Please advise me any materials about simulation g.711, g.729 and iLBC!
> Many thanks!!
>
> --
> Best regards,
> Alex                          mailto:[EMAIL PROTECTED]
>
>
>
> ------------------------------
>
> Message: 9
> Date: Thu, 06 Dec 2007 20:11:14 +0100
> From: Nicola Baldo <[EMAIL PROTECTED]>
> Subject: Re: [ns] dei80211mr MAC parameters
> To: ns-users@ISI.EDU
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> Hi Ryan,
>
>
> ryan m wrote:
> > there is a parameter for the mac, $mac($i) dataMode_ $PHYDataRate ,
> > and one possibility for PHYDataRate is Mode6Mb.  What are the other
> > possibilities, in particular I'd like to know the option for 802.11g
> > multirate, and if possible 11MB unirate.
>
> The rates supported are listed in src/phymodes.h
>
> >
> > the other question is about the parameter $mac($i) basicMode_ Mode6Mb,
> > is this the basic rate for the multirate beacons and broadcast
> > packets?
>
> In the current version it is used for all control frames, i.e., RTS, CTS
> and ACK, as well as for all broadcast packets.
>
> > Are the possibilities for this parameter the same as for the
> > other parameter?
>
> Yes
>
>
> > If my interpretation of the parameter is correct;
> > 2MB is the correct basic rate for 802.11g right?, what is the correct
> > value for setting it to that?
>
> I suggest checking the 802.11 standard for this matter.
>
> Regards,
>
> Nicola
>
>
>
> ------------------------------
>
> Message: 10
> Date: Thu, 06 Dec 2007 19:59:27 +0000
> From: Adriano Galati <[EMAIL PROTECTED]>
> Subject: [ns] segmentation fault extending ns2 because of more output
>        channels: how to fix it???
> To: ns-users@ISI.EDU
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi everybody,
>
> I am extending ns2 and below is my script tcl.
> I have realized that my tcl script works only with one output stream.
> For example, If at the script below I take off the "open a file" part
> and the "puts" function in the finish{} then the tcl script works.
> Any idea?
> Thanks
> Adriano
>
> # Create a simulator object
> set ns [new Simulator]
>
> #Open a file
> set f [open out.tr w]
> $ns trace-all $f
>
> # Open a nam trace file
> set nf [open out.nam w]
> $ns namtrace-all $nf
>
> # Define a 'finish' procedure
> proc finish {} {
>       global ns f nf
>       $ns flush-trace
>   close $f
>   close $nf
>
>      puts "Starting nam..."
>       exec nam out.nam &
>       exit 0
> }
>
>
> #Create nodes
> set node1 [$ns node]
> set node2 [$ns node]
>
> #Create the agent for the first node
> set dtn1 [new Agent/DTNAgent]
>
> #Create another Agent for the second node
> set dtn2 [new Agent/DTNAgent]
>
> #attach the agents to the nodes
> $ns attach-agent $node1 $dtn1
> $ns attach-agent $node2 $dtn2
>
> #Set local region
> $dtn1 region "REGION1"
> $dtn2 region "REGION2"
>
> #Setup routing table
> #$dtn1 add "REGION2" $dtn2 1 1 1500
> #$dtn2 add "REGION1" $dtn1 1 1 1500
>
> # Set endtime
> $ns at 100.0 "finish"
>
> # Run the simulation
> $ns run
>
> This message has been checked for viruses but the contents of an
> attachment
> may still contain software viruses, which could damage your computer
> system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
> ------------------------------
>
> _______________________________________________
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 48, Issue 6
> ***************************************
>



-- 
Xiaoliang (David) Wei
http://davidwei.org
***********************************************

Reply via email to