Exit Print View

Sun Datacenter InfiniBand Switch 648 Topic Set

Get PDF Book Print View
 

Document Information

Using This Documentation

Related Documentation

Documentation, Support, and Training

Documentation Feedback

Installation

Preparing the Site

Installing the Switch

Administration

Administering the Switch

Diagnosing a Problem

Remote Management

Understanding ILOM on the Switch

Installing the ILOM Firmware

Administering ILOM (CLI)

Administering ILOM (Web Interface)

Administering ILOM (SNMP)

Administering Hardware (IPMI)

Understanding ILOM Commands

Service

Servicing the Switch

Reference

Command Reference

Understanding Switch-Specific Commands

activate Command (switch-specific)

checkfans Command

checklinks Command

checkpowers Command

checkpwrfault Command

checkswitches Command

checkvoltages Command

clearboardstat Command

deactivate Command (switch-specific)

disableboard Command

disablepsu Command

disablestby Command

disableswitchport Command

enableboard Command

enablehotinsert Command

enablepsu Command

enablestby Command

enableswitchport Command

env_test Command

findport Command

getbaseguid Command

getboardstat Command

getfwversion Command

getportcounters Command

getportstatus Command

getpsufwver Command

getserialnumbers Command

getsymerr Command

i2ctest Command

m9diag Command

mcmversion Command

psustatus Command

resetswitch Command

selectdebugport Command

setlinkspeed Command

showlogs Command

showpresent Command

showtemps Command

showvoltages Command

Understanding CLIA Commands

activate Command (CLIA)

deactivate Command (CLIA)

exit Command (CLIA)

fru Command

frucontrol Command

fruinfo Command

getfruledstate Command

getipmbstate Command

getlanconfig Command

LAN Configuration Parameters

help Command (CLIA)

ipmc Command

localaddress Command

poll Command

quit Command

sel Command

sensordata Command

session Command

setextracted Command

setfruledstate Command

setipmbstate Command

setlanconfig Command

setlocked Command

shelf Command

shelfaddress Command

shmstatus Command

showunhealthy Command

switchover Command

terminate Command

user [-v] Command

user add Command

user channel Command

user delete Command

user enable Command

user name Command

user passwd Command

version Command (CLIA)

Understanding InfiniBand Software Commands

ib_read_bw Command

ib_read_lat Command

ib_send_bw Command

ib_send_lat Command

ib_write_bw Command

ib_write_lat Command

ibaddr Command

ibcheckerrors Command

ibchecknet Command

ibchecknode Command

ibcheckport Command

ibcheckportstate Command

ibcheckportwidth Command

ibcheckstate Command

ibcheckwidth Command

ibclearcounters Command

ibclearerrors Command

ibdatacounters Command

ibdatacounts Command

ibdiagnet Command

ibdiagpath Command

ibhosts Command

ibnetdiscover Command

ibnodes Command

ibping Command

ibportstate Command

ibroute Command

ibrouters Command

ibstat Command

ibstatus Command

ibswitches Command

ibsysstat Command

ibtracert Command

ibv_devices Command

ibv_devinfo Command

ibv_rc_pingpong Command

ibv_srq_pingpong Command

ibv_uc_pingpong Command

ibv_ud_pingpong Command

ofed_info Command

opensm Command

opensmd Daemon

osmtest Command

perfquery Command

saquery Command

sminfo Command

smpdump Command

smpquery Command

vendstat Command

Index

ib_write_bw Command

Performs a write bandwidth diagnostic. Issued on the Linux InfiniBand host.

Syntax

ib_write_bw [-p TCP_port][-d device][-i IB_port][-c RC|UC|UD][-m mtu] [-g posts][-q num][-s size][-a][-t depth][-n iters][-I size][-b][-V] [-N][-F][IP_address]

where:

Description

This InfiniBand software command performs a bandwidth diagnostic between two nodes in the InfiniBand fabric. The command is dependent upon the Internet Protocol, so the InfiniBand fabric must be configured with Internet Protocol over InfiniBand (IPoIB). The command is a client-server, in that a remote node is configured as a server, while a local node performs as a client.

The command is first run locally on the server. The command is then run again locally on the client, pointing to the IP address of the server. The diagnostic checks the bandwidth of the data transfer from the client to the server. The connection uses the Reliable Datagram transport. Optionally, you can set the connection between the nodes to use Reliable Connection, Unreliable Connection, or Unreliable Datagram transport.


Note - This command only functions if your InfiniBand fabric is configured with IPoIB.


Options

The following table describes the options to the ib_write_bw command and their purposes:

Option
Purpose
-p
Uses the TCP port for initial synchronization.
-d
Uses the InfiniBand device.
-i
Uses the InfiniBand port.
-c
Sets the connection type.
-m
Sets the size of the MTU.
-g
Specifies the number of posts for each queue pair in the chain.
-q
Sets the number of queue pairs.
-s
Sets the size of the message to exchange.
-a
Runs all sizes, from 2 to 223.
-t
Sets the size of the TX queue.
-n
Performs iters message exchanges.
-I
Sets the maximum message size to be sent in inline mode.
-b
Measures bidirectional bandwidth.
-V
Displays the version information.
-N
Cancels the peak bandwidth calculation.
-F
Does not fail, even if the cpufreq_ondemand module is loaded.
Example

The following example shows how to run a diagnostic between a local node client and a remote node server with the ib_write_bw command. First configure the remote node server:

# ib_write_bw
------------------------------------------------------------------
                         RDMA_Write BW Test
Number of qp’s running 1
Connection type : RC
Each Qp will post up to 100 messages each time
Inline data is used up to 400 bytes message
     local address:  LID 0x01, QPN 0x9d0406, PSN 0x30ea7b RKey 0x369c003a VAddr 0x002ada954eb000
     remote address: LID 0x05, QPN 0x260406, PSN 0x5e303b, RKey 0x2b0c043f VAddr 0x002b94b3356000
Mtu : 1024
#

Note - The output is not displayed until the local node client issues the respective command.


Then run the command on the local node client:

# ib_write_bw 192.168.200.100
------------------------------------------------------------------
                         RDMA_Write BW Test
Number of qp’s running 1
Connection type : RC
Each Qp will post up to 100 messages each time
Inline data is used up to 400 bytes message
     local address:  LID 0x05, QPN 0x260406, PSN 0x5e303b RKey 0x2b0c043f VAddr 0x002b94b3356000
     remote address: LID 0x01, QPN 0x9d0406, PSN 0x30ea7b, RKey 0x369c003a VAddr 0x002ada954eb000
Mtu : 1024
------------------------------------------------------------------
 #bytes #iterations    BW peak[MB/sec]    BW average[MB/sec] 
     65536        5000             790.41                790.41
------------------------------------------------------------------
#
Related Information