[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lost Interrupts at high CPU-load!?
- To: "RT-Linux" <rtl@rtlinux.org>
- Subject: Lost Interrupts at high CPU-load!?
- From: "Stefan Uhlig" <StefanUhlig@web.de>
- Date: Mon, 1 May 2000 17:49:56 +0200
- Organization: http://freemail.web.de/
Hi all!
I have a problem serving interrupts via RT-Linux.
I developed a small driver to acquire Data from the parallelport.
Every Byte comes in with one interrrupt, which is fired by the /ACK-Line.
I found out that, if the CPU-load ist quite high, the interrupts are not all served and a loss of data is recognized. This problem even appears at low interrupt rates at about 1kHz.
How is this possible? My interrupt service routine only saves ONE byte and then enables the interrupts, again!
But i can definitely say, that there is a loss of data at high CPU load, because i count the ISR-calls and calculate the interrupt-rate throuth a periodic thread (1000000000ns).
If the interrupts are not all correctly served at higher load, it makes no sense to use RT-Linux!!!
Please help if you know the cause!!!
Thanks,
Stefan
_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName@web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de