5 # Runs create.pl and rename.pl on two mountpoints with increasing load, varying
6 # debug levels. Assumes that the node is already setup with llmount2.sh
10 CREATE=$SRCDIR/create.pl
11 RENAME=$SRCDIR/rename.pl
15 echo -1 > /proc/sys/portals/debug
20 echo 0 > /proc/sys/portals/debug
23 MNT=${MNT:-/mnt/lustre}
26 echo "create.pl, 2 mounts, 1 thread, 10 ops, debug on"
27 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=10
28 echo "create.pl, 2 mounts, 1 thread, 100 ops, debug on"
29 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=100 --silent
30 echo "create.pl --use_mcreate=0, 2 mounts, 1 thread, 10 ops, debug on"
31 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=10 --use_mcreate=0
32 echo "create.pl --use_mcreate=0, 2 mounts, 1 thread, 100 ops, debug on"
33 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=100 --use_mcreate=0 --silent
34 echo "rename.pl, 2 mounts, 1 thread, 10 ops, debug on"
35 perl $RENAME --mountpt=${MNT} --num_mounts=2 --iterations=10
36 echo "rename.pl, 2 mounts, 1 thread, 100 ops, debug on"
37 perl $RENAME --mountpt=${MNT} --num_mounts=2 --iterations=100 --silent
40 echo "create.pl, 2 mounts, 1 thread, 1000 ops, debug off"
41 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=1000 --silent
42 echo "create.pl --use_mcreate=0, 2 mounts, 1 thread, 1000 ops, debug off"
43 perl $CREATE --silent --use_mcreate=0 -- $MNT 2 1000
44 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=1000 --use_mcreate=0 --silent
45 echo "rename.pl, 2 mounts, 1 thread, 1000 ops, debug off"
46 perl $RENAME --mountpt=${MNT} --num_mounts=2 --iterations=1000 --silent
49 echo "create.pl, 2 mounts, 2 threads, 100 ops, debug on"
50 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=100 --num_threads=2 --silent
51 echo "create.pl --use_mcreate=0, 2 mounts, 2 threads, 100 ops, debug on"
52 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=100 --num_threads=2 --use_mcreate=0 --silent
53 echo "rename.pl, 2 mounts, 2 thread, 1000 ops, debug on"
54 perl $RENAME --mountpt=${MNT} --num_mounts=2 --iterations=1000 --num_threads=2 --silent
57 echo "create.pl, 2 mounts, 2 threads, 2000 ops, debug off"
58 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=2 --silent
59 echo "create.pl --use_mcreate=0, 2 mounts, 2 threads, 2000 ops, debug off"
60 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=2 --use_mcreate=0 --silent
61 echo "rename.pl, 2 mounts, 2 threads, 2000 ops, debug off"
62 perl $RENAME --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=2 --silent
65 echo "create.pl, 2 mounts, 4 threads, 100 ops, debug on"
66 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=100 --num_threads=4 --silent
67 echo "create.pl --use_mcreate=0, 2 mounts, 4 threads, 100 ops, debug on"
68 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=100 --num_threads=4 --use_mcreate=0 --silent
69 echo "rename.pl, 2 mounts, 4 threads, 2000 ops, debug on"
70 perl $RENAME --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=4 --silent
73 echo "create.pl, 2 mounts, 4 threads, 2000 ops, debug off"
74 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=4 --silent
75 echo "create.pl --use_mcreate=0, 2 mounts, 4 threads, 2000 ops, debug off"
76 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=4 --use_mcreate=0 --silent
77 echo "rename.pl, 2 mounts, 4 threads, 2000 ops, debug off"
78 perl $RENAME --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=4 --silent
81 echo "create.pl, 2 mounts, 8 threads, 500 ops, debug on"
82 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=500 --num_threads=8 --silent
83 echo "create.pl --use_mcreate=0, 2 mounts, 8 threads, 500 ops, debug on"
84 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=500 --num_threads=8 --use_mcreate=0 --silent
85 echo "rename.pl, 2 mounts, 8 threads, 2000 ops, debug on"
86 perl $RENAME --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=8 --silent
89 echo "create.pl, 2 mounts, 8 threads, 2000 ops, debug off"
90 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=8 --silent
91 echo "create.pl --use_mcreate=0, 2 mounts, 8 threads, 2000 ops, debug off"
92 perl $CREATE --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=8 --use_mcreate=0 --silent
93 echo "rename.pl, 2 mounts, 8 threads, 2000 ops, debug off"
94 perl $RENAME --mountpt=${MNT} --num_mounts=2 --iterations=2000 --num_threads=8 --silent