Uniprocessing scheduling Flashcards

(16 cards)

1
Q

what is Rate monotonic scheduling

A

rate monotonic is a preemptive scheduling algorithm that schedule task according to their priority

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

what is RTOS

A

RTOS are systems in which correctness does not only depend on the correctness of the result but also at the time which the result was produced

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

types of RTOS

A

Hard real-time system : catastrophique consequences , air craft
firm real time system : deadline misses must be limited
soft-real-time system: deadline misses is not important

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

define a periodic task

A

a periodic task : 𝜏 i = (Oi , Ti , Di , Ci )
composed of imfinite number of jobs {ii,1 , ji,2 … ji,n}
ji,n is the n-th job of the task i

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

sporadic task vs periodic task

A

the difference between them lies in the inner absolute deadline

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

what are scheduling algorithms

A

they are algorithm used for distributing resources among parties that synchronously needs them, its purpose is to minimize the starvation

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

what are the three kinds of scheduling algorithms

A

FTP where the job inherits the task’s priority, FJT, the job is assigned priorities, fixed DP

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

FTP priority assignement

A

aperiodic task is said to be FTP-optimal if there exists a scheduling using FTP

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

what are the important phenomenen in FTP arbitrary deadline that are impossible for RM and DM

A

the first phenomem is that first task can be active simultaneously
The second phenomena are that the first task is not always the optimal

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

the feasability interveal

A

is an interval, if not deadline is missed during this interval then no dealing would be missed during the whole system lifetime

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

Feasibility interval for constrained deadline

A

[0 , max Di{i…..n}] which reflects the lemma of the critical instant

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

Feasibility Interval for arbitrary deadline

A

Rappel 1 λi est le premier idle point (apr`es 0) dans l’ordonnancement synchrone du
sous-ensemble de tˆache {τ1…τi}, et [0, λi
[ est la plus grande level-i busy p´eriode.

Rappel 2 Une busy p´eriode ´el´ementaire est un intervalle de temps [a, b[ tel que a et
b sont des idle points et l’intervalle ]a, b[ ne contient aucun idle points.

Rappel 3 Une level-i busy p´eriode est une busy p´eriode ´el´ementaire en consid´erant
l’ordonnancement des tˆaches {τ1…τi} ou τiex´ecute au moins un job. Th´eoreme Pour un systeme de tˆache synchrone a deadline arbitraire, un intervalle
de faisabilit´e correct est donn´e par : [0, λn[

Preuve Il s’agit d’une cons´equence direct de λ1 < λ2 < … < λn λn
λn est la plus petite solution à l’équation :
𝜆n = n ∑ i=1 ⌈ 𝜆n / Ti ⌉ Ci

and can be computed through fixed-point iteration.
w0 def = n ∑ i=1 Ci , wk+1 def = n ∑ i=1 ⌈ wk /Ti ⌉ Ci

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

what is idle point and busy period

A

X is considered an idl point if all the tasks occurred before x, have accomplished their execution
and busy period [a,b], if a and b are idl points and (a,b), contain no idl point

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

what is asynchronous operation

A

it is a nonblocking operation where it may discover the completion later on by other mechanism

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

how to prove the feasibility of FTP systemen using rm

A

A synchronous constrained deadline system is FTP-schedulable iff r 1 i ≤ Di ∀i

if this condition is not accomplished then we check with this one :
U(𝜏) ≤ 0.69
then we go for the equation provided by audsley :

w0  = Ci , (initialization) 
wk+1 = Ci + ∑ i–1 j=1 ⌈ wk Tj ⌉ Cj (iteration).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

the optimality of edf

A

the optimality is edf is stronger than the optimality if RM/Dm since it concerns jobs set andn ot task set