Re: Should I use Linux to develop driver for specialized ISA card?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 4 Sep 2001 16:36:53 +0100 (BST)


> I'm curious, Alan, Why? I'm a hardware developer, and I would have assumed
> that linux would have been ideal for real time / embedded projects? (routers
> / controllers / etc.) Is there, for instance, a reason to suspect that linux
> would not be able to respond to interrupts at say 8Khz?
> of course I know nothing of rtlinux so I'll read.

Routers aren't real time for example

The specific issues you have to watch are mostly from user space. Kernel irq
handlers will run very rapidly providing another driver is not holding the
interrupts off for a long time. Certain types of PC device require this
(some IDE controllers for example). You also have to watch PCI graphics
cards some of which will stall the PCI bus locking the CPU off it for
milliseconds at a time [its a hack to get better benchmark numbers - sick
isnt it]

So with the kernel you should be able to respond to irqs at 8Khz, with
RtLinux you can make that a definitive mathematically hard guarantee

Depends which you need

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/