Embedded PowerLoom

View: New views
2 Messages — Rating Filter:   Alert me  

Embedded PowerLoom

by Cameron Ross :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

_______________________________________________
powerloom-forum mailing list
powerloom-forum@...
http://mailman.isi.edu/mailman/listinfo/powerloom-forum

Re: Embedded PowerLoom

by Hans Chalupsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
> http://mailman.isi.edu/mailman/listinfo/powerloom-forum
_______________________________________________
powerloom-forum mailing list
powerloom-forum@...
http://mailman.isi.edu/mailman/listinfo/powerloom-forum