You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.3 KiB
Bash
65 lines
2.3 KiB
Bash
10 months ago
|
#!/bin/bash
|
||
|
|
||
|
test=$1
|
||
|
|
||
|
case $test in
|
||
|
0)
|
||
|
make run NODES="20" ARGS=main.o;
|
||
|
;;
|
||
|
1)
|
||
|
# testing of: single node speed
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
;;
|
||
|
2)
|
||
|
# testing of: single nodes speed of 2 nodes to see disk availability bottleneck
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
sleep 0.1;
|
||
|
make run NODES="2" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
;;
|
||
|
22)
|
||
|
# testing of: single nodes speed of 2 nodes to see disk availability depends on first started
|
||
|
make run NODES="2" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
sleep 0.1;
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
;;
|
||
|
3)
|
||
|
# testing of: single nodes speed of 3 nodes to see disk availability bottleneck
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
sleep 0.1;
|
||
|
make run NODES="2" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
sleep 0.1;
|
||
|
make run NODES="3" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
;;
|
||
|
124)
|
||
|
# testing of: speed od 1-2-4 nodes doubling file size each time
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/_268435456.bin;
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/_402653184.bin;
|
||
|
|
||
|
make run NODES="1-2" ARGS=/mnt/raid/testlists/_268435456.bin;
|
||
|
make run NODES="1-2" ARGS=/mnt/raid/testlists/_402653184.bin;
|
||
|
make run NODES="1-2" ARGS=/mnt/raid/testlists/8gb.bin;
|
||
|
|
||
|
make run NODES="1-4" ARGS=/mnt/raid/testlists/_402653184.bin;
|
||
|
make run NODES="1-4" ARGS=/mnt/raid/testlists/8gb.bin;
|
||
|
make run NODES="1-4" ARGS=/mnt/raid/testlists/16gb.bin;
|
||
|
;;
|
||
|
1240)
|
||
|
# testing of: speed od 1-2-4 nodes doubling file size each time
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/__134217728.bin;
|
||
|
make run NODES="1-2" ARGS=/mnt/raid/testlists/_268435456.bin;
|
||
|
make run NODES="1-4" ARGS=/mnt/raid/testlists/_402653184.bin;
|
||
|
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/_268435456.bin;
|
||
|
make run NODES="1-2" ARGS=/mnt/raid/testlists/_402653184.bin;
|
||
|
make run NODES="1-4" ARGS=/mnt/raid/testlists/8gb.bin;
|
||
|
|
||
|
make run NODES="1" ARGS=/mnt/raid/testlists/_402653184.bin;
|
||
|
make run NODES="1-2" ARGS=/mnt/raid/testlists/8gb.bin;
|
||
|
make run NODES="1-4" ARGS=/mnt/raid/testlists/16gb.bin;
|
||
|
;;
|
||
|
*)
|
||
|
echo Specifica un tipo di test doTest.sh N;
|
||
|
;;
|
||
|
esac
|