summaryrefslogtreecommitdiff
path: root/benchmark-scripts
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-01-06 08:14:26 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-01-06 08:14:26 +0100
commit473ffedea1b5c5543e140562416537f434e394e9 (patch)
tree0770c2ed33d579055f986bbbf21175b95cb7ce05 /benchmark-scripts
parent928500c5c1a67c756c559068fef2cd4533ffe185 (diff)
benchmark-scripts: milos: include AVX512 measurements
Diffstat (limited to 'benchmark-scripts')
-rwxr-xr-xbenchmark-scripts/milos-read.sh11
-rwxr-xr-xbenchmark-scripts/milos-roofline.sh14
-rwxr-xr-xbenchmark-scripts/milos-write.sh12
3 files changed, 33 insertions, 4 deletions
diff --git a/benchmark-scripts/milos-read.sh b/benchmark-scripts/milos-read.sh
index b8c49c9..5bd5d8b 100755
--- a/benchmark-scripts/milos-read.sh
+++ b/benchmark-scripts/milos-read.sh
@@ -3,7 +3,7 @@
mkdir -p log/${HOST}
fn=log/${HOST}/read
-make -B numa=1 pthread=1
+make -B numa=1 pthread=1 avx512=1
parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
./mbw -a {ram_in} -b {ram_out} -c {cpu} -n 10 -N {nr_threads} -t4 4096 \
@@ -12,3 +12,12 @@ parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
::: cpu $(seq 0 7) \
::: nr_threads $(seq 1 16) \
>> ${fn}.txt
+
+fn=log/${HOST}/read-avx512
+parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
+ ./mbw -a {ram_in} -b {ram_out} -c {cpu} -n 10 -N {nr_threads} -t6 4096 \
+ ::: ram_in $(seq 0 15) \
+ :::+ ram_out $(seq 0 15) \
+ ::: cpu $(seq 0 7) \
+ ::: nr_threads $(seq 1 16) \
+>> ${fn}.txt
diff --git a/benchmark-scripts/milos-roofline.sh b/benchmark-scripts/milos-roofline.sh
index 092d147..026ff54 100755
--- a/benchmark-scripts/milos-roofline.sh
+++ b/benchmark-scripts/milos-roofline.sh
@@ -1,9 +1,9 @@
#!/bin/sh
mkdir -p log
-fn=log/${HOST}-roofline
+fn=log/${HOST}-memcpy
-make -B numa=1 pthread=1
+make -B numa=1 pthread=1 avx512=1
parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
./mbw -a {ram_in} -b {ram_out} -c {cpu} -n 10 -N {nr_threads} -t0 4096 \
@@ -12,3 +12,13 @@ parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
::: cpu $(seq 0 7) \
::: nr_threads $(seq 1 16) \
>> ${fn}.txt
+
+fn=log/${HOST}-copy-avx512
+
+parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
+ ./mbw -a {ram_in} -b {ram_out} -c {cpu} -n 10 -N {nr_threads} -t3 4096 \
+ ::: ram_in $(seq 0 15) \
+ ::: ram_out $(seq 0 15) \
+ ::: cpu $(seq 0 7) \
+ ::: nr_threads $(seq 1 16) \
+>> ${fn}.txt
diff --git a/benchmark-scripts/milos-write.sh b/benchmark-scripts/milos-write.sh
index c24a3de..d468bbe 100755
--- a/benchmark-scripts/milos-write.sh
+++ b/benchmark-scripts/milos-write.sh
@@ -3,7 +3,7 @@
mkdir -p log/${HOST}
fn=log/${HOST}/write
-make -B numa=1 pthread=1
+make -B numa=1 pthread=1 avx512=1
parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
./mbw -a {ram_in} -b {ram_out} -c {cpu} -n 10 -N {nr_threads} -t5 4096 \
@@ -12,3 +12,13 @@ parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
::: cpu $(seq 0 7) \
::: nr_threads $(seq 1 16) \
>> ${fn}.txt
+
+fn=log/${HOST}/write-avx512
+
+parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
+ ./mbw -a {ram_in} -b {ram_out} -c {cpu} -n 10 -N {nr_threads} -t7 4096 \
+ ::: ram_out $(seq 0 15) \
+ :::+ ram_in $(seq 0 15) \
+ ::: cpu $(seq 0 7) \
+ ::: nr_threads $(seq 1 16) \
+>> ${fn}.txt