Question of transplanting Lustre to a non-x86 arch
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>
Quoted 1 line · Light&ColoR
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>
Big thx to you Andreas!
At 2012-12-05 11:20:17,"Andreas Dilger" <[email protected]> wrote:
On 2012-12-04, at 0:02, Light&ColoR <[email protected]> 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>
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.
Quoted 34 lines · Light&ColoR
Big thx to you Andreas!
At 2012-12-05 11:20:17,"Andreas Dilger" <[email protected]> wrote:
On 2012-12-04, at 0:02, Light&ColoR <[email protected] <mailto:[email protected]>> wrote:Quoted 3 lines
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
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.......
Quoted 44 lines · At 2012-12-06 03:05:39,"Christopher J. Morrone" <[email protected]> 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.
Quoted 29 lines · Light&ColoR
Big thx to you Andreas!
At 2012-12-05 11:20:17,"Andreas Dilger" <[email protected]> wrote:
On 2012-12-04, at 0:02, Light&ColoR <[email protected] <mailto:[email protected]>> wrote:Quoted 3 lines
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
Quoted 5 lines
_______________________________________________
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
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
Quoted 49 lines · Light&ColoR
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.......
Quoted 40 lines · At 2012-12-06 03:05:39,"Christopher J. Morrone" <[email protected]> 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.
Quoted 29 lines · Light&ColoR
Big thx to you Andreas!
At 2012-12-05 11:20:17,"Andreas Dilger" <[email protected]> wrote:
On 2012-12-04, at 0:02, Light&ColoR <[email protected] <mailto:[email protected]>> wrote:Quoted 3 lines
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
Quoted 5 lines
_______________________________________________
Lustre-devel mailing list
Lustre-devel at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-develQuoted 4 lines
_______________________________________________
Lustre-devel mailing list
Lustre-devel at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/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.....^ ^
Quoted 83 lines · At 2012-12-07 05:44:22,"Christopher J. Morrone" <[email protected]> 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
5a562259fce98b15f519fab7dd8cb921e8445d7bmight 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-serverChris
Quoted 49 lines · Light&ColoR
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.......
Quoted 40 lines · At 2012-12-06 03:05:39,"Christopher J. Morrone" <[email protected]> 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.
Quoted 29 lines · Light&ColoR
Big thx to you Andreas!
At 2012-12-05 11:20:17,"Andreas Dilger" <[email protected]> wrote:
On 2012-12-04, at 0:02, Light&ColoR <[email protected] <mailto:[email protected]>> wrote:Quoted 3 lines
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
Quoted 5 lines
_______________________________________________
Lustre-devel mailing list
Lustre-devel at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-develQuoted 4 lines
_______________________________________________
Lustre-devel mailing list
Lustre-devel at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-devel.