[ECOS] Delays while network processing

Gary Thomas gary@chez-thomas.org
Mon Jun 3 09:02:00 GMT 2002


On Mon, 2002-06-03 at 09:58, Roland Caßebohm wrote:
> Hello,
> 
> I am using the ARM7 SNDS port from Grant Edwards. I don't use ecos 2.0.
> 
> In my application there are several threads and each have some TCP 
> connections. I'm using pthreads.
> Sometimes the network transfer stops for many seconds or even minutes. This 
> happens sometimes on all threads, but sometime only on one thread and it 
> could happen while data is incoming or/and data is outcoming.
> The threads have the same priority (15). But while the delay the scheduler 
> seems to be in idle state.
> The problem happens more often if there is more network traffic in my theads, 
> but sometime is also there, if I use a simple telnet menu (can't be much 
> traffic).
> 
> Does anybody have any idea?

Have you tried breaking in using GDB while the system is in this state?
Doing that, you can use "info threads" to get some idea about what's 
happening and even get complete backtrace & state information on all the
threads in the system.


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list