EEE499 Real Time Systems - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

EEE499 Real Time Systems

Description:

when the behavior of a system deviates from that of its specification. normally associated with the notion ... engineering / development environments (IDEs) ... – PowerPoint PPT presentation

Number of Views:95
Avg rating:3.0/5.0
Slides: 17
Provided by: phil7
Category:
Tags: eee499 | ides | real | systems | time

less

Transcript and Presenter's Notes

Title: EEE499 Real Time Systems


1
EEE499Real Time Systems
  • Software
  • Reliability
  • (Part I)

2
Review
3
Outline
  • Failures
  • Faults Defects
  • Failure Modes
  • Common Cause and Single Point Failures
  • Introduction to Reliability

4
Failures
  • when the behavior of a system deviates from that
    of its specification.
  • normally associated with the notion that
    something which once functioned properly, no
    longer does so.
  • in this classical sense, software does not truly
    fail if the software does the wrong thing, it
    will always do the wrong thing under identical
    circumstances

5
Failures Specifications
  • traditionally (software) requirements are viewed
    as a positive specification of a system
  • an attempt to define the failures of a system can
    be viewed as a negative specification of a system
  • while both are likely essential, the latter is
    rarely formally identified in projects
  • system engineers will often need the failure
    definitions

6
Faults
  • an unsatisfactory condition or state
  • actions, timing, sequence or amount
  • random faults - in the context of above, failures
    are random faults which occur when a component
    breaks in the field. Random faults only occur in
    physical entities.
  • systematic faults - are intrinsic in the design
    or implementation of a component. Errors or
    software defects (bugs) are systematic faults.

7
Faults (contd)
  • hardware - faults can be random or systematic
  • traditional bath-tub curve phenomenon
  • software - faults are always systematic
  • software neither breaks nor wears out
  • all software contains latent defects (bugs)
  • 1986 estimates
  • 20,000 defects per Million LOC
  • 90 found in testing
  • 200 found in early life
  • 1800 latent defects (0.18 defect rate)

8
Fault Prevention
  • fault avoidance - limit the introduction of
    faulty components during construction
  • rigorous (formal) specifications
  • proven design methodologies
  • proper selection of programming language
  • engineering / development environments (IDEs)
  • fault removal - finding and removing causes of
    error
  • reviews
  • inspections
  • testing

9
Failure Modes
  • the classification of a systems failures
    according to the impact they have on the services
    it delivers.
  • software failure modes
  • value domain
  • timing domain - early, omission, late
  • arbitrary ( combination of value and timing)

10
Failure Types
  • single point failures - the failure of a system
    due to a single component failure.
  • h/w car brake master cylinder
  • s/w ?
  • common cause failures - the failure of more than
    one component due to a common event or cause.
  • h/w power supply failure EMI
  • s/w ?

11
Reliability
  • reliability, R(t) - the probability that, when
    operating under stated environmental conditions,
    a system will perform its intended function
    adequately for a specified interval of time.
  • a measure of the success with which a system
    conforms to some authoritative specification of
    its behavior
  • most frequent hardware metric - MTBF
  • failure rate is more universal in software

12
Reliability Time
  • as stated in its definition, reliability is
    evaluated on a time interval
  • R(t 6 hours) 95
  • in terms of software reliability, we must
    distinguish three forms of time
  • calendar time - standard elapsed time
  • clock time - the time a processor is actually
    running during any calendar time
  • execution time- the time any software program is
    executing on the given processor.

13
Reliability Environment
  • again, as stated in its definition, reliability
    is a function of the operational environment
  • more commonly used is a systems operational
    profile
  • an operational profile of a piece of software is
    a representation of the various input states and
    their respective probabilities
  • often these profiles can be further divided along
    modes of operation
  • for example an application has a different
    profile during start-up mode than in full
    operation
  • test cases / test data is selected accordingly

14
Dynamic Reliability Models
  • Software Reliability Growth models
  • Software Reliability Decay Models

15
Uses of Reliability
  • a measure of development status
  • given a reliability goal (a set failure rate),
    you may determine remaining schedule, costs,
    tests, etc prior to release of the software
  • to monitor operational performance
  • is the reliability such that major maintenance is
    justified
  • provides insight into the software product
    (quality) and the development process

16
Questions
Write a Comment
User Comments (0)
About PowerShow.com