beautypg.com

HP StorageWorks Scalable File Share User Manual

Page 158

background image

Verifying, diagnosing, and maintaining the system

6–28

The output from the command consists of two columns of data: the first column lists the message size (in

bytes), and the second column lists the latency (in microseconds).

Unidirectional bandwidth test

Unidirectional bandwidth is a

ping

-

ping

test that measures the startup and throughput of a single message

sent between two processes, where outgoing messages are obstructed by incoming messages. Perform this

test by entering the

gm_allsize

command in slave/master mode as described earlier for the latency test,

with the following additional options:

On the slave server (

south1

in this example), specify the

--size=integer

option when you invoke the

gm_allsize

command. For example:

# ssh south1
# /opt/gm/bin/gm_allsize --slave --size=15

On the master server (

south3

in this example), specify the

--unidirectional

,

--bandwidth

,

--size=integer

, and

--geometric

options when you invoke the

gm_allsize

command. For

example:

# ssh south3
# /opt/gm/bin/gm_allsize --unidirectional
--bandwidth --remote-host=south1.my.domain.com --size=15
--geometric

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 earlier. The following example shows the output displayed at the

master server (

south3

in this example). To stop the process on the slave server, press

Ctrl/c

:

# Opening board 0 port 2. Sending to port 2.
# Not verifying contents of messages.
Remote GM node id south1 (6).
# Reliable Point-To-Point Unidirectional Bandwidth (MByte/s)
# size 15
# /opt/gm/bin/./gm_allsize --unidirectional --bandwidth --remote-host=south1/
--size=15 --geometric
1 0.15
2 0.30
3 0.45
4 0.59
5 0.74
6 0.91
7 1.06
8 1.18
9 1.33
10 1.51
11 1.63
12 1.77
13 1.92
14 2.07
15 2.23
16 2.37
18 2.67
20 2.96
22 3.26
24 3.56

The output from the command consists of two columns of data: the first column lists the message size (in

bytes), and the second column lists the bandwidth (in MB/sec).

The following example shows the output displayed at the slave node, after you press

Ctrl/c

to stop the

process:

# Opening board 0 port 2. Sending to port 2.
# Not verifying contents of messages.
# Reliable Loopback Latency (usec)
# size 15
# /opt/gm/bin/./gm_allsize --slave --size=15