L4 Flashcards

1
Q

What is task scheduling?

A

The decision of when, in which order and where different jobs must execute

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

Why and how scheduling?

A

We must have some task execution ordering mechanism

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

Where do the timing constraints come from?

A

From requirements (e.g. open the door within x ms)

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

How do we guarantee timing constraints?

A

Through schedulability (and analysis)!

  • based on appropriate task parameters (e.gg periods, deadlines, priorities, etc)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CPU Utilization

A

U = C1/T1 + C2/T2 + ….<= 1

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

Scheduling approaches

A

Offline scheduling
- performed before system deployment
- generates a “timetable” that efindes the run-time execution
- also called static or pre-run-time scheduling

Online scheduling
- scheduling decision performed during the system execution
- based on task priorities
- also called dynamic or run-time scheduling

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

Event-triggered and Time-triggered real-time-systems

A

Event-triggerd
- online scheduling

Time-triggered
- offline scheduling

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

RM, DM, EDF, PIP

A

RM: Rate Monotonic
DM: Deadline Monotonic
EDF: Earliest Deadline First
PIP: Priority Inheritance Protocol

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

Rate Monotonic Schedulability condition:

A

U <= n(2⁽¹/n⁾-1)

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