Running the Test
Procedure
- Configure OpenMPI environment variables. For details, see Installing OpenMPI.
- Use PuTTY to log in to the server where IOR is installed as the root user.
- Run the following commands to test the aggregated read/write bandwidth performance of the file system:
cd /home/ior-master/src
/home/OpenMPI/bin/mpirun --allow-run-as-root -machinefile machiefile -npernode 8 ./ior -b 100g -t 1m -w -r -g -F -e -k -o /mnt/Lustre/ior10Table 1 Test Parameters Parameter
Description
-machinefile
Specifies the clients to be tested. Create a machinefile file in /home/IOR/src/C and add the host names of the servers to the file.
-npernode
Indicates that eight threads are running on each server specified in the machinefile file.
-b
Specifies that each thread writes 100 GB files.
-t
Indicates that the transfer size is 1 MB.
-w
Performs a write test.
-r
Performs a read test. -w –r: performs a read test after a write test.
-g
intraTestBarriers -- use barriers between open, write/read, and close
-F
Indicates the filePerProc mode.
-e
Synchronizes written data to hard disks.
-k
Keeps a test file.
-o
Specifies a test file. In filePerProc mode, IOR automatically generates a number after each file to ensure one thread writes a file. /mnt/Lustre/ior: mounts the /mnt/Lustre directory on a client to the Lustre file system. You can change ior to another name.
Figure 1 shows the test result example. The write bandwidth performance is 3216.53 MB/s, and the read bandwidth performance is 2613.25 MB/s.
