From 601ed25a4c5b66cb75315832c15613a727db2c26 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 22 Oct 2020 01:48:46 -0400 Subject: Remove an old and broken script --- dis/setup_mem_and_global.sh | 22 ---------------------- run_dis_cache_vs_wss.sh | 2 -- 2 files changed, 24 deletions(-) delete mode 100755 dis/setup_mem_and_global.sh 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 @@ -# Setup group -mount -t resctrl resctrl /sys/fs/resctrl -mkdir -p /sys/fs/resctrl/benchmarks -echo 15 > /sys/fs/resctrl/benchmarks/cpus_list -echo 31 > /sys/fs/resctrl/benchmarks/cpus_list -# Remove mem from global domain and assign to local -echo "L3:0=ffff;1=ffff;2=ffff;3=0000" > /sys/fs/resctrl/schemata -echo "L3:0=ffff;1=ffff;2=ffff;3=ffff" > /sys/fs/resctrl/benchmarks/schemata -if [[ $1 == "--bandwith" ]]; then - # Remove bandwidth from global domain - echo "MB:0=2;1=2;2=2;3=2" > /sys/fs/resctrl/schemata - echo "MB:0=2048;1=2048;2=2048;3=2048" > /sys/fs/resctrl/benchmarks/schemata -else - # Disable bandwidth control - echo "MB:0=2048;1=2048;2=2048;3=2048" > /sys/fs/resctrl/schemata - echo "MB:0=2048;1=2048;2=2048;3=2048" > /sys/fs/resctrl/benchmarks/schemata -fi -echo "=== Global Config ===" -cat /sys/fs/resctrl/schemata -echo "=== Core 15 & 31 Config ===" -cat /sys/fs/resctrl/benchmarks/schemata - 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 WSSS=WSSS_maxstride2mb caches=caches_all -# Consider re-enabling this only if you're interested in exploring bandwidth effects -#./setup_mem_and_global.sh if [[ $1 == "--contend" ]]; then echo "Will run 6 contending tasks" echo "Files will be named $datestring--10-c-"$iso".txt" -- cgit v1.2.2