Fix scale bench
-
if [ -f "$1" ]
then
TARGET=$1
@@ -9,11 +8,11 @@ fi
echo "(3 cores)"
for i in 1 2 4 8 16 32 64
do
- taskset -c 0,1,2 $TARGET server run --no-api -f ./bench/real-workflow-throughput-json-$i-$i-1.yaml bench/link.yaml 2>&1 | grep Throughput | sed -e 's/Throughput: //' -e 's; MB/s;;'
+ taskset -c 0,1,2 $TARGET server run --no-api -f ./bench/real-workflow-throughput-json-$i-$i-1.yaml ./bench/real-workflow-throughput-json-$i-$i-1/* bench/link.yaml 2>&1 | grep Throughput | sed -e 's/Throughput: //' -e 's; MB/s;;'
done
echo "(all cores)"
for i in 1 2 4 8 16 32 64
do
- $TARGET server run --no-api -f ./bench/real-workflow-throughput-json-$i-$i-1.yaml bench/link.yaml 2>&1 | grep Throughput | sed -e 's/Throughput: //' -e 's; MB/s;;'
+ $TARGET server run --no-api -f ./bench/real-workflow-throughput-json-$i-$i-1.yaml ./bench/real-workflow-throughput-json-$i-$i-1/* ./bench/link.yaml 2>&1 | grep Throughput | sed -e 's/Throughput: //' -e 's; MB/s;;'
done
