[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] Maximum RT-FIFO size and lost data on RT_interrupt



On Tue, Jul 14, 1998 at 09:16:58AM +0700, Adolf Ahmad MS wrote:
> Dear All,
> 
> I have one experience on implementation RT-Linux by employing Interrupt
> Request 7 on EPP/LPT port, and one FIFO with size 8192 bytes. But, some
> times there are many data lost, it seem caused by n-th interrupt can not
> process by CPU , some times on 200th IRQ, 240th IRQ, 600th IRQ, etc .
> For information, the data stream speed is 40 kbytes/s and running on
> Pentium 120.
> 
> *	Why many interrupt are lost on my program RT-Linux ?
> *	How many bytes the maximum FIFO on RT-Linux ?
> 
> 
>   
> I don't know what is wrong in my code.

I would assume that nothing is wrong with your code.
If you have a data rate of 40KBytes/s and every byte
causes an interrupt than you have propably reached the
limit of performance on your system.

Kai

-- 
 Kai P. Mueller
 Control Department (Regelungstechnik) | Phone [+49] (531) 391-3835
 Technical University Braunschweig     | Fax   [+49] (531) 391-5194
 D-38092 Braunschweig                  | Email mueller@ifr.ing.tu-bs.de
--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/