You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sean McBride
38532dec63
|
3 years ago | |
---|---|---|
.. | ||
cifar10 | 3 years ago | |
ekf | 3 years ago | |
gocr | 3 years ago | |
lpd | 3 years ago | |
resize | 3 years ago | |
.gitignore | 3 years ago | |
Makefile | 3 years ago | |
README.md | 3 years ago | |
fifo_nopreemption.env | 3 years ago | |
perf.log | 3 years ago | |
run.sh | 3 years ago | |
spec.json | 3 years ago |
README.md
Deadline Description
How to use with deadline_description and workload_mix_realworld
- SSH into the server and run the deadline description experiment. The code snippet below is naming the experiment benchmark, so it is first deleting any previous experiments that would cause a name collision.
ssh sean@192.168.7.26
cd ~/projects/sledge-serverless-framework/runtime/experiments/deadline_description/
rm -rf ./res/benchmark
./run.sh -n=benchmark
- This generates a spec.json in the results directory at
./res/benchmark/spec.json
. Copy this to theworkload_mix_realword directory
on the server.
cp ./res/benchmark/fifo_nopreemption/spec.json ../workload_mix_realworld/
cd ../workload_mix_realworld/
- And then on your client, go to the workload_mix_realworld directory and use scp to copy the
spec.json
file from the server. The client needs this file to understand which ports the various modules are going to be running on.
cd ~/projects/sledge-serverless-framework/runtime/experiments/workload_mix_realworld/
scp sean@192.168.7.26:~/projects/sledge-serverless-framework/runtime/experiments/workload_mix_realworld/spec.json spec.json
-
If the deadline interval was modified, you may need to manually modify the
mix.csv
to properly map to the module names inspec.json
. Once complete, the experiment is ready to run -
On the server, start the runtime using one of the configurations expressed as .env files.
./run.sh -s -e=fifo_nopreemption.env --name=myrun
- On the client, run the client driver script targeting the server.
./run.sh -t=192.168.7.26
The client does not have the concept of an "env file" given that that is a server config, but if you want to namespace output from the client, you can define a directory as the name. This would write the client results to ./res/myrun/client/fifo_nopreemption/
.
./run.sh -t=192.168.7.26 --name=myrun/client/fifo_nopreemption/
-
Repeat for steps 5,6 for each desired scheduling policy.
-
The results are on the server. You may want to copy them to your client to more easily inspect.
scp -r sean@192.168.7.26:~/projects/sledge-serverless-framework/runtime/experiments/workload_mix_realworld/res/myrun/* ./res/myrun
- If you are assembling a spreadsheet, you might want to also copy the results from the
deadline_description
experiment. Thedeadlines.csv
file and the execution_time files are useful for understanding the performance characteristics of a single workload.