mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
56bf85096c
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
75 lines
3.0 KiB
Bash
75 lines
3.0 KiB
Bash
--- doc/examples/runemomni.sh.orig 2011-07-28 20:35:06 UTC
|
|
+++ doc/examples/runemomni.sh
|
|
@@ -1,6 +1,8 @@
|
|
# a script to run a set of single-instance netperf tests
|
|
# between two machines
|
|
|
|
+NETPERF="%%PREFIX%%/bin/netperf"
|
|
+
|
|
# the length in seconds of each test iteration. the actual
|
|
# run time will then be somewhere between that times min
|
|
# and max iteration for confidence intervals
|
|
@@ -81,7 +83,7 @@ do
|
|
fi
|
|
for j in $set
|
|
do
|
|
- netperf $HDR -T $i,$j -t omni -c -C -H $control_host -l $length $confidence -- $CSV -H $data -m 64K;HDR="-P 0";
|
|
+ $NETPERF $HDR -T $i,$j -t omni -c -C -H $control_host -l $length $confidence -- $CSV -H $data -m 64K;HDR="-P 0";
|
|
done
|
|
done
|
|
fi
|
|
@@ -100,7 +102,7 @@ do
|
|
fi
|
|
for j in $set
|
|
do
|
|
- netperf $HDR -T $i,$j -t omni -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -m 64K;HDR="-P 0";
|
|
+ $NETPERF $HDR -T $i,$j -t omni -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -m 64K;HDR="-P 0";
|
|
done
|
|
done
|
|
fi
|
|
@@ -119,7 +121,7 @@ do
|
|
fi
|
|
for j in $set
|
|
do
|
|
- netperf $HDR -T $i,$j -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r 64K -b 12; HDR="-P 0";
|
|
+ $NETPERF $HDR -T $i,$j -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r 64K -b 12; HDR="-P 0";
|
|
done
|
|
done
|
|
fi
|
|
@@ -138,7 +140,7 @@ do
|
|
fi
|
|
for j in $set
|
|
do
|
|
- netperf $HDR -T $i,$j -t omni -c -C -H $control_host -l $length $confidence -- $CSV -H $data -r 1; HDR="-P 0";
|
|
+ $NETPERF $HDR -T $i,$j -t omni -c -C -H $control_host -l $length $confidence -- $CSV -H $data -r 1; HDR="-P 0";
|
|
done
|
|
done
|
|
fi
|
|
@@ -151,7 +153,7 @@ do
|
|
do
|
|
for req in $reqs; do
|
|
for burst in $bursts; do
|
|
- netperf $HDR -T $i -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r $req -b $burst -D;HDR=-"P 0";
|
|
+ $NETPERF $HDR -T $i -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r $req -b $burst -D;HDR=-"P 0";
|
|
done
|
|
done
|
|
done
|
|
@@ -165,7 +167,7 @@ do
|
|
do
|
|
for req in $reqs; do
|
|
for burst in $bursts; do
|
|
- netperf $HDR -T $i -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r $req -b $burst -T udp;HDR=-"P 0";
|
|
+ $NETPERF $HDR -T $i -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -r $req -b $burst -T udp;HDR=-"P 0";
|
|
done
|
|
done
|
|
done
|
|
@@ -180,7 +182,7 @@ do
|
|
for i in $netperf_CPUs
|
|
do
|
|
for req in $reqs; do
|
|
- netperf $HDR -T $i -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -m $req -T udp;HDR=-"P 0";
|
|
+ $NETPERF $HDR -T $i -t omni -f m -c -C -H $control_host -l $length $confidence -- $CSV -H $data -s 1M -S 1M -m $req -T udp;HDR=-"P 0";
|
|
done
|
|
done
|
|
fi
|