|
|
|
@ -115,7 +115,8 @@ run_experiments() {
|
|
|
|
|
((batch_id++))
|
|
|
|
|
for workload in "${workloads[@]}"; do
|
|
|
|
|
if ((roll >= floor[$workload] && roll < floor[$workload] + length[$workload])); then
|
|
|
|
|
hey -disable-compression -disable-keepalive -disable-redirects -n $batch_size -c 1 -cpus 1 -t 0 -o csv -m GET ${body[$workload]} "http://${hostname}:${port[$workload]}" > /dev/null 2> /dev/null &
|
|
|
|
|
workload_class=$(echo "$workload"| cut -d'_' -f 1)
|
|
|
|
|
hey -disable-compression -disable-keepalive -disable-redirects -n $batch_size -c 1 -cpus 1 -t 0 -o csv -m GET ${body[$workload_class]} "http://${hostname}:${port[$workload]}" > /dev/null 2> /dev/null &
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|