

Postcard From The Real-Time Linux Workshop 39
Kenneth J. Hendrickson writes: "I attended the 2nd Real-Time Linux Workshop this year on November 27-28, 2000 in Orlando, FL. It was held in conjunction with the 21st IEEE Real-Time Systems Symposium. RMS was the Keynote speaker. It was a fantastic event. I have published a report on it at the site of the Melbourne (FL) Linux User's Group." Thanks, Kenneth! This is a well-linked, informative report, and it shows how nicely GNU/Linux (RMS was the keynote speaker) can seep into what has traditionally been a heavily proprietary, expensive field.
Non-embedded RTOS? Why? (Score:2)
digital experiment control. But as the author
of the paper correctly states, I/O system is
a source of much latency, so you have to use
a separate DSP to do control directly to avoid
bus timing issues. So why would anyone need a
non-embedded RTOS?
It's a very interesting project! (Score:1)
No, I'm not insulting its quality, but I question it's size. How small can you get a real-time linux kernel? In most professional applications, cost is a big issue. If you have only 4k bytes to work with, you'll probably end up writing the routines needed in straight asm for the processor and sending that to the chip.
I'll be watching how this product develops, and especially take notes of where it is deployed. Good luck, and don't forget to enjoy your work!
Re:Good worst case times with Hard RT (Score:1)
Very good.
Whats the performance of other RTOSs?
Depends on the CPU (duh!) but about that. This is in the neighborhood of context switch time, which is where it needs to be for a RTOS. The important thing is that it's an order of magnitude better than the scheduler clock, which is the latency you're pretty much stuck at if you don't have a RTOS.
Rev. Bob "Bob" Crispen
Good worst case times with Hard RT (Score:1)
the author says that both RTAI and RTL
have a worst-case performance of 17-19 us.
Is this good/bad/ok for real life applications?
Whats the performance of other RTOSs?
Thanks!!
Re:Is RMS going soft?? (Score:2)
--
Obfuscated e-mail addresses won't stop sadistic 12-year-old ACs.
Re:Non-embedded RTOS? Why? (Score:1)
Re:AT LEAST I AM NOT A COWARD (Score:1)
Re:Non-embedded RTOS? Why? (Score:1)
2. Reducible to typing one word on command line.
3. When timing is critical, people hand code in
assembly.
4. Your "I/O box" should be powerful enough to
rarely call main box. Latency?
5. Write your apps for "I/O box".
6. see 4.
Re: Moderators: (Score:1)
Re:It's a very interesting project! (Score:1)
Re:OK, I'll bite: (Score:3)
Thank you (Score:1)
Sir (or Madame), you've made my day. I haven't laughed so hard in a long, long time.
Thanks for brightening my day.
(No, that's not sarcasm. I'm serious)
J. T. "Mac" MacLeod
Re:Non-embedded RTOS? Why? (Score:1)
To build a MIDI-controllable programmable modular software synthesizer (for sound, you know) on consumer boxes ? You need very low latency to have it behave like a real instrument. Computers are getting fast enough for all kinds of funky media experiments.
How about running a virtual reality system on a PC box ? I'd say that qualifies as a time-critical app, especially if you're doing measurements at the same time. I'd like to have graphics that can be _guaranteed_ not to skip frames under any circumstances. If not for any other reason, science requires reproducible results.
IEEE (Score:1)
I find it amazing that they're already up to #21. Does anyone know how it all got started?
humor for the clinically insane [mikegallay.com]
Yeah, I'm not sure why they say that... (Score:2)
You could argue that the process of doing table lookups for each memory access makes things less "real-time", but unless you're dealing with a really slow/primitive chip (which, remember, a lot of older RTOSes had to do...), it shouldn't be too much of an issue...
Is RMS going soft?? (Score:3)
I attended the 2nd Real-Time Linux Workshop this year on November 27-28, 2000 in Orlando, FL...
Wait, you're telling me that RMS attended an event with Linux in the name rather than GNU/Linux, and he didn't a) boycott the event, or b) demand they change the name before he would appear?
Clearly this was NOT the real RMS, and was an alien imposter.
--
Re:Memory protection possible in a RTOS? (Score:1)
a real-time os can forfill the action in 2 hours, if it was requested to do so
(i.e. i need those nuke-sensor-informations processed in x ms, or they are gone
the "x" is not important, it is important that the request is forfilled !
Samba Information HQ
Re:Is RMS going soft?? (Score:1)
Personnally I rarely put GNU in front of Linux but it's just a bad habit...
--
Re:Yeah, I'm not sure why they say that... (Score:2)
Re:Is RMS going soft?? (Score:1)
I'm glad to find that I'm not the only one who is irritated to death by this nonsense.
"Homo sum: humani nil a me alienum puto"
(I am a man: nothing human is alien to me)
Re:Is RMS going soft?? (Score:1)
FYI: a real-time linux "quick reference guide" (Score:2)
Re:OK, I'll bite: (Score:2)
A real-time operating system is an operating system that can offer timing guarantees to applications. Real-time is not the same thing as real fast. Determinism is more important than speed.
Re:Nicely Done (Score:1)
The first RTOS to offer this capability? (Score:3)
Er, not exactly. I was accomplishing the same result in a TCP/IP driver for an FDDI board I wrote for VxWorks [wrs.com] back in 1990.
Basically, you do at real interrupt level what you need to do there and stuff the functions that don't need to be done at real interrupt level into a ring buffer which then feeds a high priority task that fetches the function calls off its ring buffer one by one and executes them. As you exit your driver you call for a scheduling event. Because you can set hard, non-degrading task priorities, your cleanup task inevitably runs immediately. Other arriving messages are pretty much a don't-care (they interrupt the high-priority task), so long as you don't swamp your CPU with messages.
For example, suppose you get a device interrupt from your network board. At real interrupt level you check to see if a packet has arrived, and if it has, you stuff it into mbufs (actually, clusters). You queue the rest of the packet processing (e.g., the IP function table calls) for your high priority "cleanup" task, and you call high-level stuff like non-blocking select() in your application.
If you start off with a BSD-style driver, it's pretty easy to figure out what absolutely has to happen at real interrupt level and what can be thrown to a high priority task.
Being able to write our own driver came in very handy, because we used a broadcast message over FDDI as a synchronization event. All the applications signed up a function that did a taskResume on their main executive whenever that message arrived. The high priority task checked each incoming message to see if anybody had signed up to run something when it arrived, and if so, ran it (probably by sticking it into the ring buffer for the next-highest priority task -- can't remember any more -- maybe I just ran it then).
On a later version we got rid of some of the overhead by making the resumer function give a semaphore and had the executive wait for the semaphore at the bottom of its main loop. Since semaphores were queued, even if an application overran its time slot, it wouldn't lose a frame (within reason).
It's good to see that real time Linux seems to climbing up to where it can stand alongside the RTOSs, and, having had a source license for VxWorks, I can testify that having source on hand makes a real difference in a crunch, not only to fix bugs, but to figure out work-arounds. Nobody's documentation is ever good enough, and the source code never lies.
Rev. Bob "Bob" Crispen
Re:Is RMS going soft?? (Score:2)
You're nuts, the pair of you. If you believe that people should use the de-facto names for things, then why are you trying to rename a well-known operating system to "Noo"?
Re:Memory protection possible in a RTOS? (Score:1)
--
Re:Other RTOS? (Score:1)
Disclaimer: I am one of the original authors and current maintainer of RTEMS.
Re:Memory protection possible in a RTOS? (Score:2)
Re:Memory protection possible in a RTOS? (Score:1)
Re:Is RMS going soft?? (Score:2)
Re:Is RMS going soft?? (Score:1)
Ah, obviously regional differences are cutting in. In Britain, "new" is pronounced "nyoo". Hence there is no such word as "noo"[*] and it sounds as silly as "boing".
[*] since the 1950's, "g-noo" has been the preferred pronounciation of "gnu" as in the animal, due in part to Flanders and Swann's "gnu song".
What this seems to do (Score:1)
If there is a bug in the code of Mr. Software, the flipside is that the realtime capability will crash your system immediately.
from the paper:
"A goal for the near-term future is to be able to run real-time tasks in userland with all of the memory protections provided by unix, on all real-time Linux variants. Emanuele Bianchi has already done this on RTAI! Real-time Linux (as far as I know) is the first real-time OS to offer this capability."
How do they intend to do this? (I am clue-free. I admit it.
Memory protection possible in a RTOS? (Score:3)
The article states "The real-time portions of a system run in kernel space in real-time Linux. Therefore, no memory protection can be offered. ... (Note: this disadvantage also exists for all other real-time OSes as well...)
Is this really true? I'm no expert on real time operating systems, but I do know that several claim to have some memory protection, including QNX [qnx.com] (highly recommended, btw) and Integrity [ghs.com], which I haven't tried. Perhaps I'm missing something, or is this report over-generalizing?
---
Other RTOS? (Score:2)
Nicely Done (Score:2)
keep up the good work
Awesome reporting Ken (Score:1)
why did Stallman give the keynote? (Score:2)
(Score:1)