📄 tcp-fast-defaults.tcl
字号:
# Insert the following lines into ns-allione-2.27/ns-2.27/tcl/lib/ns-default.tclAgent/TCP/Fast set cwnd_update_period_ 0.01Agent/TCP/Fast set avgRTT_ 0Agent/TCP/Fast set baseRTT_ 0Agent/TCP/Fast set avg_cwnd_last_RTT_ 0Agent/TCP/Fast set alpha_ 100Agent/TCP/Fast set beta_ 100Agent/TCP/Fast set mi_threshold_ 0.00075# This variable is used to determine the calculation method used by NS2 FAST.# Because in real network system, cwnd is an integral while here cwnd is a# double, we provide 3 modes to get cwnd: 1. use double to store cwnd# (high_accuracy_cwnd != 0 nor 1); 2. use int to store cwnd, ignore the# calculation error(high_accuracy_cwnd = 0); 3. use int to store cwnd but# also consider the calculation error(high_accuracy_cwnd = 1).Agent/TCP/Fast set high_accuracy_cwnd_ 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -