[ECOS] ISR to DSR delay?

Stefan Sommerfeld sommerfeld@mikrom.de
Thu Oct 13 12:44:00 GMT 2005


Hi,

I working with latest eCos on a XScale system and i noticed a very high 
delay between the ISR and the corresponding after some time. The system is 
not idle and does a lot of things (including multiple threads and irq's). I 
see a delay between ISR and DSR over 30 ms.

I checked the system's DSR, to make sure there's no DSR which runs very 
long and i looked for possible cyg_scheduler_lock() calls. What i wonder 
about is, i see that sometimes a quick cyg_scheduler_lock() happen which 
between the long ISR/DSR delay. So it looks like scheduling is active and 
running but the DSR is not called.

What could influence the ISR to DSR delay besides scheduler_lock and still 
active DSR? I thought a DSR will be called as soon as possible. Could this 
be a wrong eCos kernel setup?

Any help will be usefull....

Bye...

BTW: Why is "c++ empty delete function" a default option? I took me a day 
to find out why my system consumes a lot memory. 


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



More information about the Ecos-discuss mailing list