diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-16 16:55:14 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-16 16:55:14 -0400 |
| commit | 6ea9939e0610a809f6f47d13ec68df00d1ca0afc (patch) | |
| tree | fe4a2eee3ddcf77e2367309dcd75a232b76dcd62 /dis/setup_mem_and_global.sh | |
| parent | e9285d0cdea756a2830f0ace378e4197b36869aa (diff) | |
Move the DIS benchmarks up a directory and update hardcoded paths
Note that this repo does not attempt to keep a copy of the original
DIS benchmark distributions. UNC real-time has another repo for that.
Diffstat (limited to 'dis/setup_mem_and_global.sh')
| -rwxr-xr-x | dis/setup_mem_and_global.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dis/setup_mem_and_global.sh b/dis/setup_mem_and_global.sh new file mode 100755 index 0000000..56d6219 --- /dev/null +++ b/dis/setup_mem_and_global.sh | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # Setup group | ||
| 2 | mkdir -p /sys/fs/resctrl/benchmarks | ||
| 3 | echo 15 > /sys/fs/resctrl/benchmarks/cpus_list | ||
| 4 | # Remove mem from global domain | ||
| 5 | echo "L3:0=ffff;1=ffff;2=ffff;3=0000" > /sys/fs/resctrl/schemata | ||
| 6 | # Remove bandwidth from global domain | ||
| 7 | echo "MB:0=2;1=2;2=2;3=2" > /sys/fs/resctrl/schemata | ||
| 8 | echo "MB:0=2048;1=2048;2=2048;3=2048" > /sys/fs/resctrl/benchmarks/schemata | ||
| 9 | echo "=== Global Config ===" | ||
| 10 | cat /sys/fs/resctrl/schemata | ||
| 11 | echo "=== Core 15 Config ===" | ||
| 12 | cat /sys/fs/resctrl/benchmarks/schemata | ||
| 13 | |||
