Skip to contentSkip to conversation

lustre-1.8.8: rdma_listen() backlog 0 breaks iWARP

Lustre-devel Steve Wise 2 participants 5 messages Jul 23, 2014 – Jul 24, 2014

lore
Share & tools
lore

Steve Wise

author
#0 lore raw

Hello,

I'm trying to get lustre-1.8.8/RHEL6 running over Chelsio iWARP RNICs and connection setup is failing at the server due to kiblnd_startup() calling rdma_listen() with a backlog of
0. This effectively rejects all incoming connection requests. I looked at lustre-1.8.7,
and the backlog was 256 in that release.

Q: Why was it changed to 0?

Thanks,

Steve.

#1 lore raw
Quoted 11 lines · Steve Wise

Hello,

I'm trying to get lustre-1.8.8/RHEL6 running over Chelsio iWARP RNICs and connection setup
is failing at the server due to kiblnd_startup() calling rdma_listen() with a backlog of
0. This effectively rejects all incoming connection requests. I looked
at lustre-1.8.7,
and the backlog was 256 in that release.

Q: Why was it changed to 0?

Since I'm not familiar with the LNET code myself, I'd recommend to check the
commit messages in Git to see if there is an explanation, or in the linked Jira/Bugzilla ticket.

You may also want to see if this is fixed with the 1.8.9 release.

Cheers, Andreas

Signature · 4 lines
Andreas Dilger

Lustre Software Architect
Intel High Performance Data Division
author
#2 lore raw
Quoted 10 lines
Quoted 10 lines

Hello,

I'm trying to get lustre-1.8.8/RHEL6 running over Chelsio iWARP RNICs and connection setup
is failing at the server due to kiblnd_startup() calling rdma_listen() with a backlog of
0. This effectively rejects all incoming connection requests. I looked
at lustre-1.8.7,
and the backlog was 256 in that release.

Quoted 9 lines
Quoted 1 line

Q: Why was it changed to 0?

Since I'm not familiar with the LNET code myself, I'd recommend to check the
commit messages in Git to see if there is an explanation, or in the linked Jira/Bugzilla ticket.

You may also want to see if this is fixed with the 1.8.9 release.

+ sean hefty
+ Isaac Huang

This commit changed the backlog to 0:

commit 7b442f1a43714455fad06c527b6fbc10f82af857

Author: Isaac Huang <[email protected]>
Date:   Wed Nov 17 07:14:46 2010 -0700

b=20153 add IB bonding failover support to o2iblnd

O2iblnd changes to support failover events from an IB bonding IPoIB interface. Mostly to recreate device specific resources, e.g. listener CMID.

i=isaac
i=liang

I'm not sure why it was changed to 0 though. It definitely breaks iwarp support. I'm not yet sure what the semantics are for creating a listening cm_id with a backlog of 0. Was the assumption that 0 means "let the system choose" or "max supported backlog"? The iwarp CM interprets 0 to mean no connection requests allowed. :)

Isaac, can you explain?

Thanks,

Steve.

#3 lore raw
Quoted 7 lines

I'm not sure why it was changed to 0 though. It definitely breaks iwarp support. I'm not
yet sure what the semantics are for creating a listening cm_id with a backlog of 0. Was
the assumption that 0 means "let the system choose" or "max supported backlog"? The iwarp
CM interprets 0 to mean no connection requests allowed. :)

0 should mean let the system choose. Interpreting 0 as no connections allowed doesn't really make sense, since the app can get that by not calling listen at all.

author
#4 lore raw
Quoted 11 lines
Quoted 8 lines

I'm not sure why it was changed to 0 though. It definitely breaks iwarp support. I'm not
yet sure what the semantics are for creating a listening cm_id with a backlog of 0. Was
the assumption that 0 means "let the system choose" or "max supported backlog"? The iwarp
CM interprets 0 to mean no connection requests allowed. :)

0 should mean let the system choose. Interpreting 0 as no connections allowed doesn't really make sense, since the app can get that by not calling listen at all.

Ok then we can fix this in the iwcm. I'll post a patch to Linux-rdma soon.

Thanks,

Steve.