comp.lang.ada
 help / color / mirror / Atom feed
From: merlin@annwfn.com (Fred McCall)
Subject: Re: What's Real-Time? (was Re: Widespread C++ Competency Gap?)
Date: Wed, 04 Jan 1995 16:05:03 -0600
Date: 1995-01-04T16:05:03-06:00	[thread overview]
Message-ID: <86203738B3A@annwfn.com> (raw)
In-Reply-To: hbaker-3012941712040001@192.0.2.1

In <hbaker-3012941712040001@192.0.2.1> hbaker@netcom.com Henry Baker writes:

>In the RT community there are the terms '_hard_ real-time' and
>'_soft_ real-time'.  'Hard' RT means that the consequences of missing
>a deadline are catastrophic, while 'soft' RT means that the consequences
>are expensive, but not catastrophic.

This doesn't quite jibe with the way I learned it (although reflection
seems to show that we're talking about different aspects of the same
thing). Real-time (in general) means that there are time-driven
constraints on the system which *must* be met.

'Hard' real-time implies that the required timeline must be met
*exactly*; in other words, you need a deterministic machine where you
know the timing of all operations and combinations thereof in order to
do this correctly.  If you blow the timeline (either early or late,
within a very narrow window), the system will fail and cannot be
recovered. 

'Soft' real-time sets upper limits on how long things can take, but if
you get there early the system will run along fine.  Blown timelines can
generally be recovered if other later operations can be performed fast
enough to 'make up' the blown timeline.

>Unfortunately, nearly _all_ of the progress in HW performance in the last
>20 years has been in _mean_ performance, _not_ worst-case performance.
>In fact, worst-case performance has only improved modestly over this
>period.  The _ratio_ of mean to worst-case performance has increased
>dramatically, so that it may be 100:1 or more today.

Not to mention that most of the things that we do to make the hardware
faster also tend to make it less deterministic (super-scalar,
super-pipelined designs, etc.) and hence less suitable for 'hard'
real-time unless you design with extraordinary margins (so that you can
still make the timeline if the pipeline stalls and has to be flushed,
for example).

>

--
"Insisting on perfect safety is for people who don't have the balls to live
 in the real world."   -- Mary Shafer, NASA Ames Dryden
---------------------------------------------------------------------------
merlin@annwfn.com -- I don't speak for others and they don't speak for me.



  parent reply	other threads:[~1995-01-04 22:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <787227087snz@wslint.demon.co.uk>
     [not found] ` <3da1nd$fss@gateway.wiltel.com>
     [not found]   ` <3e1rqn$ouh@news.parc.xerox.com>
     [not found]     ` <3e22hi$pqf@baygull.rtd.com>
     [not found]       ` <3e26mc$n9u@Starbase.NeoSoft.COM>
1994-12-31  1:09         ` What's Real-Time? (was Re: Widespread C++ Competency Gap?) Henry Baker
1994-12-31  2:12           ` Don Yuniskis
1994-12-31 17:08           ` Przemek Klosowski
1995-01-01  9:35             ` Robert J Carter
1995-01-02 17:10               ` Przemek Klosowski
1995-01-03 23:20               ` Robert I. Eachus
1995-01-04 22:05           ` Fred McCall [this message]
     [not found] ` <3ckb8g$841@gateway.wiltel.com>
     [not found]   ` <1994Dec21.151952.8902@merlin.h>
     [not found]   ` <1994Dec21.151952.8902@merlin.h <19941230.201628.350635.NETNEWS@UICVM.UIC.EDU>
     [not found]     ` <3e9f60$8du@jive.cs.utexas.edu>
     [not found]       ` <3epfsi$64d@gamma.ois.com>
     [not found]         ` <3eua1r$4ea@gnat.cs.nyu.edu>
1995-01-11  1:44           ` Parallel & RT GC (was Re: Real-Time GC (was Re: Widespread C++...?) Henry Baker
1995-01-13 13:30           ` R. William Beckwith
1995-01-13 14:59             ` Kelvin Nilsen
1995-01-17  2:45               ` R. William Beckwith
1995-01-19 15:57                 ` Kurt Bischoff
1995-01-17 16:29               ` Robert I. Eachus
1995-01-18 15:27                 ` Henry Baker
1995-01-19 19:59                 ` Norman H. Cohen
1995-01-20  2:20                   ` Henry Baker
1995-01-20 14:49                   ` Robert I. Eachus
1995-01-22  2:56                 ` David Hanley
1995-01-23 17:06                   ` Robert I. Eachus
1995-01-13 21:04             ` Henry Baker
1995-01-17 10:37               ` Mark Reinhold
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox