Skip to content

Conversation

@jsquyres
Copy link
Member

The giant size of the TCP proc struct is causing a problem in some
environments (because it is allocated on the stack), and it was too
big, anyway.

Instead, use a hash map. That way, it starts small and can grow if it
needs to. It also makes no assumptions about the values of the kernel
interface indexes.

Fixes #5292.

Signed-off-by: Jeff Squyres jsquyres@cisco.com
(cherry picked from commit 9034717)

Refs #5392. FYI @lgarithm

The giant size of the TCP proc struct is causing a problem in some
environments (because it is allocated on the stack), and it was too
big, anyway.

Instead, use a hash map.  That way, it starts small and can grow if it
needs to.  It also makes no assumptions about the values of the kernel
interface indexes.

Fixes open-mpi#5292.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit 9034717)
@jsquyres jsquyres added this to the v2.1.4 milestone Jun 25, 2018
@jsquyres jsquyres requested a review from bosilca June 25, 2018 15:45
@jsquyres
Copy link
Member Author

@hppritcha Good to go.

@hppritcha hppritcha added the NEWS label Jun 25, 2018
@hppritcha hppritcha merged commit 08c3bf5 into open-mpi:v2.x Jun 25, 2018
@jsquyres jsquyres deleted the pr/v2.x/btl-tcp-use-opal-hash-map-for-kindex branch August 2, 2018 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants