readme.txt
来自「这个是目前国际上比较怪异的一种长距离高带宽环境下的拥塞控制算法」· 文本 代码 · 共 37 行
TXT
37 行
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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?