Linked by David Adams on Fri 18th Apr 2008 17:34 UTC, submitted by Rahul
Linux Lennart Poettering of Red Hat, PulseAudio maintainer has blogged in detail about the impact of Real-Time Group scheduling in 2.6.25 kernel. The Real time patches come from -rt patchset maintained by Ingo Molnar of Red Hat which aims to make Linux the first general purpose operating system with hard real time features.
Thread beginning with comment 310416
To view parent comment, click here.
To read all comments associated with this story, please click here.
Bahadir
Member since:
2007-05-19

Yes all those links show that linux can work with *soft* real-time capability. *Hard* real-time is different as previously mentioned.

This is also why for instance linux is usually multiplexed with another RTOS for such delicate operations (e.g. modem communication on mobile phones).

Reply Parent Score: 5

Rahul Member since:
2005-07-06

Some of the documents I refer specifically use the word hard real time. As an example

https://wiki.ubuntu.com/RealTime/Feisty

Red Hat MRG product has specific guarantees below certain milli seconds for specific transactions. Refer to their whitepapers for more details.

I guess your definition of hard real time is different then which is ok as long as you clearly specify what your definition is or provide some reference as to to what you believe is a commonly acceptable definition.

Within specific industries, they start out with a definition or avoid the term and just specific the guarantees just to avoid this problem. That for example guarantees the max time slice among other things.

Edited 2008-04-19 00:29 UTC

Reply Parent Score: 4

tomcat Member since:
2006-01-06

Some of the documents I refer specifically use the word hard real time. As an example


Regardless of the document's use (or misuse) of the term "hard realtime", it's a well understood fact that hard realtime means guaranteed deadlines; unless the Linux kernel provides microsecond accuracy, it's "soft realtime". This isn't a fuzzy definition -- or a minor distinction -- hard realtime guarantees are required particularly for systems where subtle variations in performance or latency can have tragic consequences (eg. flight control systems, etc).

Reply Parent Score: 7

jlarocco Member since:
2005-09-14

I would bet any amount of money the Ubuntu page is wrong.

"Hard real time" isn't a vague descriptive phrase. It's an actual concept used to describe ultra-strict time constraints where something not happening exactly when it needs to has severe consequences like an explosion or people dying. It's used in stuff like nuclear power plants, avionics, etc.

Soft real time systems are those that have strict timing requirements, but missing a deadline isn't too big a deal. Playing an MP3, for example, requires refilling the audio buffer before the old one is consumed, but it's not the end of the world if it doesn't happen.

It takes a whole lot of work to make a large hard real time system, and it just doesn't make sense to put in the effort for a desktop system.

Reply Parent Score: 4