⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 runtests.sh

📁 NSD2 QOS surpport tcl code
💻 SH
字号:
#!/bin/sh# ns scripts implementing testing in "Experimental Evaluation of TCP Protocols for High-Speed Networks".  Li, Leith & Shorten, Trans on Networking 2007.  See www.hamilton.ie/net/ for details.# Doug Leith, Hamilton Institute, 2007.  HELP="usage: runtest.sh [start | restart].  'start' begins a new test from scratch, 'restart' attempts to continue execution of an interrupted test."if [ $# -ne 1 ]; then    echo ${HELP}; exitelif [ "$1" == "start" ]; then    echo "Starting test ..."    MODE=$1elif [ "$1" == "restart" ]; then    echo "Restarting test ..."    MODE=$1else    echo ${HELP}; exitfi# get local settings.  edit file config.sh to change these as requiredsource config.sh#--------------------------------------------------------------------------# No need to touch anything here#--------------------------------------------------------------------------# local functions to do the donkey worksource ${LIB}/lib.sh#--------------------------------------------------------------------------# run the tests ...#--------------------------------------------------------------------------if [ ! -d "$CCDESCRIPTION" ]; then mkdir "$CCDESCRIPTION" ; ficd "$CCDESCRIPTION"cp ${LIB}/template_index.htm index.htmplottitle# save a bit of time here by using a smaller range of buffer sizesQMAX=$QMAXSHORTWEB=$WEBSHORTRTT=$RTTSHORTTIME=800# two-flows same rttruntest "samertt" 0 $ALPHAOPT# two-flows diff rttruntest "diffrtt" $RTT1 $ALPHAOPT# friendliness#runtest "friendliness" 0 $ALPHASTD # efficiencyQMAX=$QMAXLONGWEB="0"RTT="$RTT1"TIME=600MAXITER=1runtest "efficiency" 0 $ALPHAOPT 

⌨️ 快捷键说明

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