summaryrefslogtreecommitdiff
path: root/VA/dimes-hetsim.sh
diff options
context:
space:
mode:
Diffstat (limited to 'VA/dimes-hetsim.sh')
-rwxr-xr-xVA/dimes-hetsim.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/VA/dimes-hetsim.sh b/VA/dimes-hetsim.sh
new file mode 100755
index 0000000..e4c8ee2
--- /dev/null
+++ b/VA/dimes-hetsim.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+cd baselines/cpu
+make -B NUMA=1
+
+# upstream uses 16777216 * int32 == 64 MiB by default
+# 2^29 elements * int32 == 2 GiB
+
+for nr_threads in 1 2 4 8 12 16; do
+ for cpu in 0 1 2 3 4 5 6 7; do
+ for ram in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
+ ./va -a $ram -b $ram -c $cpu -t $nr_threads -w 0 -e 50
+ ./va -i $(perl -E 'say 2 ** 29') -a $ram -b $ram -c $cpu -t $nr_threads -w 0 -e 10
+ done
+ done
+done
+
+for nr_threads in 32 48 64 96 128; do
+ for ram in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
+ ./va -a $ram -b $ram -c -1 -t $nr_threads -w 0 -e 50
+ ./va -i $(perl -E 'say 2 ** 29') -a $ram -b $ram -c -1 -t $nr_threads -w 0 -e 50
+ done
+done