Commit 1886cde2 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3fb88be4
......@@ -934,7 +934,6 @@ cpustat() {
Nrun=5 # repeat benchmarks N time
Nparv="1 2 3 4 8 12 16" # run parallel zwrk benchmarks with so many clients
#Npar=16 # run so many parallel clients in parallel phase
Tzwrk1=1s # time to run 1 zwrk iteration
#profile=
......@@ -947,21 +946,6 @@ nrun() {
done
}
# nrunpar ... - run $Npar ... instances in parallel and wait for completion
# XXX running processes in parallel is deprecated in favour of zwrk.
nrunpar() {
$profile _nrunpar "$@"
}
_nrunpar() {
local jobv
for i in `seq $Npar`; do
"$@" &
jobv="$jobv $!"
done
wait $jobv
}
# bench_cpu - microbenchmark CPU
bench_cpu() {
echo -ne "node:\t"; xhostname
......@@ -1131,9 +1115,6 @@ zbench() {
#nrun time demo-zbigarray read $url
nrun tzodb.py zhash --check=$zhashok --bench=$topic-%s --$zhashfunc $url
# XXX running processes in parallel is deprecated in favour of zwrk.
# echo -e "\n# ${Npar} clients in parallel"
# nrunpar tzodb.py zhash --check=$zhashok --bench=$topic-%s·P$Npar --$zhashfunc $url
echo
zbench_go $url $topic $zhashok
}
......@@ -1148,9 +1129,6 @@ zbench_go() {
nrun tzodb_go -log_dir=$log zhash -check=$zhashok -bench=$topic -$zhashfunc $url
nrun tzodb_go -log_dir=$log zhash -check=$zhashok -bench=$topic -$zhashfunc -useprefetch $url
# XXX running processes in parallel is deprecated in favour of zwrk.
# echo -e "\n# ${Npar} clients in parallel"
# nrunpar tzodb_go -log_dir=$log zhash -check=$zhashok -bench=$topic·P$Npar -$zhashfunc $url
for i in ${Nparv}; do
echo -e "\n# $i clients in parallel"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment