* [Lustre-devel] Question of transplanting Lustre to a non-x86 arch @ 2012-12-04 7:02 Light&ColoR 2012-12-05 3:20 ` Andreas Dilger 0 siblings, 1 reply; 7+ messages in thread From: Light&ColoR @ 2012-12-04 7:02 UTC (permalink / raw) To: lustre-devel Hi, guys: I am a newbie, I have a little bit of experience in linux kernel, but not transplanting Lustre. How should I identify which part of source code in Lustre is architecture specified? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20121204/dc46389d/attachment.htm> ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Lustre-devel] Question of transplanting Lustre to a non-x86 arch 2012-12-04 7:02 [Lustre-devel] Question of transplanting Lustre to a non-x86 arch Light&ColoR @ 2012-12-05 3:20 ` Andreas Dilger 2012-12-05 8:22 ` Light&ColoR 0 siblings, 1 reply; 7+ messages in thread From: Andreas Dilger @ 2012-12-05 3:20 UTC (permalink / raw) To: lustre-devel On 2012-12-04, at 0:02, Light&ColoR <eternalregion@163.com> wrote: > I am a newbie, I have a little bit of experience in linux kernel, but not transplanting Lustre. How should I identify which part of source code in Lustre is architecture specified? There is not much architecture-specific code in Lustre, and the less the better... Probably the easiest is to just try compiling it and seeing where the issues are. Some are in the build system -we don't have configs for server kernels. That isn't needed on the client though. Big endian severs are not really supported as we have no ability to test or fix them. Please keep the list updated with your progress, since this has been asked a couple of times here recently. Cheers, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20121204/81248cc2/attachment.htm> ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Lustre-devel] Question of transplanting Lustre to a non-x86 arch 2012-12-05 3:20 ` Andreas Dilger @ 2012-12-05 8:22 ` Light&ColoR 2012-12-05 19:05 ` Christopher J. Morrone 0 siblings, 1 reply; 7+ messages in thread From: Light&ColoR @ 2012-12-05 8:22 UTC (permalink / raw) To: lustre-devel Big thx to you Andreas! At 2012-12-05 11:20:17,"Andreas Dilger" <adilger@whamcloud.com> wrote: On 2012-12-04, at 0:02, Light&ColoR <eternalregion@163.com> wrote: I am a newbie, I have a little bit of experience in linux kernel, but not transplanting Lustre. How should I identify which part of source code in Lustre is architecture specified? There is not much architecture-specific code in Lustre, and the less the better... Probably the easiest is to just try compiling it and seeing where the issues are. Some are in the build system -we don't have configs for server kernels. That isn't needed on the client though. Big endian severs are not really supported as we have no ability to test or fix them. Please keep the list updated with your progress, since this has been asked a couple of times here recently. Cheers, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20121205/8f66c441/attachment.htm> ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Lustre-devel] Question of transplanting Lustre to a non-x86 arch 2012-12-05 8:22 ` Light&ColoR @ 2012-12-05 19:05 ` Christopher J. Morrone 2012-12-06 2:24 ` Light&ColoR 0 siblings, 1 reply; 7+ messages in thread From: Christopher J. Morrone @ 2012-12-05 19:05 UTC (permalink / raw) To: lustre-devel Just FYI, we have been successfully using Lustre clients on PowerPC architectures at LLNL for years, and PowerPC has a different default page size and endianness than x86. On 12/05/2012 12:22 AM, Light&ColoR wrote: > Big thx to you Andreas! > > At 2012-12-05 11:20:17,"Andreas Dilger" <adilger@whamcloud.com> wrote: > > On 2012-12-04, at 0:02, Light&ColoR <eternalregion@163.com > <mailto:eternalregion@163.com>> wrote: >> I am a newbie, I have a little bit of experience in linux kernel, >> but not transplanting Lustre. How should I identify which part of >> source code in Lustre is architecture specified? > > There is not much architecture-specific code in Lustre, and the less > the better... > > Probably the easiest is to just try compiling it and seeing where > the issues are. Some are in the build system -we don't have configs > for server kernels. That isn't needed on the client though. > > Big endian severs are not really supported as we have no ability to > test or fix them. > > Please keep the list updated with your progress, since this has been > asked a couple of times here recently. > > Cheers, Andreas > > > > > > _______________________________________________ > Lustre-devel mailing list > Lustre-devel at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-devel > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Lustre-devel] Question of transplanting Lustre to a non-x86 arch 2012-12-05 19:05 ` Christopher J. Morrone @ 2012-12-06 2:24 ` Light&ColoR 2012-12-06 21:44 ` Christopher J. Morrone 0 siblings, 1 reply; 7+ messages in thread From: Light&ColoR @ 2012-12-06 2:24 UTC (permalink / raw) To: lustre-devel Wow! BTW, how did you make it? Actually I wanna use Lustre on MIPS. Taking a quicklook at Lustre sources, I just find less than 100 lines architecture-sepcific asm codes( maybe more). It's should not be hard to transplant Lustre....... At 2012-12-06 03:05:39,"Christopher J. Morrone" <morrone2@llnl.gov> wrote: >Just FYI, we have been successfully using Lustre clients on PowerPC >architectures at LLNL for years, and PowerPC has a different default >page size and endianness than x86. > >On 12/05/2012 12:22 AM, Light&ColoR wrote: >> Big thx to you Andreas! >> >> At 2012-12-05 11:20:17,"Andreas Dilger" <adilger@whamcloud.com> wrote: >> >> On 2012-12-04, at 0:02, Light&ColoR <eternalregion@163.com >> <mailto:eternalregion@163.com>> wrote: >>> I am a newbie, I have a little bit of experience in linux kernel, >>> but not transplanting Lustre. How should I identify which part of >>> source code in Lustre is architecture specified? >> >> There is not much architecture-specific code in Lustre, and the less >> the better... >> >> Probably the easiest is to just try compiling it and seeing where >> the issues are. Some are in the build system -we don't have configs >> for server kernels. That isn't needed on the client though. >> >> Big endian severs are not really supported as we have no ability to >> test or fix them. >> >> Please keep the list updated with your progress, since this has been >> asked a couple of times here recently. >> >> Cheers, Andreas >> >> >> >> >> >> _______________________________________________ >> Lustre-devel mailing list >> Lustre-devel at lists.lustre.org >> http://lists.lustre.org/mailman/listinfo/lustre-devel >> > >_______________________________________________ >Lustre-devel mailing list >Lustre-devel at lists.lustre.org >http://lists.lustre.org/mailman/listinfo/lustre-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Lustre-devel] Question of transplanting Lustre to a non-x86 arch 2012-12-06 2:24 ` Light&ColoR @ 2012-12-06 21:44 ` Christopher J. Morrone 2012-12-07 2:26 ` Light&ColoR 0 siblings, 1 reply; 7+ messages in thread From: Christopher J. Morrone @ 2012-12-06 21:44 UTC (permalink / raw) To: lustre-devel I make it my doing something like this: sh autogen.sh && ./configure && make rpms :) I'll assume that you are running Linux, and only want to build the Lustre client. Looking at Lustre's master branch, I'm not seeing 100+ lines of assembly in the main code. Most of the assembly seems to be in code for darwin OS and windows, and you can just ignore that. It looks like commit 5a562259fce98b15f519fab7dd8cb921e8445d7b might be a problem for you. There is a sloppy architecture check in the automake file: +AM_CONDITIONAL(ARCH_x86, test x$target_cpu != "xpowerpc") In my opinion, the files really should have been put in an architecture-specific subdirectory too. The only other place I see assembly is in the a patch for the kernel, and if you are only running Linux clients, you don't need the kernel patches. To compile lustre without the server code, you'll want this configure option: ./configure --disable-server Chris On 12/05/2012 06:24 PM, Light&ColoR wrote: > Wow! BTW, how did you make it? Actually I wanna use Lustre on MIPS. Taking a quicklook at Lustre sources, I just find less than 100 lines architecture-sepcific asm codes( maybe more). It's should not be hard to transplant Lustre....... > At 2012-12-06 03:05:39,"Christopher J. Morrone" <morrone2@llnl.gov> wrote: >> Just FYI, we have been successfully using Lustre clients on PowerPC >> architectures at LLNL for years, and PowerPC has a different default >> page size and endianness than x86. >> >> On 12/05/2012 12:22 AM, Light&ColoR wrote: >>> Big thx to you Andreas! >>> >>> At 2012-12-05 11:20:17,"Andreas Dilger" <adilger@whamcloud.com> wrote: >>> >>> On 2012-12-04, at 0:02, Light&ColoR <eternalregion@163.com >>> <mailto:eternalregion@163.com>> wrote: >>>> I am a newbie, I have a little bit of experience in linux kernel, >>>> but not transplanting Lustre. How should I identify which part of >>>> source code in Lustre is architecture specified? >>> >>> There is not much architecture-specific code in Lustre, and the less >>> the better... >>> >>> Probably the easiest is to just try compiling it and seeing where >>> the issues are. Some are in the build system -we don't have configs >>> for server kernels. That isn't needed on the client though. >>> >>> Big endian severs are not really supported as we have no ability to >>> test or fix them. >>> >>> Please keep the list updated with your progress, since this has been >>> asked a couple of times here recently. >>> >>> Cheers, Andreas >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Lustre-devel mailing list >>> Lustre-devel at lists.lustre.org >>> http://lists.lustre.org/mailman/listinfo/lustre-devel >>> >> >> _______________________________________________ >> Lustre-devel mailing list >> Lustre-devel at lists.lustre.org >> http://lists.lustre.org/mailman/listinfo/lustre-devel > > . > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Lustre-devel] Question of transplanting Lustre to a non-x86 arch 2012-12-06 21:44 ` Christopher J. Morrone @ 2012-12-07 2:26 ` Light&ColoR 0 siblings, 0 replies; 7+ messages in thread From: Light&ColoR @ 2012-12-07 2:26 UTC (permalink / raw) To: lustre-devel Thx, Chris, it's really helpful to me. Right, I use Linux, and I saw the architecture-specific code exactly in some of these kernel patches. Although I need servers and clients, I think there is not too much work to do.....^ ^ At 2012-12-07 05:44:22,"Christopher J. Morrone" <morrone2@llnl.gov> wrote: >I make it my doing something like this: > >sh autogen.sh && ./configure && make rpms > >:) > >I'll assume that you are running Linux, and only want to build the >Lustre client. > >Looking at Lustre's master branch, I'm not seeing 100+ lines of assembly >in the main code. Most of the assembly seems to be in code for darwin >OS and windows, and you can just ignore that. > >It looks like commit 5a562259fce98b15f519fab7dd8cb921e8445d7b might be a >problem for you. There is a sloppy architecture check in the automake file: > > +AM_CONDITIONAL(ARCH_x86, test x$target_cpu != "xpowerpc") > >In my opinion, the files really should have been put in an >architecture-specific subdirectory too. > >The only other place I see assembly is in the a patch for the kernel, >and if you are only running Linux clients, you don't need the kernel >patches. > >To compile lustre without the server code, you'll want this configure >option: > > ./configure --disable-server > >Chris > >On 12/05/2012 06:24 PM, Light&ColoR wrote: >> Wow! BTW, how did you make it? Actually I wanna use Lustre on MIPS. Taking a quicklook at Lustre sources, I just find less than 100 lines architecture-sepcific asm codes( maybe more). It's should not be hard to transplant Lustre....... >> At 2012-12-06 03:05:39,"Christopher J. Morrone" <morrone2@llnl.gov> wrote: >>> Just FYI, we have been successfully using Lustre clients on PowerPC >>> architectures at LLNL for years, and PowerPC has a different default >>> page size and endianness than x86. >>> >>> On 12/05/2012 12:22 AM, Light&ColoR wrote: >>>> Big thx to you Andreas! >>>> >>>> At 2012-12-05 11:20:17,"Andreas Dilger" <adilger@whamcloud.com> wrote: >>>> >>>> On 2012-12-04, at 0:02, Light&ColoR <eternalregion@163.com >>>> <mailto:eternalregion@163.com>> wrote: >>>>> I am a newbie, I have a little bit of experience in linux kernel, >>>>> but not transplanting Lustre. How should I identify which part of >>>>> source code in Lustre is architecture specified? >>>> >>>> There is not much architecture-specific code in Lustre, and the less >>>> the better... >>>> >>>> Probably the easiest is to just try compiling it and seeing where >>>> the issues are. Some are in the build system -we don't have configs >>>> for server kernels. That isn't needed on the client though. >>>> >>>> Big endian severs are not really supported as we have no ability to >>>> test or fix them. >>>> >>>> Please keep the list updated with your progress, since this has been >>>> asked a couple of times here recently. >>>> >>>> Cheers, Andreas >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Lustre-devel mailing list >>>> Lustre-devel at lists.lustre.org >>>> http://lists.lustre.org/mailman/listinfo/lustre-devel >>>> >>> >>> _______________________________________________ >>> Lustre-devel mailing list >>> Lustre-devel at lists.lustre.org >>> http://lists.lustre.org/mailman/listinfo/lustre-devel >> >> . >> > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-12-07 2:26 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-12-04 7:02 [Lustre-devel] Question of transplanting Lustre to a non-x86 arch Light&ColoR 2012-12-05 3:20 ` Andreas Dilger 2012-12-05 8:22 ` Light&ColoR 2012-12-05 19:05 ` Christopher J. Morrone 2012-12-06 2:24 ` Light&ColoR 2012-12-06 21:44 ` Christopher J. Morrone 2012-12-07 2:26 ` Light&ColoR
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.