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.
Emil Abbasov 693e633164
Removed all the PNMs from the testbenchs
7 months ago
..
cifar10 refactor: HTTP memstreams (#363) 2 years ago
ekf refactor: HTTP memstreams (#363) 2 years ago
gocr Removed all the PNMs from the testbenchs 7 months ago
lpd refactor: HTTP memstreams (#363) 2 years ago
resize refactor: HTTP memstreams (#363) 2 years ago
Makefile test: cleanup tests 3 years ago
README.md refactor: Move tests 3 years ago
fifo_nopreemption.env refactor: Move tests 3 years ago
run.sh Removed all the PNMs from the testbenchs 7 months ago
spec.json feature: added SJF scheduler and Regression based prediction (#385) 8 months ago

README.md

Deadline Description

How to use with deadline_description and workload_mix_realworld

  1. 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
  1. This generates a spec.json in the results directory at ./res/benchmark/spec.json. Copy this to the workload_mix_realword directory on the server.
cp ./res/benchmark/fifo_nopreemption/spec.json ../workload_mix_realworld/
cd ../workload_mix_realworld/
  1. 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
  1. If the deadline interval was modified, you may need to manually modify the mix.csv to properly map to the module names in spec.json. Once complete, the experiment is ready to run

  2. On the server, start the runtime using one of the configurations expressed as .env files.

./run.sh -s -e=fifo_nopreemption.env --name=myrun
  1. 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/
  1. Repeat for steps 5,6 for each desired scheduling policy.

  2. 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
  1. If you are assembling a spreadsheet, you might want to also copy the results from the deadline_description experiment. The deadlines.csv file and the execution_time files are useful for understanding the performance characteristics of a single workload.