<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=905263919-20032007>Hi all,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=905263919-20032007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=905263919-20032007>I was wondering if there are any tools specific for
Infiniband-performance measurement - throughput, round trip time with
adjustable</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=905263919-20032007>packet sizes. </SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Dukle, Kapil (GE Healthcare)
<BR><B>Sent:</B> Monday, March 19, 2007 5:37 PM<BR><B>To:</B>
general@lists.openfabrics.org; openib-general@openib.org<BR><B>Subject:</B>
ibping fails in loopback mode<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial size=2>Hi
all,</FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial size=2>I'm having trouble
getting ibping to work in loopback node. The original config is to connect first
port of Blade 1 with first port of Blade 2. </FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial size=2>For my loopback
test, I have connected the Infiniband cable between the 2 ports on the same
Linux </FONT></SPAN><SPAN class=901371722-19032007><FONT face=Arial
size=2>blade. </FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial size=2>Both opensm and
ibping (server mode) seem to be running on the blade. Ping succeeds to the first
active port, but fails</FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial size=2>for the second one.
See below...</FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial size=2>Why is the ibping to
the second active (and linkup) port failing? Am I missing something? The
version is OFED1.0</FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Courier
size=2><STRONG>[root@XXXX]# ps -elf | grep opensm</STRONG><BR>4 S
root 3078 1 0
76 0 - 19039 stext Mar16
? 00:00:09 <STRONG><FONT
color=#0000ff>/usr/sbin/opensm</FONT></STRONG><BR>4 S
root 5444 5424 0 77
0 - 13981 pipe_w 17:22 pts/1 00:00:00 grep
opensm<BR></FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Courier
size=2><STRONG>[root@XXXX]# ibping -v -S &<BR></STRONG>[1] 5445<BR>[root@vre
sdc]# ibwarn: [5445] ibping_serv: starting to serve...</FONT></SPAN></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Courier
size=2><STRONG>[root@XXXX]# ps -elf | grep ibping</STRONG><BR>4 S
root 5445 5424 0 77
0 - 1454 - 17:22 pts/1
00:00:00 <STRONG><FONT color=#0000ff>ibping -v -S</FONT></STRONG><BR>4 S
root 5447 5424 0 77
0 - 13982 - 17:22 pts/1 00:00:00
grep ibping</FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Courier
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Courier
size=2><STRONG>[root@XXXX]# sminfo</STRONG><BR><STRONG><FONT
color=#0000ff>sminfo: sm lid 0x3</FONT></STRONG> sm guid 0x3ba00010027d9,
activity count 203459 priority 1 state SMINFO_MASTER 3</FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Courier
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Courier
size=2><STRONG>[root@XXXX]# ibstat</STRONG><BR>CA
'mthca0'<BR> CA type: MT25208 (MT23108
compat mode)<BR> Number of ports:
2<BR> Firmware version:
4.7.400<BR> Hardware version:
a0<BR> Node GUID:
0x0003ba00010027d8<BR> System image
GUID: 0x0003ba00010027db<BR>
<STRONG><FONT color=#0000ff>Port
1:<BR>
State:
Active<BR>
Physical state:
LinkUp<BR>
Rate:
10<BR>
Base lid:
3</FONT></STRONG><BR>
LMC:
0<BR>
SM lid:
3<BR>
Capability mask:
0x02510a6a<BR>
Port GUID: 0x0003ba00010027d9<BR>
<STRONG><FONT color=#0000ff>Port
2:<BR>
State:
Active<BR>
Physical state:
LinkUp<BR>
Rate:
10<BR>
Base lid:
1</FONT></STRONG><BR>
LMC:
0<BR>
SM lid:
3<BR>
Capability mask:
0x02510a68<BR>
Port GUID: 0x0003ba00010027da</FONT></SPAN></DIV>
<DIV><FONT face=Courier><SPAN class=901371722-19032007><FONT
size=2></FONT></SPAN><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Courier size=2><STRONG>[root@XXXX]# ibping -v
3</STRONG><BR>ibwarn: [5452] ibping: Ping..<BR>ibwarn: [5445] ibping_serv: Pong:
vre.(none)<BR><STRONG><FONT color=#0000ff>Pong from vre.(none) (Lid 0x3): time
0.111 ms</FONT></STRONG><BR>ibwarn: [5452] ibping: Ping..<BR>ibwarn: [5445]
ibping_serv: Pong: vre.(none)<BR>Pong from vre.(none) (Lid 0x3): time 0.087
ms<BR>ibwarn: [5452] ibping: Ping..<BR>ibwarn: [5445] ibping_serv: Pong:
vre.(none)<BR>Pong from vre.(none) (Lid 0x3): time 0.069 ms<BR>ibwarn: [5452]
report: out due signal 2</FONT></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><FONT face=Courier size=2>--- vre.(none) (Lid 0x3) ibping statistics
---<BR><FONT color=#0000ff><STRONG>3 packets transmitted, 3 received, 0% packet
loss, time 2320 ms</STRONG></FONT><BR>rtt min/avg/max = 0.069/0.089/0.111
ms<BR></FONT><SPAN class=901371722-19032007><FONT size=2></FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Courier
size=2><STRONG>[root@XXXX]# ibping -v 1</STRONG><BR>ibwarn: [5449] ibping:
Ping..<BR><STRONG><FONT color=#0000ff>ibwarn: [5449] main: ibping to Lid 0x1
failed</FONT></STRONG><BR>ibwarn: [5449] ibping: Ping..<BR>ibwarn: [5449] main:
ibping to Lid 0x1 failed<BR>ibwarn: [5449] ibping: Ping..<BR>ibwarn: [5449]
main: ibping to Lid 0x1 failed<BR>ibwarn: [5449] report: out due signal
2</FONT></SPAN></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial size=2><FONT
face=Courier>--- (Lid 0x1) ibping statistics ---<BR><STRONG><FONT
color=#0000ff>3 packets transmitted, 0 received, 100% packet loss, time 11358
ms</FONT></STRONG><BR>rtt min/avg/max = 0.000/0.000/0.000
ms</FONT><BR></FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial
size=2> </DIV></FONT></SPAN>
<DIV><SPAN class=901371722-19032007><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=901371722-19032007><FONT face=Arial
size=2>Kapil</FONT></SPAN></DIV></BODY></HTML>