This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
ISR to DSR delay?
- From: "Stefan Sommerfeld" <sommerfeld at mikrom dot de>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 13 Oct 2005 14:42:58 +0200
- Subject: [ECOS] ISR to DSR delay?
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