Commit 29adac06 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0fb48b65
...@@ -628,7 +628,7 @@ cpustat() { ...@@ -628,7 +628,7 @@ cpustat() {
} }
Nrun=5 # repeat benchmarks N time Nrun=5 # repeat benchmarks N time
Npar=8 # run so many parallel clients in parallel phase Npar=16 # run so many parallel clients in parallel phase
#profile= #profile=
profile=cpustat profile=cpustat
...@@ -650,8 +650,8 @@ _nrunpar() { ...@@ -650,8 +650,8 @@ _nrunpar() {
wait $jobv wait $jobv
} }
runpar() { nrunpar() {
$profile _runpar "$@" $profile _nrunpar "$@"
} }
# bench_cpu - microbenchmark CPU # bench_cpu - microbenchmark CPU
...@@ -693,8 +693,8 @@ bench() { ...@@ -693,8 +693,8 @@ bench() {
# nrun time demo-zbigarray read $url # nrun time demo-zbigarray read $url
nrun ./zhash.py --$hashfunc $url nrun ./zhash.py --$hashfunc $url
# echo -e "\n# ${Npar} clients in parallel" echo -e "\n# ${Npar} clients in parallel"
# nrunpar ./zhash.py --$hashfunc $url nrunpar ./zhash.py --$hashfunc $url
if [[ $url == zeo://* ]]; then if [[ $url == zeo://* ]]; then
echo "(skipping zhash.go on ZEO -- Cgo does not support zeo:// protocol)" echo "(skipping zhash.go on ZEO -- Cgo does not support zeo:// protocol)"
...@@ -708,11 +708,10 @@ bench() { ...@@ -708,11 +708,10 @@ bench() {
bench_go() { bench_go() {
url=$1 url=$1
nrun ./zhash_go --log_dir=$log -$hashfunc $url nrun ./zhash_go --log_dir=$log -$hashfunc $url
# FIXME reenable - after fixing bug.txt nrun ./zhash_go --log_dir=$log -$hashfunc -useprefetch $url
#nrun ./zhash_go --log_dir=$log -$hashfunc -useprefetch $url
# echo -e "\n# ${Npar} clients in parallel" echo -e "\n# ${Npar} clients in parallel"
# nrunpar ./zhash_go --log_dir=$log -$hashfunc $url nrunpar ./zhash_go --log_dir=$log -$hashfunc $url
} }
......
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