Dependability Flashcards

(17 cards)

1
Q

Dependability 4 Means

A
  • Fault Prevention
  • Fault Tolerance
  • Fault Removal
  • Fault Forecasting
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Dependability Attributes

A

Availability
Reliability
Safety
Confidentiality
Integrity
Maintainability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Dependability Impairments

A

Faults
Errors
Failures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fault Types

A

transient fault

Permanent faults : remain int he system until they are repaired. broken wire or a software design error

Intermittent faults: are transient faults that occur from time to time. hardware component that is heat sensitive, it works for a time, stops working, cools down and then starts to work again, corrosion on connectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are Errors

A
  • wrong state in system+ / subsystem (wrong data element in memory register)
  • error activated, when computation accesses the faulty data
  • two types of software errors 1. Bohrbugs - can be reproduced by providing a specific input sequence, value domain
  • Heisenbugs - can only be observed when input data and timing in relation to all other timing activities can be exactly reproduced
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Failure Modes

A

Constaint failure
Value failure
Fail silent
Fail sotp
Fail controlled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

2 Stages for fault Prevention

A

Fault avoidance and fault removal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Fault tolerance Levels

A
  1. Full Fault Tolerance - the system continues to operate in the presence of faults, albeit for a limited period, with no significant loss of functionality or performance
  2. Graceful Degradation - the system continues to operate in the presence of errors, accepting a partial degradation of functionality or performance during recovery or repair
  3. Fail safe - the system maintains its integrity while accepting a temporary halt in its operation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How to detect fault (fault tolerance)

A
  • requires fault detection and prior specification of intended behavior
  • temporal failures should be decected by communication system
  • logical failures have to be detected by the receiver of a message
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Never give up NGU strategy

A

stategy to deal with rare faults outside the fault hypothesis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Differences between Fault Prevention and Fault Tolerance

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Nessessary conditions for the mutual exclusion

A
  1. Only one process is allowed to enter the critical section
  2. No assumption can be made about the speed and the amount of processors
  3. No process is allowed to block another process outside the critical section
  4. every process has only to wait a finite time to enter the critical section
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the 3 scheduling problems?

A

Race conditions
Starvation
Priority inversion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

4 Resource access protocols

A
  • Non-Preemptive Protocol
  • Highest Locker Priority
  • Priority Inheritance Protocol
  • Priority Ceiling Protocol
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

[Priority inheritance protocol] direct blocking

A

occurs when higher priority processes tries to acquire a resource held by a lower priority process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

[Priority inheritance protocol] push-through blocking

A

occurs when medium priority process is blocked by a lower priority process which inherited a higher priority from a process it directly blocks

17
Q

In this context, briefly explain why a fault does not always lead to an error. Give an example.
(ii) Briefly describe the difference between ’fault prevention’ and ’fault tolerance’.

A

A fault wrong state in system / subsystem (wrong data element in memory, register. Error is activated, when computation accesses the faulty data (this can be quite a bit later). If the faulty memory location is not accessed, this may not lead to an error.
(ii)
Fault prevention attempts to eliminate any possibility of faults creeping into a system before it goes operational.
Fault tolerance enables a system to continue functioning even in the presence of faults