Path: blob/main/benchmarks/netperf/files/patch-doc_examples_runemomniagg2.sh
16130 views
--- doc/examples/runemomniagg2.sh.orig 2011-07-28 18:37:22 UTC1+++ doc/examples/runemomniagg2.sh2@@ -1,4 +1,7 @@3#set -x4+5+NETPERF="%%PREFIX%%/bin/netperf"6+7# edit and add to this array as necessary8# the hosts you will use should be contiguous9# starting at index zero10@@ -84,11 +87,11 @@ echo four dl585 G5 clients rh5.2, each w11echo TCP_STREAM12for i in $concurrent_sessions; do13j=0;14- NETUUID=`netperf -t uuid`;15+ NETUUID=`$NETPERF -t uuid`;16echo $i concurrent streams id $NETUUID;17while [ $j -lt $i ]; do18client=`expr $j % $num_cli` ;19- netperf $HDR -t omni -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} $socket_sizes -m 64K -u $NETUUID & HDR="-P 0";20+ $NETPERF $HDR -t omni -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} $socket_sizes -m 64K -u $NETUUID & HDR="-P 0";21j=`expr $j + 1`;22done;23wait;24@@ -99,11 +102,11 @@ echo four dl585 G5 clients rh5.2, each w25echo TCP_MAERTS26for i in $concurrent_sessions; do27j=0;28- NETUUID=`netperf -t uuid`;29+ NETUUID=`$NETPERF -t uuid`;30echo $i concurrent streams id $NETUUID;31while [ $j -lt $i ]; do32client=`expr $j % $num_cli` ;33- netperf $HDR -t omni -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} $socket_sizes -M ,64K -u $NETUUID & HDR="-P 0";34+ $NETPERF $HDR -t omni -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} $socket_sizes -M ,64K -u $NETUUID & HDR="-P 0";35j=`expr $j + 1`;36done;37wait;38@@ -115,11 +118,11 @@ echo four dl585 G5 clients rh5.2, each w39HDR="-P 1"40for i in $concurrent_sessions;41do j=0;42- NETUUID=`netperf -t uuid`;43+ NETUUID=`$NETPERF -t uuid`;44echo $i concurrent streams id $NETUUID;45while [ $j -lt $i ]; do46client=`expr $j % $num_cli` ;47- netperf $HDR -t omni -f m -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} -s 1M -S 1M -r 64K -b 12 -u $NETUUID & HDR="-P 0";48+ $NETPERF $HDR -t omni -f m -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} -s 1M -S 1M -r 64K -b 12 -u $NETUUID & HDR="-P 0";49j=`expr $j + 1`;50done;51wait;52@@ -130,14 +133,14 @@ echo four dl585 G5 clients rh5.2, each w53echo TCP_RR aggregates54HDR="-P 1"55for i in $concurrent_sessions; do56- NETUUID=`netperf -t uuid`;57+ NETUUID=`$NETPERF -t uuid`;58echo $i concurrent streams id $NETUUID;59for b in $burst_sizes; do60echo burst of $b;61j=0;62while [ $j -lt $i ]; do63client=`expr $j % $num_cli` ;64- netperf $HDR -t omni -f x -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} -r 1 -b $b -D -u $NETUUID & HDR="-P 0";65+ $NETPERF $HDR -t omni -f x -c -C -H ${remote_hosts[$client]} -l $length $confidence -- $CSV -H ${remote_hosts[$client]} -r 1 -b $b -D -u $NETUUID & HDR="-P 0";66j=`expr $j + 1`;67done;68wait;697071