-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(exp/radice): Include scripts for running experiments
This change adds scripts to the Radice distribution so users can trivially repeat the experiments of this project.
- Loading branch information
1 parent
8f462df
commit 63db02a
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
opendc-experiments/opendc-experiments-radice/scripts/run-perf.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh | ||
bin/radice-perf -r 32 --trace baseline --topology base --engine opendc \ | ||
-P workload=baseline -P topology=baseline | ||
bin/radice-perf -r 4 --trace baseline --topology base --engine cloudsim-plus \ | ||
-P workload=baseline -P topology=baseline | ||
|
||
bin/radice-perf -r 32 --trace baseline-50% --topology base --topology-scale 0.5 --engine opendc \ | ||
-P workload=baseline-50% -P topology=baseline-50% | ||
bin/radice-perf -r 8 --trace baseline-50% --topology base --topology-scale 0.5 --engine cloudsim-plus \ | ||
-P workload=baseline-50% -P topology=baseline-50% | ||
|
||
bin/radice-perf -r 32 --trace baseline-25% --topology base --topology-scale 0.25 --engine opendc \ | ||
-P workload=baseline-25% -P topology=baseline-25% | ||
bin/radice-perf -r 16 --trace baseline-25% --topology base --topology-scale 0.25 --engine cloudsim-plus \ | ||
-P workload=baseline-25% -P topology=baseline-25% | ||
|
||
bin/radice-perf -r 32 --trace baseline-10% --topology base --topology-scale 0.1 --engine opendc \ | ||
-P workload=baseline-10% -P topology=baseline-10% | ||
bin/radice-perf -r 32 --trace baseline-10% --topology base --topology-scale 0.1 --engine cloudsim-plus \ | ||
-P workload=baseline-10% -P topology=baseline-10% |
11 changes: 11 additions & 0 deletions
11
opendc-experiments/opendc-experiments-radice/scripts/run-portfolios.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
REPEATS=${REPEATS:-4096} | ||
PARALLELISM=${PARALLELISM:-80} | ||
|
||
bin/radice run -r "$REPEATS" -p "$PARALLELISM" portfolios/baseline.yml -P portfolio=baseline | ||
bin/radice run -r "$REPEATS" -p "$PARALLELISM" portfolios/phenomena.yml -P portfolio=phenomena | ||
bin/radice run -r "$REPEATS" -p "$PARALLELISM" portfolios/topology-opt.yml -P portfolio=topology-opt | ||
bin/radice run -r "$REPEATS" -p "$PARALLELISM" portfolios/workload.yml -P portfolio=workload | ||
bin/radice run -r "$REPEATS" -p "$PARALLELISM" portfolios/workload-opt.yml -P portfolio=workload-opt | ||
bin/radice run -r "$REPEATS" -p "$PARALLELISM" portfolios/scheduler.yml -P portfolio=scheduler | ||
bin/radice run -r "$REPEATS" -p "$PARALLELISM" portfolios/scheduler-opt.yml -P portfolio=scheduler-opt |
10 changes: 10 additions & 0 deletions
10
opendc-experiments/opendc-experiments-radice/scripts/run-qt.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
REPEATS=${REPEATS:-1000000} | ||
|
||
bin/radice qt --arrival-rate 4 --service-rate 1 --servers 5 -n "$REPEATS" | ||
bin/radice qt --arrival-rate 4 --service-rate 1 --servers 6 -n "$REPEATS" | ||
bin/radice qt --arrival-rate 4 --service-rate 1 --servers 10 -n "$REPEATS" | ||
bin/radice qt --arrival-rate 28 --service-rate 3 --servers 10 -n "$REPEATS" | ||
bin/radice qt --arrival-rate 28 --service-rate 3 --servers 12 -n "$REPEATS" | ||
bin/radice qt --arrival-rate 16 --service-rate 0.75 --servers 22 -n "$REPEATS" | ||
bin/radice qt --arrival-rate 16 --service-rate 0.75 --servers 24 -n "$REPEATS" |