Gleb, We just talked about this problem and we decided that we needed to support overlapping registrations. Our idea is to add another funtion to the mpool that would return a list of registrations that correspond to a base address.
If you have anyother ideas of how to do it please let us know. Thanks, Tim Prins > On Tue, Aug 09, 2005 at 08:20:38AM -0600, Timothy B. Prins wrote: >> Gleb. >> >> The memory pool does not support overlapping registrations. The >> registrations are stored in a balanced tree, so which ever of the two it >> encounters first it will return. > This was my impression. Is this inefficient? If wrong module is returned > memory > will have to be registered one more time. Are you planning to support > overlapping registrations? I think it could be done with small changes > to ob1. > > >> >> >> Tim Prins >> >> >> > Hello, >> > >> > I am trying to understand how memory registration works in openMPI >> and >> > I have a question. Does mca_mpool_base_(insert|insert) interface >> supports >> > overlapping registrations? If one module register memory from 0 to 100 >> > and another from 50 to 150 what mca_mpool_base_find(80) will return to >> > ob1 module? >> > >> > -- >> > Gleb. >> > _______________________________________________ >> > devel mailing list >> > de...@open-mpi.org >> > http://www.open-mpi.org/mailman/listinfo.cgi/devel >> > >> >> _______________________________________________ >> devel mailing list >> de...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/devel > > -- > Gleb. >