Skip to content

Benchmark workloads

shyamjesal edited this page Dec 6, 2021 · 5 revisions
  1. rent m5.metal node.
  2. 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://ease-lab/ease-labvswarm
cd ~/vhive
./scripts/cloudlab/setup_node.sh stock-only
  1. open a new tmux terminal and run
sudo containerd
  1. in a new terminal, start the cluster
cd ~/vhive
./scripts/cloudlab/create_one_node_cluster.sh stock-only
./scripts/setup_zipkin.sh
  1. in a new terminal, expose the zipkin port.
istioctl dashboard zipkin
  1. Deploy the workload
cd ~/vswarm
export AWS_SECRET_KEY="ubwdcusbdon"
export AWS_ACCESS_KEY="dcdscs"
export AWS_ELASTICACHE_URL="jn3297gu.cache.amazonaws.com:6379"
./tools/kn_deploy.sh ./benchmarks/[benchmark]/knative_yamls/ec/service-*
  1. Benchmark and view logs
cd ~/vhive
git checkout ubench_yamls
cd examples/benchmarker
go run invoke.go -endpoint [streaming|driver].default.192.168.1.240.sslip.io -port 80 -sampleSize 1 -trace true -zipkin http://zipkin.istio-system.svc.cluster.local:9411/api/v2/spans

vscode will promt to open the browser. open and view traces.

Clone this wiki locally