Commit ca0d828b authored by Kirill Smelkov's avatar Kirill Smelkov

X neotest: Tzwrk1 - place to control running time of 1 zwrk iteration

parent 4af48245
...@@ -878,6 +878,7 @@ cpustat() { ...@@ -878,6 +878,7 @@ cpustat() {
Nrun=5 # repeat benchmarks N time Nrun=5 # repeat benchmarks N time
Nparv="1 2 3 4 8 12 16" # run parallel zwrk benchmarks with so many clients 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 #Npar=16 # run so many parallel clients in parallel phase
Tzwrk1=1s # time to run 1 zwrk iteration
#profile= #profile=
profile=cpustat profile=cpustat
...@@ -1095,7 +1096,8 @@ zbench_go() { ...@@ -1095,7 +1096,8 @@ zbench_go() {
for i in ${Nparv}; do for i in ${Nparv}; do
echo -e "\n# $i clients in parallel" echo -e "\n# $i clients in parallel"
nrun tzodb_go -log_dir=$log zwrk -nclient $i -check=$zhashok -bench=$topic -$zhashfunc $url nrun tzodb_go -test.benchtime $Tzwrk1 -log_dir=$log \
zwrk -nclient $i -check=$zhashok -bench=$topic -$zhashfunc $url
done done
} }
......
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