lkml.org 
[lkml]   [2001]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Should I use Linux to develop driver for specialized ISA card?
Fred wrote:
>
> 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.

I'm involved in a project where we are using linux in an embedded application.
We've got a gig of ram, no hard drives, no video, and the only I/O is serial,
ethernet and fiberchannel.

We have a realtime process that tries to run every 50ms. We're seeing actual
worst-case scheduling latencies upwards of 300-400ms.

So while interrupts can be handled pretty quickly, you'll want to make sure that
your buffers are big enough that your userspace app only needs to run every half
second or so.

You may be better off with rtlinux if you need better response. (Or if you're on
x86 hardware you could look at the low-latency patches.)


--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.072 / U:1.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site