Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 1.26 KB

README.md

File metadata and controls

77 lines (50 loc) · 1.26 KB

ParRes Kernels Experiment (OpenMP)

This experiment runs a set of the ParRes Kernels as a microbenchmark for Granny's OpenMP implementation.

Start AKS cluster

In the experiment-base terminal, run:

(faasm-exp-base) inv cluster.provision --vm Standard_D8_v5 --nodes 2 cluster.credentials

Faasm

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

OpenMPI

Deploy the native cluster:

inv kernels-omp.native.deploy
inv kernels-omp.run.native

finally, delete the native cluster

inv kernels-omp.native.delete

Plot

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:

OpenMP Kernels Slowdown Plot

Clean-up

Finally, delete the AKS cluster:

(faasm-exp-base) inv cluster.delete