summaryrefslogtreecommitdiffstats
path: root/dis/setup_mem_and_global.sh
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-16 16:55:14 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-16 16:55:14 -0400
commit6ea9939e0610a809f6f47d13ec68df00d1ca0afc (patch)
treefe4a2eee3ddcf77e2367309dcd75a232b76dcd62 /dis/setup_mem_and_global.sh
parente9285d0cdea756a2830f0ace378e4197b36869aa (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-xdis/setup_mem_and_global.sh13
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
2mkdir -p /sys/fs/resctrl/benchmarks
3echo 15 > /sys/fs/resctrl/benchmarks/cpus_list
4# Remove mem from global domain
5echo "L3:0=ffff;1=ffff;2=ffff;3=0000" > /sys/fs/resctrl/schemata
6# Remove bandwidth from global domain
7echo "MB:0=2;1=2;2=2;3=2" > /sys/fs/resctrl/schemata
8echo "MB:0=2048;1=2048;2=2048;3=2048" > /sys/fs/resctrl/benchmarks/schemata
9echo "=== Global Config ==="
10cat /sys/fs/resctrl/schemata
11echo "=== Core 15 Config ==="
12cat /sys/fs/resctrl/benchmarks/schemata
13