diff options
-rwxr-xr-x | dis/setup_mem_and_global.sh | 22 | ||||
-rwxr-xr-x | run_dis_cache_vs_wss.sh | 2 |
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 | ||
2 | mount -t resctrl resctrl /sys/fs/resctrl | ||
3 | mkdir -p /sys/fs/resctrl/benchmarks | ||
4 | echo 15 > /sys/fs/resctrl/benchmarks/cpus_list | ||
5 | echo 31 > /sys/fs/resctrl/benchmarks/cpus_list | ||
6 | # Remove mem from global domain and assign to local | ||
7 | echo "L3:0=ffff;1=ffff;2=ffff;3=0000" > /sys/fs/resctrl/schemata | ||
8 | echo "L3:0=ffff;1=ffff;2=ffff;3=ffff" > /sys/fs/resctrl/benchmarks/schemata | ||
9 | if [[ $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 | ||
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 | ||
18 | echo "=== Global Config ===" | ||
19 | cat /sys/fs/resctrl/schemata | ||
20 | echo "=== Core 15 & 31 Config ===" | ||
21 | cat /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 | ||
19 | WSSS=WSSS_maxstride2mb | 19 | WSSS=WSSS_maxstride2mb |
20 | caches=caches_all | 20 | caches=caches_all |
21 | # Consider re-enabling this only if you're interested in exploring bandwidth effects | ||
22 | #./setup_mem_and_global.sh | ||
23 | if [[ $1 == "--contend" ]]; then | 21 | if [[ $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" |