-
Notifications
You must be signed in to change notification settings - Fork 23
Benchmark workloads
shyamjesal edited this page Dec 6, 2021
·
5 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://ease-lab/ease-labvswarm
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/cloudlab/create_one_node_cluster.sh stock-only
./scripts/setup_zipkin.sh
- in a new terminal, expose the zipkin port.
istioctl dashboard zipkin
- 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-*
- 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.