Title: Ingen bildrubrik
1Schedulability Analysis of Multiprocessor
Real-Time Applications with Stochastic Task
Execution Times
Sorin Manolache, Petru Eles, Zebo Peng sorma,
petel, zebpe_at_ida.liu.se
Department of Computer and Information
ScienceLinköping University, Sweden
2Outline
- Introduction
- Problem formulation
- Application modelling
- Approximation method
- Markov chain generator construction
- Analysis
- Experimental results
- Conclusions
3Introduction
Functionality as an annotated task graph
The schedulability analysis gives the design
fitness estimate
4Motivation
- Classical schedulability analysis works on the
worst case execution time (WCET) model - Established analysis methods
5Applications (1)
- Soft real-time applications (missing a deadline
could be acceptable) - WCET becomes pessimistic
- Leads to processor under-utilization
6Applications (2)
- Early design phases, early estimations for future
design guidance
- Alternative Models
- Average
- Interval
- Stochastic
7Sources of Variability
- Application characteristics (data dependent loops
and branches) - Architectural factors (pipeline hazards, cache
misses) - External factors (network load)
- Insufficient knowledge
8Problem Formulation (1)
- Input
- Set of task graphs, periodic tasks, deadlines
equal periods, statically mapped
- Set of execution times probability density
functions (continuous)
- Scheduling policy
- Deadlines less than or equal to the periods
- Designer controlled rejection (discarding)
9Problem Formulation (2)
- Output
- Ratio of missed deadlines per task graph
- Limitations
- Non-preemption
15
3
10Approach Outline (1)
The application with stochastic task execution
times can be regarded as a system with random
character
- The solution can be obtained by constructing and
analysing the underlying stochastic process
- Very difficult to solve in the case of arbitrary
task execution time PDFs (ETPDFs)
11Approach Outline (2)
12Application Modelling (1)
13Application Modelling (2)
E
B
F
D
14Application Modelling (3)
A
E
B
C
D
F
15Approximation (1)
16Approximation (2)
a1l1
a2l2
a3l3
(1-a2)l2
(1-a1)l1
17CTMC Construction (1)
18CTMC Construction (2)
X, Y
X, Y
X
Approximation of the SMP
SMP
Approximation of X
X
19Construction of the CTMC
- The global generator of the Markov chain becomes
then
- M is expressed in terms of small matrices and can
be generated on the fly memory savings
20Analysis Time vs. Number of Tasks
21Analysis Time vs. Number of Procs
22Growth with Number of Stages
23Accuracy
Accuracy vs analysis complexity compared to an
exact approach presented in previous work
Stages 2 3 4 5
Relative error 8.7 4.1 1.04 0.4
24Conclusions
- Approximation approach to performance analysis of
multiprocessor real-time applications with
stochastic execution times - Larger scale applications can be analysed due to
an efficient scheme to store the underlying
stochastic process - Provides the possibility to trade-off analysis
speed and memory demand with analysis accuracy