Re: Embedded PowerLoom
Hans Chalupsky <hans <at> ISI.EDU>
2008-05-05 22:47:53 GMT
Cameron,
here are the sizes of the `strip'ped libraries that are built from the
standard PowerLoom release using g++ under Linux on a Pentium-based PC:
-rw-r--r-- 1 hans isdstaff 97496 May 5 15:38 libgc.a
-rwxr-xr-x 1 hans isdstaff 2571980 May 5 15:38 liblogic.so
-rwxr-xr-x 1 hans isdstaff 121580 May 5 15:38 libpowerloom-extensions.so
-rwxr-xr-x 1 hans isdstaff 12120 May 5 15:38 libpowerloom.so
-rwxr-xr-x 1 hans isdstaff 3158080 May 5 15:38 libstella.so
-rwxr-xr-x 1 hans isdstaff 145356 May 5 15:38 libutilities.so
So, the total is about 6MB, whether that size holds up in your
embedded system will depend on what kind of instruction set that
supports. This could probably still be reduced slightly by static
linking and eliminating the smaller utilities and extensions systems
and maybe also by eliminating a bit of dead code in STELLA. Given the
16 Meg of SDRAM you should then be able to run it, even though it
obviously won't be able to handle very large knowledge bases.
The biggest issue is whether the Boehm garbage collector will work in
your embedded system.
Hans
>>>>> Cameron Ross <cross <at> symboticware.com> writes:
> Hi,
> I would like to deploy PowerLoom within an embedded system with 8MB flash
> and 16MB SDRAM. The system supports a C/C++ programming environment that
> claims to be compatible with GCC. Some questions...
> 1) Does anyone have experience shoe-horning PowerLoom into such a
> constrained environment?
> 2) Is this a realistic objective?
> 3) How large can I expect the C++ PowerLoom image to be once I compile it?
> Thanks,
> Cameron.
> Hi,<br><br>I would like to deploy PowerLoom within an embedded system with 8MB flash and 16MB
SDRAM. The system supports a C/C++ programming environment that claims to be compatible with
GCC. Some questions...<br><br>1) Does anyone have experience shoe-horning PowerLoom into such
a constrained environment? <br>
> 2) Is this a realistic objective? <br>3) How large can I expect the C++ PowerLoom image to be once I
compile it?<br><br>Thanks,<br>Cameron.<br>
> _______________________________________________
> powerloom-forum mailing list
> powerloom-forum <at> isi.edu
> http://mailman.isi.edu/mailman/listinfo/powerloom-forum