Verifying the system 6–27
6.1.8.2.3 Testing Myrinet interconnect performance using the gm_allsize command
You can use the gm_allsize tool as an alternative to the net_test.bash command described in
Section 6.1.8.2.2. If you have already performed the tests in Section 6.1.8.2.2, you do not need to perform
the tests in this section.
You can use the gm_allsize tool as a basic connectivity test that operates in loopback mode. You can
also use the gm_allsize command to measure interconnect one-way latency and bandwidth. (For a list
of all gm_allsize command options, enter gm_allsize --help at the command prompt.)
Latency test
Perform this test by entering the gm_allsize command on two servers, defining the server that is to be
tested as the master and the other server as the slave.
On the server that is to be the slave server, specify the --slave option when you invoke the gm_allsize
command. In the following example, south1 is the slave server:
# ssh south1
# /opt/gm/bin/gm_allsize --slave
On the server that is to be tested (the master server), specify the --remote-host=slave_server option
when you invoke the gm_allsize command. For example, if the server that is to be tested is south3, use
the following commands:
# ssh south3
# /opt/gm/bin/gm_allsize --remote-host=south1.my.domain.com
You can also specify the --verify option to force the verification of the contents of all messages; however,
this option significantly degrades the performance of the test. You can obtain the host names by using the
gm_board_info program, as described Section 6.1.8.2.1.
The following example shows typical output from the gm_allsize command displayed at the master server
(south3 in this example):
# Opening board 0 port 2. Sending to port 2.
# Not verifying contents of messages.
Remote GM node id south1 (3).
# Reliable Point-To-Point Half-Round-Trip Latency (usec)
# size 12
# ./gm_allsize --remote-host=south1
# (reporting half round trip time)
1 7.23
2 8.11
3 7.60
4 7.23
5 7.34
6 7.24
7 7.87
8 7.48
9 7.23
10 8.00
11 7.36
12 7.48
13 8.00
14 7.23
15 7.74
16 7.86
17 7.61
18 7.36
19 7.49
20 8.12
21 7.36
22 7.36
23 6.98
To stop the process, press Ctrl/c on the master server and on the slave server.
Commentaires sur ces manuels