9 CITW Real Time Systems Concepts
9 CITW Real Time Systems Concepts
CT006-1
Real-time Systems
Learning Outcomes
At the end of this section, YOU should be able to:
Chapter 9
Chapter 9
Chapter 9
Chapter 9
Chapter 9
Chapter 9
Dependable Systems?
A system is dependable when it is trustworthy enough that
reliance can be placed on the service that it delivers. For a
system to be dependable, it must be
Available - e.g., ready for use when we need it.
Reliable - e.g., able to provide continuity of service
while we are using it.
Safe - e.g., does not have a catastrophic consequence
on the environment.
Secure - e.g., able to preserve confidentiality.
Chapter 9
Why dependability?
In safety-critical applications - such as flight control,
medical life support (medical equipments),
telecommunication switching, and on-line transaction
processing systems - failure of computing resources can
cost lives and/or money.
Chapter 9
Fault Tolerance ?
A system built with fault tolerance capabilities will
manage to keep operating, perhaps at a degraded level,
in the presence of these faults.
In other words, fault-tolerance is informally defined as
the ability of a system to deliver the expected service
even in the presence of faults.
For a system to be fault-tolerant, it must be able to
detect, diagnose, and recover from faults.
Chapter 9
10
Chapter 9
11
Fault types:-
Chapter 9
12
Software Faults
Software faults are caused by incorrect design, or
coding of a program.
Chapter 9
13
Error Recovery
Error recovery is the process by which the system
attempts to recover from the effects of an error.
Forward error recovery:
In this approach, the error is masked without any
computations having to be redone.
Backward error recovery:
In this approach, the system is rolled back to a state
before the error is believed to have occurred and the
computation is carried out again.
Computer and IT in Workplace
Chapter 9
14
Reliability
Hard real-time systems such as flight control and
process control demand high reliability, in which a failure
could mean loss of life.
Chapter 9
15
Availability
Availability is a measure of the delivery of proper service
with respect to the alternation of proper and improper
service. In other words, it is the probability of being
operational at a given instant of time.
A 0.999999 availability means that the system is not
operational at most one hour in a million hours.
Soft real-time systems such as telephone switching and
airline reservation require high availability.
Chapter 9
16
Review Questions
Chapter 9
17
Q&A
Computer and IT in Workplace
Chapter 9
18
Chapter 9
19