Re: [OMPI devel] ptmalloc and pin down cache problems again

2008-01-07 Thread Brian W. Barrett
Nope, I think that's a valid approach. For some reason, I believe it was problematic for the OpenIB guys to do that at the time we were hacking up that code. But if it works, it sounds like a much better approach. When you make the change to the openib mpool, I'd also MORECORE_CANNONT_TRIM

[OMPI devel] ptmalloc and pin down cache problems again

2008-01-07 Thread Gleb Natapov
Hi Brian, I encountered problem with ptmalloc an registration cache. I see that you (I think it was you) disabled shrinking of a heap memory allocated by sbrk by setting MORECORE_CANNOT_TRIM to 1. The comment explains that it should be done because freeing of small objects is not reentrant so if