This experiment runs a set of the ParRes Kernels as a microbenchmark for Granny's OpenMP implementation.
In the experiment-base
terminal, run:
(faasm-exp-base) inv cluster.provision --vm Standard_D8_v5 --nodes 2 cluster.credentials
Deploy the cluster:
(faasm-exp-faabric) faasmctl deploy.k8s --workers=1
Upload the WASM file:
(faasm-exp-faabric) inv kernels-omp.wasm.upload
and run the experiment with:
(faasm-exp-faabric) inv kernels-omp.run.wasm
finally, delete the cluster:
faasmctl delete
Deploy the native cluster:
inv kernels-omp.native.deploy
inv kernels-omp.run.native
finally, delete the native cluster
inv kernels-omp.native.delete
To plot the results, just run:
inv kernels-omp.plot
the plot will be available in ./plots/kernels-omp/openmp_kernels_slowdown.pdf
, we also include it below:
Finally, delete the AKS cluster:
(faasm-exp-base) inv cluster.delete