summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 01:48:46 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 01:48:46 -0400
commit601ed25a4c5b66cb75315832c15613a727db2c26 (patch)
tree62f5188854b6990e66459ca478aac7faec4393c9
parentec000645c229660466a4cc0402dbf0f9e63b6ed0 (diff)
Remove an old and broken script
-rwxr-xr-xdis/setup_mem_and_global.sh22
-rwxr-xr-xrun_dis_cache_vs_wss.sh2
2 files changed, 0 insertions, 24 deletions
diff --git a/dis/setup_mem_and_global.sh b/dis/setup_mem_and_global.sh
deleted file mode 100755
index 6bddb2f..0000000
--- a/dis/setup_mem_and_global.sh
+++ /dev/null
@@ -1,22 +0,0 @@
1# Setup group
2mount -t resctrl resctrl /sys/fs/resctrl
3mkdir -p /sys/fs/resctrl/benchmarks
4echo 15 > /sys/fs/resctrl/benchmarks/cpus_list
5echo 31 > /sys/fs/resctrl/benchmarks/cpus_list
6# Remove mem from global domain and assign to local
7echo "L3:0=ffff;1=ffff;2=ffff;3=0000" > /sys/fs/resctrl/schemata
8echo "L3:0=ffff;1=ffff;2=ffff;3=ffff" > /sys/fs/resctrl/benchmarks/schemata
9if [[ $1 == "--bandwith" ]]; then
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
13else
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
17fi
18echo "=== Global Config ==="
19cat /sys/fs/resctrl/schemata
20echo "=== Core 15 & 31 Config ==="
21cat /sys/fs/resctrl/benchmarks/schemata
22
diff --git a/run_dis_cache_vs_wss.sh b/run_dis_cache_vs_wss.sh
index 46a12ff..2a7991e 100755
--- a/run_dis_cache_vs_wss.sh
+++ b/run_dis_cache_vs_wss.sh
@@ -18,8 +18,6 @@ cd dis
18 18
19WSSS=WSSS_maxstride2mb 19WSSS=WSSS_maxstride2mb
20caches=caches_all 20caches=caches_all
21# Consider re-enabling this only if you're interested in exploring bandwidth effects
22#./setup_mem_and_global.sh
23if [[ $1 == "--contend" ]]; then 21if [[ $1 == "--contend" ]]; then
24 echo "Will run 6 contending tasks" 22 echo "Will run 6 contending tasks"
25 echo "Files will be named $datestring-<benchmark name>-10-c-"$iso".txt" 23 echo "Files will be named $datestring-<benchmark name>-10-c-"$iso".txt"