Skip to content

Commit 12ada9a

Browse files
Update fsx-ior-read-benchmark.sh
1 parent 3c731d1 commit 12ada9a

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

lustre/fsx-ior-read-benchmark.sh

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,33 @@ sudo mkdir -p /fsx
2222
sudo mount -t lustre -o noatime,flock <fsid>.fsx.<region>.amazonaws.com@tcp:/<mountname> /fsx
2323
sudo chown ec2-user:ec2-user /fsx
2424

25-
# IOR write - from one instance
26-
mpirun --npernode 4 --oversubscribe ior --posix.odirect -t 1m -b 1320m -g -v -w -i 1 -F -k -D 0 -o /fsx/ior.bin
2725

28-
# IOR read - from all instances
29-
mpirun --npernode 4 --oversubscribe ior --posix.odirect -t 1m -g -r -i 1000000 -F -k -D 0 -z -o /fsx/ior.bin
26+
27+
## write test
28+
29+
# IOR - write test from all instances
30+
instance_id=$(curl -s http://169.254.169.254/latest/meta-data/instance-id)
31+
mpirun --npernode 8 --oversubscribe ior --posix.odirect -t 1m -b 1m -s 16384 -g -v -w -i 100 -F -k -D 0 -o /fsx/ior-${instance_id}.bin
32+
33+
34+
35+
## read test
36+
37+
# IOR - write test from one instance
38+
mpirun --npernode 8 --oversubscribe ior --posix.odirect -t 1m -b 1m -s 8192 -g -v -w -i 1 -F -k -D 0 -o /fsx/ior.bin
39+
40+
# IOR - read test from all instances
41+
mpirun --npernode 8 --oversubscribe ior --posix.odirect -t 1m -b 1m -s 8192 -g -r -i 10000 -F -k -D 60 -z -o /fsx/ior.bin
42+
43+
44+
45+
## in-memory cache read test
46+
47+
# IOR - write test from one instance
48+
mpirun --npernode 8 --oversubscribe ior --posix.odirect -t 1m -b 1m -s 675 -g -v -w -i 1 -F -k -D 0 -o /fsx/ior.bin
49+
50+
# IOR - read test from all instances
51+
mpirun --npernode 8 --oversubscribe ior --posix.odirect -t 1m -b 1m -g -r -i 2000000 -F -k -D 0 -z -o /fsx/ior.bin
3052

3153

3254

0 commit comments

Comments
 (0)