Re: [OMPI devel] allocating sm memory with page alignment

2008-08-30 Thread Eugene Loh
Jeff Squyres wrote: On Aug 29, 2008, at 5:52 PM, Eugene Loh wrote: I'm looking at the sm BTL. Excellent! I hope you had a good dash of parmesan with that spaghetti code in there (the sm btl is among the hairiest sections in OMPI...). :-) There's probably some law of software engineer

Re: [OMPI devel] allocating sm memory with page alignment

2008-08-30 Thread Graham, Richard L.
I have not looked at the code in a long time, so not sure how many things have changed ... In general what you are suggesting is reasonable. However, especially on large machines you also need to worry about memory locality, so should allocate from memory pools that are appropriately located.

Re: [OMPI devel] allocating sm memory with page alignment

2008-08-30 Thread Jeff Squyres
On Aug 29, 2008, at 5:52 PM, Eugene Loh wrote: I'm looking at the sm BTL. Excellent! I hope you had a good dash of parmesan with that spaghetti code in there (the sm btl is among the hairiest sections in OMPI...). :-) In mca_btl_sm_add_procs(), there's a loop over peer processes, with