-
Notifications
You must be signed in to change notification settings - Fork 24
Run microbenchmarks
Harshit Garg edited this page Jan 10, 2022
·
3 revisions
- rent m5.metal node.
- connect using vs code terminal(the remote plugin makes everything a breeze).
# clone vhive repo.
git clone https://github.com/ease-lab/vhive
# clone vswarm repo
git clone https://github.com/ease-lab/vswarm
cd ~/vhive
./scripts/cloudlab/setup_node.sh stock-only
- open a new tmux terminal and run
sudo containerd
- in a new terminal, start the cluster
cd ~/vhive
./scripts/cluster/create_one_node_cluster.sh stock-only
- Generate experiment yamls
cd ~/vhive
git checkout ubench_yamls
cd examples/benchmarker
# create directory for output yamls
mkdir experiment_yamls
# this will generate yamls for the experiment for the microbenchmarks
go run ./benchmark.go ./knativeTypes.go ./experimentTypes.go -file ./experiment_configs/uBench/<experiment_config>
- export AWS keys
export AWS_SECRET_KEY="ubwdcusbdon"
export AWS_ACCESS_KEY="dcdscs"
export AWS_ELASTICACHE_URL="jn3297gu.cache.amazonaws.com:6379"
- measure latencies
cd ~/vhive
git checkout ubench_yamls
cd examples/benchmarker
./bench.sh experiment_yamls #no forward slash
- the latencies will be saved in lat.csv of the respective folder in
experiment_yamls
folder