Improving Multiprocessor Real-Time Systems with Bursty Inputs under Global EDF using Shapers
Yue Tang1, Yuming Jiang2, Xu Jiang1, Nan Guan1
1 The Hong Kong Polytechnic University 2Norwegian University of Science and Technology
using Shapers Yue Tang 1 , Yuming Jiang 2 , Xu Jiang 1 , Nan Guan 1 1 - - PowerPoint PPT Presentation
Improving Multiprocessor Real-Time Systems with Bursty Inputs under Global EDF using Shapers Yue Tang 1 , Yuming Jiang 2 , Xu Jiang 1 , Nan Guan 1 1 The Hong Kong Polytechnic University 2 Norwegian University of Science and Technology Outline
1 The Hong Kong Polytechnic University 2Norwegian University of Science and Technology
2019/5/16 2
2019/5/16 3
2019/5/16 4
2019/5/16 5
2019/5/16 6
2019/5/16 7
However
2019/5/16 8
I/O FPGA DSP I/O ECU I/O input stream input stream
2019/5/16 9
However
Possible solution?
2019/5/16 10
Choose the period of periodic tasks 5 10 15 20 25 30 35 t T = 1 ? 9 11 Overestimate workload → too pessimistic T = 5 ? Underestimate workload → wrong results (Assume D = 5, one task on uniprocessor) In the extreme case, more than one job arrives simultaneously (e.g., 3 events at time 10) 5 10 15 20 25 30 35 t Can not set the period !
2019/5/16 11
However
Possible solution? Our contribution !
2019/5/16 12
2019/5/16 13
2019/5/16 14
bursty periodic system shapers
1
S
2
S
1
2
m
m
1
2
scheduler
1
P
2
P
n
P
Why our approach is correct?
m
S
2019/5/16 15
(changing bursty tasks as periodic)
bursty periodic system shapers
1
S
2
S
1
2
m
m
1
2
scheduler
1
P
2
P
n
P
m
S
2019/5/16 16
(changing bursty tasks as periodic)
bursty periodic system shapers
1
S
2
S
1
2
m
m
1
2
scheduler
1
P
2
P
n
P
calculated delay bound (modeling bursty tasks as periodic)
m
S
2019/5/16 17
(changing bursty tasks as periodic)
bursty periodic system shapers
1
S
2
S
1
2
m
m
1
2
scheduler
1
P
2
P
n
P
calculated delay bound (modeling bursty tasks as periodic) 5 10 15 20 25 30 35 t 5 10 15 20 25 30 35 t Assume D = 5, one task on uniprocessor If consider the delay bound at the scheduler → schedulable If consider the overall delay → unschedulable
m
S
2019/5/16 18
2019/5/16 19
For each task, it has
A more general global EDF scheduling Worst case execution time C Relative deadline D Priority indicator λ Arrival curve α: maximum number of arrived events in any length of time interval Relative deadline only decides a task’s finish time The priority of a task is decided by priority indicator
2019/5/16 20
Process job sequences and force its output job sequences to confirm to some time constraints
Arrival curve α Shaping function σ shaper shaper Output arrival curve α’ = α σ
2019/5/16 21
Process job sequences and force its output job sequences to confirm to some time constraints
shaper
2019/5/16 22
Delay = Caldelay (input tasks, analysis techniques) Global EDF component
1 2
' ( ' , ' ,..., ' )
m
=
1 2
( , ,..., )
m
= (Decided by Caldelay function)
bursty periodic system shapers
1
S
2
S
1
2
m
m
1
2
scheduler
1
P
2
P
n
P
m
S
2019/5/16 23
bursty periodic system shapers
1
S
2
S
1
2
m
m
1
2
scheduler
1
P
2
P
n
P
system
1
S
2
S
GEDF component
1
2
m
1
'
2
'
'm
1
2
m
m
S
m
S
2019/5/16 24
For each task, the overall delay bound is equal to the sum of that at the shaper and that of the scheduler Di
1 + Di 2 system
1
S
2
S
GEDF component
1
2
m
1
'
2
'
'm
1
2
m
m
S
Di
1
Di
2
2019/5/16 25
① Increase T → larger Di
1 , smaller Di 2
Di = Di
1 + Di 2
Decrease T → smaller Di
1 , larger Di 2
② The calculation Di
2 depends on other tasks
③ Enumerating all possible values is low-efficient
Di
system
1
S
2
S
GEDF component
1
2
m
1
'
2
'
'm
1
2
m
m
S
Di
1
Di
2
2019/5/16 26
2019/5/16 27
The only one existing work for bursty inputs under global EDF Proposed approach, setting the period of the shaper based on the input task
With simultaneously arrived jobs Without simultaneously arrived jobs
Proposed approach, setting the period of the shaper based on the heuristic Proposed approach, setting the period of the shaper arbitrarily
2019/5/16 28
The only one existing work for bursty inputs under global EDF
With simultaneously arrived jobs Without simultaneously arrived jobs
Proposed approach, setting the period of the shaper based on the heuristic Proposed approach, setting the period of the shaper arbitrarily The normalized delay bound is calculated based on that when setting the period based on the input