01-intro_e
01-intro_e
Slides from
Real Time Operating Systems and Middleware
Prof. Luca Abeni Introduction to the Course
Overview of the Course - 1
• Real-Time Systems: what are they?
• Real-Time Computing, Temporal Constraints
• Definitions and task model
• Real-Time scheduling
• Notes about real-time programming, RT-POSIX,
pthreads, . . .
• Real-Time Scheduling
• Fixed Priority scheduling, RM, DM
• EDF and dynamic priorities
• Resource Sharing (Priority Inversion, etc...)
ci,k
ri,k fi,k di,k
ri,k+1 = ri,k + Ti
di,k = ri,k + D i
C i = max{ci,k}
k
τ1
0 2 4 6 8 10 12 14 16 18 20 22 24
Notice that, while job J1,1 and J1,3 execute for 3 units of
time (WCET), job J1,2 executes for only 2 units of time.
τ1
0 2 4 6 8 10 12 14 16 18 20 22 24
ri,k+1 ≥ ri,k + Ti
di,k = ri,k + D i
Ci = max{ci,k}
k
τ1
0 2 4 6 8 10 12 14 16 18 20 22 24 26
Notice that
r1,2 = 12 > r1,1 + T1 = 9
r1,3 = 21 = r1,2 + T1 = 21
τ1
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34
0.09
0.08
0.07
probability density
0.06
0.05
0.04
0.03
0.02
0.01
0
0 2000 4000 6000 8000 10000