htcp
所属分类:TCP/IP协议栈
开发工具:C++
文件大小:131KB
下载次数:19
上传日期:2009-07-20 13:17:24
上 传 者:
ahmetozan
说明: htcp transport ns2 tcp high speed
文件列表:
tcp.h (21612, 2004-03-24)
tcp.cc (57650, 2004-03-30)
test.tcl (3576, 2004-03-27)
test-regtcp0.out (108925, 2004-04-07)
test-regtcp1.out (115564, 2004-04-07)
test-regtcp2.out (93809, 2004-04-07)
test-output-htcp\htcp.Z (23111, 2004-04-07)
test-output-htcp\tcp.Z (12717, 2004-03-27)
test-output-htcp (0, 2004-04-07)
test-all-htcp (2011, 2004-03-27)
test-suite-htcp.tcl (4614, 2004-03-27)
Implements H-TCP congestion control algorithm for ns version 2.26. March 27th 2004.
See www.hamilton.ie/net for further details.
To install:
Extract this zip archive. Copy files tcp.cc and tcp.h into the ns-2.26/tcp directory, then delete
files *.o in the ns-2.26/tcp directory. In the parent directory ns-2.26, recompile ns by running make.
To test:
1. Extract the script test.tcl into a temporary folder. Then run the script test.tcl using
the command "ns test.tcl". This will generate output files tcp-regtcp0.out, tcp-regtcp1.out,
tcp-regtcp2.out. Use diff to compare this output with the correct output which is in files
test-regtcp0.out, test-regtcp1.out and test-regtcp2.out.
2. Alternatively/additionally, extract the files test-all-htcp, test-suite-htcp.tcl and directory
test-output-htcp into directory ns-2.26/tcl/test. In the directory ns-2.26/tcl/test, run
"./test-all-htcp" for validation output.
Usage:
This patch creates the following new options accessed by changing the value of windowOption_:
windowOption_ = -10 Complete H-TCP congestion control algorithm
windowOption_ = +10 H-TCP algorithm without adaptive backoff
windowOption_ = -11 Standard TCP algorithm with adaptive backoff
windowOption_ = +11 Standard TCP algorithm (identical to windowOption_=1).
Also created are some new trace variables:
dl_rtti_ instantaneous RTT value estimated from timestamp on last packet received (coarse grained timing)
dl_minrtt_ minimum dl_rtti value observed
dl_maxrtt_ maximum smoothed RTT value observed
dl_Bi_ goodput (derived from acked packets) achieved over last round-trip time.
dl_oldmaxB_ value of dl_Bi at last backoff.
dl_thresh_ diagnostic for Bi calculation
dl_packetcount_ diagnostic for Bi calculation
dl_count_ number of RTT's since last backoff
近期下载者:
相关文件:
收藏者: