problems with network processing

Eugene Denisov dea at sendmail.ru
Fri Feb 13 14:59:09 UTC 2004


Yes, increasing HeapSize does not solve the problem, so I changed mbuf
parameters and the problem seems gon away.
Thank you.

----- Original Message ----- 
From: "Sergei Organov" <osv at topconrd.ru>
To: "Eugene Denisov" <dea at sendmail.ru>
Cc: <rtems-users at rtems.com>
Sent: Friday, February 13, 2004 4:15 PM
Subject: Re: problems with network processing


> "Eugene Denisov" <dea at sendmail.ru> writes:
> > Thank you very much.
> > Yet another question: I recently try to fix this problem by increasing
> > 'HeapSize' parameter
> > in Makefile (according RTEMS documentation):
> >
> > CFLAGS_LD += -Wl,--defsym -Wl,HeapSize=0xa00000
> >
> > I found changes in this parameter help - the socket stalls rarely (now I
> > chagme this parameter from 0x500000 and system seems to work stable).
Have
> > you any to say about?
>
> Besides mbufs/mbuf clusters, BSD stack also takes some (unbound) space
from
> the heap though my observation is that it doesn't stall forever when no
space
> left in the heap. For my project I've modified the rtems glue code so that
BSD
> stack takes space from separate heap that is about 32Kb in size and it
works
> fine. The reason for such decision is to force an upper bound on the
memory
> BSD stack eats, not stability of its behavior.
>
> -- 
> Sergei.
>




More information about the users mailing list