L8 - Scheduling Flashcards

1
Q

Periodic Task

A

Task is released with fixed frequency and period.

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

Aperiodic Task.

A

Task has either a soft or no deadline at all. Aperiodic tasks should always be executed before periodic ones to prevent slack-stealing.

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

Sporadic Task

A

Task has hard deadline and is released at random times.

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

Preemtable Task

A

Execution of the task can be suspended.

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

What is the main task of a scheduler?

A

A scheduler allocates resources and delegates CPU to tasks.

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

What are key characteristics of a hard RTS?

A

always online; no runtime overhead; inflexible schedule

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

Dynamic RTS

A

Dynamic RTS are created at runtime.

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

How can scheduling performance be enhanced?

A

Scheduling performance can be increased by additional processors; faster computing and relaxed precedence constraints.

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

Describe Horn’s Algorithm/Earliest Deadline First (EDF)

A

The earlier the absolute deadline the higher the priority of the task. Especially for asynchronous launched tasks.

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

Deadline Monotonic (DM)

A

Priority of tasks depends on 1/ Di; can produce feasible schedule when Rate Monotonic (RM) fails.

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

Rate Monotonic (RM)

A

Priority of tasks depends on 1/ pi; always fails when Deadline Monotonic (DM) fails

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

Name four different dynamic scheduling algorithms.

A

Deadline & Rate Monotonic; Earliest-Deadline-First; Least-Slack-Time-First

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

What is the Least-Slack-Time-First (LSTF) algorithm? Is it a static or dynamic scheduling algorithm?

A

The smaller the slack time the higher the priority. Dynamic Scheduling.

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

What is understood as Dynamic Scheduling?

A

Dynamic Scheduling is priority-driven and defined at runtime.

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

Static Scheduling

A

Clock-Driven and defined at compile time.

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

What is the concept of a non-preemptive algorithm?

A

In a non-preemptive algorithm; tasks will be finish their process first even when another process with a possible higher priority arrives.