[Openib-windows] Running WSD from as a non-administrator

Fabian Tillier ftillier at silverstorm.com
Fri Aug 4 16:58:49 PDT 2006


Hi Tzachi

On 7/30/06, Tzachi Dar <tzachid at mellanox.co.il> wrote:
>
> Hi Fab,
>
> When testing WSD from an account that is not an administrator, I have found
> out that we have a critical problem in this scenario. IT seems that the way
> that we were creating the IOCTLs for IBAT was wrong, and so was the way that
> we were opening the devices.

<snip>

> Please also note that such a user will also not be able to connect to the
> performance counters. Can you please fix this problem?

I just checked in a fix for this, available in revision 442.  Let me
know if you see problems with it - I checked that a regular user
running TTCP would be able to update the perf counters so that someone
monitoring would see the counter activity.

> Another issue that we have noticed is that there is no counter that tells
> the number of sockets that were connected using WSD. Can you add such a
> counter?

I don't know how useful this is.  In any case, I'd like to hold of on
adding this until after WHQL.  I remember a while ago you were looking
for a way to tell if sockets established over WSD or fell back on
IPoIB, so that your unit tests could more accurately determine
pass/fail results.  There is an environment variable, IBWSD_NO_IPOIB
that prevents failover to IPoIB if SA queries time out for some
reason.  Other failures (like out of memory) still let things fall
through, though.

Once the IP addresses are resolved and we have a path (two SA
queries), the connection establishment will go over WSD.  A failure in
the CM protocol (like a timeout or REJ) will not cause the socket to
fail over to IPoIB.

- Fab




More information about the ofw mailing list