Skip to content

Commit 7b4ae48

Browse files
author
Darryl Osborne
committed
2 parents 3c96a35 + 3d659d9 commit 7b4ae48

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

lustre/03-load-data/readme.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ time tree --du -h /mnt/fsx/CMIP5
128128
+
129129
----
130130
threads=36
131-
time lfs find /mnt/fsx/CMIP5--type f | parallel --will-cite -j ${threads} sudo lfs hsm_restore {}
131+
time lfs find /mnt/fsx/CMIP5 --type f | parallel --will-cite -j ${threads} sudo lfs hsm_restore {}
132132
133133
----
134134
. *_Monitor_* the network throughput of the instance from the other SSH terminal window running `*nload*`. These objects are not copied through the instance from S3 to the file system. The GET API is called in parallel to copy data directly from S3 to the OSTs.

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)