These utilities create instances and run tests in your google cloud account.
gcloud config set project <project> gcloud config set compute/region <region> gcloud config set compute/zone <zone>
otherwise the scripts may prompt you for these values.
build_image.sh
creates a compute image suitable for launching benchmarks on. It takes no arguments. Run this before running any other scripts if you are running benchmarks in a GCP project you've never run benchmarks in before.
launch_cluster.sh
creates an instance group in GCP based on an image created by build_image.sh
.
It takes three arguments. First, a tag to identify the cluster for use with other utilities. The second argument is the number of instances to create. The third and final argument is the subnet to create the instances in. In general this should be specified as projects/<gcp-project>/regions/<region>/subnetworks/<subnet-name>
Runs benchmark tests against a single branch of geode
. Arguments are (in order)
launch_cluster.sh
)Runs benchmark tests against two branches of geode for comparison purposes. Arguments are (in order)
launch_cluster.sh
)Destroys a cluster that you created. Arguments are the tag that you passed to launch_cluster.sh
#Example
./build_image.sh ./launch_cluster.sh mycluster 4 ./run-tests mycluster ./destroy_cluster.sh