Home

WinOF VPI for Windows User Manual

image

Contents

1. Bytes Received Sec Shows the rate at which bytes are received by ConnectX 3 and Con nectX 3Pro network adapter The counted bytes include framing charac ters Packets Received Shows the number of packets received by ConnectX 3 and ConnectX 3Pro network interface Packets Received Sec Shows the rate at which packets are received by ConnectX 3 and Con nectX 3Pro network interface Bytes Packets OUT Bytes Sent Shows the number of bytes sent by ConnectX 3 and ConnectX 3Pro net work adapter The counted bytes include framing characters Bytes Sent Sec Shows the rate at which bytes are sent by ConnectX 3 and ConnectX 3Pro network adapter The counted bytes include framing characters Packets Sent Shows the number of packets sent by ConnectX 3 and ConnectX 3Pro network interface Packets Sent Sec Shows the rate at which packets are sent by ConnectX 3 and ConnectX 3Pro network interface Bytes TOTAL Bytes Total Shows the total of bytes handled by ConnectX 3 and ConnectX 3Pro net work adapter The counted bytes include framing characters Bytes Total Sec Shows the total rate of bytes that are sent and received by ConnectX 3and ConnectX 3Pro network adapter The counted bytes include framing characters Packets Total Shows the total of packets handled by ConnectX 3 and ConnectX 3Pro network interface Packets Total Sec Shows the rate at which packets are sent and
2. L Lid Use Lid address argument Mellanox Technologies 57 J WinOF VPI for Windows User Manual Rev 4 40 Table 10 ibportstate Flags and Options Continued Flag Description G Guid Use GUID address argument In most cases it is the Port GUID Example 0x08f1040023 s sm port Use lt smlid gt as the target lid for SM SA queries C Ca Use the specified channel adapter or router P Port Use the specified port u usage Usage message t timeout Override the default timeout for the solicited MADs msec dest dr path lid guid Destination s directed path LID or GUID lt portnum gt Destination s port number lt op gt lt value gt Define the allowed port operations enable disable reset speed and query In case of multiple channel adapters CAs or multiple ports without a CA port being specified a port is chosen by the utility according to the following criteria 1 The first ACTIVE port that is found 2 Ifnot found the first port that is UP physical link state is LinkUp Examples 1 Query the status of Port 1 of CA mlx4_0 using ibstatus and use its output the LID 3 in this case to obtain additional link information using ibportstate ibstat CA type MT4099 Number of ports 2 Firmware version 2 11 536 Hardware version 0 Node GUID 0x0002c903002e6670 System image GUID 0x0002c903002e6673 Forte lu Physical state
3. PriorityValue8021Action 3 PS New NetQosPolicy DEFAULT Default PriorityValue8021Action 3 PS New NetQosPolicy TCP IPProtocolMatchCondition TCP PriorityValue8021Action 1 PS New NetQosPolicy UDP IPProtocolMatchCondition UDP PriorityValue8021Action 1 Step 6 Mark the egress traffic with the relevant VlanID NOTE The NIC is assumed as Ethernet 4 as shown in the examples below PS Set NetAdapterAdvancedProperty Name Network Adapter Name RegistryKeyword VlanID RegistryValue ID Example PS Set NetAdapterAdvancedProperty Name Ethernet 4 RegistryKeyword VlanID RegistryValue 55 Step 7 Assign an IP address to your interface When using DHCP IP address configuration of the NIC is automatic PS Set NetIPInterface InterfaceAlias Ethernet 4 DHCP Disabled PS Remove NetIPAddress InterfaceAlias Ethernet 4 AddressFamily IPv4 Con firm false PS New NetIPAddress InterfaceAlias Ethernet 4 IPAddress 192 168 1 10 Pre fixLength 24 Type Unicast Step 8 Set the DNS server assuming its IP address is 192 168 1 2 PS Set DnsClientServerAddress InterfaceAlias Ethernet 4 ServerAddresses 192 168 1 2 3 6 2 2 1 Using Global Pause Flow Control GFC To use Global Pause Flow Control GFC mode disable QoS and Priority PS Disable NetQosFlowControl PS Disable NetAdapterQos 3 6 2 2 2 Using Priority Flow Control PFC To use Priority Flow Control PFC mode pl
4. Under lt installation_directory gt Documentation License file User Manual this document MLNX VPI WinOF Installation Guide MLNX VPI WinOF Release Notes MLNX VPI WinOF Registry Keys Mellanox Technologies 119
5. WinOF VPI for Windows User Manual Rev 4 40 Step 2 Select the Information tab from the Properties sheet Driver Version 42111550 Firmware Version 2 11 500 Port Number 1 Bus Type PCI E 5 0 Gbps 8 Link Speed Part Number MCX3544 FCBT Device Id 4099 Revision Id 0 Current MAC Address 00 02 C9 35 9E FO Permanent MAC Address 00 02 C9 35 9E F0 Network Status Disconnected Adapter Friendly Name Ethernet 3 IPv4 Address 163 254 27 228 Adapter User Name Mellanox Technologies 34 WinOF VPI for Windows User Manual Rev 4 40 5 2 Configuring the Ethernet Driver The following steps describe how to configure advanced features Step 1 Display the Device Manager File Action View Help 9 He Pas 4 Ey WINDOWS 40BQ0QM p E Computer b a Disk drives p Ke Display adapters b cg IDE ATA ATAPI controllers 4 IEEE 1394 host controllers a Texas Instruments 1394 OHCI Compliant Host Controller Keyboards n Mice and other pointing devices amp Monitors Network adapters Broadcom BCM5709C NetXtreme Il GigE NDIS VBD Client 48 Pu Broadcom BCM5709C NetXtreme Il GigE NDIS VBD Client 49 IBM USB Remote NDIS Network Device er Mellanox ConnectX 3 Ethernet Adapter 2 Mellanox ConnectX 3 IPoIB Adapter 5 Microsoft Kernel Debug Network Adapter 17 Ports COM amp LPT p de Print queues gt Dl Processors b DP Security devices b lt Storage controllers a jE System devices j A
6. on page 52 above 4 Verify the status of ports by using vstat All connected ports should report PORT ACTIVE state 10 2 Ethernet Troubleshooting Issue1 The installation of Win OFED VPI for Windows fails with the following or a similar error message This installation package is not supported by this processor type Contact your product vendor Suggestion This message is printed if you have downloaded and attempted to install an incor rect driver version for example if you are trying to install a 64 bit driver on a 32 bit machine or vice versa Issue2 The performance is low Suggestion This can be due to non optimal system configuration See the section Perfor mance Tuning to take advantage of Mellanox 40 10 GBit NIC performance Issue3 The driver does not start Suggestion 1 This can happen due to an RSS configuration mismatch between the TCP stack and the Mellanox adapter To confirm this scenario open the event log and look under Sys tem for the mlx4eth5 or mlx4eth6 source If found enable RSS as follows 1 Run the following command netsh int tcp set global rss enabled Suggestion 2 This is a less recommended suggestion and will cause low performance To dis able RSS on the adapter run the following command netsh int tcp set global rss no dynamic balancing Issue 4 The Ethernet driver fails to start In the Event log under the mlx4 bus source the fol lowing error message appea
7. 8 3 14 2 osmtest Options The table below lists the various flags of the command Table 21 osmtest Flags and Options Flag Description f flow This option directs osmtest to run a specific flow The following is the flow s description e c create an inventory file with all nodes ports and paths a run all validation tests expecting an input inventory v only validate the given inventory file e s run service registration deregistration and lease test e runevent forwarding test f flood the SA with queries according to the stress mode m multicast flow q QoS info dump VLArb and SLtoVL tables t run trap 64 65 flow this flow requires running of external tool default is all flows except QoS w wait This option specifies the wait time for trap 64 65 in seconds It is used only when running f t the trap 64 65 flow default to 10 sec d debug This option specifies a debug option These options are not normally needed The number following d selects the debug option to enable as follows OPT Description d0 Ignore other SM nodes d1 Force single threaded dispatching d2 Force log flushing after each log message d3 Disable multicast support Mellanox Technologies 79 J WinOF VPI for Windows User Manual Rev 4 40 Table 21 osmtest Flags and Options Flag Description m max_lid This option specifies the maximal LID number to be searche
8. Classification of received packets by using the destination MAC address to route the packets to different receive queues NIC ability to use DMA to transfer packets directly to a Hyper V child partition s shared memory Scaling to multiple processors by processing packets for different virtual machines on different processors 3 2 Header Data Split The header data split feature improves network performance by splitting the headers and data in received Ethernet frames into separate buffers The feature is disabled by default and can be enabled in the Advanced tab Performance Options from the Properties window For further information please refer to the MSDN library http msdn microsoft com en us library windows hardware ff553723 v VS 85 aspx 3 3 Receive Side Scaling RSS Mellanox WinOF Rev 4 40 IPoIB and Ethernet drivers use NDIS 6 30 new RSS capabilities The main changes are Mellanox Technologies 15 J WinOF VPI for Windows User Manual Rev 4 40 3 4 3 4 1 Mellanox Technologies 16 J Supports unlimited number of processors previously 64 Individual network adapter RSS configuration usage RSS capabilities can be set per individual adapters as well as global To do so set the registry keys listed below Table 4 Registry Keys Setting Sub key Description HKLM SYSTEM CurrentControlSet Con trol Class 4d366e972 e325 11ce bfc1 08002be10318 lt nn gt MaxRSSProcessors Maximum
9. Disabled Rate 10 Base lid 4 LMC 0 SM lid 2 Capability mask 0x0251486a Port GUID 0x0002c903002e6671 Link layer InfiniBand gt ibportstate C mlx4 0 4 1 query PortInfo Port info Lid 3 port 1 PINKS tate T E e meme wre ec Initialize PhysminkStato per eee ere LinkUp hank Widen Sup pore nmr 1X or 4X Mellanox Technologies 58 J WinOF VPI for Windows User Manual Rev 4 40 TWankwidehlBnabled e RR ECC TE TT 1X or 4X inna Aloha Neale RE T pe 4X Mans pe SAS POR 2 5 Gbps or 5 0 Gbps InkspeedBnaDled eee ETT 2 5 Gbps or 5 0 Gbps ans EA RECTE TET 5 0 Gbps 2 Query the status of two channel adapters using directed paths ibportstate C mlx4 0 D 0 1 PortInfo Port info DR path slid 65535 dlid 65535 0 port 1 IunkStates bue ue UU IE Initialize PhysminkSsbato NNNM LinkUp LinkWidthSupported 1X or 4X idad RP 1X or 4X KNA ENAC AVE onocaedconuasoas 4X MS PESAS O ed aE cnc so sucess 2 5 Gbps or 5 0 Gbps InnksoecdBnablcd rrea a 2 5 Gbps or 5 0 Gbps MS E raen a I 5 0 Gbps gt ibportstate C mthca0 D 0 1 PortInfo Port info DR path slid 65535 dlid 65535 0 port 1 ink States Mu SCR TTE Down physminkSbato Pee Polling MALAS ss po C E 1X or 4X IrinmewidooEnabled E 1X or 4X ipa Milla Nee cory ee cagse sore 4X Mins PESAS POr e REEL 2 5 Gbps IinkspeedEnablled d e 2 5 Gbps LinkSpeedActive sss 2 5 Gbps 3 Change the speed of a port First query for current configurati
10. It can also reset counters after reading them or simply reset them 8 3 6 1 perfquery Applicable Hardware All InfiniBand devices 8 3 6 2 perfquery Synopsys perfquery h d G xmtsl X xmtdisc D rcvsl S rcverr E SSsmplict el cal rid h smiport ss lt lid gt errors e verbose v usage u 1 r C ca name P ca port R t lt timeout_ms gt V lt lid guid gt port reset mask The table below lists the various flags of the command Table 13 perfquery Flags and Options Flag Description help h Print the help menu debug d Raise the IB debug level May be used several times for higher debug levels ddd or d d d Guid G Use GUID address argument In most cases it is the Port GUID Example 0x08f1040023 xmtsl X Show Xmt SL port counters rcvsl S Show Rcv SL port counters xmtdisc D Show Xmt Discard Details rcverr E Show Rcv Error Details smpletl c Show samples control all ports a Apply query to all ports Mellanox Technologies 66 J WinOF VPI for Windows User Manual Rev 4 40 Table 13 perfquery Flags and Options Flag Description Lid L Use LID address argument sm_port s lt lid gt SM port lid errors Show send and receive errors verbose v Increase verbosity level usage u Usage message loop port
11. NOTE Most OpenIB diagnostics take the following common flags The exact list of supported flags per util ity can be found in the usage message and can be shown using the util name h syntax h shows the usage message y shows the version info Mellanox Technologies 83 J WinOF VPI for Windows User Manual Rev 4 40 8 3 17 iblinkinfo iblinkinfo reports link info for each port in an IB fabric node by node Optionally iblinkinfo can do partial scans and limit its output to parts of a fabric 8 3 17 1 iblinkinfo Synopsis hcdl C ca name P ca port p S port guid G port guid D direct route load cache lt filename gt 8 3 17 2 iblinkinfo Flags and Options Table 24 iblinkinfo Flags and Options Flags Description S port guid G port guid port guid Starts partial scan at the port specified by port guid hex format D direct route Starts partial scan at the port specified by the direct route path Prints all information for each link on one line Defaultis to print aheaderwith the node information and then a list for each port useful for grep ing output d Prints only nodes which have a port in the Down state p Prints additional port settings lt Life Time gt lt HoqLife gt lt VLStall Count gt C lt ca_name gt Uses the specified ca_name for the search P lt ca_port gt Uses the specified ca_port for the sear
12. S 1 sl type x gid index e vents use events N o peak use peak calc F CPU freq fail g num of posts q num of qps b idirectional a 11 V ersion 8 4 11 2 ibv write bw Options The table below lists the various flags of the command Table 39 ibv write bw Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 Mellanox Technologies 104 WinOF VPI for Windows User Manual Rev 4 40 Table 39 ibv write bw Flags and Options Flag Description c connection lt RC UC gt Connection type RC UC default RC SIZe lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 u qp timeout lt timeout gt QP timeout The timeout value is 4 usec 2 timeout default 14 S sl lt sl gt The service level default 0 x gid index lt index gt Test uses GID with GID index taken from command line for RDMAOE index should be 0 b bidirectional Measures b
13. Then it provides detailed descriptions of the tools themselves including operation synopsis and options descriptions error codes and examples Mellanox Technologies 53 J WinOF VPI for Windows User Manual Rev 4 40 8 3 1 1 Common Configuration Interface and Addressing Topology File Optional An InfiniBand fabric is composed of switches and channel adapter HCA TCA devices To iden tify devices in a fabric or even in one switch system each device is given a GUID a MAC equivalent Since a GUID is a non user friendly string of characters it is better to alias it to a meaningful user given name For this objective the IB Diagnostic Tools can be provided with a topology file which is an optional configuration file specifying the IB fabric topology in user given names For diagnostic tools to fully support the topology file the user may need to provide the local sys tem name if the local hostname is not used in the topology file To specify a topology file to a diagnostic tool use one of the following two options 1 On the command line specify the file name using the option t lt topology file name gt 2 Define the environment variable IBDIAG_TOPO_ FILE To specify the local system name to an diagnostic tool use one of the following two options 1 On the command line specify the system name using the option s 1ocal system name gt 2 Define the environment variable IBDIAG SYS NAME 8 3 1 2 IB In
14. To download the latest version of NTttcp 5 28 please refer to Microsoft website following the link below http gallery technet microsoft com NTttcp Version 528 Now f8b12769 Mellanox Technologies 110 WinOF VPI for Windows User Manual Rev 4 40 8 4 17 1 NTttcp Synopsys Server ntttep x64 exe r E 115 m 16 interface TP Client ntttcp x64 exe s t 15 m 16 same address as above 8 4 17 2 NTttcp Options The table below lists the various flags of the command Table 45 NTttcp Options Flags Description S Works as a sender T Works as a receiver l lt Length of buffer gt default TCP 64K UDP 128 n lt Number of buffers gt default 20K p lt port base gt default 5001 sp Synchronizes data ports if used p should be same on every instance a outstanding I O gt default 2 X lt PacketArray size gt default 1 rb lt Receive buffer size gt default 64K sb lt Send buffer size gt default 8K u UDP send recv W WSARecv WSASend d Verifies Flag t Runtime in seconds cd lt Cool down gt in seconds wu lt Warm up gt in seconds nic lt NIC IP gt Use NIC with for sendingdata sender only m mapping mapping Mellanox Technologies 111 WinOF VPI for Windows User Manual Rev 4 40 9 Software Development Kit Software Development Kit SDK a set of development tools that allow
15. d d Raises the IB debugging level Mellanox Technologies 69 J WinOF VPI for Windows User Manual Rev 4 40 Table 14 ibping Flags and Options Flag Description errors Shows send and receive errors timeouts and others help h Shows the usage message verbose v vvv v v v Increases the application verbosity level version V Shows the version info Lid L Use LID address argument usage u Usage message Guid G Uses GUID address argument In most cases it 1s the Port GUID For example 0x08f1040023 sm_ port s lt smlid gt Uses smlid as the target lid for SM SA queries Ca C ca name Uses the specified ca name Port P ca port Uses the specified ca port timeout t timeout ms Overrides the default timeout for the solicited mads 8 3 8 ibnetdiscover ibnetdiscover performs IB subnet discovery and outputs a readable topology file GUIDs node types and port numbers are displayed as well as port LIDs and NodeDescriptions All nodes and links are displayed full topology Optionally this utility can be used to list the current connected nodes by node type The output is printed to standard output unless a topology file is specified 8 3 8 1 ibnetdiscover Synopsys ibnetdiscover d ebug e rr show v erbose s how l ist g rouping H ca list S witch list R outer list C ca name P ca por
16. lid 4 lmc 1 ISR9024 Voltaire lid 6 4xSDR vendid 0x2c9 devid 0x5a44 caguid 0x8f10403960558 Ca 2 H 0008 10403960558 MT23108 InfiniHost Mellanox Technologies 2 8 1040396055a S 005442ba00003080 8 lid 14 lmc 1 ISR9024 Vol taire lid 6 4xSDR 1 8 10403960559 S 005442ba00003080 12 lid 10 lmc 1 ISR9024 Voltaire lid 6 1xSDR Node Name Map File Format The node name map is used to specify user friendly names for nodes in the output GUIDs are used to perform the lookup comment guid lt name gt Mellanox Technologies 73 J WinOF VPI for Windows User Manual Rev 4 40 Example IB1 Line cards 0x0008 104003f125c IB1 Rack 11 slot 1 ISR9288 ISR9096 Voltaire sLB 24D 0x0008 104003f125d IB1 Rack 11 slot 1 ISR9288 ISR9096 Voltaire sLB 24D 0x0008 104003f10d2 IB1 Rack 11 slot 2 ISR9288 ISR9096 Voltaire sLB 24D 0x0008 104003f10d3 IB1 Rack 11 slot 2 ISR9288 ISR9096 Voltaire sLB 24D 0x0008 104003f10bf IB1 Rack 11 slot 12 ISR9288 ISR9096 Voltaire sLB 24D Spines 0x0008f10400400e2d IB1 Rack 11 spine 1 ISR9288 Voltaire sFB 12D 0x0008f10400400e2e IB1 Rack 11 spine 1 ISR9288 Voltaire sFB 12D 0x0008f10400400e2f IB1 Rack 11 spine 1 ISR9288 Voltaire sFB 12D 0x0008f10400400e31 IB1 Rack 11 spine 2 ISR9288 Voltaire sFB 12D 0x0008f10400400e32 IB1 Rack 11 spine 2 ISR9288 Voltaire sFB 12D GUID Node Name 0x0008 10400
17. lt smlid gt Use lt smlid gt as the target LID for SM SA queries V version Show version info L Lid Use Lid address argument c combined Use combined route address argument u usage Usage message C Ca ca name Use the specified channel adapter or router P Port ca port Use the specified port t timeout timeout ms Override the default timeout for the solicited MADs msec Mellanox Technologies 63 J WinOF VPI for Windows User Manual Rev 4 40 Table 12 smpquery Flags and Options Flag Description lt op gt Supported operations NodelInfo NI lt addr gt NodeDesc ND lt addr gt PortInfo PI lt addr gt lt portnum gt e SwitchInfo SI lt addr gt PKeyTable PKeys lt addr gt lt portnum gt SL2VLTable SL2VL lt addr gt lt portnum gt e VLArbitration VLArb lt addr gt lt portnum gt GUIDInfo GI lt addr gt dest dr path lid guid Destination s directed path LID or GUID node name map lt file gt Node name map file x extended Use extended speeds Examples 1 Query PortInfo by LID with port modifier gt smpquery portinfo 1 1 Port info Lid 1 port 1 MKC Vie pre econ settee E toe eevee 0x0000000000000000 Gd Pre Picea ERU err End d ets 0xfe80000000000000 id er RN ctor eee cere Oak Seon 0x0001 e Nal 0x0001 CU aio 0x251086a IsSM IsTrap
18. perfquery d ebug G uid x extended X xmtsl 8 rcvsl D xmtdisc E rcverr T extended speeds oprcvcounters flowctlcounters vlop packets vlopdata vlxmitflowctlerrors vlxmit counters swportvlcong revec slrcvfecn slrcvbecn xmitcc vlxmittimecc c smplct1 a 1l ports 1 oop_ ports r eset after read R eset_only C ca name P ca port t imeout timeout ms V ersion h elp lid guid port reset mask 8 3 20 2 Multiple CA Multiple Port Support When no InfiniBand device or port is specified the port to use is selected by the following crite ria 1 The first port that is ACTIVE 2 If not found the first port that is UP physical link up If a port and or CA name is specified the user request is attempted to be fulfilled and will fail if it is not possible 8 3 21 saquery saquery issues the selected SA query Node records are queried by default 8 3 21 1 saquery Synopsis saquery h d pl N list D S 11 L 1 G 0 U c s g m x C ca name P ca port smkey val t imeout lt msec gt src to dst lt src dst gt sgid to dgid lt sgid dgid gt node name map lt node name map gt lt name gt lid guid Mellanox Technologies 89 J WinOF VPI for Windows User Manual Rev 4 40 8 3 21 2 saquery Options Table 27 saquery Flags and Opt
19. right click the network adapter from which the port VLAN was created Step 2 Left click Properties Step 3 Select the VLAN tab from the Properties sheet Mellanox Technologies 25 WinOF VPI for Windows User Manual Rev 4 40 Step 4 Select the VLAN to be removed Step 5 Click Remove and confirm the operation 3 6 RDMA over Converged Ethernet RoCE 3 6 1 RoCE Overview Remote Direct Memory Access RDMA is the remote memory management capability that allows server to server data movement directly between application memory without any CPU involvement RDMA over Ethernet RoCE is a mechanism to provide this efficient data transfer with very low latencies on loss less Ethernet networks With advances in data center convergence over reliable Ethernet ConnectX 2 ConnectX 3 EN ConnectX 3Pro EN with RoCE uses the proven and efficient RDMA transport to provide the platform for deploying RDMA technol ogy in mainstream data center application at 10GigE and 40GigE link speed ConnectX 2 Con nectX 3 ConnectX 3Pro EN with its hardware offload support takes advantage of this efficient RDMA transport InfiniBand services over Ethernet to deliver ultra low latency for per formance critical and transaction intensive applications such as financial data base storage and content delivery networks RoCE encapsulates IB transport and GRH headers in Ethernet packets bearing a dedicated ether type While the use of GRH is optional with
20. saquery Flags and Options Flags Description t timeout lt msec gt Specifies SA query response timeout in milliseconds Default is 100 milliseconds You may want to use this option if IB_TIMEOUT is indicated node name map lt node name map gt Specifies a node name map The node name map file maps GUIDs to more user friendly names See ibnetdiscover 8 for node name map file format Only used with the O and U options Supported query names and aliases ClassPortInfo CPI NodeRecord NR lid PortInfoRecord PIR lid port options SL2VLTableRecord SL2VL lid in_port out_port PKeyTableRecord PKTR lid port block VLArbitrationTableRecord VLAR lid port block InformInfoRecord IIR LinkRecord LR from_lid from_port to_lid to_port ServiceRecord SR PathRecord PR MCMemberRecord MCMR LFTRecord LFTR lid block MFTRecord MFTR mlid position block GUIDInfoRecord GIR lid block d enables debugging h Shows help 8 3 22 smpdump smpdump is a general purpose SMP utility which gets SM attributes from a specified SMA The result is dumped in hex by default 8 3 22 1 smpdump Synopsis smpdump s ring D irect C ca name P ca port t imeout timeout ms V ersion h elp dlid dr path attr mod Mellanox Technologies 91 J WinOF VPI for Windows User Manual Rev 4 40 8 3 22 2 smp
21. 0x08f1040023 s lt smlid gt Uses smlid as the target lid for SM SA queries Other Common Flags Description C ca name Uses the specified ca name P ca port Uses the specified ca port t timeout ms Overrides the default timeout for the solicited mads 8 3 19 3 Multiple CA Multiple Port Support When no IB device or port is specified the port to use is selected by the following criteria 1 The first port that is ACTIVE 2 If not found the first port that is UP physical link up If a port and or CA name is specified the user request is attempted to be fulfilled and will fail if it is not possible 8 3 20 perfquery perfquery usesPerfMgt GMPs to obtain the PortCounters basic performance and error coun ters PortExtendedCounters PortXmitDataSL PortR cvDataSL PortRcvErrorDetails PortX mitDiscardDetails PortExtended SpeedsCounters or PortSamplesControl from the PMA at the node port specified Optionally shows aggregated counters for all ports of node In addition you may reset after read or only reset counters Mellanox Technologies 88 J WinOF VPI for Windows User Manual Rev 4 40 In PortCounters PortCountersExtended PortXmitDataSL and PortR cvDataSL components that represent Data e g PortXmitData and PortR cvData indicate octets divided by 4 rather than just octets Inputting a port of 255 indicates an operation be performed on all ports 8 3 20 1 perfquery Synopsis
22. 0xc002 0xc003 0xc020 0xc021 0xc022 0xc023 0xc024 0xc040 0xc041 0xc042 12 valid mlids dumped Mm MOM PM oM oH oW Wo WM OM 8 3 5 smpquery Provides a basic subset of standard SMP queries to query Subnet management attributes such as node info node description switch info and port info Mellanox Technologies 62 J WinOF VPI for Windows User Manual Rev 4 40 8 3 5 1 smpquery Applicable Hardware All InfiniBand devices 8 3 5 2 smpquery Synopsys smpquery h d e c v D G s lt smlid gt L u V C ca name P ca port t timeout ms node name map lt node name map gt op dest dr path lid guid op params 8 3 5 3 smpquery Options The table below lists the various flags of the command Table 12 smpquery Flags and Options Flag Description h help Print the help menu d debug Raise the IB debug level May be used several times for higher debug levels ddd or d d d e errors Show send and receive errors timeouts and others v verbose Increase verbosity level May be used several times for additional verbosity vvv or v v v D Direct Use directed path address arguments The path is a comma sepa rated list of out ports Examples 0 self port 0 1 2 1 4 out via port 1 then 2 G Guid Use GUID address argument In most cases it is the Port GUID Example 0x08f1040023 s sm port
23. 1 BS grh Use GRH with packets mandatory for RoCE ib_write_lat ib_write_lat calculates the latency of RDMA write operation of message_sizeB between a pair of machines One acts as a server and the other as a client They perform a ping pong benchmark on which one side RDMA writes to the other side memory only after the other side wrote on his memory Each of the sides samples the CPU clock each time they write to the other side memory in order to calculate latency Mellanox Technologies 97 J WinOF VPI for Windows User Manual Rev 4 40 8 4 6 1 ib_write_lat Synopsys ib write lat i b port ib port S ize message size t x depth tx size PDT port a 11 V ersion U report unsorted report histogram 8 4 62 ib write lat Options The table below lists the various flags of the command c onnection type RC UC m tu mtu size n iteration num p ort C report cycles H Table 34 ib write lat Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 c connection lt RC UC gt Connection type RC UC default RC size size The size of message
24. Modify b Modify the bundle name its type and or the participating adapters in the bundle c Click the Commit button gt To remove an existing bundle select the desired bundle and click Remove You will be prompted to approve this action Notes on this step a Each adapter that participates in a bundle has two properties Status Connected Disconnected Disabled Role Active or Backup b Each network adapter that is added or removed from a bundle gets refreshed 1 e disabled then enabled This may cause a temporary loss of connection to the adapter c Incase a bundle loses one or more network adapters by a create or modify operation the remaining adapters in the bundle are automatically notified of the change 3 5 3 Creating a Port VLAN You can create a Port VLAN either on a physical Mellanox ConnectX EN adapter or a virtual bundle team The following steps describe how to create a port VLAN Mellanox Technologies 22 WinOF VPI for Windows User Manual Rev 4 40 Step 1 Display the Device Manager oat Device Manager File Action View Help es m Hu fe e Computer E Disk drives El Display adapters El DVD CD ROM drives 3 Floppy drive controllers 10 03 Human Interface Devices IDE ATA ATAPI controllers IEEE 1394 Bus host controllers Keyboards n Mice and other pointing devices K Monitors amp Network adapters Physical Broadcom BCM5708C Netxtreme II GigE NDIS VBD Clien
25. RSS Mode Improves incoming packet processing performance RSS enables the adapter port to utilize the multiple CPUs in a multi core system for receiving incoming packets and steering them to the des ignated destination RSS can significantly improve the number of transactions the number of con nections per second and the network throughput This parameter can be set to one of the following values Mellanox Technologies 44 J WinOF VPI for Windows User Manual Rev 4 40 Enabled default Set RSS Mode Disabled The hardware is configured once to use the Toeplitz hash function and the indirection table is never changed IOAT is not used while in RSS mode Receive Completion Method Sets the completion methods of the received packets and can affect network throughput and CPU utili zation Polling Method Increases the CPU utilization as the system polls the received rings for the incoming packets However it may increase the network performance as the incoming packet is handled faster Interrupt Method Optimizes the CPU as it uses interrupts for handling incoming messages However in certain scenarios it can decrease the network throughput Adaptive Default Settings A combination of the interrupt and polling methods dynamically depending on traffic type and network usage Choosing a different setting may improve network and or system performance in certain configu rations nterrupt Moderati
26. Registry Tuning The registry entries that may be added changed by this General Tuning procedure are Under HKEY LOCAL MACHINENSSYSTEM CurrentControlSetServices Tcpip Parameters Disable TCP selective acks option for better cpu utilization SackOpts type REG DWORD value set to 0 Under HKEY LOCAL MACHINENSYSTEM CurrentControlSetServices AFD Parameters Enable fast datagram sending for UDP traffic FastSendDatagramThreshold type REG DWORD value set to 64K Under HKEY LOCAL MACHINENSSYSTEM CurrentControlSetServicesNdis Parameters e Set RSS parameters RssBaseCpu type REG DWORD value set to 1 6 1 2 Enable RSS Enabling Receive Side Scaling RSS is performed by means of the following command netsh int tcp set global rss enabled 6 1 3 Tuning the IPoIB Network Adapter The IPoIB Network Adapter tuning can be performed either during installation by modifying some of Windows registries as explained in Section 6 1 1 Registry Tuning on page 37 or can be set post installation manually To improve the network adapter performance activate the performance tuning tool as fol lows Step 1 Start the Device Manager open a command line window and enter devmgmt msc Step 2 Open Network Adapters Step3 Select Mellanox IPoIB adapter right click and select Properties Step 4 Select the Performance tab Step 5 Choose one of the tuning scenarios Mellanox Technologies 37 J WinOF VPI for Windows User
27. Runs all the messages sizes from 1B to 8MB and it must not be combined with s flag n lt num of iterations gt The number of exchanges at least 2 the default is 100000 I max inline size The maximum size of message to send inline The default number is 128B D test duration in seconds Tests duration in seconds f margin time in seconds The margin time to avoid calculation and it must be less than half of the duration time Q CQ Moderation lt value gt The default number is 100 S lt server interface IP gt lt server side only must be last parameter gt C lt server interface IP gt lt client side only must be last parameter gt h Shows the Help screen 8 4 16 nd_read_lat This test is used for performance measuring of RDMA Read requests in Microsoft Windows Operating Systems nd read lat is performance oriented for RDMA Read with minimum latency and runs over Microsoft s NetworkDirect standard The level of customizing for the user is relatively high User may choose to run with a customized message size customized number of iterations or alternatively customized test duration time nd read lat runs with all message sizes from 1B to 4MB powers of 2 message inlining CQ moderation Mellanox Technologies 109 WinOF VPI for Windows User Manual Rev 4 40 8 4 16 1 nd_read_lat Synopsys lt running on specific single core gt
28. SA query completion The valid values are 500 60000 default 1000 ms 6 4 Adapter Proprietary Performance Counters Proprietary Performance Counters are used to provide information on Operating System applica tion service or the drivers performance Counters can be used for different system debugging purposes help to determine system bottlenecks and fine tune system and application perfor mance The Operating System network and devices provide counter data that the application can consume to provide users with a graphical view of the system s performance quality WinOF counters hold the standard Windows CounterSet API that includes Network Interface RDMA activity SMB Direct Connection Mellanox Technologies 46 J WinOF VPI for Windows User Manual Rev 4 40 6 4 4 Supported Standard Performance Counters 6 4 1 1 Proprietary Mellanox Adapter Traffic Counters Proprietary Mellanox adapter traffic counter set consists of global traffic statistics which gather information from ConnectX 3 and ConnectX 3Pro network adapters and includes traffic sta tistics and various types of error and indications from both the Physical Function and Virtual Function Table 5 Mellanox Adapter Traffic Counters Mellanox Adapter Traffic Counters Description Bytes IN Bytes Received Shows the number of bytes received by ConnectX 3 and ConnectX 3Pro network adapter The counted bytes include framing characters
29. Server side start b affinity 0X1 nd_read_lat s1048576 D10 S11 137 53 1 Client side start b wait affinity 0X1 nd read lat s1048576 D10 C 11 137 53 1 8 4 16 2 nd read lat Options The table below lists the various flags of the command Table 44 nd read lat Options Flags Description h Shows the Help screen V Shows the version number p Connects to the port lt port gt lt default 6830 gt s lt msg size gt Exchanges the message size with lt default 65536B gt and it must not be combined with a flag Runs all the messages sizes from 1B to 8MB and it must not be combined with s flag n num of iterations The number of exchanges at least 2 the default is 100000 I max inline size The maximum size of message to send inline The default number is 128B D test duration in seconds Tests duration in seconds f margin time in seconds The margin time to avoid calculation and it must be less than half of the duration time S server interface IP gt server side only must be last parameter C server interface IP gt client side only must be last parameter gt h Shows the Help screen 8 4 17 NTttcp NTttcp is a Windows base testing application that sends and receives TCP data between two or more endpoints It s a Winsock based port of the ttcp tool that measures networking performance bytes second
30. The maximum size of message to be sent in inline mode default 0 e events Inactive during CQ events default poll g mcg lt num_of_qps gt Sends messages to multicast group with lt num_of_qps gt qps attached to it M MGID lt multicast_gid gt In case of multicast uses lt multicast_gid gt as the group MGID The format must be 255 1 X X X X X X X X X X X X X X where X is a vlaue within 0 255 You must specify a different MGID on both sides to avoid loopback R rdma cm Connect QPs with rdma cm and run test on those QPs Z com rdma cm Communicate with rdma cm module to exchange data use regular QPs 8 4 11 ibv write bw This is a more advanced version of ib write bw and contains more flags and features than the older version and also improved algorithms ibv write bw calculates the BW of RDMA write between a pair of machines One acts as a server and the other as a client The client RDMA writes to the server memory and calculate the BW by sampling the CPU each time it receives a successful completion The test supports a large variety of features as described below and has better performance than ib send bw in Nahelem systems 8 4 11 1 ibv write bw Synopsys ibv write bw i b port ib port d ib device c onnection type RC UC m tu mtu size s ize message size t x depth tx size n iteration num p ort PDT port I nline size inline size u gp timeout
31. describes how to update firmware 2 1 Downloading Mellanox Firmware Tools Step 1 Download Mellanox Firmware Tools Go to http www mellanox com gt Products gt Firmware Tools The tools package to download is MFT Software for Windows x64 for x64 architecture Step 2 Install and Run WinMFT To install the WinMFT package double click the MSI package or run it from the command prompt Installing the WinMFT package from the command line requires administrator privi leges Aud Example PS msiexec exe i WinMFT x64 3 0 0 17 msi To check the device status Step 1 Start Stop mst PS mst start OR PS mst stop Step 2 Check the device s status PS mst status If no installation problems occur the status command should produce the following output PS mt4099 pciconf0 PS mt4099 pci cro Mellanox Technologies 13 J WinOF VPI for Windows User Manual Rev 4 40 2 2 Downloading Firmware gt To identify your adapter card perform the following the steps Step 1 Extract the PSID Run vstat G o GID 1 Step 2 Search for the latest firmware using the PSID from the step above Go to http www mellanox com gt Support gt Support Downloader CLEAR MT 1090120019 PSID or OPN Identifying Adapter Cards PSID ConnectX 3 VPI ConnectX 3 VPI adapter card dual port QSFP FDR IB 56Gb s and 40GigE PCIe3 0 x8 8GT s RoHS R6 Firmware MT 1090120019 fw ConnectX3 re
32. error statistic counters m more verbose mode pN repeat every N sec 8 3 14 osmtest osmtest is a test program to validate InfiniBand subnet manager and administration SM SA Default is to run all flows with the exception of the QoS flow osmtest provides a test suite for opensm osmtest has the following capabilities and testing flows tcreates an inventory file of all available Nodes Ports and PathRecords including all their fields Mellanox Technologies 78 J WinOF VPI for Windows User Manual Rev 4 40 It verifies the existing inventory with all the object fields and matches it to a presaved one A Multicast Compliancy test An Event Forwarding test A Service Record registration test An RMPP stress test A Small SA Queries stress test It is recommended that after installing opensm the user should run osmtest f c to generate the inventory file and immediately afterwards run osmtest f a to test OpenSM Additionally it is recommended to create the inventory when the IB fabric is stable and occa sionally run osmtest v to verify that nothing has changed 8 3 14 1 osmtest Synopsys osmtest f low c a v s e f m g t w ait trap wait time d ebug num ber m ax lid LID in hex gt g uid lt GUID in hex gt p ort i nventory filename s tress M ulticast Mode t imeout milliseconds 1 log file v vf lt flags gt h elp
33. i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 c connection lt RC UC UD gt Connection type RC UC UD default RC SIZe lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 u qp timeout lt timeout gt QP timeout The timeout value is 4 usec 2 timeout default 14 S sl lt sl gt The service level default 0 x gid index lt index gt Test uses GID with GID index taken from command line for RDMAOE index should be 0 C report cycles Reports times in cpu cycle units default microseconds H report histogram Print out all results default print summary only U report unsorted implies Print out unsorted results default sorted H V version Displays version number F CPU freq The CPU frequency test It is active even if the cpufreq ondemand module is loaded Mellanox Technologies 103 WinOF VPI for Windows User Manual Rev 4 40 Table 38 ibv send lat Flags and Options Flag Description g post lt num of posts gt The number of posts for each qp in the chain default tx depth I inline_size lt size gt
34. in RC connection mode as specified in IB spec 8 4 2 1 8 4 2 2 Mellanox Technologies 94 J ib_read_lat Synopsys ib read lat i b port ib port m tu mtu size s ize message size t x depth tx size n iteration num p ort PDT port o uts outstanding reads a 11 V ersion ib read lat Options C report cycles H report histogram U report unsorted The table below lists the various flags of the command Table 30 ib read lat Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 0 outs lt num gt The number of outstanding read atom default 4 SIZe lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 C report cycles Reports times in cpu cycle units default microseconds H report histogram Print out all results default print summary only U report unsorted implies H Print out unsorted results default sorted
35. index should be 0 C report cycles Reports times in cpu cycle units default microseconds H report histogram Print out all results default print summary only U report unsorted implies Print out unsorted results default sorted H V version Displays version number F CPU freq The CPU frequency test It is active even if the cpufreq_ondemand module is loaded I inline_size lt size gt The maximum size of message to be sent in inline mode default 0 R rdma_cm Connects QPs with rdma_cm and run test on those QPs Z com_rdma_cm Communicates with rdma_cm module to exchange data use regular QPs Mellanox Technologies 106 WinOF VPI for Windows User Manual Rev 4 40 8 4 13 nd write bw This test is used for performance measuring of RDMA Write requests in Microsoft Windows Operating Systems nd write bw is performance oriented for RDMA Write with maximum throughput and runs over Microsoft s NetworkDirect standard The level of customizing for the user is relatively high User may choose to run with a customized message size customized num ber of iterations or alternatively customized test duration time nd write bw runs with all mes sage sizes from 1B to 4MB powers of 2 message inlining CQ moderation 8 4 13 1 nd write bw Synopsys running on specific single core Server side start b affinity 0X1 nd write bw s1048576
36. is UP physical link up If a port and or CA name is specified the user request is attempted to be fulfilled and will fail if it is not possible Mellanox Technologies 92 J WinOF VPI for Windows User Manual Rev 4 40 Examples Direct Routed Examples smpdump D 0 1 2 3 5 16 NODE DESC smpdump D 0 1 2 0x15 2 PORT INFO port 2 LID Routed Examples smpdump 3 0x15 2 PORT INFO lid 3 port 2 smpdump 0xa0 0x11 NODE INFO lid 0xa0 8 4 InfiniBand Fabric Performance Utilities The performance utilities described in this chapter are intended to be used as a performance micro benchmark 8 4 1 ib read bw ib read bw calculates the BW of RDMA read between a pair of machines One acts as a server and the other as a client The client RDMA reads the server memory and calculate the BW by sampling the CPU each time it receive a successful completion The test supports features such as Bidirectional in which they both RDMA read from each other memory s at the same time change of mtu size tx size number of iteration message size and more Read is available only in RC connection mode as specified in IB spec 8 4 1 1 ib read bw Synopsys ib read bw i b port ib port m tu mtu size s ize message size n iteration num p ort PDT port b idirectional o uts outstanding reads a 11 V ersion 8 4 1 2 ib read bw Options The table below lists the various flags of the command Table 29 ib read bw Fl
37. mod Generates Cqe only after lt cq mod gt completion 8 4 10 ibv_send_lat This is a more advanced version of ib_send_lat and contains more flags and featurs than the older version and also improved algorithms ibv_send_lat calculates the latency of sending a packet in message sizeB between a pair of machines One acts as a server and the other as a client They Mellanox Technologies 102 WinOF VPI for Windows User Manual Rev 4 40 perform a ping pong benchmark on which you send packet only after you receive one Each of the sides samples the CPU clock each time they receive a send packet in order to calculate the latency 8 4 10 1 ibv_send_lat Synopsys ibv send lat i b port ib port m tu mtu size s ize message size I nline size inline size type x gid index iteration num group p ort PDT port a 11 cycles H report histogram CPU freq fail 8 4 10 2ibv send lat Options c onnection type RC UC UD d ib device name t x depth tx size u qp timeout S L sl e events use events n g num of qps in mcast V ersion C report U report unsorted F The table below lists the various flags of the command Table 38 ibv send lat Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device device guid default first device found
38. port names defined in the topology file Tool option n This option refers to the source and destination ports by the names defined in the topology file Therefore this option is relevant only if a topology file is specified to the tool In this mode the tool uses the names to extract the port LIDs from the matched topology then the tool operates as in the I option 8 3 2 ibdiagnet ibdiagnet c count v r o lt out dir gt t lt topo file gt s sys name i lt dev index gt p lt port num gt pm pc P lt lt PM counter gt lt Trash Limit gt gt lw 1x 4x 12x 1s lt 2 5 5 10 gt skip dup guids zero guids pm logical state 8 3 2 1 ibdiagnet Options Table 8 ibdiagnet Options Flag Description c count Min number of packets to be sent across each link default 10 V Enable verbose mode r Provides a report of the fabric qualities o lt out dir gt Specifies the directory where the output files will be placed default tmp t lt topo file gt Specifies the topology file name s lt sys name gt Specifies the local system name Meaningful only if a topology file is specified 1 lt dev index gt Specifies the index of the device of the port used to connect to the IB fab ric in case of multiple devices on the local system p lt port num gt Specifies the local device s port num used to connect to the IB f
39. priority The counted bytes include framing characters Packets Received The number of packets received that are covered by this priority modulo 2 64 Packets Received Sec The number of packets received per second that are covered by this prior ity Bytes Packets OUT Mellanox Technologies 50 J WinOF VPI for Windows User Manual Rev 4 40 Table 7 Mellanox QoS Counters Mellanox QoS Counters Description Bytes Sent The number of bytes sent that are covered by this priority The counted bytes include framing characters modulo 2 64 Bytes Sent Sec The number of bytes sent per second that are covered by this priority The counted bytes include framing characters Packets Sent The number of packets sent that are covered by this priority modulo 2164 Packets Sent Sec The number of packets sent per second that are covered by this priority Bytes and Packets TOTAL Bytes Total The total number of bytes that are covered by this priority The counted bytes include framing characters modulo 2 64 Bytes Total Sec The total number of bytes per second that are covered by this priority The counted bytes include framing characters Packets Total The total number of packets that are covered by this priority modulo 2 64 Packets Total Sec The total number of packets per second that are covered by this priority PAUSE INDICATION Per prio s
40. received by ConnectX 3 and ConnectX 3Pro network interface Control Packets The total number of successfully received control frames Mellanox Technologies 47 J WinOF VPI for Windows User Manual Rev 4 40 Table 5 Mellanox Adapter Traffic Counters Mellanox Adapter Traffic Counters Description ERRORS DROP AND MISC INDICATIONS Packets Outbound Errors Shows the number of outbound packets that could not be transmitted because of errors Packets Outbound Discarded Shows the number of outbound packets to be discarded even though no errors had been detected to prevent transmission One possible reason for discarding packets could be to free up buffer space Packets Received Errors Shows the number of inbound packets that contained errors preventing them from being deliverable to a higher layer protocol Packets Received with Frame Length Error Shows the number of inbound packets that contained error where the frame has length error Packets received with frame length error are a sub set of packets received errors Packets Received with Symbol Error Shows the number of inbound packets that contained symbol error or an invalid block Packets received with symbol error are a subset of packets received errors Packets Received with Bad CRC Error Shows the number of inbound packets that contained bad CRC error Packets received with bad CRC error are a subset of pack
41. size s ize message size t x depth tx size n iteration num p ort PDT port u gp timeout S 1 sl type x gid index e vents use events F CPU freq fail b idirectional a 11 V ersion 8 4 7 2 ibv read bw Options The table below lists the various flags of the command Table 35 ibv read bw Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 0 outs lt num gt The number of outstanding read atom default for hermon 16 others 4 SIZe lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 u qp timeout lt timeout gt QP timeout The timeout value is 4 usec 2 timeout default 14 S sl lt sl gt The service level default 0 x gid index lt index gt Test uses GID with GID index taken from command line for RDMAoE index should be 0 b bidirectional Measures bidirectional bandwidth default unidirectional V ve
42. the SMB connection on the SMB client Step 1 Copy the large file to create a new session with the SMB Server Step 2 Open a PowerShell window while the copy is ongoing Step 3 Verify the SMB Direct is working properly and that the correct SMB dialect is used Get SmbConnection Get SmbMultichannelConnection netstat exe xan match 445 If you have no activity while you run the commands above you might get an empty list due to session expiration and no current connections Ad 44 Verifying SMB Events that Confirm RDMA Connection To confirm RDMA connection verify the SMB events Step 1 Open a PowerShell window on the SMB client Step 2 Run the following cmdlets NOTE Any RDMA related connection errors will be displayed as well Get WinEvent LogName Microsoft Windows SMBClient Operational Message match RDMA Mellanox Technologies 31 J WinOF VPI for Windows User Manual Rev 4 40 5 Driver Configuration Once you have installed Mellanox WinOF VPI package you can perform various modifications to your driver to make it suitable for your system s needs Changes made to the Windows registry happen immediately and no backup is automati m cally made Do not edit the Windows registry unless you are confident regarding the changes 5 1 Configuring the InfiniBand Driver 5 1 1 Modifying IPoIB Configuration gt To modify the IPoIB configuration after installation perform the following
43. to exchange default 65536 f freq dep How often the time stamp is taken a all Runs sizes from 2 till 223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 C report cycles Reports times in cpu cycle units default microseconds H report histogram Prints out all results default print summary only U report unsorted implies H Prints out unsorted results default sorted V version Displays version number g grh Uses GRH with packets mandatory for RoCE 8 4 7 ibv read bw This is a more advanced version of ib read bw and contains more flags and features than the older version and also improved algorithms ibv read bw calculates the BW of RDMA read between a pair of machines One acts as a server and the other as a client The client RDMA reads the server memory and calculate the BW by sampling the CPU each time it receive a suc cessfull completion The test supports a large variety of features as described below and has bet ter performance than ib send bw in Nahelem systems Read is availible only in RC connection mode as specified in the InfiniBand spec Mellanox Technologies 98 J ibv read bw i b port ib port WinOF VPI for Windows User Manual Rev 4 40 ibv_read_bw Synopsys d ib device o uts outstanding reads m tu mtu
44. your computer Mellanox Technologies 116 WinOF VPI for Windows User Manual Rev 4 40 e Mellanox ConnectX EN 10Gbit Ethernet Adapter X device detected that the link connected to port lt Y gt is up and has initiated normal operation e Mellanox ConnectX EN 10Gbit Ethernet Adapter X device detected that the link connected to port Y is down This can occur if the physical link is disconnected or damaged or if the other end port is down Mismatch in the configurations between the two ports may affect the performance When Using MSI X both ports should use the same RSS mode To fix the problem configure the RSS mode of both ports to be the same in the driver GUI e Mellanox ConnectX EN 10Gbit Ethernet Adapter X device failed to create enough MSI X vec tors The Network interface will not use MSI X interrupts This may affects the performance To fix the problem configure the number of MSI X vectors in the registry to be at least lt Y gt 10 3 Performance Troubleshooting Issue 1 Windows Settings Suggestion 1 In Windows 2012 when a kernel debugger is configured not necessarily physi cally connected flow control is disabled unless the following registry key is set reboot required after setting Registry Path HKLM SYSTEM CurrentControlSet Services NDIS Parameters Type REG DWORD Key name AllowFlowControlUnderDebugger Value 1 Suggestion 2 Go to Power Options in the Control Panel Make sure Maxi
45. 1 3408 Intel R 5520 5500 X58 I O Hub PCI Express Root Port 2 3409 jE Intel R 5520 5500 X58 1 0 Hub PCI Express Root Port 3 3404 gE Intel R 5520 5500 X58 I O Hub PCI Express Root Port 7 340E Intel R 5520 5500 58 I O Hub System Management Registers 342E pM Intel R 5520 5500 X58 I O Hub Throttle Registers 3438 pM Intel R 5520 5500 X58 I O Hub to ESI Port 3406 7 Intel R 5520 5500 X58 Physical and Link Layer Registers Port 0 3425 pM Intel R 5520 5500 X58 Routing and Protocol Layer Registers Port 0 3426 pM Intel R 5520 5500 X58 Trusted Execution Technology Registers 342F JE Intel R 82801 PCI Bridge 244E 1 Intel R Chipset QuickData Technology device 3429 Mi Intel R Chipset QuickData Technology device 342A gm Intel R Chipset QuickData Technology device 342B 1 Intel R Chipset QuickData Technology device 342C Intel R Chipset QuickData Technology device 3430 pl Intel R Chipset QuickData Technology device 3431 1 Intel R Chipset QuickData Technology device 3432 ME Intel R Chipset QuickData Technology device 3433 Intel R ICH10 Family PCI Express Root Port 1 3440 Intel R ICH10 Family PCI Express Root Port 5 3448 Intel R ICH10 Family SMBus Controller 3430 7 Intel R ICH10 LPC Interface Controller 3418 Ll Mellanox ConnectX 3 VPI MT04099 Network Adapter 1S Microsoft ACPI Compliant System pl Microsoft Generic IPMI Compliant Device Mellanox Technologies 33
46. 2 Creating a Load Balancing and Fail Over LBFO Bundle LBFO is used to balance the workload of packet transfers by distributing the workload over a bundle of network instances and to set a secondary network instance to take over packet indica tions and information requests if the primary network instance fails The following steps describe the process of creating an LBFO bundle Mellanox Technologies 19 J WinOF VPI for Windows User Manual Rev 4 40 Step 1 Display the Device Manager ral Device Manager Bel L File Action View Help EN BABA 1 Computer Ga Disk drives A Display adapters DVD CD ROM drives 15 Human Interface Devices C IDE ATAJATAPI controllers I Keyboards n Mice and other pointing devices MK Monitors X Network adapters X Broadcom Netxtreme Gigabit Ethernet y Broadcom Netxtreme Gigabit Ethernet 2 Mellanox Connectx 3 Ethernet Adapter E Mellanox Connectx 3 Ethernet Adapter 2 1 Ports COM amp LPT Processors E System devices Universal Serial Bus controllers o fs 4A A Step2 Right click a Mellanox ConnectX 10Gb Ethernet adapter under Network adapters list and left click Properties Select the LBFO tab from the Properties window It is not recommended to open the Properties window of more than one adapter simulta neously The LBFO dialog enables creating modifying or removing a bu
47. 411a08 SW Rack 3 ISR9024 Voltaire 9024D 0x0008f10400411a28 SW2 Rack 3 ISR9024 Voltaire 9024D 0x0008f10400411a34 SW3 Rack 3 ISR9024 Voltaire 9024D 0x0008f104004119d0 SW4 Rack 3 ISR9024 Voltaire 9024D 8 3 9 ibtracert ibtracert uses SMPs to trace the path from a source GID LID to a destination GID LID Each hop along the path is displayed until the destination is reached or a hop does not respond By using the m option multicast path tracing can be performed between source and destination nodes 8 3 9 1 ibtracert Synopsys ibtracert d ebug v erbose D irect L id e rrors u sage G uids orce n o info m mlid s smlid C ca name P ca port t imeout timeout ms V ersion node name map node name map h elp lt dest dr path lid guid lt startlid gt lt endlid gt 8 3 9 2 ibtracert Options The table below lists the various flags of the command Most OpenIB diagnostics take the following common flags The exact list of supported flags per utility can be found in the usage message and can be shown using the util_name h syntax Table 16 ibtracert Flags and Options Flag Description force f Force n no_info Simple format do not show additional information mlid m lt mlid gt Shows the multicast trace of the specified mlid Specifies a node name map The node name map file maps GUIDs to more user friendly names See Topology File Forma
48. AD SOR 77 Table 18 ibclearerrors Flags and Options 2 5 45 eund e UTER RA E 78 Table 19 ibstat Flags and Options iii RAWE Nue e YU AS Cea P Ho I 78 Table 20 vstat Flags and Options 2246 Med wwe pee OA I eh eke Peeks ted ES 79 Table 21 osmtest Flags and Options 2 gos eyes ROI eger sogar A ode 80 Table 22 ibaddr Flags and Options cesse ee ee Rhe REN x 82 Table 23 ibcacheedit Flags and Options scr pe RR eL ERE Ge ee ES 84 Table 24 1blinkinto Flags and Options 03 ey fais re Rer SEES 85 Table25 ibqueryerrors Flags and Options 40d dis The bird Ead TRES 86 Table 26 ibsysstat Flags and Options 0 cece cece tenets 88 Table 27 saquery Flags and Options osse Paes e Paw rea ei RR ei ewes 91 Table 28 smpdump Flags and Options socrus es eR io bias aos 93 Table 29 ib read bw Flags and Options 0 eee ee eee eee eee 95 Fable 30 ib read lat Flags and Options 3 24 3 400 e Reales in aid RR eae et 95 Table 31 ib send bw Flags and Options 0 0 cece eee e 96 Table 32 ib send lat Flags and Options 25e ee be eee ER ER 97 Table 33 ib write bw Flags and Options 0oo oooooomoomorrsrrorasrsnns 98 Table 34 ib write lat Flags and Options oc sitas tae o wae dae 99 Table 35 abv read bw Flags and Options 22a oue ARRA ii 100 Table 36 ibv read lat Flags and Options 2 0 0c eee eee eee 101 Table 37 1bv send bw Flags and Options ui Sa es do awa ans Phe eed esas 103 Table 38 ib
49. AN will be displayed in the following format Mellanox Virtual Miniport Driver VLAN lt name gt File Action View Help s gm EJ BH 8 FRB 4 ly WINDOWS 40BQ00M p E Computer b a Disk drives p KK Display adapters gt Gg IDE ATA ATAPI controllers 4 IEEE 1394 host controllers Texas Instruments 1394 OHCI Compliant Host Controller Keyboards f Mice and other pointing devices amp Monitors Network adapters Broadcom BCM5709C NetXtreme Il GigE NDIS VBD Client 48 Broadcom BCM5709C NetXtreme Il GigE NDIS VBD Client 49 IBM USB Remote NDIS Network Device y Mellanox ConnectX 3 Ethernet Adapter 2 Mellanox ConnectX 3 IPolB Adapter 5 Microsoft Kernel Debug Network Adapter T Ports COM amp LPT dh Print queues a Processors UP Security devices Storage controllers jE System devices ll ACPI Fixed Feature Button E Broadcom BCMS709C NetXtreme Il GigE 48 amp Broadcom BCM5709C NetXtreme Il GigE 49 E Composite Bus Enumerator E Direct memory access controller 1 Intel R 5520 5500 Physical and Link Layer Registers Port 1 3427 ll Intel R 5520 5500 Routing and Protocol Layer Register Port 1 3428 E Intel R 5520 5500 X58 1 0 Hub Control Status and RAS Registers 3423 E Intel R 5520 5500 X58 I O Hub GPIO and Scratch Pad Registers 3422 3 5 4 Removing a Port VLAN gt To remove a port VLAN perform the following steps Step 1 In the Device Manager window
50. CPI Fixed Feature Button E Broadcom BCM5709C NetXtreme GigE 48 j Broadcom BCM5709C NetXtreme Il GigE 49 E Composite Bus Enumerator E Direct memory access controller pM Intel R 5520 5500 Physical and Link Layer Registers Port 1 3427 ME Intel R 5520 5500 Routing and Protocol Layer Register Port 1 3428 jE Intel R 5520 5500 X58 1 0 Hub Control Status and RAS Registers 3423 j Intel R 5520 5500 X58 I O Hub GPIO and Scratch Pad Registers 3422 Mellanox Technologies 35 WinOF VPI for Windows User Manual Rev 4 40 Step 2 Right click a Mellanox network adapter under Network adapters list and left click Proper ties Select the Advanced tab from the Properties sheet Details Events Power Management General Advanced Information Performance I Driver The following properties are available for this network adapter Click the property you want to change on the left and then select its value on the right Property Value Bus master DMA Operations Enabled X Flow Control Header Data Split Interrupt Moderation Interrupt Moderation RX Packet Cc Interrupt Moderation RX Packet Ti Interrupt Moderation TX Packet Cc Interrupt Moderation TX Packet Tit IP 4 Checksum Offload Jumbo Packet Large Send Offload LSO Large Send Offload V2 IPv4 Large Send Offload V2 IPv6 Large Send Offload Version 1 IPwe Step 3 Modify configuration parame
51. D10 S11 137 53 1 Client side start b wait affinity 0X1 nd write bw s1048576 D10 C 11 137 53 1 8 4 13 2 nd write bw Options The table below lists the various flags of the command Table 41 nd write bw Flags and Options Flag Description h Shows the Help screen V Shows the version number p Connects to the port port default 68307 s msg size Exchanges the message size with default 65536B gt and it must not be combined with a flag Runs all the messages sizes from 1B to 8MB and it must not be combined with s flag n num of iterations The number of exchanges at least 2 the default is 100000 I max inline size The maximum size of message to send inline The default number is 128B D test duration in seconds Tests duration in seconds f margin time in seconds The margin time to avoid calculation and it must be less than half of the duration time Q CQ Moderation lt value gt The default number is 100 S lt server interface IP gt lt server side only must be last parameter gt C lt server interface IP gt lt client side only must be last parameter gt 8 4 14 nd write lat This test is used for performance measuring of RDMA Write requests in Microsoft Windows Operating Systems nd write lat is performance oriented for RDMA Write with minimum Mellanox Technologies 107 WinOF VPI for Win
52. Manual Rev 4 40 Single port traffic Improves performance for running single port traffic each time Dual port traffic Improves performance for running traffic on both ports simultaneously Forwarding traffic Improves performance for running scenarios that involve both ports for exam ple via IXIA Multicast traffic Improves performance when the main traffic runs on multicast Step 6 Click on Run Tuning button Clicking the Run Tuning button changes several registry entries described below and checks for system services that may decrease network performance It also generates a log including the applied changes Users can view this log to restore the previous values The log path is SHOMEDRIVES Windows System32 LogFiles PerformanceTunning log This tuning is required to be performed only once after the installation is completed and on one adapter only as long as these entries are not changed directly in the registry or by some other installation or script A reboot may be required for the changes to take effect ae 6 1 4 Tuning the Ethernet Network Adapter The Ethernet Network Adapter general tuning can be performed during installation by modifying some of Windows registries as explained in section Registry Tuning on page 32 Specific sce narios tuning can be set post installation manually gt To improve the network adapter performance activate the performance tuning tool as fol low
53. Mellanox TECHNOLOGIES WinOF VPI for Windows User Manual Rev 4 40 Last Updated July 09 2013 www mellanox com Rev 4 40 NOTE THIS HARDWARE SOFTWARE OR TEST SUITE PRODUCT PRODUCT S AND ITS RELATED DOCUMENTATION ARE PROVIDED BY MELLANOX TECHNOLOGIES AS IS WITH ALL FAULTS OF ANY KIND AND SOLELY FOR THE PURPOSE OF AIDING THE CUSTOMER IN TESTING APPLICATIONS THAT USE THE PRODUCTS IN DESIGNATED SOLUTIONS THE CUSTOMER S MANUFACTURING TEST ENVIRONMENT HAS NOT MET THE STANDARDS SET BY MELLANOX TECHNOLOGIES TO FULLY QUALIFY THE PRODUCTO S AND OR THE SYSTEM USING IT THEREFORE MELLANOX TECHNOLOGIES CANNOT AND DOES NOT GUARANTEE OR WARRANT THAT THE PRODUCTS WILL OPERATE WITH THE HIGHEST QUALITY ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT ARE DISCLAIMED IN NO EVENT SHALL MELLANOX BE LIABLE TO CUSTOMER OR ANY THIRD PARTIES FOR ANY DIRECT INDIRECT SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES OF ANY KIND INCLUDING BUT NOT LIMITED TO PAYMENT FOR PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY FROM THE USE OF THE PRODUCT S AND RELATED DOCUMENTATION EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE Mellano
54. R Mellanox Technologies 72 J WinOF VPI for Windows User Manual Rev 4 40 8 H 0008 10403960558 2 8 1040396055a MT23108 InfiniHost Mellanox Technologies lid 14 4xSDR 6 S 0008 10400410015 3 SW 61B4 Voltaire lid 3 4xSDR 12 H 0008 10403960558 1 8 10403960559 MT23108 InfiniHost Mellanox Technologies lid 10 4xSDR vendid 0x8f1 devid 0x5a05 switchguid 0x8f10400410015 8 10400410015 Switch 8 S 0008 10400410015 SW 6IB4 Voltaire base port 0 lid 3 lmc 0 6 H 0008 10403960984 1 8 10403960985 MT23108 InfiniHost Mellanox Technologies lid 16 4xSDR 4 H 005442b100004900 1 5442b100004901 MT23108 InfiniHost Mellanox Technologies lid 12 4xSDR 1 S 005442ba00003080 10 ISR9024 Voltaire lid 6 1xSDR 3 S 005442ba00003080 6 ISR9024 Voltaire lid 6 4xSDR vendid 0x2c9 devid 0x5a44 caguid 0x8f10403960984 Ca 2 H 0008 10403960984 MT23108 InfiniHost Mellanox Technologies 1 8 10403960985 S 0008 10400410015 6 lid 16 lmc 1 SW 61B4 Vol taire lid 3 4xSDR vendid 0x2c9 devid 0x5a44 caguid 0x5442b100004900 Ca 2 H 005442b100004900 MT23108 InfiniHost Mellanox Technologies 1 5442b100004901 S 0008 10400410015 4 lid 12 lmc 1 SW 61B4 Vol taire lid 3 4xSDR vendid 0x2c9 devid 0x5a44 caguid 0x8f10403961354 Ca 2 H 0008 10403961354 MT23108 InfiniHost Mellanox Technologies 1 8 10403961355 S 005442ba00003080 22
55. SM lid or by the SM direct routed path Using sminfo for any purposes other then simple query may result in a mal k function of the target SM Mellanox Technologies 75 J WinOF VPI for Windows User Manual Rev 4 40 8 3 10 1 sminfo Synopsys sminfo d ebug e rr_show s state p prio a activity D irect L id u sage G uid C ca name P ca port t imeout timeout ms V ersion h elp sm lid sm dr path modifier 8 3 10 2 sminfo Options The table below lists the various flags of the command Most OpenIB diagnostics take the following common flags The exact list of supported flags per utility can be found in the usage message and can be shown using the util name h syntax Table 17 sminfo Flags and Options Flag Description state s Sets SM state 0O notactive e 1 discovering e 2 standby e 3 master priority p Sets priority 0 15 activity a Sets activity count debug d ddd d d d Raises the IB debugging level Direct D Uses directed path address arguments The path is a comma separated list of out ports Examples e 0 self port 0 1 2 1 4 out via port 1 then 2 Lid L Uses LID address argument usage u Usage message errors e Shows send and receive errors timeouts and others Guid G Uses GUID address argument In most cases it is the Port GUID Example 0
56. Supported sAutomaticMigrationSupported IsSLMappingSupported IsSystemImageGUIDsupported IsCommunicatonManagement Supported IsVendorClassSupported IsCapabilityMaskNoticeSupported IsClientRegistrationSupported Diagecodesee near area mera eerie 0x0000 MkeyLeasePeriod 0 Tio calore MN ae Uds 1 acia sco cag peau ow e 1X or 4X LinkWidthSupported 1X or 4X arr Ward DAG GA Ci ETT I rere rane AX LinkSpeedSupported 2 5 Gbps or 5 0 Gbps AMS PAG Cie cece e TU E IM ORE Active PhysmnmkSbato d errr LinkUp ImkpownDeRSbdte P E T CET ELE Polling Protect Bitor e eT ener em 0 MEE A to Are Macr em 0 Tinks peeGACEMVes eec rr 5 0 Gbps InmssoecdBHablcd e eer ETT 2 5 Gbps or 5 0 Gbps Mellanox Technologies 64 J WinOF VPI for Windows User Manual Rev 4 40 2 Query SwitchInfo by GUID 3 Query Nodelnfo by direct route Mellanox Technologies 65 WinOF VPI for Windows User Manual Rev 4 40 Node info DR path slid 65535 dlid 65535 0 EEE OO erent 1 CaS SVE ESEE m s Ae ectetuer eps 1 Node PE RE ORTU TES Channel Adapter NumPOrtc te aaa 2 SvstemG dd tT 0x0002c9030000103b O TCR NR ieee 0x0002c90300001038 POLEGUO oo Ss 0x0002c90300001039 Ie oo ST ona 128 o E 0x634a AS oc aaa 0x000000a0 TiocalPoro e eT Es 1 A eee eI UU 0x0002c9 8 3 6 perfquery Queries InfiniBand ports performance and error counters Optionally it displays aggregated counters for all ports of a node
57. V version Displays version number WinOF VPI for Windows User Manual Rev 4 40 Table 30 ib_read_lat Flags and Options Flag Description g grh Use GRH with packets mandatory for RoCE 8 4 3 ib send bw ib send bw calculates the BW of SEND between a pair of machines One acts as a server and the other as a client The server receive packets from the client and they both calculate the through put of the operation The test supports features such as Bidirectional on which they both send and receive at the same time change of mtu size tx size number of iteration message size and more Using the a provides results for all message sizes 8 4 3 1 ib send bw Synopsys ib send bw i b port ib port c onnection type RC UC UD m tu mtu size s ize message size t x depth tx size n iteration num p ort PDT port b idirectional a 11 V ersion 8 4 3 2 ib send bw Options The table below lists the various flags of the command Table 31 ib send bw Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 c connection lt RC UC UD gt Connection type RC UC UD de
58. X adapters to this bundle LBFO should be used to increase the system reliability upon a link failure and to balance the workload y eee emm TA Cancel Mellanox Technologies 21 WinOF VPI for Windows User Manual Rev 4 40 The newly created virtual Mellanox adapter representing the bundle will be displayed by the Device Manager under Network adapters in the following format see the figure below Mellanox Virtual Miniport Driver Team bundle name Device Manager i xi Fie Action View Help e99 m HSE z a Computer y Disk drives Me Display adapters Eef DVD CD ROM drives Floppy drive controllers 1 4 Human Interface Devices g IDE ATA ATAPI controllers IEEE 1394 Bus host controllers lt 2 Keyboards n Mice and other pointing devices e Monitors Network adapters x Broadcom BCM5708C Netxtreme II GigE NDIS VBD Client x Broadcom BCM5708C Netxtreme II GigE NDIS VBD Client 2 Mellanox ConnectX MT25418 DDR Channel Adapter X Mellanox ConnectX 10Gb Ethernet Adapter Mellanox Connectx 10Gb Ethernet Adapter 2 x Mellanox Virtual Miniport Driver Team A gt i Other devices bp Base System Device E I Ports COM amp LPT D Processors 4 lt gt Storage controllers System devices j 8 Universal Serial Bus controllers E Rm 0 44 0 8 gt To modify an existing bundle perform the following a Select the desired bundle and click
59. abric pm Dump all the fabric links pm Counters into ibdiagnet pm pc Reset all the fabric links pmCounters P lt PM lt Trash gt gt If any of the provided pm is greater then its provided value print it to screen lw lt 1x 4x 12x gt Specifies the expected link width s lt 2 5 5 10 gt Specifies the expected link speed skip lt skip option s gt Skip the executions of the selected checks Skip options one or more can be specified dup_guids zero_guids pm logical_state part ipoib all Mellanox Technologies 55 J WinOF VPI for Windows User Manual Rev 4 40 8 3 2 2 ibdiagnet Output Files Table 9 ibdiagnet Output Files Output File Description ibdiagnet log A dump of all the application reports generate according to the provided flags Ibdiagnet lst List of all the nodes ports and links in the fabric ibdiagnet fdbs A dump of the unicast forwarding tables of the fabric switches Ibdiag A dump of the multicast forwarding tables of the fabric switches net mcfdbs Ibdiag In case of duplicate port node Guids these file include the map between masked Guid net masks and real Guids ibdiagnet sm List of all the SM state and priority in the fabric ibdiagnet pm A dump of the pm Counters values of the fabric links ibdiagnet pkey A dump of the the existing partitions and their member host ports ibdiagnet mcg A dump of the multicast groups their properties and member h
60. ace Card SW Software VPI Virtual Protocol Interconnect IPoIB IP over InfiniBand PFC Priority Flow Control PR Path Record RDS Reliable Datagram Sockets RoCE RDMA over Converged Ethernet SL Service Level MPI Message Passing Interface EoIB Ethernet over Infiniband QoS Quality of Service ULP Upper Level Protocol VL Virtual Lane Mellanox Technologies 11 J WinOF VPI for Windows User Manual Rev 4 40 1 Introduction This User Manual addresses the Mellanox WinOF driver Rev 4 40 package distributed for Windows Server 2012 64 bit only Windows Server 2008 R2 64 bit only Mellanox WinOF is composed of several software modules that contain an InfiniBand and Ether net driver The Mellanox WinOF driver supports Infiniband and 40 10GB Ethernet The port type is determined upon boot based on card s capability and user setting 1 1 Mellanox VPI Package Contents The Mellanox OFED for Windows WinOF package contains the following components Core and ULPs InfiniBand network adapter cards low level drivers mlx4 InfiniBand Access Layer IBAL Ethernet driver ETH e IP over InfiniBand IPoIB Upper Layer Protocols ULPs e NetworkDirect ND Utilities SW Development Kit SDK Documentation Mellanox Technologies 12 J WinOF VPI for Windows User Manual Rev 4 40 2 Firmware Upgrade The adapter card may not have been shipped with the latest firmware version The section below
61. achine received NAKs indicating OOS on the receiving side Responder out of order sequence received Number of Out of Sequence packet received when the local machine receives inbound traffic i e the number of times the local machine received messages that are not consecutive Requester resync Number of resync operations when the local machine generates outbound traffic Responder resync Number of resync operations when the local machine receives inbound traffic Requester Remote operation errors Number of remote operation errors when the local machine generates out bound traffic i e NAK was received indicating that the other end encountered an error that prevented it from completing the request Requester transport retries exceeded errors Number of transport retries exceeded errors when the local machine gen erates outbound traffic Requester RNR NAK retries exceeded errors Number of RNR Receiver Not Ready NAKs retries exceeded errors when the local machine generates outbound traffic Mellanox Technologies 49 J WinOF VPI for Windows User Manual Rev 4 40 Table 6 Mellanox Adapter Diagnostics Counters Mellanox Adapter Diagnostics Counters Description Bad multicast received Number of bad multicast packet received Discarded UD packets Number of UD packets silently discarded on the receive queue due to lack of receives descriptor Discarded UC packet
62. age Contents ssseeeeeeee eens 12 Chapter2 Firmware Upgrade epe seo os le ner kh hao rm ne ae a 13 2 1 Downloading Mellanox Firmware Tools 0 00 c eee eens 13 2 2 Downloading Firmware lessen 14 2 3 Upgrading Firmware 0 ccc cee cence nent e eens 14 2 3 1 Upgrading Firmware Manually 20 0 0 cece eese 14 Chapter Driver Features o oss see e Ser RS ean i sw OE soc ar ocean A oe 15 3 1 Hyper with VMQ eos ESA eR Aaa RATS C Urs 15 3 2 Header Data plis 4 wide ich a s xor aia Sew a ieee a Wate data el REG 15 3 3 Receive Side Scaling RSS 06 eet eens 15 3 4 Port Configuration eoe ens wo ale ard ond ale a eae tle sper ager es 16 341 Auto Sensing ues eye e et te dpt deett as 16 3 4 2 Port Protocol Configuration oooooooorrrrrorr eee 17 3 5 Load Balancing Fail Over LBFO and VLAN sslslssleses esses 19 375 1 Adapter Teaming ne oU ense atti eda ni 19 3 5 2 Creating a Load Balancing and Fail Over LBFO Bundle 19 3 5 3 Creating a Port VLAN ssssesssesee e ene n eens 22 3 5 4 Removing a Port VLAN 0 cece e 25 3 6 RDMA over Converged Ethernet ROCE 00 0000 cece eee 26 3 6 1 RRoCE Overview RR a e kanes 26 3 6 2 RoCE Configuration 0 cece cece cee eee ehh he 26 3 6 3 Configuring SwitchX Based Switch System 2 0 0 cee ee eee 28 3 64 Configuring Router PFC only 0 c
63. ags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 0 outs lt num gt The number of outstanding read atom default 4 Size lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 Mellanox Technologies 93 J WinOF VPI for Windows User Manual Rev 4 40 Table 29 ib_read_bw Flags and Options Flag Description b bidirectional Measures bidirectional bandwidth default unidirectional V version Displays version number g grh Use GRH with packets mandatory for RoCE 8 4 2 ib read lat ib read lat calculates the latency of RDMA read operation of message sizeB between a pair of machines One acts as a server and the other as a client They perform a ping pong benchmark on which one side RDMA reads the memory of the other side only after the other side have read his memory Each of the sides samples the CPU clock each time they read the other side memory in order to calculate latency Read is availible only
64. bus interface from the Device Manager Hence if you replace cables during the runtime the NIC will not perform Auto Sensing For further information on how to configure it please refer to Section 3 4 2 Port Protocol Con figuration on page 17 WinOF VPI for Windows User Manual Rev 4 40 3 4 2 Port Protocol Configuration Step 1 Display the Device Manager and expand System devices File Action View Help e 9 m E ce S US 4 Ey WINDOWS 40BQ0QM p E Computer b Disk drives WS Display adapters b cg IDE ATA ATAPI controllers Q IEEE 1394 host controllers amp Texas Instruments 1394 OHCI Compliant Host Controller Keyboards n Mice and other pointing devices amp Monitors Network adapters amp Broadcom BCMS5709C NetXtreme Il GigE NDIS VBD Client 48 Broadcom BCM5709C NetXtreme Il GigE NDIS VBD Client 49 amp IBM USB Remote NDIS Network Device y Mellanox ConnectX 3 Ethernet Adapter 2 EP Mellanox ConnectX 3 IPolB Adapter 5 Microsoft Kernel Debug Network Adapter 17 Ports COM amp LPT p dh Print queues gt BB Processors b DP Security devices b Storage controllers a jE System devices ll ACPI Fixed Feature Button amp Broadcom BCM5709C NetXtreme Il GigE 48 E Broadcom BCM5709C NetXtreme Il GigE 49 b Composite Bus Enumerator amp Direct memory access controller E Intel R 5520 5500 Physical and Link Layer Registers Port 1 3427 Intel R 5520 5500 Routing and Protocol Layer Re
65. calculate latency Read is availible only in RC connection mode as specified in InfiniBand spec 8 4 8 1 ibv read lat Synopsys ibv read lat i b port ib port m tu mtu size s ize message size t x depth tx size I nline size inline size u qp timeout S L sl type d ib device name x gid index n iteration num o uts outstanding reads e vents use events p ort PDT port a 11 V ersion report cycles H report histogram U report unsorted F CPU freq fail 8 4 8 2 ibv read lat Options The table below lists the various flags of the command Table 36 ibv read lat Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 0 outs lt num gt The number of outstanding read atom default for hermon 16 others 4 SIZe lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 u qp timeout lt timeout gt QP timeout The timeout value is 4 usec 2 timeout default 14 S sl lt sl gt The ser
66. cc cece eens 29 Chapter 4 Deploying Windows Server 2012 with SMB Direct 30 4 COVE out EH E tec eate ha te ah eder nb RD A Bhar Oia 30 4 2 Hardware and Software Prerequisites 0 0 e eect ees 30 4 3 SMB Configuration Verification 0 cee eee eens 30 4 3 1 Verifying SMB Configuration 0 0 0 ees 30 4 3 2 Verifying SMB Connection 0 cece teens 31 4 4 Verifying SMB Events that Confirm RDMA Connection 31 Chapter 5 Driver Configuration 0 cc ccc ccc ccc cece eee cece nnn 32 5 1 Configuring the InfiniBand Driver 0 00 00 eee 32 5 1 1 Modifying IPoIB Configuration 0 eee eee 32 Mellanox Technologies 3 J WinOF VPI for Windows User Manual Rev 4 40 5 1 2 Displaying Adapter Related Information 00 cece eee eee 32 5 2 Configuring the Ethernet Driver 00 00 c eee eee een 35 Chapter 6 Performance Tuning oro ere ne hr exe hne oh e OT 6 1 General Performance Optimization and Tuning 0 0000 37 6 1 1 Registry T ning Pesos or gite aee an tee grins qun nni 37 6 012 Enable RSS rer r r a env eet ede e nek s 37 6 1 3 Tuning the IPoIB Network Adapter 0 0 eee eee eee 37 6 1 4 Tuning the Ethernet Network Adapter o oo oooccoccooccocccoccocc 38 6 2 Application Specific Optimization and Tuning 0 0000000 43 6 2 1 Ethernet Performance TuUNiN8 o o
67. ch R This option is obsolete and does nothing load cache lt filename gt Loads and use the cached ibnetdiscover data stored in the speci fied filename May be useful for outputting and learn ing about other fabrics or a previous state of a fabric Can not be used if user specifies a direct route path See ibnetdiscover for information on caching ibnetdiscover output diff lt filename gt Loads cached ibnetdiscover data and do a diff comparison to the current network or another cache A special diff output for iblinkinfo output will be displayed showing differences between the old and current fabric links Be default the fol lowing are comparedfor differences port connections and port state See ibnetdiscover for information on caching ibnetdiscover output Mellanox Technologies 84 J WinOF VPI for Windows User Manual Rev 4 40 Table 24 iblinkinfo Flags and Options Flags Description diffcheck lt key s gt Specifies what diff checks should be done in the diffoption above Comma separate multiple diff check key s The available diff checks are port port connections state port state lid lids nodedesc node descriptions If port is specified alongside lid or nodedesc remote port lids and node descriptions will also be compared filterdownports lt filename gt Filters downports indicated in a ibnetdiscover cache If a port was previously indicated as down in the specified cac
68. d for during inventory file build default to 100 g guid This option specifies the local port GUID value with which OpenSM should bind OpenSM may be bound to port at a time If GUID given is 0 OpenSM displays a list of possible port GUIDs and waits for user input Without g OpenSM trys to use the default port p port This option displays a menu of possible local port GUID values with which osmtest could bind 1 Inventory This option specifies the name of the inventory file Normally osmtest expects to find an inventory file which osmtest uses to validate real time information received from the SA during testing If i is not specified osmtest defaults to the file osmtest dat See c option for related information stress This option runs the specified stress test instead of the normal test suite Stress test options are as follows OPT Description sl Single MAD RMPP response SA queries 82 Multi MAD RMPP response SA queries 83 Multi MAD RMPP Path Record SA queries s4 Single MAD non RMPP get Path Record SA queries Without s stress testing is not performed M Multicast_ Mode This option specify length of Multicast test OPT Description M1 Short Multicast Flow default single mode M2 Short Multicast Flow multiple mode M3 Long Multicast Flow single mode M4 Long Multicast Flow multiple mode Single mode Osmtest is tested alone with no oth
69. debugging level Can be used several times ddd or d d d e shows send and receive errors timeouts and oth ers h shows the usage message V Increases the application verbosity level Can be used several times vv or v v v V shows the version info Addressing Flags Description D Uses directed path address arguments The path is a comma separated list of out ports Examples 0 self port 0 1 2 1 4 out via port 1 then 2 G Uses GUID address argument In most cases it is the Port GUID Example 0x08f1040023 s lt smlid gt Uses smlid as the target lid for SM SA queries Other Common Flags Description C lt ca_name gt Uses the specified ca_name P lt ca_port gt Uses the specified ca_port t lt timeout_ms gt Overrides the default timeout for the solicited mads 8 3 15 3 Multiple CA Multiple Port Support When no IB device or port is specified the port to use is selected by the following criteria 1 The first port that is ACTIVE 2 If not found the first port that is UP physical link up If a port and or CA name is specified the user request is attempted to be fulfilled and will fail if it is not possible Mellanox Technologies 82 J WinOF VPI for Windows User Manual Rev 4 40 Examples ibaddr local port s address ibaddr 32 show lid range and gid of lid 32 ibaddr G 0x8f1040023 same but using guid address ibaddr 1 32 show lid range only ibaddr L 32 show deci
70. dix Synopsys on page 40 Section on page 14 Section 3 6 2 RoCE Configuration on page 26 Section 6 4 Adapter Proprietary Performance Counters on page 46 Rev 4 2 October 20 2012 Added the following sections e Section 4 Deploying Windows Server 2012 with SMB Direct on page 30 and its subsections Section 3 2 Header Data Split on page 15 e Section 8 2 part man Virtual IPoIB Port Cre ation Utility on page 53 Updated Section 6 Performance Tuning on page 37 Rev 3 2 0 July 23 2012 Nochanges Rev 3 1 0 May 21 2012 Added section Tuning the IPoIB Network Adapter Added section Tuning the Ethernet Network Adapter Added section Performance tuning tool application e Removed section Tuning the Network Adapter Removed section part man e Removed section ibdiagnet Mellanox Technologies 8 J WinOF VPI for Windows User Manual Rev 4 40 Table 1 Document Revision History Document Revision Date Changes Rev 3 0 0 February 08 2012 Added section RDMA over Converged Ethernet RoCE and its subsections e Added section Hyper V with VMQ Added section Network Driver Interface Specification NDIS Added section Header Data Split Added section Auto Sensing Added section Adapter Teaming Added section Port Protocol Configuration Added section Advanced Configuration for InfiniBand Driver Added section Advanced Configuration for Etherne
71. dows User Manual Rev 4 40 latency and runs over Microsoft s NetworkDirect standard The level of customizing for the user is relatively high User may choose to run with a customized message size customized number of iterations or alternatively customized test duration time nd_write_lat runs with all message sizes from 1B to 4MB powers of 2 message inlining CQ moderation 8 4 14 1 nd_write_lat Synopsys running on specific single core Server side start b affinity 0X1 nd write lat s1048576 D10 S11 137 53 1 Client side start b wait affinity 0X1 nd write lat s1048576 D10 C 11 137 53 1 8 4 14 2 nd write lat Options The table below lists the various flags of the command Table 42 nd write lat Options Flag Description h Shows the Help screen V Shows the version number p Connects to the port lt port gt default 68307 s msg size Exchanges the message size with default 65536B gt and it must not be combined with a flag a Runs all the messages sizes from 1B to 8MB and it must not be combined with s flag n num of iterations The number of exchanges at least 2 the default is 100000 I max inline size The maximum size of message to send inline The default number is 128B D test duration in seconds Tests duration in seconds f margin time in seconds The margin time to avoid calculation and it must be less than half
72. dump Options Table 28 smpdump Flags and Options Flags Description attr IBA attribute ID for SM attribute mod IBA modifier for SM attribute Debugging Flags Description NOTE Most OpenIB diagnostics take the following common flags The exact list of supported flags per utility can be found in the usage message and can be shown using the util_name h syntax d Raises the IB debugging level Can be used several times ddd or d d d e Shows send and receive errors timeouts and others h Shows the usage message V Increases the application verbosity level Can be used several times vv or v v v V Shows the version info Addressing Flags Description D Uses directed path address arguments The path is a comma separated list of out ports Examples 0 Fself port 0 1 2 1 4 out via port 1 then 2 G Uses GUID address argument In most cases it is the Port GUID Example 0x08f1040023 s lt smlid gt Uses smlid as the target lid for SM SA queries Flags Description C lt ca_name gt Uses the specified ca_name P lt ca_port gt Uses the specified ca_port t lt timeout_ms gt Overrides the default timeout for the solicited mads 8 3 22 3 Multiple CA Multiple Port Support When no IB device or port is specified the port to use is selected by the following criteria 1 The first port that is ACTIVE 2 If not found the first port that
73. e of the following Old Firmware version Misconfigured Flow control Global pause or PFC is configured wrong on the hosts routers and switches See Section 3 6 RDMA over Converged Ethernet RoCE on page 26 e CPU power options are not set to Maximum Performance Issue3 QoS and Flow control Flow control settings can greatly affect results In order to see configured settings for all of the QoS options open a PowerShell prompt and use Get NetAdapterQos To achieve maximum performance all of the following must exist 1 All of the hosts switches and routers should use the same matching flow control settings If Global pause is used all devices must be configured for it If PFC Prior ity Flow control is used all devices must have matching settings for all priorities 2 ETS settings that limit speed of some priorities will greatly affect the output results 3 Make sure Flow Control is enabled on the Mellanox Interfaces enabled by default Go to the device manager right click the Mellanox interface go to Advanced and make sure Flow control is enabled for both TX and RX 4 To eliminate QoS and Flow control as the performance degrading factor set all devices to run with Global Pause and rerun the tests e Set Global pause on the switches routers Run Disable NetAdapterQos on all of the hosts in a PowerShell window Mellanox Technologies 118 WinOF VPI for Windows User Manual Rev 4 40 11 Documentation
74. e upper threshold for payload MTU is 4092B and not 4096B The MTU of a network can have a substantial impact on performance A 4K MTU size improves performance for short messages since NDIS can coalesce a small message into a larger one Valid MTU values range for an Ethernet driver is between 614 and 9614 Valid MTU values range for an IPoIB driver is between 1500 and 4092 All devices on the same physical network or on the same logical network must have the same MTU Receive Buffers The number of receive buffers default 1024 Send Buffers The number of sent buffers default 2048 Performance Options Configures parameters that can improve adapter performance nterrupt Moderation Moderates or delays the interrupts generation Hence optimizes network throughput and CPU uti lization default Enabled When the interrupt moderation is enabled the system accumulates interrupts and sends a single interrupt rather than a series of interrupts An interrupt is generated after receiving 5 packets or after 10ms from the first packet received It improves performance and reduces CPU load however it increases latency When the interrupt moderation is disabled the system generates an interrupt each time a packet is received or sent In this mode the CPU utilization data rates increase as the system handles a larger number of interrupts However the latency decreases as the packet is handled faster Receive Side Scaling
75. ease perform the steps below Step 1 Disable all other priorities PS Disable NetQosFlowControl 0 1 2 4 5 6 7 Step 2 Enable QoS on the relevant interface PS Enable NetAdapterQos InterfaceAlias Ethernet 4 To enable Priority Flow Control PFC on the specific priority 3 run PS Enable NetQosFlowControl Priority 3 Mellanox Technologies 27 J WinOF VPI for Windows User Manual Rev 4 40 3 6 8 Configuring SwitchX Based Switch System To enable RoCE the SwitchX should be configured as follows Ports facing the host should be configured as access ports and either use global pause or PCP for priority flow control Ports facing the network should be configured as trunk ports and use Port Control Pro tocol PCP for priority flow control 3 6 3 4 Configuring SwitchX amp Step 1 Set the ports that face the hosts as trunk config 4 interface ethernet 1 19 config interface eth 1 19 switchport mode trunk Step 2 Create LAG for ports that face the network config interface port channel 55 Step3 Assign ports to LAG ports that connected to switches config interface ethernet 1 20 channel group 55 mode active Step 4 Enable trunk on all ports that belong to LAG port channel 55 config interface port channel 55 switchport mode trunk Step 5 Enable IP routing Should be configured when working with L3 only config ip routing Step 6 Create a VLAN config vlan 55 Step 7 Create a VLAN in
76. echnologies 61 J WinOF VPI for Windows User Manual Rev 4 40 Unicast lids 0x3 0x7 of switch Lid 2 guid 0x0002c902fffff00a MT47396 Infiniscale III Mellanox Technologies Lid Out Destination Port Info 0x0003 021 Switch portguid 0x000b8cffff004016 MT47396 Infiniscale III Mellanox Technologies 0x0006 007 Channel Adapter portguid 0x0002c90300001039 sw137 HCA 1 0x0007 021 Channel Adapter portguid 0x0002c9020025874a sw157 HCA 1 3 valid lids dumped 3 Dump all Lids with valid out ports of the switch with portguid 0x000b8cff f 004016 gt ibroute G 0Ox000b8cffff004016 Unicast lids 0x0 0x8 of switch Lid 3 guid 0x000b8cffff004016 MT47396 Infiniscale III Mellanox Technologies Lid Out Destination Port Info 0x0002 023 Switch portguid 0x0002c902fffff00a MT47396 Infiniscale III Mellanox Technologies 0x0003 000 Switch portguid 0x000b8cffff004016 MT47396 Infiniscale III Mellanox Technologies 0x0006 023 Channel Adapter portguid 0x0002c90300001039 sw137 HCA 1 0x0007 020 Channel Adapter portguid 0x0002c9020025874a sw157 HCA 1 0x0008 024 Channel Adapter portguid 0x0002c902002582cd sw136 HCA 1 5 valid lids dumped 4 Dump all non empty mlids of switch with Lid 3 ibroute M 3 Multicast mlids 0xc000 0xc3ff of switch Lid 3 guid 0x000b8cffff004016 MT47396 Infiniscale III Mellanox Technologies 0 al 2 Borse UI ENS EOS OOO ES RO Mo a MLid 0xc000 0xc001
77. efault 100 n iters lt iters gt The number of exchanges at least 2 default 1000 u qp timeout lt timeout gt QP timeout The timeout value is 4 usec 2 timeout default 14 S sl lt sl gt The service level default 0 x gid index lt index gt Test uses GID with GID index taken from command line for RDMAoE index should be 0 b bidirectional Measures bidirectional bandwidth default unidirectional V version Displays version number g post lt num of posts gt The number of posts for each qp in the chain default tx depth e events Inactive during CQ events default poll F CPU freq The CPU frequency test It is active even if the cpufreq ondemand module is loaded r rx depth lt dep gt Makes rx queue bigger than tx default 600 I inline_size lt size gt The maximum size of message to be sent in inline mode default 0 N no peak bw Cancels peak bw calculation default with peak bw g meg lt num_of_qps gt Sends messages to multicast group with lt num_of_qps gt qps attached to it M MGID lt multicast_gid gt In case of multicast uses lt multicast_gid gt as the group MGID The format must be 255 1 X X X X X X X X X X X X X X where X is a vlaue within 0 255 R rdma_cm Connects QPs with rdma_cm and run test on those QPs Z com_rdma_cm Communicates with rdma_cm module to exchange data use regular QPs Q cq
78. ent pause frames The number of pause frames that were sent to priority i The untagged instance indicates global pause that were sent Per prio sent pause duration The total duration in microseconds of pause that was sent to the other end to freeze the transmission on priority 1 Per prio rcv pause frames The number of pause frames that were received for priority 1 The untagged instance indicates global pause that were received Per prio rcv pause duration The total duration in microseconds of pause that was requested by the other end to freeze transmission on priority 1 Mellanox Technologies 51 J WinOF VPI for Windows User Manual Rev 4 40 7 OpenSM Subnet Manager OpenSM v3 3 11 is an InfiniBand Subnet Manager In order to operate one host machine or more in the InfiniBand cluster at least one Subnet Manger is required in the fabric cluster Otherwise we recommend using OpenSM from FabricIT EFM or UFM or P Please use the embedded OpenSM in the WinOF package for testing purpose and small a MLNX OS OpenSM can run as a Windows service and can be started manually from the following directory lt installation_directory gt tools OpenSM as a service will use the first active port unless it receives a specific GUID OpenSM can be registered as a service from either the Command Line Interface CLI or the PowerShell The following are commands used from the CLI gt To register it a
79. er apps that interact with OpenSM MC Multiple mode Could be run with other apps using MC with OpenSM Without M default flow testing is performed t This option specifies the time in milliseconds used for transaction timeouts Specifying t 0 disables timeouts Without t OpenSM defaults to a timeout value of 200 milliseconds 1 log file This option defines the log to be the given file By default the log goes to stdout V This option increases the log verbosity level The v option may be specified multiple times to further increase the verbosity level See the vf option for more information about log verbosity V This option sets the maximum verbosity level and forces log flushing The V is equivalent to vf0xFF d 2 See the vf option for more information about log verbosity Mellanox Technologies 80 J WinOF VPI for Windows User Manual Rev 4 40 Table 21 osmtest Flags and Options Flag Description vf This option sets the log verbosity level A flags field must follow the D option A bit set clear in the flags enables disables a specific log level as follows BIT LOG LEVEL ENABLED 0x01 ERROR error messages 0x02 INFO basic messages low volume 0x04 VERBOSE interesting stuff moderate volume 0x08 DEBUG diagnostic high volume 0x10 FUNCS function entry exit very high volume 0x20 FRAMES dumps all SMP and GMP frames 0x40 ROUTING dump FDB
80. es in the range of 1 to FDBTop 8 3 4 4 ibroute Applicable Hardware InfiniBand switches 8 3 4 2 ibroute Synopsis ibroute h d v V a n D G M L e u s lt smlid gt V C ca name P ca port t timeout ms V dest dr path 1id guid lt startlid gt lt endlid gt 8 3 4 3 ibroute Options The table below lists the various ibroute flags of the command Table 11 ibroute Flags and Options Flag Description h help Print the help menu d debug Raise the IB debug level May be used several times for higher debug levels ddd or d d d a all Show all LIDs in range including invalid entries v verbose Increase verbosity level May be used several times for additional verbos ity vvv or v v v V version Show version info Mellanox Technologies 60 J WinOF VPI for Windows User Manual Rev 4 40 Table 11 ibroute Flags and Options Flag Description n no dests Do not try to resolve destinations D Direct Use directed path address arguments The path is a comma separated list of out ports Examples 0 self port 0 1 2 1 4 out via port 1 then 2 G Guid Use GUID address argument In most cases it is the Port GUID Exam ple 0x08f1040023 M Multicast Show multicast forwarding tables The parameters lt startlid gt and lt endlid gt specify the MLID
81. ets received errors Packets Received Discarded Shows the number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher layer protocol One possible reason for discarding such a packet could be to free up buffer space 6 4 1 2 Proprietary Mellanox Adapter Diagnostics Counters Proprietary Mellanox adapter diagnostics counter set consists of the NIC diagnostics These counters collect information from ConnectX 3 and ConnectX 3Pro firmware flows Table 6 Mellanox Adapter Diagnostics Counters Mellanox Adapter Diagnostics Counters Description Requester length errors Number of local length errors when the local machine generates outbound traffic Responder length errors Number of local length errors when the local machine receives inbound traffic Requester QP operation errors Number of local QP operation errors when the local machine generates outbound traffic Responder QP operation errors Number of local QP operation errors when the local machine receives inbound traffic Requester protection errors Number of local protection errors when the local machine generates out bound traffic Mellanox Technologies 48 J WinOF VPI for Windows User Manual Rev 4 40 Table 6 Mellanox Adapter Diagnostics Counters Mellanox Adapter Diagnostics Counters Description Resp
82. fault RC Size lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 2423 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 b bidirectional Measures bidirectional bandwidth default unidirectional V version Displays version number g grh Use GRH with packets mandatory for RoCE 8 4 4 ib send lat ib send lat calculates the latency of sending a packet in message sizeB between a pair of machines One acts as a server and the other as a client They perform a ping pong benchmark on Mellanox Technologies 95 J WinOF VPI for Windows User Manual Rev 4 40 which you send packet only if you receive one Each of the sides samples the CPU each time they 8 4 4 1 receive a packet in order to calculate the latency ib_send_lat Synopsys ib send lat i b port ib port S ize message size t x depth tx size PDT port a 11 V ersion c onnection type RC UC UD m tu mtu size n iteration num p ort C report cycles H report histogram U report unsorted 8 4 4 2 ib send lat Options The table below lists the various flags of the command 8 4 5 Table 32 ib send lat Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device gu
83. fload Options Allows you to specify which TCP IP offload settings are handled by the adapter rather than the oper ating system Enabling offloading services increases transmission performance as the offload tasks are performed by the adapter hardware rather than the operating system Thus freeing CPU resources to work on other tasks Pv4 Checksums Offload Enables the adapter to compute IPv4 checksum upon transmit and or receive instead of the CPU default Enabled TCP UDP Checksum Offload for IPv4 packets Enables the adapter to compute TCP UDP checksum over IPv4 packets upon transmit and or receive instead of the CPU default Enabled TCP UDP Checksum Offload for IPv6 packets Enables the adapter to compute TCP UDP checksum over IPv6 packets upon transmit and or receive instead of the CPU default Enabled Large Send Offload LSO Allows the TCP stack to build a TCP message up to 64KB long and sends it in one call down the stack The adapter then re segments the message into multiple TCP packets for transmission on the wire with each pack sized according to the MTU This option offloads a large amount of kernel processing time from the host CPU to the adapter IB Options Configures parameters related to InfiniBand functionality SA Query Retry Count Sets the number of SA query retries once a query fails The valid values are 1 64 default 10 SA Query Timeout Sets the waiting timeout in millisecond of an
84. for later analysis load cache lt filename gt Loads and use the cached ibnetdiscover data stored in the specified filename May be useful for outputting and learning about other fab rics or a previous state of a fabric diff lt filename gt Loads cached ibnetdiscover data and do a diff comparison to the cur rent network or another cache A special diff output for ibnetdiscover output will be displayed showing differences between the old and cur rent fabric By default the following are compared for differences switches channel adapters routers and port connections diffcheck lt key s gt Specifies what diff checks should be done in the diff option above Comma separate multiple diff check key s The available diff checks are sw switches ca channel adapters router routers port port connections lid lids nodedesc node descriptions Note that port lid and nodedesc are checked only for the node types that are specified e g sw ca router If port is specified alongside lid or nodedesc remote port lids and node descriptions will also be com pared p ports Obtains a ports report which is a list of connected ports with relevant information like LID port num GUID width speed and NodeDe scription m max_hops Reports max hops discovered debug d ddd d d d Raises the IB debugging level eITOIS Shows send and receive errors timeouts and
85. g Systems support NDIS6 2 RssBaseProcNumber MaxRssProcessors In Operating Systems support NDIS6 3 NumRSSQueues RssMaxProcNumber f Forwarding traffic scenario This option must be followed by two connection names The tuning in this case is code pendent This option automatically sets SendCompletionMethod 1 e RecvCompletionMethod 0 ReceiveBuffers 4096 UseRSSForRawIP 0 UseRSSForUDP 0 Additionally this option chooses the best processors to assign to DefaultRecvRingProcessor C xInterruptProcessor TxForwardingProcessor In Operating Systems support NDIS6 2 RssBaseProcNumber MaxRssProcessors In Operating Systems support NDIS6 3 NumRSSQueues RssMaxProcNumber m Manual configuration This option must be followed by one connection name This option assigns the provided base and number of CPUs to RssBaseProcNumber e MaxRssProcessors Additionally this option assigns the following with processors inside the range DefaultRecvRingProcessor TxInterruptProcessor Mellanox Technologies 41 J WinOF VPI for Windows User Manual Rev 4 40 Flag Description r Restore default settings This option can be followed by one or two connection names This option automatically sets the driver registry values back to their default values SendCompletionMethod 0 e RecvCompletionMethod 2 e ReceiveBuffers 1024 UseRSSForRawIP 1 DefaultRecvRingProces
86. gister Port 1 3428 amp Intel R 5520 5500 X58 1 0 Hub Control Status and RAS Registers 3423 pM Intel R 5520 5500 X58 I O Hub GPIO and Scratch Pad Registers 3422 Step2 Right click on the Mellanox ConnectX Ethernet network adapter and left click Properties Select the Port Protocol tab from the Properties window The Port Protocol tab is displayed only if the NIC is a VPI IB and ETH l i Mellanox Technologies 17 WinOF VPI for Windows User Manual Rev 4 40 The figure below is an example of the displayed Port Protocol window for a dual port VPI adapter card General Port Protocol Driver Details Events Resources Current Setting Portl IB Port2 Eth HCA Port Type Configuration HW Defaults Port 1 IB C ETH AUTO Port 2 C B ETH C Aum Port Protocol Configuration This menu displays the adapter s port type and enables you to set the network protocols for the network adapter ports The network protocol is determined according to the NIC s Hardware Defaults port type You can choose the protocol explicitly by selecting the port type to InfiniBand IB or Ethernet Eth Ta enahle Aita Sensina nlease chonse ALITA If the NIC Cancel Step 3 In this step you can perform the following functions Ifyou choose the HW Defaults option the port protocols will be determined according to the NIC s hardware default va
87. he and is still down donot output it in the resulting out put This option may be particularly useful for environ ments where switchesare not fully populated thus much of the default iblinkinfo info is considered un useful See ibnetdiscover for information on caching ibnetdiscover out put 8 3 18 ibqueryerrors The default behavior is to report the port error counters which exceed a threshold for each port in the fabric The default threshold is zero 0 Error fields can also be suppressed entirely In addition to reporting errors on every port ibqueryerrors can report the port transmit and receive data as well as report full link information to the remote port if available 8 3 18 1 ibqueryerrors Synopsis ibqueryerrors options 8 3 18 2 ibqueryerrors Options Table 25 ibqueryerrors Flags and Options Flags Description s lt errl err2 gt Suppresses the errors listed in the comma separated list pro vided c Suppresses some of the common side effect counters These counters usually do not indicate an error condition and can be usually be safely ignored G lt port_guid gt S port guid port Report results for the port specified For switches results are guid printed for all ports not just switch port 0 S same as G Provided only for backward compatibility D direct route Reports results for the port specified For switches results are printed for all port
88. he current adapter and it s sibling device once the sibling is an Ethernet device as well It also generates a log including the applied changes Users can view this log to restore the previous values The log path is SHOMEDRIVES Windows System32 LogFiles PerformanceTunning log This tuning is required to be performed only once after the installation is completed and on one adapter only as long as these entries are not changed directly in the registry or by some other instal lation or script Please note that a reboot may be required for the changes to take effect 6 1 4 1 Performance Tuning Tool Application You can also activate the performance tuning through a script called perf tuning exe This script has 4 options which include the 3 scenarios described above and an additional manual tuning through which you can set the RSS base and number of processors for each Ethernet adapter The adapters you wish to tune are supplied to the script by their name according to the Network Connections Mellanox Technologies 39 WinOF VPI for Windows User Manual Rev 4 40 Synopsys perf_tuning exe s cl lt first connection name gt c2 lt second connection name gt perf_tuning exe d cl lt first connection name gt c2 lt second connection name gt perf tuning exe f cl first connection name gt c2 second connection name gt perf tuning exe m cl first connection name b base RSS processor number n number
89. ice or local port Failed to use Topology File n Ww d W B3 p 1 Failed to load requierd Package 8 3 3 ibportstate Enables querying the logical link and physical port states of an InfiniBand port It also allows adjusting the link speed that is enabled on any InfiniBand port If the queried port is a swich port then ibportstate can be used to Disable enable or reset the port Validate the port s link width and speed against the peer port 8 3 3 1 ibportstate Applicable Hardware All InfiniBand devices 8 3 3 2 ibportstate Synopsis ibportstate d e v V D L G s lt smlid gt C ca name P ca port u t lt timeout_ms gt lt dest dr path lid guid lt portnum gt lt op gt lt value gt 8 3 3 3 ibportstate Options The table below lists the various flags of the command Table 10 ibportstate Flags and Options Flag Description h help Print the help menu d debug Raise the IB debug level May be used several times for higher debug lev els ddd or d d d e errors Show send and receive errors timeouts and others v verbose Increase verbosity level May be used several times for additional verbos ity vvv or v v v V version Show version info D Direct Use directed path address arguments The path is a comma separated list of out ports Examples 0 self port 0 1 2 1 4 out via port 1 then 2
90. id gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 c connection lt RC UC UD gt Connection type RC UC UD default RC SIZe lt size gt The size of message to exchange default 65536 1 signal Signal completion on each msg a all Runs sizes from 2 till 223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 C report cycles Reports times in cpu cycle units default microseconds H report histogram Print out all results default print summary only U report unsorted implies H Print out unsorted results default sorted V version Displays version number TES grh Use GRH with packets mandatory for RoCE ib_write_bw ib_write_bw calculates the BW of RDMA write between a pair of machines One acts as a server and the other as a client The client RDMA writes to the server memory and calculate the BW by sampling the CPU each time it receive a successfull completion The test supports features such as Bidirectional in which they both RDMA write to each other at the same time change of mtu size tx size number of iteration message size and more Using the a flag provides results for all message sizes Me
91. idirectional bandwidth default unidirectional V version Displays version number g post lt num of posts The number of posts for each qp in the chain default tx depth F CPU freq The CPU frequency test It is active even if the cpufreq ondemand module is loaded q qp lt num of qp s gt The number of qp s default 1 I inline_size lt size gt The maximum size of message to be sent in inline mode default 0 N no peak bw Cancels peak bw calculation default with peak bw R rdma_cm Connect QPs with rdma_cm and run test on those QPs Z com_rdma_cm Communicate with rdma_cm module to exchange data use regular QPs Q cq mod Generate Cqe only after lt cq mod gt completion 8 4 12 ibv write lat This is a more advanced version of ib write lat and contains more flags and featurs than the older version and also improved algorithms ibv write lat calculates the latency of RDMA write operation of message sizeB between a pair of machines One acts as a server and the other as a client They perform a ping pong benchmark on which one side RDMA writes to the other side memory only after the other side wrote on his memory Each of the sides samples the CPU clock each time they write to the other side memory to calculate latency Mellanox Technologies 105 WinOF VPI for Windows User Manual Rev 4 40 8 4 12 1 ibv_write_lat Synopsi
92. in InfiniBand subnets it is mandatory when using RoCE Applications written over IB verbs should work seamlessly but they require provisioning of GRH information when creating address vectors The library and driver are modified to provide mapping from GID to MAC addresses required by the hardware 3 6 2 RoCE Configuration 3 6 2 1 Prerequisites The following are the driver s prerequisites in order to set or configure RoCE ConnectX 3 firmware version 2 11 0500 or higher e All InfiniBand verbs applications which run over InfiniBand verbs should work on RoCE links if they use GRH headers 3 6 2 2 Configuring Windows Host gt To set HCA to use Ethernet protocol Display the Device Manager and expand System Devices Please refer to Section 3 4 2 Port Protocol Configuration on page 17 To start the HCA configuration perform the steps below Step 1 Enable PowerShell to configure DCB PS Set ExecutionPolicy Unrestricted Step 2 Install and enable DCB PS Install WindowsFeature Data Center Bridging Step3 Remove the previous QoS configuration PS Remove NetQosTrafficClass PS Remove NetQosPolicy Confirm False Mellanox Technologies 26 J WinOF VPI for Windows User Manual Rev 4 40 Step 4 Disable the DCBx setting PS set NetQosDcbxSetting Willing 0 Step 5 Create a Quality of Service QoS policy to tag RoCE traffic with PCP value 3 PS New NetQosPolicy SMB NetDirectPortMatchCondition 445
93. ions Flags Description p Gets PathRecord info N Gets NodeRecord info list D Gets NodeDescriptions of CAs only S Gets ServiceRecord info I Gets InformInfoRecord subscription info L Returns the Lids of the name specified l Returns the unique Lid of the name speci fied G Returns the Guids of the name specified O Returns the name for the Lid specified U Returns the name for the Guid specified C Gets the SA s class port info S Returns the PortInfoRecords with isSM or isSMdisabled capability mask bit on g Gets multicast group info m Gets multicast member info If a group is specified limit the output to the group specified and print one line containing only the GUID and node description for each entry Example saquery m 0xc000 X Gets LinkRecord info src to dst Gets a PathRecord for lt src dst gt where src and dst are either node names or LIDs sgid to dgid Gets a PathRecord for sgid to dgid where both GIDs are in an IPv6 format acceptable to inet_pton 3 C lt ca_name gt Uses the specified ca_name P lt ca_port gt Uses the specified ca_port smkey lt val gt Uses SM Key value for the query Will be used only with trusted queries If non numeric value like x is specified then saquery will prompt for a value Mellanox Technologies 90 J WinOF VPI for Windows User Manual Rev 4 40 Table 27
94. l 2 11 0500 MCX354A FCB A2 A4 bin zi Documentation Release Notes User Manual Downloads Mellanox IB Software Stack Mellanox Firmware Tools MFT 2 3 Upgrading Firmware Firmware can be upgraded either manually or automatically as described in the sections below 2 3 1 Upgrading Firmware Manually gt To upgrade firmware manually PS flint d mt device id pci cr0 i image name bin burn Example PS flint d mt4099 pci cr0 i fw ConnectX3 rel 2 11 0500 MCX354A FCA Al bin burn For additional details please check the MFT user manual under http www mellanox com gt Products gt Firmware Tools Mellanox Technologies 14 WinOF VPI for Windows User Manual Rev 4 40 3 Driver Features The Mellanox VPI WinOF driver release introduces the following capabilities e One or two ports Up to 16 Rx queues per port Rx steering mode RSS Hardware Tx Rx checksum calculation Large Send Offload i e TCP Segmentation Offload Hardware multicast filtering Adaptive interrupt moderation e MSI X support Auto Sensing RoCE Ethernet Only HW VLAN filtering Header Data Split For the complete list of Ethernet and InfiniBand Known Issues and Limitations see MLNX WinVPI ReleaseNotes txt 3 1 Hyper V with VMQ Mellanox WinOF Rev 4 40 includes a Virtual Machine Queue VMQ interface to support Microsoft Hyper V network performance improvements and security enhancement VMQ interface supports
95. llanox Technologies 96 J WinOF VPI for Windows User Manual Rev 4 40 8 4 5 1 ib_write_bw Synopsys ib write bw q num of gps c onnection type RC UC i b port ib port m tu mtu size s ize message size t x depth tx size n iteration num p ort PDT port b idirectional 8 4 5 2 ib write bw Options 8 4 6 a 11 V ersion The table below lists the various flags of the command Table 33 ib write bw Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 c connection lt RC UC gt Connection type RC UC default RC SIZe lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 2223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 b bidirectional Measures bidirectional bandwidth default unidirectional V version Displays version number 0 post lt num of posts gt The number of posts for each qp in the chain default tx depth q qp lt num of qp s gt The number of qp s default
96. lues e Choose the desired port protocol for the available port s If you choose IB or ETH both ends of the connection must be of the same type IB or ETH Enable Auto Sensing by checking the AUTO checkbox If the NIC does not support Auto Sensing the AUTO option will be grayed out If you choose AUTO the current setting will indicate the actual port settings IB or ETH WU Mellanox Technologies 18 WinOF VPI for Windows User Manual Rev 4 40 3 5 Load Balancing Fail Over LBFO and VLAN Windows 2012 Microsoft supports load balancing as part of the operating system Please refer to Microsoft document Windows 2012 Link Teaming For other Operating Systems such as Win dows 2008 R2 and Windows Server 2012 please refer to the sections below 3 5 1 Adapter Teaming Adapter teaming can group a group of ports inside a network adapters or a number of physical network adapters into virtual adapters that provide the fault tolerance and load balancing func tions Depending on the teaming mode one or more interfaces can be active The non active interfaces in a team are in a standby mode and will take over the network traffic in the event of a link failure in the active interfaces All of the active interfaces in a team participate in load bal ancing operations by sending and receiving a portion of the total network traffic 3 5 1 1 Teaming Bundle Modes 1 Fault Tolerance Provides automatic redundancy for the server
97. mal lid range only ibaddr g 32 show gid address only 8 3 16 ibcacheedit ibcacheedit allows users to edit an ibnetdiscover cache created through the cache option in ibnetdiscover 8 8 3 16 1 ibcacheedit Synopsis ibcacheedit switchguid BEFOREGUID AFTERGUID caguid BEFORE AFTER sysimgguid BEFOREGUID AFTERGUID port guid NODEGUID BEFOREGUID AFTERGUID h elp orig cache lt new cache gt 8 3 16 2 ibcacheedit Options Table 23 ibcacheedit Flags and Options Flags Description switchguid BEFOREGUID AFTERGUID Specifies a switchguid that should be changed The before and after guid should be separated by a colon On switches port guids are identical to the switch guid so port guids will be adjusted as well on switches caguid BEFOREGUID AFTERGUID Specifies a caguid that should be changed The before and after guid should be separated by a colon sysimgguid BEFOREGUID AFTERGUID Specifies a sysimgguid that should be changed The before and after guid should be spearated by a colon portguid NODEGUID BEFOREGUID AFTER Specifies a portguid that should be changed The node GUID guid of the port e g switchguid or caguid should be specified first followed by a colon the before port guid another colon then the after port guid On switches port guids are identical to the switch guid so the switch guid will be adjusted as well on switches Debugging Flags Description
98. mance counters from LID 2 port 1 penr query c2 Port counters Lid 2 port 1 PORTS ENE CEA A A E e il COMME cm ues set 0x0100 SymbolEirons n PME 0 TIMKRECOVETES pera E TE 0 e cosa cara ETT 0 REVELE a a E dade 0 RCVREMOCSRNYS RELOS 0 sss 0 REV RC rs T 0 XmEDiScards m c sure annonce Mel 3 mnsconstraunbiisrorg ME 0 REVEONS ENEE PU 0 la Song oraroo os 0 ExoButOVebHunEGHobste TT TEE 0 VETSDLOppedicrt x R 0 AS a E Eden says 0 ROD ER RE Mer 0 AMES RUE TIENE ERI 0 REN PRESE eere a eA TREO OnE 0 8 3 7 ibping ibping uses vendor MADs to validate connectivity between IB nodes On exit IP ping like out put is shown ibping is run as client server however the default is to run it as a client Note also that in addition to ibping a default server is implemented within the kernel 8 3 7 1 ibping Synopsys ibping d ebug e rr_show v erbose G uid C ca name P ca port s smlid t imeout timeout ms V ersion L id u sage c ping count lood o oui S erver h elp dest lid guid 8 3 7 2 ibping Options The table below lists the various flags of the command Table 14 ibping Flags and Options Flag Description count c num Stops after count packets f flood Floods destination send packets back to back without delay 0 oui Uses specified OUI number to multiplex vendor mads Server S Starts in server mode do not return debug d ddd d
99. may experience a momentary loss of connectivity The list view has four columns The list view has four columns VLAN Name Displays the assigned VLAN name VLAN Name Displays the assigned VLAN name If a physical adapter has been added to a bundle team the VLAN tab will not be displayed Step3 Click New to open a VLAN dialog window Enter the desired VLAN Name and VLAN ID and select the VLAN Priority VLAN Name f VLAN ID 101 VLAN Priority his dialog allows you to enter or modify the following VLAN properties VLAN Name The name can be any unique alphanumeric string VLAN ID The ID is number between 1 and 4095 VLAN Priority The priority is a number between 0 and 7 0 lowest 7 highest NOTE After creating a new VLAN the adapter associated with the VLAN may experience a momentary loss of connectivity Lew e Mellanox Technologies 24 WinOF VPI for Windows User Manual Rev 4 40 abled This means that it is not possible to bind to this port until all the virtual adapters gt After installing the first virtual adapter VLAN on a specific port the port becomes dis e associated with it are removed When using a VLAN the network address is configured using the VLAN ID There 42 fore the VLAN ID on both ends of the connection must be the same Step 4 Verify the new VLAN s by opening the Device Manager window or the Network Connections window The newly created VL
100. mum Perfor mance is set as the power scheme reboot is needed Issue2 General Diagnostic Suggestion 1 Go to Device Manager locate the Mellanox adapter that you are debugging right click and go to Information PCI Gen 2 should appear as PCI E 5 0 Gbps x8 PCI Gen 3 should appear as PCI E 8 0 Gbps x8 Link Speed 40 0Gbps 10 0Gbps Suggestion 2 To determine if the Mellanox NIC and PCI bus can achieve their maximum speed it s best to run ib_send_bw in a loopback On the same machine 1 Run start b affinity 0x1 ibv write bw 2 Run start b affinity 0x2 ibv write bw 127 0 0 1 3 Repeat for port 2 with additional p2 and for other cards if necessary 4 On PCI Gen3 the expected result is around 5700MB s On PCI Gen2 the expected result is around 3300MB s Any number lower than that points to bad configuration or installation on the wrong PCI slot Malfunctioning QoS settings and Flow Control can be the cause as well Suggestion 3 To determine the maximum speed between the two sides with the most basic test 1 Run ib send bw on machine 1 2 Run ib send bw lt hostl gt on machine 2 where lt hostl gt is the hostname for machine 1 Mellanox Technologies 117 WinOF VPI for Windows User Manual Rev 4 40 3 Results appear in MB s Mega Bytes 2 20 and reflect the actual data that was transferred excluding headers 4 If these results are not as expected the problem is most probably with one or mor
101. nce counters of port 1 only perfquery e R 0x20 14 reset extended performance counters of port 1 only perfquery R a 32 reset performance counters of all ports perfquery R 32 2 OxOfff4 reset only error counters of port 2 perfquery R 32 2 0xf000 reset only non error counters of port 2 1 Read local port s performance counters perfquery Port counters Lid 6 port 1 PortSeleobce e A ene e acini 1 CounserSel cb EE TEE M 0x1000 Sai e S 0 PINKRECOVE P MURIS 0 ink Downe diva erate TO 0 RCVEGI OLS ada E ert 0 RevRemotePhysErrors 0 REV WR 0 odas dores 0 XMECONS BENE eT 0 RETOS EEN CA 0 da Dc ona cone 0 ExcBusOVenrnBa5Hons E iris 0 Vat e ctor tr 0 DA NEIDEN Oc lea Acura rd do Taro UNO es 55178210 ROVD aC Aes rere env TUS TU TES 55174680 A eee en dame ee 766366 OPS 766315 2 Read performance counters from LID 2 all ports gt smpquery a 2 Port counters Lid 2 port 255 POLES OC hsv E E cae ae SAT 255 CounterSelecti ace MM 0x0100 SAO reque 65535 MINKRECOVELS o ot e 255 I mEDOWDedHe E TERT EO T OE 16 REVELL Yara ner uA laos 657 RevRemotePhysErrors 0 REV RI o PET 70 ED a E E 488 AMECONSELA LO EEC 0 REVEONS EEE 0 ESA A ME 0 ExcButOverrunErrorS 0 WD sane cono rcsnaces de 0 Oo carne 129840354 RED E Ed 129529906 Mellanox Technologies 68 J WinOF VPI for Windows User Manual Rev 4 40 A re ECT 1803332 ROV PRES seus o 1799018 3 Read then reset perfor
102. nd hardware of VPI InfiniBand Ethernet adapter cards It is also intended for application developers Documentation Conventions Table 2 Documentation Conventions Description Convention Example File names file extension Directory names directory Commands and their parameters command param1 mts3610 1 gt show hosts Required item lt gt Optional item Mutually exclusive parameters pl p2 p3 or pl p2 p3 Optional mutually exclusive parame pl p2 p3 ters Variables for which users supply spe Italic font enable cific values Emphasized words Italic font These are emphasized words Note lt text gt This is a note L L 3 3 Warning text May result in system instabil A Mellanox Technologies 10 J WinOF VPI for Windows User Manual Rev 4 40 Common Abbreviations and Acronyms Table 3 Abbreviations and Acronyms Abbreviation Acronym Whole Word Description B Capital B is used to indicate size in bytes or multiples of bytes e g IKB 1024 bytes and IMB 1048576 bytes b Small b is used to indicate size in bits or multiples of bits e g 1Kb 1024 bits FW Firmware HCA Host Channel Adapter HW Hardware IB InfiniBand LSB Least significant byte Isb Least significant bit MSB Most significant byte msb Most significant bit NIC Network Interf
103. ndle P Only Mellanox Technologies adapters can be part ofthe LBFO a gt To create a new bundle perform the following Step 1 Click Create Step 2 Enter a unique bundle name Step3 Select a bundle type Step 4 Select the adapters to be included in the bundle that have not been associated with a VLAN Mellanox Technologies 20 WinOF VPI for Windows User Manual Rev 4 40 Step 5 Optional Select Primary Adapter An active passive scenario used for data transfer of link disconnecting In such scenario the system uses one of the other interfaces When the primary link comes up the LBFO interface returns to transfer data using the primary interface If the primary adapter is not selected the primary interface is selected randomly Step 6 Optional Failback to Primary Step 7 Check the checkbox Mellanox ConnectX 3 Ethernet Adapter Properties xi General Advanced Information Performance Diagnostics VLAN LBFO Driver Details Power Management DA Load Balancing and Fail Over LBFO Settings Mellanox Bunde Name Bundle Type Faut Tolerance Y Primary Jv Failback to Primary Adapters in the bundle Apter Nane ie ot O Mellanox Connect lt 3 Ethemet Adapter O Mellanox Connect lt 3 Ethernet Adapter 2 Create Modify Remove LBFO stands for Load Balancing and Fail Over The administrator can configure a bundle of adapters and associate up to 8 Mellanox Connect
104. nfiniBand node ibsysstat is run as client server Default is to run as client 8 3 19 1ibsysstat Synopsis ibsysstat d ebug e rr show v erbose G uid C ca name P ca port s smlid t imeout timeout ms V ersion o oui S erver h elp dest lid guid op 8 3 19 2 ibsysstat Options Table 26 ibsysstat Flags and Options Flags Description ping Verifies connectivity to server default host Obtains host information from server cpu Obtains cpu information from server 0 oul Uses specified OUI number to multiplex vendor mads S Server Starts in server mode do not return Debugging Flags Description Mellanox Technologies 87 J WinOF VPI for Windows User Manual Rev 4 40 Table 26 ibsysstat Flags and Options Flags Description NOTE Most OpenIB diagnostics take the following common flags The exact list of sup ported flags per utility can be found in the usage message and can be shown using the util_ name h syntax d Raises the IB debugging level Can be used several times ddd or d d d e Shows send and receive errors timeouts and oth ers h Shows the usage message V Increases the application verbosity level Can be used several times vv or v v v v Shows the version info Addressing Flags Description G Uses GUID address argument In most cases it is the Port GUID Example
105. number of CPUs allotted Sets the desired maximum number of processors for each interface The number can be differ ent for each interface Note Restart the network adapter when you change this registry key HKLM SYSTEM CurrentControlSet Con trol Class 4d366e972 e325 11ce bfc1 08002be10318 lt nn gt RssBaseProcNumber Base CPU number Sets the desired base CPU number for each interface The number can be different for each interface This allows partitioning of CPUs across network adapters Note Restart the network adapter when you change this registry key HKLM SYSTEM CurrentControlSet Con trol Class 4d36e972 e325 11ce bfc1 08002be10318 lt nn gt NumaNodeID NUMA node affinitization HKLM SYSTEM CurrentControlSet Con trol Class 4d366e972 e325 11ce bfc1 08002be10318 lt nn gt RssBaseProcGroup Sets the RSS base processor group for sys tems with more than 64 processors Port Configuration After WinOF OFED VPI installation it is possible to modify the network protocol that runs on each port of VPI adapter cards Each port can be set to run as InfiniBand Ethernet or Auto Sens ing Auto Sensing Auto Sensing enables the NIC to automatically sense the link type InfiniBand or Ethernet based on the cable connected to the port and load the appropriate driver stack InfiniBand or Ethernet Auto Sensing is performed only when rebooting the machine or after disabling enabling the mlx4
106. of RSS processors perf tuning st cl first connection name c2 second connection name gt Options Flag Description S Single port traffic scenario This option can be followed by one or two connection names The tuning will restore the default settings on the second connection and performed on the first connection This option automatically sets SendCompletionMethod 0 e RecvCompletionMethod 2 e ReceiveBuffers 1024 e UseRSSForRawIP 1 e UseRSSForUDP 1 In Operating Systems support NDIS6 3 RssProfile 3 Additionally this option chooses the best processors to assign to DefaultRecvRingProcessor TxInterruptProcessor TxForwardingProcessor In Operating Systems support NDIS6 2 RssBaseProcNumber MaxRssProcessors In Operating Systems support NDIS6 3 NumRSSQueues RssMaxProcNumber Mellanox Technologies 40 J WinOF VPI for Windows User Manual Rev 4 40 Flag Description d Dual port traffic scenario This option must be followed by two connection names The tuning in this case is code pendent This option automatically sets SendCompletionMethod 0 e RecvCompletionMethod 2 e ReceiveBuffers 1024 UseRSSForRawIP 1 e UseRSSForUDP 1 In Operating Systems support NDIS6 3 RssProfile 3 Additionally this option chooses the best processors to assign to DefaultRecvRingProcessor TxInterruptProcessor TxForwardingProcessor In Operatin
107. of the duration time S server interface IP gt server side only must be last parameter C server interface IP gt client side only must be last parameter h Shows the Help screen 8 4 15 nd read bw This test is used for performance measuring of RDMA Read requests in Microsoft Windows Operating Systems nd read bw is performance oriented for RDMA Read with maximum throughput and runs over Microsoft s NetworkDirect standard The level of customizing for the user is relatively high User may choose to run with a customized message size customized num ber of iterations or alternatively customized test duration time nd read bw runs with all mes sage sizes from 1B to 4MB powers of 2 message inlining CQ moderation Mellanox Technologies 108 WinOF VPI for Windows User Manual Rev 4 40 8 4 15 1 nd_read_bw Synopsys lt running on specific single core gt Server side start b affinity 0X1 nd read bw s1048576 D10 S11 137 53 1 Client side start b wait affinity 0X1 nd read bw s1048576 D10 C 11 137 53 1 8 4 15 2 nd read bw Options The table below lists the various flags of the command Table 43 nd read bw Options Flags Description h Shows the Help screen V Shows the version number p Connects to the port port default 68307 s msg size Exchanges the message size with default 65536B gt and it must not be combined with a flag a
108. on gt ibportstate C mlx4 0 D 0 1 PortInfo Port info DR path slid 65535 dlid 65535 0 port 1 LINKS RAC ear we ED OE CER Initialize PhysminkSsbato e MM LinkUp aras e C TE 1X or 4X Mn dE eR T 1X or 4X acid MEER AX MiS PESAS PO d e T OI 2 5 Gbps or 5 0 Gbps Mins PEA RP 2 5 Gbps or 5 0 Gbps MS E A gm A 5 0 Gbps Now change the enabled link speed gt ibportstate C mlx4 0 D 0 1 speed 2 ibportstate C mlx4 0 D 0 1 speed 2 Initial PortInfo Port info DR path slid 65535 dlid 65535 0 port 1 Mellanox Technologies 59 J WinOF VPI for Windows User Manual Rev 4 40 LinkSpeedEnabled 2 5 Gbps After PortInfo set Port info DR path slid 65535 dlid 65535 0 port 1 LinkSpeedEnabled 5 0 Gbps IBA extension Show the new configuration gt ibportstate C mlx4 0 D01 PortInfo Port info DR path slid 65535 dlid 65535 0 port 1 oo ae ere ets Initialize Phyo minke tater E E LinkUp LinkWidthSupported 1X or 4X lipo aiaichelniseloMletly een 1X or 4X Na EE roo one o 4X LinkSpeedSupported 2 5 Gbps or 5 0 Gbps LinkSpeedEnabled 5 0 Gbps IBA extension InnkSpeedActive Ud e er 5 0 Gbps 8 3 4 ibroute Uses SMPs to display the forwarding tables for unicast LinearForwardingTable or LFT or mul ticast MulticastForwardingTable or MFT for the specified switch LID and the optional lid mlid range The default range is all valid entri
109. on RX Packet Count Number of packets that need to be received before an interrupt is generated on the receive side default 5 nterrupt Moderation RX Packet Time Maximum elapsed time in usec between the receiving of a packet and the generation of an inter rupt even if the moderation count has not been reached default 10 Rx Interrupt Moderation Type Sets the rate at which the controller moderates or delays the generation of interrupts making it pos sible to optimize network throughput and CPU utilization The default setting Adaptive adjusts the interrupt rates dynamically depending on the traffic type and network usage Choosing a differ ent setting may improve network and system performance in certain configurations Send completion method Sets the completion methods of the Send packets and it may affect network throughput and CPU utilization Interrupt Moderation TX Packet Count Number of packets that need to be sent before an interrupt is generated on the send side default 0 Interrupt Moderation TX Packet Time Maximum elapsed time in usec between the sending of a packet and the generation of an inter rupt even if the moderation count has not been reached default 0 Bus master DMA Operations Sets the addressing type NDIS DMA addressing UseDma Enabled or physical addressing UseDma Disabled default Disabled Mellanox Technologies 45 J WinOF VPI for Windows User Manual Rev 4 40 Of
110. on The test supports a large variety of features as described below and has better performance than ib send bw in Nahelem systems 8 4 9 1 ibv send bw Synopsys ibv send bw i b port ib port d ib device c onnection type RC UC UD m tu mtu size s ize message size t x depth tx size r x dpeth rx size n iteration num p ort PDT port I nline size inline size u qp timeout S 1 sl type x gid index e vents use events N o peak use peak calc F CPU freq fail g num of gps in mcast group M mcast gid b idirectional a 11 V ersion 8 4 9 2 ibv send bw Options The table below lists the various flags of the command Table 37 ibv send bw Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found Mellanox Technologies 101 WinOF VPI for Windows User Manual Rev 4 40 Table 37 ibv send bw Flags and Options Flag Description i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 c comnection lt RC UC UD gt Connection type RC UC UD default RC Size lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 223 t tx depth lt dep gt The size of tx queue d
111. onder protection errors Number of local protection errors when the local machine receives inbound traffic Requester CQE errors Number of local CQE with errors when the local machine generates out bound traffic Responder CQE errors Number of local CQE with errors when the local machine receives inbound traffic Requester Invalid request errors Number of remote invalid request errors when the local machine gener ates outbound traffic i e NAK was received indicating that the other end detected invalid OpCode request Responder Invalid request errors Number of remote invalid request errors when the local machine receives inbound traffic Requester Remote access errors Number of remote access errors when the local machine generates out bound traffic i e NAK was received indicating that the other end detected wrong rkey Responder Remote access errors Number of remote access errors when the local machine receives inbound traffic i e the local machine received RDMA request with wrong rkey Requester RNR NAK Number of RNR Receiver Not Ready NAKs received when the local machine generates outbound traffic Responder RNR NAK Number of RNR Receiver Not Ready NAKs sent when the local machine receives inbound traffic Requester out of order sequence NAK Number of Out of Sequence NAK received when the local machine gen erates outbound traffic i e the number of times the local m
112. ontrol GFC gt Enable GFC on ports that are facing hosts access ports config no dcb priority enable config interface ethernet 1 10 config interface eth 1 10 no dcb priority flow control mode force config interface eth 1 10 flowcontrol receive on force config interface eth 1 10 flowcontrol send on force 3 6 Configuring Router PFC only The router uses L3 s DSCP value to mark the egress traffic of L2 PCP The required mapping maps the three most significant bits of the DSCP into the PCP This is the default behavior and no additional configuration is required 3 6 4 1 Copying Port Control Protocol PCP between Subnets The captured PCP option from the Ethernet header of the incoming packet can be used to set the PCP bits on the outgoing Ethernet header Mellanox Technologies 29 J WinOF VPI for Windows User Manual Rev 4 40 4 Deploying Windows Server 2012 with SMB Direct 4 1 Overview The Server Message Block SMB protocol is a network file sharing protocol implemented in Microsoft Windows The set of message packets that defines a particular version of the protocol is called a dialect The Microsoft SMB protocol is a client server implementation and consists of a set of data pack ets each containing a request sent by the client or a response sent by the server SMB protocol is used on top of the TCP IP protocol or other network protocols Using the SMB protocol allows applications to access file
113. oooocooooorcrrr ee 43 6 2 2 IPoIB Performance Tuning sssesseeese e 43 6 3 Tunable Performance Parameters 0 0 0 c eee ee eee eee 44 6 4 Adapter Proprietary Performance Counters 0 00 c eee eee ee 46 6 4 1 Supported Standard Performance Counters 0 00 cece eee eee 47 Chapter 7 OpenSM Subnet Manager cece cece eee cece eee n 32 Chapter 8 InfiniBand Fabric 5 25 eens OS 8 1 Network Direct Interface 0 0 cee E 53 8 2 part man Virtual IPoIB Port Creation Utility 000 53 8 3 InfiniBand Fabric Diagnostic Utilities 0 0 ens 53 8 31 Utihties Usagez sv is 54 8 32 abdiagnet once E ER RENNES 56 823 35 iIbportsilales tec oues RI ee Rei Se em RE IR 58 83 4 1DrOUte s eet e t el ette t e ten ds 61 83 5 smpquety eu ace SOR CR UR le ade Seales Sante EC c RR RAS 63 RO periquery vos Ces ud vos PEE Monkey de gu NIRIb LP le c s 67 837 1bpimgiz ise eee ee eet pet avete We e e e ed t 70 83 8 ibnetdiscoVet c soe voor ev ERE ERA OS SRL eG BE 71 8 3 9 abtracetbo ue ened e texte Aon ede ea Gate qu a aN 75 83 10 8minfo oS OL Su P CHER PRIM emus 76 AA ecce on yee he AE ICM MARRE A 78 8 3 12 abstat vs peace ocak ead Race RR Rue y RR AD SP EORR RACER RES 78 8 3 135 vstabo eve Pb E ub Hore S RS oor eroe idas paleta aes 79 8 3 14 OSM di e e te ret b t ple eet pte peat 79 SS PS ibaddr i eset oer pre a 82 NS 84 8 3 17 ablmnkinfo A da 85 8 318 I bqueryerrot
114. ort p ort list V ersion h ca name portnum 8 3 12 2 ibstat Options The table below lists the various flags of the command Most OpenIB diagnostics take the following common flags The exact list of supported flags per utility can be found in the usage message and can be shown using the util name h syntax Table 19 ibstat Flags and Options Flag Description l list of cas List all IB devices s short Short output p port_list Show port list Mellanox Technologies 77 J WinOF VPI for Windows User Manual Rev 4 40 Table 19 ibstat Flags and Options Flag Description ca_name InfiniBand device name portnum Port number of InfiniBand device debug d ddd d d d Raise the IB debugging level help h Show the usage message verbose v vv v v v Increase the application verbosity level version V Show the version info usage u usage message Examples ibstat display status of all ports on all IB devices ibstat 1 list all IB devices ibstat p show port guids ibstat mthca0 2 show status of port 2 of mthca0 8 3 13 vstat vstat is a binary which displays information on the HCA attributes e vstat synopsys is vstat v c m p N 8 3 13 1 vstat Options The table below lists the various flags of the command Table 20 vstat Flags and Options Flag Description V Verbose mode C HCA
115. ost ports ibdiagnet db A dump of the internal subnet database This file can be loaded in later runs using the load_db option In addition to generating the files above the discovery phase also checks for duplicate node port GUIDs in the IB fabric If such an error is detected it is displayed on the standard output After the discovery phase is completed directed route packets are sent multiple times according to the c option to detect possible problematic paths on which packets may be lost Such paths are explored and a report of the suspected bad links is displayed on the standard output After scanning the fabric if the r option is provided a full report of the fabric qualities is dis played This report includes SM report Number of nodes and systems Hop count information maximal hop count an example path and a hop count histo gram e All CA to CA paths traced Credit loop report mgid mlid HCAs multicast group and report Partitions report IPoIB report In case the IB fabric includes only one CA then CA to CA paths are not reported Furthermore if a topology file is provided ibdiagnet uses the names ae defined in it for the output reports Mellanox Technologies 56 J WinOF VPI for Windows User Manual Rev 4 40 8 3 2 3 ibdiagnet Error Codes Failed to fully discover the fabric Failed to parse command line options Failed to intract with IB fabric Failed to use local dev
116. others help h Shows the usage message verbose v vv v v v Increases the application verbosity level version V Shows the version info outstanding smps o val Specifies the number of outstanding SMPs which should be issued during the scan Mellanox Technologies 71 J WinOF VPI for Windows User Manual Rev 4 40 Table 15 ibnetdiscover Flags and Options Flag Description usage u Usages message Ca C lt ca_name gt Uses the specified ca_name Port P lt ca_port gt Uses the specified ca_port timeout t lt timeout_ms gt Overrides the default timeout for the solicited mads full f Shows full information ports speed and width show s Shows more information 8 3 8 3 Topology File Format The topology file format is largely intuitive Most identifiers are given textual names like vendor ID vendid device ID device ID GUIDs of various types sysimgguid caguid switchguid etc PortGUIDs are shown in parentheses For switches this is shown on the switchguid line For CA and router ports it is shown on the connectivity lines The IB node is identified followed by the number of ports and the node GUID On the right of this line is a comment 7 followed by the NodeDescription in quotes If the node is a switch this line also contains whether switch port 0 is base or enhanced and the LID and LMC of port 0 Subsequent line
117. oubleshooting 0 0 00 cect eens 115 10 2 Ethernet Troubleshooting 0 cette eee 115 10 3 Performance Troubleshooting 0000s 117 Chapter 11 Documentation oves ecc wes e des o 119 Mellanox Technologies 5 J WinOF VPI for Windows User Manual Rev 4 40 List of Tables Table 1 Document Revision History co eese ade A E wed 8 Table 2 Documentation Conventions 25i pride Hens eae Ede as FAR RN 10 Table 3 Abbreviations and Acronyms 0544405 eee ak atin beach xt AUR CR CR RC CEN US 11 Table 4 Registry Keys Setting cou 44 Ss each a oe IRI ae ee SE 16 Table 5 Mellanox Adapter Traffic Counters 2 0 0 0 0 0 cece ee eee 47 Table 6 Mellanox Adapter Diagnostics Counters 000 cece eee eee 48 Table 7 Mellanox QoS Counters a d en oer et rg ate ee e MES 50 Table 8 ibdiaptiet ODHOUISS C so o a armes E adt ette ratio gie ed 56 Table 9 ibdiaphet Output Files avr FE SI FOR dep EE a Dice 57 Table 10 ibportstate Flags and Options 2 5 olere a RR menn 58 Table 11 dbroute Flags and Options vu sia EE Rhe a RE TY ae ctun ea 61 Table 12 smpquery Flags and Options sies tad vende Rr n 64 Table 13 perfquery Flags and Opuons lt s 16 a is ee eh ERE SN 67 Table 14 ibping Flags and Options 00 cece cece IRI 70 Table 15 ibnetdiscover Flags and Options 0 e cece eens 71 Table 16 ibtracert Flags and Options iiis ese y pr eek Oe e ede 75 Table 17 sminfo Flags and Options ese o eR rms Cx IURI R
118. r if the port MTU has been set to a value higher than the maximum MTU supported by the switch Issue 9 Issue s not listed above The MLNX EN for Windows driver records events in the system log of the Windows event system Using the event log you ll be able to identify diagnose and predict sources of system problems Suggestion To see the log of events open System Event Viewer as follows 1 Right click on My Computer click Manage and then click Event Viewer OR 1 Click start gt Run and enter eventvwr exe 2 In Event Viewer select the system log The following events are recorded Mellanox ConnectX EN 10Gbit Ethernet Adapter X has been successfully initialized and enabled Failed to initialize Mellanox ConnectX EN 10Gbit Ethernet Adapter Mellanox ConnectX EN 10Gbit Ethernet Adapter lt X gt has been successfully initialized and enabled The port s network address is MAC Address The Mellanox ConnectX EN 10Gbit Ethernet was reset Failed to reset the Mellanox ConnectX EN 10Gbit Ethernet NIC Try disabling then re enabling the Mellanox Ethernet Bus Driver device via the Windows device manager e Mellanox ConnectX EN 10Gbit Ethernet Adapter lt X gt has been successfully stopped Failed to initialize the Mellanox ConnectX EN 10Gbit Ethernet Adapter X because it uses old firmware version old firmware version gt You need to burn firmware version new firmware ver sion gt or higher and to restart
119. range L Lid Use Lid address argument u usage Usage message e errors Show send and receive errors timeouts and others s sm_port lt smlid gt Use lt smlid gt as the target LID for SM SA queries C Ca lt ca_name gt Use the specified channel adapter or router P Port lt ca_port gt Use the specified port t timeout lt timeout_ms gt Override the default timeout for the solicited MADs msec dest dr path lid guid Destination s directed path LID or GUID lt startlid gt Starting LID in an MLID range lt endlid gt Ending LID in an MLID range Examples 1 Dump all Lids with valid out ports of the switch with Lid 2 gt ibroute 2 Unicast lids 0x0 0x8 of switch Lid 2 guid 0x0002c902fffff00a MT47396 Infiniscale III Mellanox Technologies Lid Out Destination Port Info 0x0002 000 Technologies 0x0003 021 Technologies 0x0006 007 0x0007 021 Switch portguid 0x0002c902fffff00a MT47396 Infiniscale III Mellanox Switch portguid 0x000b8cffff004016 MT47396 Infiniscale III Mellanox Channel Adapter portguid 0x0002c90300001039 sw137 HCA 1 Channel Adapter portguid 0x0002c9020025874a sw157 HCA 1 0x0008 008 Channel Adapter portguid 0x0002c902002582cd sw136 HCA 1 5 valid lids dumped 2 Dump all Lids in the range 3 to 7 with valid out ports of the switch with Lid 2 ibroute 2 3 7 Mellanox T
120. routing information 0x80 currently unused Without vf osmtest defaults to ERROR INFO 0x3 Specifying vf 0 disables all messages Specifying vf OxFF enables all messages see V High verbosity levels may require increasing the transaction timeout with the t option h help Display this usage info then exit 8 3 15 ibaddr Displays the lid and range as well as the GID address of the port specified by DR path lid or GUID or the local port by default This utility can be used as simple address resolver 8 3 15 1 ibaddr Synopsis ibaddr d ebug D irect G uid 1 id show g id show C ca name P ca port t imeout timeout ms V ersion h elp lt lid dr path guid gt 8 3 15 2 ibaddr Options Table 22 ibaddr Flags and Options Flags Description G Guid shows lid range and gid for GUID address 1 lid show shows lid range only L Lid show shows lid range in decimal only g gid show shows gid address only Mellanox Technologies 81 J WinOF VPI for Windows User Manual Rev 4 40 Table 22 ibaddr Flags and Options Flags Description Debugging Flags Description NOTE Most OpenIB diagnostics take the following common flags The exact list of supported flags per utility can be found in the usage message and can be shown using the util name h syn tax d Raises the IB
121. rs RUN FW command failed with error 22 Mellanox Technologies 115 WinOF VPI for Windows User Manual Rev 4 40 Suggestion The error message indicates that the wrong firmware image has been programmed on the adapter card See Section 2 Firmware Upgrade on page 13 Issue 5 The Ethernet driver fails to start A yellow sign appears near the Mellanox ConnectX 10Gb Ethernet Adapter in the Device Manager display Suggestion This can happen due to a hardware error Try to disable and re enable Mellanox ConnectX Adapter from the Device Manager display Issue 6 No connectivity to a Fault Tolerance bundle while using network capture tools e g Wireshark Suggestion This can happen if the network capture tool captures the network traffic of the non active adapter in the bundle This is not allowed since the tool sets the packet filter to pro miscuous thus causing traffic to be transferred on multiple interfaces Close the network cap ture tool on the physical adapter card and set it on the LBFO interface instead Issue 7 No Ethernet connectivity on 1Gb 100Mb adapters after activating Performance Tuning part of the installation Suggestion This can happen due to adding a TcpWindowSize registry value To resolve this issue remove the value key under HKEY LOCAL MACHINE SYSTEM CurrentControl Set Services Tcpip Parameters TcpWindowSize or set its value to OXFFFF Issue 8 Packets are being lost Suggestion This may occu
122. rsion Displays version number g post lt num of posts gt The number of posts for each qp in the chain default tx depth e events Inactive during CQ events default poll F CPU freq The CPU frequency test It is active even if the cpufreq_ondemand module is loaded R rdma_cm Connect QPs with rdma_cm and run test on those QPs Z com_rdma_cm Communicate with rdma_cm module to exchange data use regular QPs c connection lt RC UC gt Connection type RC UC default RC I inline_size lt size gt Max size of message to be sent in inline default 0 Mellanox Technologies 99 J WinOF VPI for Windows User Manual Rev 4 40 Table 35 ibv read bw Flags and Options Flag Description Q cq mod Generate Cqe only after lt cq mod gt completion N no peak bw Cancel peak bw calculation default with peak 8 4 8 bv read lat This is a more advanced version of ib read lat and contains more flags and featurs than the older version and also improved algorithms ibv read lat calculats the latency of RDMA read operation of message sizeB between a pair of machines One acts as a server and the other as a client They perform a ping pong benchmark on which one side RDMA reads the memory of the other side only after the other side have read his memory Each of the sides samples the CPU clock each time they read the other side memory to
123. s On Intel I OAT supported systems it is highly recommended to install and enable the latest I OAT driver download from www intel com With VOAT enabled sending 256 byte messages or larger will activate I OAT This will cause a significant latency increase due to I OAT algorithms On the other hand throughput will increase significantly when using I OAT 6 2 2 IPolB Performance Tuning The user can configure the IPoIB adapter by setting some registry keys The registry keys may affect IPoIB performance For the complete list of registry entries that may be added changed by the performance tuning procedure see MLNX VPI WinOF Registry Keys Mellanox Technologies 43 J WinOF VPI for Windows User Manual Rev 4 40 gt To improve performance activate the performance tuning tool as follows Step 1 Start the Device Manager open a command line window and enter devmgmt msc Step 2 Open Network Adapters Step3 Right click the relevant IPoIB adapter and select Properties Step 4 Select the Advanced tab Step 5 Modify performance parameters properties as desired 6 3 Tunable Performance Parameters The following is a list of key parameters for performance tuning Jumbo Packet The maximum available size of the transfer unit also known as the Maximum Transmission Unit MTU For IPoIB the MTU should not include the size of the IPoIB header 4B For example if the network adapter card supports a 4K MTU th
124. s Step 1 Start the Device Manager open a command line window and enter devmgmt msc Step 2 Open Network Adapters Step3 Select Mellanox Ethernet adapter right click and select Properties Step4 Select the Performance tab Step 5 Choose one of the tuning scenarios Single port traffic Improves performance for running single port traffic each time Single stream traffic Optimizes tuning for applications with single connection Dual port traffic Improves performance for running traffic on both ports simultaneously Forwarding traffic Improves performance for running scenarios that involve both ports for exam ple via IXIA Multicast traffic Improves performance when the main traffic runs on multicast Mellanox Technologies 38 J WinOF VPI for Windows User Manual Rev 4 40 8 Click on Run Tuning button Detads Events Power Managemert General Advanced Information Performance Driver AA Performance Tuning Tool Mellanox Tuning Scenario C Single por tralhic c C Mulicast traffic C Single sheam baltic Restore Defaut Setting Run Tuning single port tratfic each time Single stream traffic Improving performance tor running single stream traffic each tme Dual port traffic Improving performance for running traffic on both ports simutaneousty Clicking the Run Tuning button activates the general tuning as explained above and changes several driver registry entries for t
125. s Number of UC packets silently discarded on the receive queue due to lack of receives descriptor CQ overflows Number of CQ overflows NOTE this value is evaluated for the entire NIC since there are cases where CQ might be associated with both ports i e the value on all ports is identical EQ overflows Number of EQ overflows NOTE this value is evaluated for the entire NIC since there are cases where EQ might be associated with both ports i e the value on all ports is identical Bad doorbells Number of bad DoorBells Responder duplicate request received pending firmware implementation Number of duplicate requests received when the local machine receives inbound traffic Requester time out received pending firmware implementa tion Number of time out received when the local machine generates outbound traffic 6 4 1 3 Proprietary Mellanox QoS Counters Proprietary Mellanox QoS counter set consists of flow statistics per VLAN priority Each QoS policy is associated with a priority The counter presents the priority s traffic pause statistics Table 7 Mellanox QoS Counters Mellanox QoS Counters Description Bytes Packets IN Bytes Received The number of bytes received that are covered by this priority The counted bytes include framing characters modulo 2 64 Bytes Received Sec The number of bytes received per second that are covered by this
126. s ibv write lat i b port ib port s ize message size t x depth tx size size u qp timeout S L sl type iteration num V ersion C report cycles report unsorted 8 4 12 2ibv write lat Options c onnection type RC UC UD m tu mtu size I nline size inline x gid index n p ort PDT port a 11 H report histogram U d ib device name The table below lists the various flags of the command Table 40 ibv write lat Flags and Options Flag Description p port lt port gt Listens on connect to port lt port gt default 18515 d ib dev lt dev gt Uses IB device lt device guid gt default first device found i ib port lt port gt Uses port lt port gt of IB device default 1 m mtu lt mtu gt The mtu size default 1024 c connection lt RC UC gt Connection type RC UC default RC Size lt size gt The size of message to exchange default 65536 a all Runs sizes from 2 till 2223 t tx depth lt dep gt The size of tx queue default 100 n iters lt iters gt The number of exchanges at least 2 default 1000 u qp timeout lt timeout gt QP timeout The timeout value is 4 usec 2 timeout default 14 S sl lt sl gt The service level default 0 x gid index lt index gt Test uses GID with GID index taken from command line for RDMAOE
127. s l Loop ports reset after read r Reset the counters after reading them Ca C ca name Use the specified channel adapter or router Port P lt ca_port gt Use the specified port Reset_only R Reset the counters timeout t lt timeout_ms gt Override the default timeout for the solicited MADs msec version V Show version info lt lid guid gt port reset_mask LID or GUID extended x show extended port counters extended_speeds T show port extended speeds counters oprcvcounters show Rcv Counters per Op code flowctlcounters show flow control counters vloppackets show packets received per Op code per VL vlopdata show data received per Op code per VL vIxmitflowctlerrors show flow control update errors per VL vIxmitcounters show ticks waiting to transmit counters per VL swportvlcong show sw port VL congestion ICvcc show Rcv congestion control counters sIrcvfecn show SL Rev FECN counters slrcvbecn show SL Rcv BECN counters xmitcc show Xmit congestion control counters vlxmittimecc show VL Xmit Time congestion control counters Mellanox Technologies 67 J WinOF VPI for Windows User Manual Rev 4 40 Examples perfquery r 32 1 4 read performance counters and reset perfquery e r 32 1 read extended performance counters and reset perfquery R 0x20 1 reset performa
128. s A PR P VOTER 86 8 3 19 1bsysstat LL Raabe ea Y RERGG GREEN Geb Ree Se egies 88 8 320 periquitos due PW LIO edet eq des 89 SOL SAQUE A A de pee tel ety ecouter es 90 8 3 22 smpdump oeste ec ENDE ER TERRE RT CUR ae SA 92 8 4 InfiniBand Fabric Performance Utilities ooooooooooomomoo 94 8 4 1 ab read DW icce iieri an Eb Ru ERREUR ERR EU REA NER Pd 94 8 442 ibs read labzs cu 27 Bet CH SPP HERR eg e aet eeu ss 95 8 43 ib send DW o obe e tli ettet pss 96 Mellanox Technologies 4 J WinOF VPI for Windows User Manual Rev 4 40 8 44 ib send lat 25 oec uc Set eie eee eed 97 SAD ab writes Dwi sv EA Pee a eR oi 98 8 4 6 ib write latis e ROREM RR bie Guage a e RAE 99 SA dgbysread DW A gs e DxeWrbxPME SWEET UNES SUPE 100 8 48 abv read lato usb eie e dehet o edes ay 101 8 49 ibv send DW eei et on aed A e ERU T ete AS dee 102 84 I0 aby send lat isc s ont qup eae te ae I Geh ese ds 104 8 4 11 iby write bw i sse esee ke REDE ER OUR oU EIER 105 8 412 0v rte lado LEER RCRUM RAD BETS 107 8 4 13 nd write DW coL UR RE eee Need ge en a ek heen ones 108 84 14 md write latarenn Cty Sts gh lee Sad HRS es 109 8 4 15 nd r ad bw ise cete p deer s det dle eh 110 8 4 16 ndztead lt oe ette ctim pe vip RINES 111 SALINA ee ee BU oe eos be oka ato 112 Chapter 9 Software Development Kit 0 cece cece ewe cece eee ee 114 Chapter 10 Troubleshooting ccc ccc cece cece eee cece cece ccc ee LIS 10 1 InfiniBand Tr
129. s a service execute the OpenSM service sc create OpenSM binPath c Program Files Mellanox MLNX_VPI IB Tools opensm exe service start auto gt To start OpenSM as a service sc start OpenSM gt To run OpenSM manually opensm exe For additional run options enter opensm exe h The following are commands used from the PowerShell gt To register it as a service execute the OpenSM service New Service Name OpenSM BinaryPathName C Program Files Mella nox MLNX_VPI IB Tools opensm exe service L 128 DisplayName OpenSM Description OpenSM for IB subnet StartupType Automatic To start OpenSM as a service run Start Service OpenSM1 Notes Forlong term running please avoid using the v verbosity option to avoid exceeding disk quota Running OpenSM on multiple servers may lead to incorrect OpenSM behavior Please do not run more than two instances of OpenSM in the subnet Mellanox Technologies 52 J WinOF VPI for Windows User Manual Rev 4 40 8 InfiniBand Fabric 8 1 Network Direct Interface The Network Direct Interface NDI architecture provides application developers with a net working interface that enables zero copy data transfers between applications kernel bypass I O generation and completion processing and one sided data transfer operations NDI is supported by Microsoft and is the recommended method to write InfiniBand application NDI exposes the advanced capabilities of
130. s network connection If the primary adapter fails the secondary adapter currently in a standby mode takes over Fault Tolerance is the basis for each of the following teaming types and is inherent in all teaming modes 2 Switch Fault Tolerance Provides a failover relationship between two adapters when each adapter is connected to a separate switch 3 Send Load Balancing Provides load balancing of transmit traffic and fault tolerance The load balancing is perform only on the send port 4 Load Balancing Send amp Receive Provides load balancing of transmit and receive traffic and fault tolerance The load balancing splits the transmit and receive traffic statically among the team adapters without changing the base of the traffic loading based on the source destination MAC and IP addresses 5 Adaptive Load Balancing The same functionality as Load Balancing Send amp Receive In case of traffic load in one of the adapters the load balancing channels the traffic between the other team adapter 6 Dynamic Link Aggregation 802 3ad Provides dynamic link aggregation allowing creation of one or more channel groups using same speed or mixed speed server adapters 7 Static Link Aggregation 802 3ad Provides increased transmission and reception throughput in a team comprised of two to eight adapter ports through static configuration If the switch connected to the HCA supports 802 3ad the recommended setting is teaming mode 6 3 5
131. s not just switch port 0 Mellanox Technologies 85 J WinOF VPI for Windows User Manual Rev 4 40 Table 25 ibqueryerrors Flags and Options Flags Description Reports the port information This includes LID port exter nal port if applicable link speed setting remote GUID remote port remote external port if applicable and remote node description information data Includes the optional transmit and receive data counters threshold file Specifies an alternate threshold file The default is opt ufm files conf infiniband diags error thresholds switch Prints data for switches only ca Prints data for CA s only router Prints data for routers only clear errors k Clear error counters after read k and K can be used together to clear both errors and counters clear counts K Clear data counters after read CAUTION clearing data counters will occur regardless of if they are printed or not This is because data counters are only printed on ports which have errors This means if a port has 0 errors and the K option is specified the data counters will be cleared without any printed output details Includes receive error and transmits discard details load cache lt filename gt Loads and uses the cached ibnetdiscover data stored in the specified filename May be useful for outputting and learn ing about other fabrics or a previous
132. s or other resources on a remote server to read create and update them In addition it enables communication with any server program that is set up to receive an SMB client request 4 2 Hardware and Software Prerequisites The following are hardware and software prerequisites Two or more machines running Windows Server 2012 One or more Mellanox ConnectX 2 ConnectX 3 or ConnectX 3Pro adapters for each server e One or more Mellanox InfiniBand switches Two or more QSFP cables required for InfiniBand SMB Direct in Windows Server 2012 does not support older Mellanox InfiniBand adapters such as ConnectX and InfiniHost III adapters 4 3 SMB Configuration Verification 4 3 1 Verifying SMB Configuration Use the following PowerShell cmdlets to verify SMB Multichannel is enabled confirm the adapters are recognized by SMB and that their RDMA capability is properly identified On the SMB client run the following PowerShell cmdlets Get SmbClientConfiguration Select EnableMultichannel Get SmbClientNetworkInterface On the SMB server run the following PowerShell cmdlets Get SmbServerConfiguration Select EnableMultichannel Get SmbServerNetworkInterface netstat exe xan match 445 a The NETSTAT command confirms if the File Server is listening on the RDMA interfaces Mellanox Technologies 30 J WinOF VPI for Windows User Manual Rev 4 40 4 3 2 Verifying SMB Connection To verify
133. s pertaining to this node show the connectivity On the left is the port number of the current node On the right is the peer node node at other end of link It is identified in quotes with nodetype followed by followed by NodeGUID with the port number in square brackets Further on the right is a comment What follows the comment is dependent on the node type If it is a switch node it is followed by the NodeDescription in quotes and the LID of the peer node If it is a CA or router node it is fol lowed by the local LID and LMC and then followed by the NodeDescription in quotes and the LID of the peer node The active link width and speed are then appended to the end of this output line Example Topology file generated on Tue Jun 5 14 15 10 2007 Max of 3 hops discovered Initiated from node 0008f10403960558 port 0008f10403960559 Non Chassis Nodes When grouping is used InfiniBand nodes are organized into chasses which are numbered Nodes which cannot be determined to be in a chassis are displayed as Non Chassis Nodes External ports are also shown on the connectivity lines vendid 0x8f1 devid 0x5a06 sysimgguid 0x5442ba00003000 switchguid 0x5442ba00003080 5442ba00003080 Switch 24 S 005442ba00003080 ISR9024 Voltaire base port 0 lid 6 lmc 0 22 H 0008 10403961354 1 8 10403961355 MT23108 InfiniHost Mellanox Technologies lid 4 4xSDR 10 S 0008 10400410015 1 SW 61B4 Voltaire lid 3 4xSD
134. s the creation of Infini Band applications for MLNX_VPI software package The SDK package contains header files libraries and code examples To open the SDK package you must run the sdk exe file and get the complete list of files SDK package can be found under lt installation_directory gt IB SDK Mellanox Technologies 114 WinOF VPI for Windows User Manual Rev 4 40 10 Troubleshooting 10 1 InfiniBand Troubleshooting Issue 1 The InfiniBand interfaces are not up after the first reboot after the installation process is completed Suggestion To troubleshoot this issue follow the steps below 1 Check that the InfiniBand driver is running on all nodes by using vstat The vstat utility located at lt installation_directory gt tools displays the status and capabil ities of the network adaptor card s 2 On the command line enter vstat use h for options to retrieve information about one or more adapter ports The field port_state will be equal to PORT DOWN when there is no InfiniBand cable no link PORT INITIALIZED when the port is connected to some other port physical link PORT ACTIVE when the port is connected and OpenSM is running logical link PORT ARMED when the port is connected to some other port physical link 3 Run sminfo and verify that OpenSM is running In case OpenSM is not running please see OpenSM operation instructions in Section 7 OpenSM Subnet Manager
135. sor 1 TxlnterruptProcessor 1 TxForwardingProcessor 1 e UseRSSForUDP 1 In Operating Systems support NDIS6 2 MaxRssProcessors 8 In Operating Systems support NDIS6 3 NumRSSQueues 8 cl Specifies first connection name See examples c2 Specifies second connection name See examples b Specifies base RSS processor number See examples Used for manual option m only n Specifies number of RSS processors See examples Used for manual option m only st Single stream traffic scenario This option must be followed by one or two connection names for an Ethernet adapter The tuning will restore the default settings on the second connection and performed on the first connection This option automatically sets SendCompletionMethod 0 e RecvCompletionMethod 2 ReceiveBuffers 1024 UseRSSForRawIP 1 UseRSSForUDP 1 In Operating Systems support NDIS6 3 RssProfile 3 Additionally this option chooses the best processors to assign to DefaultRecvRingProcessor CxInterruptProcessor TxForwardingProcessor In Operating Systems support NDIS6 2 RssBaseProcNumber MaxRssProcessors In Operating Systems support NDIS6 3 NumRSSQueues RssMaxProcNumber Mellanox Technologies 42 J WinOF VPI for Windows User Manual Rev 4 40 Examples For example if the adapter is represented by Local Area Connection 6 and Local Area Con nection 7 For single port s
136. state of a fabric Cannot be used if user specifies a direct route path See ibnetdis cover for information on caching ibnetdiscover output R This option is obsolete and has no effect d Raises the IB debugging level May be used several times ddd or d d d e Shows send and receive errors time outs and others h Shows the usage message V Increases the application verbosity level May be used sev eral times vv or v v v C ca name Uses the specified ca name P ca port Uses the specified ca port Mellanox Technologies 86 J WinOF VPI for Windows User Manual Rev 4 40 Table 25 ibqueryerrors Flags and Options Flags Description t lt timeout_ms gt Overrides the default timeout for the solicited mads 8 3 18 3 ibqueryerrors Exit Status If a failure to scan the fabric occurs return 1 If the scan succeeds without errors beyond thresh olds return 0 If errors are found on ports beyond thresholds return 1 8 3 18 4 ibqueryerrors Files opt ufm files conf infiniband diags error thresholds Define threshold values for errors File format is simple name val Comments begin with Example Define thresholds for error counters SymbolErrorCounter 10 LinkErrorRecoveryCounter 10 VL15Dropped 100 8 3 19 ibsysstat ibsysstat uses vendor MADs to validate connectivity between InfiniBand nodes and obtain other information about the I
137. steps Step 1 Open Device Manager and expand Network Adapters in the device display pane Step2 Right click the Mellanox IPoIB Adapter entry and left click Properties Step3 Click the Advanced tab and modify the desired properties 7 The IPoIB network interface is automatically restarted once you finish modifying IPoIB d parameters Consequently it might affect any running traffic 5 1 2 Displaying Adapter Related Information To display a summary of network adapter software firmware and hardware related information such as driver version firmware version bus interface adapter identity and network port link information perform the following steps Mellanox Technologies 32 J WinOF VPI for Windows User Manual Rev 4 40 Step 1 Display the Device Manager File Action View Help es m 3 Hum S Gt SN G6 p Y Ports COM amp LPT b Print queues b a Processors b DP Security devices b S Storage controllers a NE System devices ACPI Fixed Feature Button Broadcom BCM5709C NetXtreme Il GigE 48 Broadcom BCM5709C NetXtreme Il GigE 49 i Composite Bus Enumerator Direct memory access controller i Intel R 5520 5500 Physical and Link Layer Registers Port 1 3427 Intel R 5520 5500 Routing and Protocol Layer Register Port 1 3428 gm Intel R 5520 5500 X58 I O Hub Control Status and RAS Registers 3423 J Intel R 5520 5500 58 I O Hub GPIO and Scratch Pad Registers 3422 Intel R 5520 5500 X58 I O Hub PCI Express Root Port
138. t t imeout timeout ms V ersion outstanding smps o lt val gt u sage node name map lt node name map gt cache lt filename gt load cache filename p orts m ax hops h elp topology file 8 3 8 2 ibnetdiscover Options The table below lists the various flags of the command Most OpenIB diagnostics take the following common flags The exact list of supported flags per utility can be found in the usage message and can be shown using the util name h syntax Table 15 ibnetdiscover Flags and Options Flag Description list Lists of connected nodes Mellanox Technologies 70 J WinOF VPI for Windows User Manual Rev 4 40 Table 15 ibnetdiscover Flags and Options Flag Description g grouping Shows grouping Grouping correlates InfiniBand nodes by different vendor specific schemes It may also show the switch external ports correspondence H Hca_list Lists of connected CAs S Switch_list Lists of connected switches R Router_list Lists of connected routers S show Shows progress information during discovery node name map lt node name map gt Specifies a node name map The node name map file maps GUIDs to more user friendly names See Topology File Format on page 72 cache lt filename gt Caches the ibnetdiscover network data in the specified filename This cache may be used by other tools
139. t Adapters Broadcom BCM5708C Netxtreme II GigE NDIS VBD Client 2 Mellanox ConnectX MT25418 DDR Channel Mellanox ConnectX 10Gb Ethernet Adapter Mellanox Connectx 10Gb Ethernet Adapter 2 x Mellanox Virtual Miniport Driver Team A Wise ee ee ijs Other devices Virtual Bundle m Base System Device Team Ports COM amp LPT 9 99 8 EH Me Pte bey by PE n Processors lt gt Storage controllers 1 System devices Universal Serial Bus controllers EE EHE EH Mellanox Technologies 23 WinOF VPI for Windows User Manual Rev 4 40 Step2 Right click a Mellanox network adapter under Network adapters list and left click Proper ties Select the VLAN tab from the Properties sheet Physical Adapter Virtual Bundle Team canon connects 105b Ethernet Adapter Properties FES Mellanox Virtual Miniport Driver Team A Properties LBFO Driver Details General VLAN Diver Details General Information Advanced Performance VLAN Virtual Lans Virtual Lans Mellanox Mellanox VLANs associated with this adapte VLANs associated with this adapter This dialog allows you to configure Virtual LANs VLANs for the This dialog allows you to configure Virtual LANs VLANs for the adapter adapter NOTE Atter configuring a VLAN the adapter associated with the NOTE After configuring VLAN the adapter associated with the VLAN may experience a momentary loss of connectivity VLAN
140. t on page 72 node name map node name map debug d ddd d d d Mellanox Technologies 74 J Raises the IB debugging level WinOF VPI for Windows User Manual Rev 4 40 Table 16 ibtracert Flags and Options Flag Description Lid L Uses LID address argument eITOIS Shows send and receive errors usage u Usage message Guid G Uses GUID address argument In most cases it is the Port GUID Example 0x08f1040023 sm_port s lt smlid gt Uses smlid as the target lid for SM SA queries help h Shows the usage message verbose v vv v v v Increases the application verbosity level version V Shows the version info Ca C ca name Uses the specified ca name Port P ca port Uses the specified ca port timeout t timeout ms Overrides the default timeout for the solicited mads Examples Unicast examples ibtracert 4 16 ibtracert n 4 16 show path between lids 4 and 16 same but using simple output format ibtracert G 0x8f1040396522d 0x002c9000100d051 use guid addresses Multicast example ibtracert m 0xc000 4 16 16 show multicast path of mlid 0xc000 between lids 4 and 8 3 10 sminfo Optionally sets and displays the output of a sminfo query in a readable format The target SM is the one listed in the local port info or the SM specified by the optional
141. t Driver Added section Updated section Tunable Performance Parame ters Added section Merged Ethernet and InfiniBand features sec tions e Removed section Sockets Direct Protocol and its subsections e Removed section Winsock Direct and Protocol and its subsec tions e Removed section Added ConnectX 3 support Removed section IPoIB Drivers Overview e Removed section Booting Windows from an iSCSI Target Rev 2 1 3 January 28 2011 Complete restructure Rev 2 1 2 October 10 2010 Removed section Debug Options Updated Section 3 Uninstalling Mellanox VPI Driver on page 11 Added Section 6 InfiniBand Fabric on page 38 and its sub sections e Added Section 6 3 InfiniBand Fabric Performance Utilities on page 71 and its subsections Rev 2 1 1 1 July 14 2010 Removed all references of InfiniHost adapter since it is not supported starting with WinOF VPI v2 1 1 Rev 2 1 1 May 2010 First release Mellanox Technologies 9 J WinOF VPI for Windows User Manual Rev 4 40 About this Manual Scope The document describes WinOF Rev 4 40 features performance InfiniBand diagnostic tools content and configuration Additionally this document provides information on various perfor mance tools supplied with this version Intended Audience This manual is intended for system administrators responsible for the installation configuration management and maintenance of the software a
142. terface Should be configured when working with L3 only config interface vlan 55 Step 8 Assign an IP address to the vlan interface config interface vlan 55 ip address 100 5 5 1 255 255 255 252 Step 9 Allow ports that belongs to LAG port channel 55 access VLAN 55 Port channel 55 is used in the example below as the VLAN ID config interface port channel 55 switchport trunk allowed vlan 55 Step 10 Set access ports VID to match the host VID The default native VID that is associated with access port is VID 1 config interface ethernet 1 19 config interface eth 1 19 switchport access vlan 55 Step 11 Disable spanning tree algorithm config no spanning tree Step 12 Enable LACP config lacp Step 13 Enable OSPF routing protocol Should be configured when working with L3 only config protocol ospf Mellanox Technologies 28 J WinOF VPI for Windows User Manual Rev 4 40 config router ospf config interface vlan 55 ip ospf area 0 0 0 Step 14 Enable PFC on the switch config dcb priority flow control enable Step 15 Enable PFC on the specific priority 3 config dcb priority flow control priority 3 enable Step 16 Enable PFC on the port config interface eth 1 19 dcb priority flow control mode on force config interface eth 1 19 flowcontrol receive off force config interface eth 1 19 flowcontrol send off force 3 6 3 1 1 Using Global Pause Flow C
143. terface Definition The diagnostic tools installed on a machine connect to the IB fabric by means of an HCA port through which they send MADs To specify this port to an IB diagnostic tool use one of the fol lowing options 1 On the command line specify the port number using the option p local port number see below 2 Define the environment variable IBDIAG PORT NUM In case more than one HCA device is installed on the local machine it is necessary to specify the device s index to the tool as well For this use on of the following options 1 On the command line specify the index of the local device using the following option 1 index of local device gt 2 Define the environment variable IBDIAG DEV IDX 8 3 1 3 Addressing uz This section applies to the ibdiagpath tool only A tool command may require defining the destination device or port to which it applies The following addressing modes can be used to define the IB ports Using a Directed Route to the destination Tool option d This option defines a directed route of output port numbers from the local port to the destination Using port LIDs Tool option 1 In this mode the source and destination ports are defined by means of their LIDs If the fabric is con figured to allow multiple LIDs per port then using any of them is valid for defining a port Mellanox Technologies 54 J WinOF VPI for Windows User Manual Rev 4 40 Using
144. ters to suit your system Please note the following a For help on a specific parameter option check the help button at the bottom of the dialog b If you select one of the entries Offload Options Performance Options or Flow Con trol Options you ll need to click the Properties button to modify parameters via a pop up dialog See example in the two figures below c A Use Default for All button appears on the Advanced dialog Click this button to set all entries and their sub entries to the Mellanox Ethernet driver default values You will be prompted to approve this action Mellanox Technologies 36 WinOF VPI for Windows User Manual Rev 4 40 6 Performance Tuning This section describes how to modify Windows registry parameters in order to improve performance Please note that modifying the registry incorrectly might lead to serious problems gt including the loss of data system hang and you may need to reinstall Windows As such it is recommended to back up the registry on your system before implementing recommendations included in this section If the modifications you apply lead to serious problems you will be able to restore the original registry state For more details about backing up and restoring the registry please visit www microsoft com Ahead 6 1 General Performance Optimization and Tuning To achieve the best performance for Windows you may need to modify some of the Windows registries 6 1 1
145. the Mellanox networking devices and allows applica tions to leverage advances of InfiniBand For further information please refer to http msdn microsoft com en us library cc904397 v vs 85 aspx 8 2 part man Virtual IPoIB Port Creation Utility part man is used to add remove virtual IPoIB ports Currently each Mellanox IPoIB port can have a single virtual IPoIB only which is created with a PKey value of Oxffff Usage part man exe v lt show add rem gt Local area connection name v increases verbosity level Show shows the currently configured virtual ipoib ports e Add adds new virtual IPoIB port Where add should be used with interface name as it appears in Network connection in the control panel 66 99 e Name any printable name without quotations marks commas and starting with i Rem removes existing virtual IPoIB port Therefore it requires running it with Show then copy the parameters gt Example Adding and removing virtual port part_man add Ethernet 4 ipoib 4 1 I nc Part man show Ethernet 6 ipoib 4 1 pamm ers erm BIS hers e co aljyeuile 4 al Done 8 3 InfiniBand Fabric Diagnostic Utilities The diagnostic utilities described in this chapter provide means for debugging the connectivity and status of InfiniBand IB devices in a fabric 8 3 1 Utilities Usage This section first describes common configuration interface and addressing for all the tools in the package
146. tream tuning type perf tuning exe s cl Local Area Connection 6 c2 Local Area Connection 7 or to set one adapter only perf tuning exe s cl Local Area Connection 6 For single stream tuning type perf tuning exe st cl Local Area Connection 6 c2 Local Area Connection 7 or to set one adapter only perf tuning exe st cl Local Area Connection 6 For dual port streams tuning type perf tuning exe d cl Local Area Connection 6 c2 Local Area Connection 7 For forwarding streams tuning type perf tuning exe f cl Local Area Connection 6 c2 Local Area Connection 7 For manual tuning of the first adapter to use RSS on CPUs 0 3 perf tuning exe m cl Local Area Connection 6 b 0 n 4 In order to restore defaults type perf tuning exe r cl Local Area Connection 6 c2 Local Area Connection 7 6 2 Application Specific Optimization and Tuning 6 2 1 Ethernet Performance Tuning The user can configure the Ethernet adapter by setting some registry keys The registry keys may affect Ethernet performance To improve performance activate the performance tuning tool as follows Step 1 Start the Device Manager open a command line window and enter devmgmt msc Step 2 Open Network Adapters Step3 Right click the relevant Ethernet adapter and select Properties Step 4 Select the Advanced tab Step 5 Modify performance parameters properties as desired 6 2 1 1 Performance Known Issue
147. v_ send _ lat Flags and Options vase ex ae RR 104 Table 39 ibv write bw Flags and Options 0 0 cece ee eee eee 106 Table 40 ibv_write_lat Flags and Options sese 107 Table 41 nd write bw Flags and Options 0 0 e eee eee eee eee 108 Table 42 nd write l t Options DS vee gua eee wea EE m ER 109 Table 43 ond read bw Options ua a ou WOES Ves dm Shed v 110 Mellanox Technologies 6 J WinOF VPI for Windows User Manual Rev 4 40 Table 44 nd read lat Options 4 es exu 4 esce EG Re AA eR AE BS 111 Jablegds NUCH Options se oda oc Ds rt ta eR OS A Eg ua oe Dus s 112 Mellanox Technologies 7 J WinOF VPI for Windows User Manual Rev 4 40 Document Revision History Table 1 Document Revision History Document Revision Date Changes Rev 4 40 November 07 2013 Updated the following sections Section 3 6 2 2 Configuring Windows Host on page 26 Section 7 OpenSM Subnet Manager on page 52 Section 8 4 17 1 NTttcp Synopsys on page 111 July 09 2013 Updated Section 7 OpenSM Subnet Manager on page 52 June 10 2013 Updated the following sections Section 2 1 Downloading Mellanox Firmware Tools on page 13 Section 8 InfiniBand Fabric on page 53 Section 10 Troubleshooting on page 115 Section 11 Documentation on page 119 Section Options on page 40 Added the following sections e perf tuning Appen
148. vice level default 0 Mellanox Technologies 100 WinOF VPI for Windows User Manual Rev 4 40 Table 36 ibv_read_lat Flags and Options Flag Description x gid index lt index gt Test uses GID with GID index taken from command line for RDMAOE index should be 0 C report cycles Reports times in cpu cycle units default microseconds H report histogram Prints out all results default print summary only U report unsorted implies H Prints out unsorted results default sorted V version Displays version number e events Inactive during CQ events default poll F CPU freq The CPU frequency test It is active even if the cpufreq ondemand module is loaded R rdma cm Connects QPs with rdma cm and run test on those QPs Z com rdma cm Communicates with rdma cm module to exchange data use regular QPs c connection lt RC UC gt Connection type RC UC default RC I inline_size lt size gt Max size of message to be sent in inline default 400 8 4 9 ibv send bw This is a more advanced version of ib send bw and contains more flags and featurs than the older version and also improved algorithms ibv send bw calculats the BW of SEND between a pair of machines One acts as a server and the other as a client The server receive packets from the client and they both calculate the throughput of the operati
149. x TECHNOLOGIES Mellanox Technologies Mellanox Technologies Ltd 350 Oakmead Parkway Suite 100 Beit Mellanox Sunnyvale CA 94085 PO Box 586 Yokneam 20692 U S A Israel www mellanox com www mellanox com Tel 408 970 3400 Tel 972 0 74 723 7200 Fax 408 970 3403 Fax 972 0 4 959 3245 Copyright 2013 Mellanox Technologies All Rights Reserved Mellanox Mellanox logo BridgeX ConnectX CORE Direct InfiniBridge InfiniHost InfiniScale MLNX OS PhyX SwitchX UFM Virtual Protocol Interconnect and Voltaire are registered trademarks of Mellanox Technologies Ltd Connect IB FabricIT Mellanox Open Ethernet Mellanox Virtual Modular Switch MetroX MetroDX ScalableHPC Unbreakable Link are trademarks of Mellanox Technologies Ltd All other trademarks are property of their respective owners 2 Mellanox Technologies Document Number 3280 WinOF VPI for Windows User Manual Rev 4 40 Table of Contents Document Revision History ccc cece ccc cee cece ccc cece nh nh nnn 8 About this Manual eye x RARE ERAS EAS BES EN AAS BERS PAROS EEN GAGS FRENTE 10 vino p ea n Pm ee od 10 Intended Audience ais ct tag cg eet eee ph e bare Saleh Ganson wed 10 Documentation Conventions 0 cc cece ene hh 10 Common Abbreviations and Acronyms 0 cece eee ees 11 Chapter I Introd cti n 24 24 ao c reor eh EXER eRe a a e was 12 1 1 Mellanox VPI Pack
150. x08f1040023 help h Shows the usage message verbose v vv v v v Increases the application verbosity level version V Shows the version info Ca C ca name Uses the specified ca name Port P ca port Uses the specified ca port timeout t timeout ms Overrides the default timeout for the solicited mads Mellanox Technologies 76 J WinOF VPI for Windows User Manual Rev 4 40 Examples sminfo local ports sminfo sminfo 32 show sminfo of lid 32 sminfo G 0x8f1040023 same but using guid address 8 3 11 ibclearerrors ibclearerrors is a script which clears the PMA error counters in PortCounters by either waking the InfiniBand subnet topology or using an already saved topology file 8 3 11 1 ibclearerrors Synopsys ibclearerrors h N nocolor lt topology file gt C ca name P ca port t ime out timeout ms 8 3 11 2 ibclearerrors Options The table below lists the various flags of the command Table 18 ibclearerrors Flags and Options Flag Description C ca name Use the specified ca name P ca port Use the specified ca port t timeout ms Override the default timeout for the solicited mads 8 3 12 ibstat ibstat is a binary which displays basic information obtained from the local IB driver Output includes LID SMLID port state link width active and port physical state 8 3 12 1 ibstat Synopsys ibstat d ebug l ist of cas s h

Download Pdf Manuals

image

Related Search

Related Contents

Roadmaster SBS2000H3 User's Manual  Indesit IWDD 7123  Metra Dash kit  BRK Series - BRK Electronics  Palsonic PDP4200 User's Manual  Short form User Manual  Assembly and User`s Manual 506 and 5012  PRODUCT CATALOGUE 2015  

Copyright © All rights reserved.
Failed to retrieve file