Linked by David Adams on Fri 18th Apr 2008 17:34 UTC, submitted by Rahul
Thread beginning with comment 310436
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[5]: HARD real time? I don't think so
by Redeeman on Sat 19th Apr 2008 11:11
in reply to "RE[4]: HARD real time? I don't think so"
RE[6]: HARD real time? I don't think so
by jlarocco on Sat 19th Apr 2008 19:28
in reply to "RE[5]: HARD real time? I don't think so"
RE[5]: HARD real time? I don't think so
by philicorda on Sat 19th Apr 2008 16:49
in reply to "RE[4]: HARD real time? I don't think so"
'hard' real time is not so well defined as you might imagine.
A truly deterministic implementation cannot have such niceties as processor cache, interrupts or file i/o as you cannot accurately predict their latencies.
A practical 'hard' real time system still has to allow for missed deadlines, or have some kind of priority assignment for real time threads. This opens up the possibility of priority inversion. (see Mars Rover Pathfinder.)
So there are always compromises and each implementation is specific. The Linux RT patches provide one implementation, with all the problems associated with running on commodity hardware, networking, file io etc. Whether it fits your needs is another matter.






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.