[openib-general] SDP debug
Libor Michalek
libor at topspin.com
Wed Jun 15 14:28:34 PDT 2005
On Wed, Jun 15, 2005 at 03:47:15PM -0500, John Partridge wrote:
> I am trying to get SDP working on SGI Altix. I know that the InfiniBand is
> working as I have ipoib and ibv_pingpong etc all working fine.
>
> My question is how do I prove that an nttcp (or whatever I use) is using SDP
> rather than ipoib ?
>
> I have used strace and can see the libsdp.conf file being read. So I know I
> am going through libsdp.so (as defined in my LD_PRELOAD).
>
> Is there some DEBUG or counter I can use to tell me what is going on ?
John,
The easiest way is to look at /proc/net/sdp/devices, the second line
contains the number of connections in the SDP connection table. There
will be a connection for every SDP socket that's open, including listen
sockets. There are also a few files in the same /proc directory which
have a line of statistics per connection in the table.
-Libor
More information about the general
mailing list