diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-17 21:22:08 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-17 21:30:01 -0400 |
| commit | ecf6547fdce39b3ec0f333c9b391b0f1c25deba5 (patch) | |
| tree | c6f25afe348be22172bed024ffe8881323e74aaf /dis/setup_mem_and_global.sh | |
| parent | 1120161286ee5c855b630bccc9e0b37bb8a3ee65 (diff) | |
All the DIS runner scripts as used for the (rejected) RTSS'20 submission
DANGER! There's an inconsistency in the input files used for the
all-pairs tests and those used for the baseline tests.
Baselines: run_all_dis.sh calls run_dis.sh to do all baselines.
All-pairs: Uses old TACLe script (not included here).
Cache allocation 2nd-order effects on SMT friendliness: run_pair_convexity.sh
Diffstat (limited to 'dis/setup_mem_and_global.sh')
| -rwxr-xr-x | dis/setup_mem_and_global.sh | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/dis/setup_mem_and_global.sh b/dis/setup_mem_and_global.sh index 56d6219..6bddb2f 100755 --- a/dis/setup_mem_and_global.sh +++ b/dis/setup_mem_and_global.sh | |||
| @@ -1,13 +1,22 @@ | |||
| 1 | # Setup group | 1 | # Setup group |
| 2 | mount -t resctrl resctrl /sys/fs/resctrl | ||
| 2 | mkdir -p /sys/fs/resctrl/benchmarks | 3 | mkdir -p /sys/fs/resctrl/benchmarks |
| 3 | echo 15 > /sys/fs/resctrl/benchmarks/cpus_list | 4 | echo 15 > /sys/fs/resctrl/benchmarks/cpus_list |
| 4 | # Remove mem from global domain | 5 | echo 31 > /sys/fs/resctrl/benchmarks/cpus_list |
| 6 | # Remove mem from global domain and assign to local | ||
| 5 | echo "L3:0=ffff;1=ffff;2=ffff;3=0000" > /sys/fs/resctrl/schemata | 7 | echo "L3:0=ffff;1=ffff;2=ffff;3=0000" > /sys/fs/resctrl/schemata |
| 6 | # Remove bandwidth from global domain | 8 | echo "L3:0=ffff;1=ffff;2=ffff;3=ffff" > /sys/fs/resctrl/benchmarks/schemata |
| 7 | echo "MB:0=2;1=2;2=2;3=2" > /sys/fs/resctrl/schemata | 9 | if [[ $1 == "--bandwith" ]]; then |
| 8 | echo "MB:0=2048;1=2048;2=2048;3=2048" > /sys/fs/resctrl/benchmarks/schemata | 10 | # Remove bandwidth from global domain |
| 11 | echo "MB:0=2;1=2;2=2;3=2" > /sys/fs/resctrl/schemata | ||
| 12 | echo "MB:0=2048;1=2048;2=2048;3=2048" > /sys/fs/resctrl/benchmarks/schemata | ||
| 13 | else | ||
| 14 | # Disable bandwidth control | ||
| 15 | echo "MB:0=2048;1=2048;2=2048;3=2048" > /sys/fs/resctrl/schemata | ||
| 16 | echo "MB:0=2048;1=2048;2=2048;3=2048" > /sys/fs/resctrl/benchmarks/schemata | ||
| 17 | fi | ||
| 9 | echo "=== Global Config ===" | 18 | echo "=== Global Config ===" |
| 10 | cat /sys/fs/resctrl/schemata | 19 | cat /sys/fs/resctrl/schemata |
| 11 | echo "=== Core 15 Config ===" | 20 | echo "=== Core 15 & 31 Config ===" |
| 12 | cat /sys/fs/resctrl/benchmarks/schemata | 21 | cat /sys/fs/resctrl/benchmarks/schemata |
| 13 | 22 | ||
