real time systems Flashcards

1
Q

what is a real time process

A

a process that delivers results of processing in a given time span

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

what is a real time system

A

a system where its correctness is based on the correct result but also on time

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

deadline

A

the latest acceptable time for a process to complete

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

soft real time

A

deadlines can be broken

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

hard real time

A

deadlines are critical
e.g. embedded/control systems

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

what is real time scheduling driven by

A

events and deadlines

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

periodic events

A

predictable e.g. clock

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

aperiodic events

A

unpredictable; expected but not sure when

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

why do we require admission control

A

to ensure that we dont take on too much work so everything can be done before their deadline
ensures that resources are never being used more that 100% (including overhead)

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

what is the rate of periodic tasks

A

1/period

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

what two things do we need to check when carrying out periodic tasks

A

the processing time must be < the process deadline
the total processing time per cycle must be < the period

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

what are the two types of preemptive real time schedulers

A

rate monotonic (rm)
earliest deadline first (edf)

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

rate monotonic

A

assumes the processes have the same amount of work each cycle
fixed repeating schedule for worst case
the priority is inversely proportional to work required: more frequent = higher priority

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

how does rate monotonic have a fixed repeating schedule

A

fixed priority: priority assigned once based on its period and never changes
tasks with shorter periods and higher frequency always have a higher priority than those with longer periods

repeating pattern: since tasks are periodic they always execute at fixed time intervals therefore the schedule is predictable

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