diff options
-rw-r--r-- | .gitmodules | 4 | ||||
-rw-r--r-- | dis/run_pair_convexity.sh | 14 | ||||
-rwxr-xr-x | run_bench.sh | 14 | ||||
m--------- | thrasher | 0 |
4 files changed, 18 insertions, 14 deletions
diff --git a/.gitmodules b/.gitmodules index ebc7523..53b771e 100644 --- a/.gitmodules +++ b/.gitmodules | |||
@@ -4,3 +4,7 @@ | |||
4 | [submodule "wbinvd"] | 4 | [submodule "wbinvd"] |
5 | path = wbinvd | 5 | path = wbinvd |
6 | url = https://github.com/JoshuaJB/wbinvd.git | 6 | url = https://github.com/JoshuaJB/wbinvd.git |
7 | [submodule "thrasher"] | ||
8 | path = thrasher | ||
9 | url = https://github.com/JoshuaJB/imx6q-thrasher.git | ||
10 | branch = amd-3950x-thrasher | ||
diff --git a/dis/run_pair_convexity.sh b/dis/run_pair_convexity.sh index a4e204f..bdd25c8 100644 --- a/dis/run_pair_convexity.sh +++ b/dis/run_pair_convexity.sh | |||
@@ -100,7 +100,7 @@ cat /sys/fs/resctrl/schemata | |||
100 | echo "=== Core $firstCore and $secondCore Config ===" | 100 | echo "=== Core $firstCore and $secondCore Config ===" |
101 | cat /sys/fs/resctrl/benchmarks/schemata | 101 | cat /sys/fs/resctrl/benchmarks/schemata |
102 | if [[ $8 == "--contend" ]]; then | 102 | if [[ $8 == "--contend" ]]; then |
103 | if [[ ! -f "/playpen/mc2/imx6q-thrasher/thrasher" ]]; then | 103 | if [[ ! -f "../thrasher/thrasher" ]]; then |
104 | echo "ERROR: thrasher binary not fonud. Exiting..." | 104 | echo "ERROR: thrasher binary not fonud. Exiting..." |
105 | exit | 105 | exit |
106 | fi | 106 | fi |
@@ -124,12 +124,12 @@ read | |||
124 | if [[ $8 == "--contend" ]]; then | 124 | if [[ $8 == "--contend" ]]; then |
125 | echo "Done. Starting 6 contending tasks..." | 125 | echo "Done. Starting 6 contending tasks..." |
126 | # Run two contending tasks on each other CCX | 126 | # Run two contending tasks on each other CCX |
127 | taskset -c 1 /playpen/mc2/imx6q-thrasher/thrasher & | 127 | taskset -c 1 ../thrasher/thrasher & |
128 | taskset -c 2 /playpen/mc2/imx6q-thrasher/thrasher & | 128 | taskset -c 2 ../thrasher/thrasher & |
129 | taskset -c 5 /playpen/mc2/imx6q-thrasher/thrasher & | 129 | taskset -c 5 ../thrasher/thrasher & |
130 | taskset -c 6 /playpen/mc2/imx6q-thrasher/thrasher & | 130 | taskset -c 6 ../thrasher/thrasher & |
131 | taskset -c 9 /playpen/mc2/imx6q-thrasher/thrasher & | 131 | taskset -c 9 ../thrasher/thrasher & |
132 | taskset -c 10 /playpen/mc2/imx6q-thrasher/thrasher & | 132 | taskset -c 10 ../thrasher/thrasher & |
133 | fi | 133 | fi |
134 | sleep 1 # Wait for contending tasks to start | 134 | sleep 1 # Wait for contending tasks to start |
135 | echo "Done. Beginning benchmarks..." | 135 | echo "Done. Beginning benchmarks..." |
diff --git a/run_bench.sh b/run_bench.sh index 6c92fd5..c5ed73b 100755 --- a/run_bench.sh +++ b/run_bench.sh | |||
@@ -111,7 +111,7 @@ if [[ $userRunID == "" ]]; then | |||
111 | echo "Missing argument: a run ID is required" | 111 | echo "Missing argument: a run ID is required" |
112 | exit | 112 | exit |
113 | fi | 113 | fi |
114 | if [[ -v contend && ! -f "/playpen/mc2/imx6q-thrasher/thrasher" ]]; then | 114 | if [[ -v contend && ! -f "./thrasher/thrasher" ]]; then |
115 | echo "ERROR: cannot find thrasher binary for -B. Exiting..." | 115 | echo "ERROR: cannot find thrasher binary for -B. Exiting..." |
116 | exit | 116 | exit |
117 | fi | 117 | fi |
@@ -307,12 +307,12 @@ read | |||
307 | if [[ -v contend ]]; then | 307 | if [[ -v contend ]]; then |
308 | echo "Done. Starting 6 contending tasks..." | 308 | echo "Done. Starting 6 contending tasks..." |
309 | # Run two contending tasks on each other CCX | 309 | # Run two contending tasks on each other CCX |
310 | taskset -c 1 /playpen/mc2/imx6q-thrasher/thrasher & | 310 | taskset -c 1 ./thrasher/thrasher & |
311 | taskset -c 2 /playpen/mc2/imx6q-thrasher/thrasher & | 311 | taskset -c 2 ./thrasher/thrasher & |
312 | taskset -c 5 /playpen/mc2/imx6q-thrasher/thrasher & | 312 | taskset -c 5 ./thrasher/thrasher & |
313 | taskset -c 6 /playpen/mc2/imx6q-thrasher/thrasher & | 313 | taskset -c 6 ./thrasher/thrasher & |
314 | taskset -c 9 /playpen/mc2/imx6q-thrasher/thrasher & | 314 | taskset -c 9 ./thrasher/thrasher & |
315 | taskset -c 10 /playpen/mc2/imx6q-thrasher/thrasher & | 315 | taskset -c 10 ./thrasher/thrasher & |
316 | fi | 316 | fi |
317 | sleep 1 # Wait for contending tasks to start | 317 | sleep 1 # Wait for contending tasks to start |
318 | echo "Done. Beginning benchmarks..." | 318 | echo "Done. Beginning benchmarks..." |
diff --git a/thrasher b/thrasher new file mode 160000 | |||
Subproject 8f9178743c340f36f1634f91e9b798499476a61 | |||