This repo contains all the scripts to run YCSB benchmarks on cockroachDB cluster.
common.sh
,run-benchmark.sh
andmaster.sh
are the scripts responsible to setting up machines and running benchamarks.ec2.py
is a helper script to start/stop ec2 instances.lhfallback-prob.go
is a helper script to generatex
for lease-holder reads ratio.plot.py
andextract-results.py
are data extraction and plot generation scripts.
These are set by common.sh
when using the scripts.
COCKROACH_MAX_TXN_RETRIES
int [0, INT_MAX)- Workaround the zipfian bug to abort txns after max retries.
COCKROACH_READ_TYPE
int {0, 1, 2, 3}0
: Default lease-holder reads1
: Local reads2
: Quorum reads3
: Strongly consistent quorum reads
COCKROACH_LHFALLBACK_PROB
float [0.0, 1.0]- Ratio of read requests which should use lease-holder reads while using quorum reads.
- Install
nmon
- Copy over
cockroach
binary
- Install
python
,java
andnmon
- Copy over contents from
ycsb-client-files
- Copy over
common.sh
,master.sh
andrun-benchmark.sh
- (Optional) Copy over
ec2.py
andlhfallback-prob.go
- Update vars in
common.sh
- Execute
master.sh