readme.kinh

来自「跑leach需要的」· KINH 代码 · 共 25 行

KINH
25
字号
bdflow.tcl is almost exactly like flow4.tcl except it uses the Chernoff bound code in bound.tcl	in bdflow.tcl, the type of traffic and congested link is set in procedure add_traffic, in the command traffic_{Lbw{Lcg,Hcg},Hbw{Lcg,Hcg}}	the link capacities are set in the beginning of the file with "set highspeed_bw XMb" and "set bottleneck_bw YMb".  highspeed_bw is the bandwidth from nodes to routers and vice versa.  bottleneck_bw is the bandwidth from router to router.	procedures random_tcps and random_cbrs create n tcps or cbs and randomizes the start times.  the traffic is persistent.bound.tcl contains the procedure drop_bound which takes a probability, a constant c, a fraction of the arrival rate p, and the type of bound, and returns the number of drops to look atbdflow_h.tcl is almost exactly like Flows.tcl except it is the helper file for bdflow.tcl instead of flow4.tcl	in bdflow_h.tcl, procedure flowDump calculates the drop bound and dumps flowsto run bdflow.tcl do: "ns bdflow.tcl combined <seed>"output files generated are:	fairflow.tr - trace file from flowmon dump	fairflow.xgr.c - xgraph file for combined metric	fairflow.rpt.drop - drops vs interval	fairflow.rpt.sec - seconds vs intervalavgpktdrop.awk just calculates the average packet drop rate from the fairflow.tr trace file generated by bdflow.tclfm_stats.fmt just displays the flowmon output format

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?