Forums

eCos TCP/IP footprint.

Started by Unbeliever September 27, 2004
Hi there,

    Anybody have experience in implementing an eCos TCP/IP stack on an ARM?
Is a footprint of 200k program memory and 120k data memory reasonable?
Seems a little high to me.  Without too much eCos experience, I might have
expected about half the program memory and 1/4 the data memory.

--
Alf Katz
alfkatz@remove.the.obvious.ieee.org


On Mon, 27 Sep 2004 18:52:11 +1000, "Unbeliever"
<alfkatz@remove.the.bleedin.obvious.ieee.org> wrote:

> Anybody have experience in implementing an eCos TCP/IP stack on an ARM? >Is a footprint of 200k program memory and 120k data memory reasonable? >Seems a little high to me. Without too much eCos experience, I might have >expected about half the program memory and 1/4 the data memory.
I can't say about eCos, but our PowerNet system www.mpeltd.demon.co.uk/powernet.htm with multithreaded Telnet and web server fits into most ARMs in about 110k code. RAM usage is all about buffer space and other trade-offs, and whether the stack is general purpose or specialised. We're currently porting PowerNet to LPC2106 with 128k Flash and 64k RAM - I'll report performance/code/RAM figures when the port is complete. Stephen -- Stephen Pelc, stephenXXX@INVALID.mpeltd.demon.co.uk MicroProcessor Engineering Ltd - More Real, Less Time 133 Hill Lane, Southampton SO15 5AF, England tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691 web: http://www.mpeltd.demon.co.uk - free VFX Forth downloads
On 2004-09-27, Unbeliever <alfkatz@remove.the.bleedin.obvious.ieee.org> wrote:

> Anybody have experience in implementing an eCos TCP/IP stack > on an ARM?
Yes.
> Is a footprint of 200k program memory and 120k data memory > reasonable?
Yes.
> Seems a little high to me.
You could probably lower the data memory a little bit if you know you aren't going to have more than 1-2 sockets open at a time.
> Without too much eCos experience, I might have expected about > half the program memory and 1/4 the data memory.
Why? You'd probably be better off asking stuff like this on the eCos mailing list [Or just searching the eCos mailing list]. -- Grant Edwards grante Yow! I know things about at TROY DONAHUE that can't visi.com even be PRINTED!!
I believe there is a port of lwIP to eCos.  It should provide for a
smaller footprint than the standard stack.

Regards
-Bill Knight
R O SoftWare
the ARM Patch


On Mon, 27 Sep 2004 18:52:11 +1000, "Unbeliever"
<alfkatz@remove.the.bleedin.obvious.ieee.org> wrote:

>Hi there, > > Anybody have experience in implementing an eCos TCP/IP stack on an ARM? >Is a footprint of 200k program memory and 120k data memory reasonable? >Seems a little high to me. Without too much eCos experience, I might have >expected about half the program memory and 1/4 the data memory.