[ns] round trip delay

Xiao Hannan engp8803@nus.edu.sg
Wed, 5 Apr 2000 18:05:00 +0800


Hi,

Pls change the tcpTick_ in ns-default.tcl to change the unit of time that
rtt/srrt uses. 

Regards
Hannan

-----Original Message-----
From: Huike LI [mailto:huike@ee.mu.oz.au]
Sent: Wednesday, April 05, 2000 10:21 AM
To: ns-users@mash.CS.Berkeley.EDU
Subject: [ns] round trip delay



I tried to get the rtt_ or srtt_ of a tcp agent, but it always gives me 1s
no matter I set the link delay as 15ms 25ms etc. Then I noticed it may
because of the timer used in ns, that is its resolution. Then I set the
link delay as 15s then got the correct result rtt_=30s.

Then how can I get the accurate round trip delay?(the easiest way, I won't
set a ping to measure it)

Thanks,
Victor