summaryrefslogtreecommitdiff
path: root/benchmark-scripts/milos-write.sh
blob: d468bbe8bfd774db9c50edb41f41e29855033624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

mkdir -p log/${HOST}
fn=log/${HOST}/write

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 \
	::: ram_out $(seq 0 15) \
	:::+ ram_in $(seq 0 15) \
	::: 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