[Pvfs2-developers] Pre bmi_mx patch
Scott Atchley
atchley at myri.com
Thu Dec 28 13:45:22 EST 2006
Hi Murali,
MX requires -lpthread by default. MX can be configured with --disable-
thread-safety. In that case, it does not require pthreads but
performance will be degraded. The bmi_mx code does not use any
threads itself, but MX has an internal progression thread that allows
overlap between computation and communication.
I can look at modifying pvfs2-genconfig to add the missing board info.
Scott
On Dec 28, 2006, at 1:18 PM, Murali Vilayannur wrote:
> Hi Scott,
> I see that -lpthread is tacked onto LIBS regardless of whether we
> want threading or not. IIRC atleast on the client-side we would want
> to be able to build without threads although i am not sure if that is
> true anymore...
> looks great otherwise.
> We do need to add the bmi_mx directory so that configure can generate
> the module.mk file..
> It would be good to have pvfs2-genconfig generate a default config
> file which is correct so that people can subsequently edit it if they
> wish to customize it or something.. does not matter at this point!
> thanks,
> Murali
>
> On 12/28/06, Scott Atchley <atchley at myri.com> wrote:
>> Hi all,
>>
>> I have attached a patch that modifies the existing PVFS2 CVS files so
>> that they are bmi_mx aware. The modified files are:
>>
>> configure.in
>> include/pvfs2-debug.h
>> Makefile.in
>> src/apps/admin/pvfs2-genconfig
>> src/common/misc/server-config.c
>> src/io/bmi/bmi.c
>>
>> Please review and apply.
>>
>> I do not know if you need to create a src/io/bmi/bmi_mx directory so
>> that configure can make src/io/bmi/bmi_mx/module.mk.
>>
>> For bmi_mx, we need to specify a peername (aka uri spec) that
>> includes hostname, board (NIC) index, and MX endpoint (analogous to
>> port). The current uri specs (tcp, gm, ib) only include hostname and
>> port. I modified src/apps/admin/pvfs2-genconfig only enough to get
>> the MX endpoint but I did not have it get the board id. Therefore, it
>> generates incorrect peernames (mx://myhost:3 instead of mx://myhost:
>> 0:3 as needed). Let me know if you want me to modify it or if you
>> would rather someone else do it. Currently, I am simply editing
>> fs.conf and server.conf after running pvfs2-genconfig.
>>
>> Thanks,
>>
>> Scott
>>
>>
>>
>> _______________________________________________
>> Pvfs2-developers mailing list
>> Pvfs2-developers at beowulf-underground.org
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>>
>>
>>
More information about the Pvfs2-developers
mailing list