To launch experiments with varying client request rates, we use
`python exps.py`
The exps.py
scripts contains the following global variables:
-
NNODES
: a list containing the numbers of nodes -
THREADS
: a list containing number of threads per client -
RATES
: a list containing number of requests per second per thread. -
EXPS
: list of tuple (#threads,rate) which is preferred toTHREADS
andRATES
lists when only a small set fromTHREADS.RATES
list is being considered.
By default, the experiments use YCSB workload. Variables like binary path, log path, etc. are found in 'env_ycsb.sh'.
To run it, specify the values for configuration variables, then run:
`python exps.py`.
For every number of nodes in NNODES
, the script iterates through all combination of (#threads, rate) and invoke:
`run_bench.sh <#nodes> <#threads> <#clients> <#req rate>`