on budgeting and quality - rtns 2018 · on budgeting and quality with an application to...

76
On Budgeting and Quality With an Application to Safety-Critical Real-Time Systems Bader Alahmad & Sathish Gopalakrishnan The University of British Columbia

Upload: others

Post on 14-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

On Budgeting and QualityWith an Application to Safety-Critical Real-Time

Systems

Bader Alahmad & Sathish Gopalakrishnan

The University of British Columbia

VM1

$

VM2

$$$$

VM3

$$$

Budgeting vs. Quality

Goal: Maintain a certain QoS level for the long-term operation of the system with high confidence

modulo perhaps initial transient behavior

Task Model

Task Model

» Recurrent tasks with given periods

Task Model

» Recurrent tasks with given periods

» Task has random execution-time demand

Task Model

» Recurrent tasks with given periods

» Task has random execution-time demand

» Available budget is random variable

Task Model

» Recurrent tasks with given periods

» Task has random execution-time demand

» Available budget is random variable

» and not necessarily independent

Task Model

» Recurrent tasks with given periods

» Task has random execution-time demand

» Available budget is random variable

» and not necessarily independent

» Bad situation: , central quantity:

Problem Description

: Fraction of first jobs where budget is insufficient

Problem Description

: Fraction of first jobs where budget is insufficient

» The process is iid, sampled at job release times

Problem Description

: Fraction of first jobs where budget is insufficient

» The process is iid, sampled at job release times

» Given:

Problem Description

: Fraction of first jobs where budget is insufficient

» The process is iid, sampled at job release times

» Given:

» QoS level : Tolerable fraction of jobs that might demand more than available budget

Problem Description

: Fraction of first jobs where budget is insufficient

» The process is iid, sampled at job release times

» Given:

» QoS level : Tolerable fraction of jobs that might demand more than available budget

» Confidence parameter

Problem Description

: Fraction of first jobs where budget is insufficient

» The process is iid, sampled at job release times

» Given:

» QoS level : Tolerable fraction of jobs that might demand more than available budget

» Confidence parameter

» Question: Is there integer s.t. jobs of the task?

�<latexit sha1_base64="U3WQCJmXdyWA6SSbaZOj7cZUflc=">AAACLnicbVDLSgMxFM34rPVZXboJtoKrMuNGN4LgxqWCbYV2KDeZOxqaSYYkI5bBj3CrP+HXCC7ErZ9hWruwrQcCh3Pu5Z4clkthXRh+BAuLS8srq5W16vrG5tb2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HJFp/z8feuffiHrpNGf/KKirMSZloUU6IM07R6kJfo5581oefRhqlk6o88sRVXN8dW0248H8QrsPkluSX8Ix5dfAWA07UW9NDeiLkl7odC5SRJXPmvQeikULTtp7ahCcY4zmgSqsSSXNasrluxlUHJWGBue9myl/rvRYOncouRhss3sNr1W/J83EajecWN0bi5M1rQ+qgLDKOMLxjGnu9/wciOoL95mjdRV7UmLdc6iVswb1jbKcmlJeLUIBIWV4VQm5mhR+NB7J5SYbFZ2n5y8HiTxIDlO+kMGa+zBARzCESTwBobwEUYwBgHf4Dv8gJ/Rr+gq+hP9XY9uRbc7L+AOousbhe6xqA==</latexit><latexit sha1_base64="sbadh45EePg5icT7m0kdceNgdO8=">AAACRHicbVBNSyNBFOzxazXraqJHL80Gwb2Emb3sXoTAwuIxglEhM4TXPW+Sxp7usbtHDEMO+2u86p/wP/gfvIlXsSfmoHELGoqq9+h6xQoprAvDh2BpeWV17cv6RuPr5ret7WZr59Tq0nDscy21OWdgUQqFfSecxPPCIORM4hm7+FP7Z1dorNDqxE0KTHIYKZEJDs5Lw+ZenIMbM1b1pgd/h4rGI7ykMchiDD+GzXbYCWegn0k0J20yR2/YClpxqnmZo3JcgrWDKCxcUoFxgkucNuLSYgH8AkY48FRBjjapZldM6b5XUppp459ydKa+36ggt3aSMz9ZZ7aLXi3+zxtwkIdMa5Xqa51UtQ8yAz9K2YQySPHjNyxfCOqy30klVFE6VPwtZ1ZK6jStG6WpMMidnHgC3Ah/KuVjMMCd773hS4wWK/tMTn92orATHUftLp3XuU72yHdyQCLyi3TJEemRPuHkH7kht+QuuA8eg6fg+W10KZjv7JIPCF5eAVmUr6w=</latexit>

P(Fn � ↵)<latexit sha1_base64="Rgen5uhBkzFuivk8oPXDtFN/RfI=">AAACRHicbVDRahNBFL1bW1tj1UQf+zI0CPUl7PqiL0JAEB9TMG0hu4Q7s3eTobMz68ysNCwB/Rpf9Sf8B7+hfRNfS2eTPtjUAwOHc+5lzj28UtL5OP4dbT3Y3nm4u/eo83j/ydNn3d7zE2dqK2gsjDL2jKMjJTWNvfSKzipLWHJFp/z8feuffiHrpNGf/KKirMSZloUU6IM07R6kJfo5581oefRhqlk6o88sRVXN8dW0248H8QrsPkluSX8Ix5dfAWA07UW9NDeiLkl7odC5SRJXPmvQeikULTtp7ahCcY4zmgSqsSSXNasrluxlUHJWGBue9myl/rvRYOncouRhss3sNr1W/J83EajecWN0bi5M1rQ+qgLDKOMLxjGnu9/wciOoL95mjdRV7UmLdc6iVswb1jbKcmlJeLUIBIWV4VQm5mhR+NB7J5SYbFZ2n5y8HiTxIDlO+kMGa+zBARzCESTwBobwEUYwBgHf4Dv8gJ/Rr+gq+hP9XY9uRbc7L+AOousbhe6xqA==</latexit><latexit sha1_base64="sbadh45EePg5icT7m0kdceNgdO8=">AAACRHicbVBNSyNBFOzxazXraqJHL80Gwb2Emb3sXoTAwuIxglEhM4TXPW+Sxp7usbtHDEMO+2u86p/wP/gfvIlXsSfmoHELGoqq9+h6xQoprAvDh2BpeWV17cv6RuPr5ret7WZr59Tq0nDscy21OWdgUQqFfSecxPPCIORM4hm7+FP7Z1dorNDqxE0KTHIYKZEJDs5Lw+ZenIMbM1b1pgd/h4rGI7ykMchiDD+GzXbYCWegn0k0J20yR2/YClpxqnmZo3JcgrWDKCxcUoFxgkucNuLSYgH8AkY48FRBjjapZldM6b5XUppp459ydKa+36ggt3aSMz9ZZ7aLXi3+zxtwkIdMa5Xqa51UtQ8yAz9K2YQySPHjNyxfCOqy30klVFE6VPwtZ1ZK6jStG6WpMMidnHgC3Ah/KuVjMMCd773hS4wWK/tMTn92orATHUftLp3XuU72yHdyQCLyi3TJEemRPuHkH7kht+QuuA8eg6fg+W10KZjv7JIPCF5eAVmUr6w=</latexit>

�<latexit sha1_base64="U3WQCJmXdyWA6SSbaZOj7cZUflc=">AAACLnicbVDLSgMxFM34rPVZXboJtoKrMuNGN4LgxqWCbYV2KDeZOxqaSYYkI5bBj3CrP+HXCC7ErZ9hWruwrQcCh3P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d7zE2dqK2gsjDL2jKMjJTWNvfSKzipLWHJFp/z8feuffiHrpNGf/KKirMSZloUU6IM07R6kJfo5581oefRhqlk6o88sRVXN8dW0248H8QrsPkluSX8Ix5dfAWA07UW9NDeiLkl7odC5SRJXPmvQeikULTtp7ahCcY4zmgSqsSSXNasrluxlUHJWGBue9myl/rvRYOncouRhss3sNr1W/J83EajecWN0bi5M1rQ+qgLDKOMLxjGnu9/wciOoL95mjdRV7UmLdc6iVswb1jbKcmlJeLUIBIWV4VQm5mhR+NB7J5SYbFZ2n5y8HiTxIDlO+kMGa+zBARzCESTwBobwEUYwBgHf4Dv8gJ/Rr+gq+hP9XY9uRbc7L+AOousbhe6xqA==</latexit><latexit sha1_base64="sbadh45EePg5icT7m0kdceNgdO8=">AAACRHicbVBNSyNBFOzxazXraqJHL80Gwb2Emb3sXoTAwuIxglEhM4TXPW+Sxp7usbtHDEMO+2u86p/wP/gfvIlXsSfmoHELGoqq9+h6xQoprAvDh2BpeWV17cv6RuPr5ret7WZr59Tq0nDscy21OWdgUQqFfSecxPPCIORM4hm7+FP7Z1dorNDqxE0KTHIYKZEJDs5Lw+ZenIMbM1b1pgd/h4rGI7ykMchiDD+GzXbYCWegn0k0J20yR2/YClpxqnmZo3JcgrWDKCxcUoFxgkucNuLSYgH8AkY48FRBjjapZldM6b5XUppp459ydKa+36ggt3aSMz9ZZ7aLXi3+zxtwkIdMa5Xqa51UtQ8yAz9K2YQySPHjNyxfCOqy30klVFE6VPwtZ1ZK6jStG6WpMMidnHgC3Ah/KuVjMMCd773hS4wWK/tMTn92orATHUftLp3XuU72yHdyQCLyi3TJEemRPuHkH7kht+QuuA8eg6fg+W10KZjv7JIPCF5eAVmUr6w=</latexit>

P(Fn � ↵)<latexit sha1_base64="Rgen5uhBkzFuivk8oPXDtFN/RfI=">AAACRHicbVDRahNBFL1bW1tj1UQf+zI0CPUl7PqiL0JAEB9TMG0hu4Q7s3eTobMz68ysNCwB/Rpf9Sf8B7+hfRNfS2eTPtjUAwOHc+5lzj28UtL5OP4dbT3Y3nm4u/eo83j/ydNn3d7zE2dqK2gsjDL2jKMjJTWNvfSKzipLWHJFp/z8feuffiHrpNGf/KKirMSZloUU6IM07R6kJfo5581oefRhqlk6o88sRVXN8dW0248H8QrsPkluSX8Ix5dfAWA07UW9NDeiLkl7odC5SRJXPmvQeikULTtp7ahCcY4zmgSqsSSXNasrluxlUHJWGBue9myl/rvRYOncouRhss3sNr1W/J83EajecWN0bi5M1rQ+qgLDKOMLxjGnu9/wciOoL95mjdRV7UmLdc6iVswb1jbKcmlJeLUIBIWV4VQm5mhR+NB7J5SYbFZ2n5y8HiTxIDlO+kMGa+zBARzCESTwBobwEUYwBgHf4Dv8gJ/Rr+gq+hP9XY9uRbc7L+AOousbhe6xqA==</latexit><latexit sha1_base64="sbadh45EePg5icT7m0kdceNgdO8=">AAACRHicbVBNSyNBFOzxazXraqJHL80Gwb2Emb3sXoTAwuIxglEhM4TXPW+Sxp7usbtHDEMO+2u86p/wP/gfvIlXsSfmoHELGoqq9+h6xQoprAvDh2BpeWV17cv6RuPr5ret7WZr59Tq0nDscy21OWdgUQqFfSecxPPCIORM4hm7+FP7Z1dorNDqxE0KTHIYKZEJDs5Lw+ZenIMbM1b1pgd/h4rGI7ykMchiDD+GzXbYCWegn0k0J20yR2/YClpxqnmZo3JcgrWDKCxcUoFxgkucNuLSYgH8AkY48FRBjjapZldM6b5XUppp459ydKa+36ggt3aSMz9ZZ7aLXi3+zxtwkIdMa5Xqa51UtQ8yAz9K2YQySPHjNyxfCOqy30klVFE6VPwtZ1ZK6jStG6WpMMidnHgC3Ah/KuVjMMCd773hS4wWK/tMTn92orATHUftLp3XuU72yHdyQCLyi3TJEemRPuHkH7kht+QuuA8eg6fg+W10KZjv7JIPCF5eAVmUr6w=</latexit>

m

What's in it for the system designer?

Resource Dimensioning

If we know the execution-time requirement , how should the budget look like so that for some , for all

?

What's in it for the system designer?

What's in it for the system designer?

» Recast. If we let : Derive a bound on so that if , then QoS requirement satisfied.

What's in it for the system designer?

» Recast. If we let : Derive a bound on so that if , then QoS requirement satisfied.

» Then any budget satisfying is okay

What's in it for the system designer?

» Recast. If we let : Derive a bound on so that if , then QoS requirement satisfied.

» Then any budget satisfying is okay

» We have a sufficient range

What's in it for the system designer?

» Recast. If we let : Derive a bound on so that if , then QoS requirement satisfied.

» Then any budget satisfying is okay

» We have a sufficient range

» The larger the , the more the flexibility the system designer has in allocating resources (budgets)

Large Deviation bounds

Large Deviation bounds

» Requirement: Strongest possible bound

Large Deviation bounds

» Requirement: Strongest possible bound

» decays exponentially quickly in

Large Deviation bounds

» Requirement: Strongest possible bound

» decays exponentially quickly in

» Gives the largest possible sufficient bound on

Large Deviation bounds

» Requirement: Strongest possible bound

» decays exponentially quickly in

» Gives the largest possible sufficient bound on

» Requirement made precise: Is there strictly positive function (that might depend on ) such that

Chernoff Theorem

Let be independent random variables such that always lies in the interval . Define , and let . Then for any ,

»

»

»

»

»

»

»

»

»

»

»

»

»

»

»

»

»

»

»

»

» If , then setting gives

!

»

»

»

»

»

» If , then setting gives

!

»

Our Large Deviation Bound

Upper bound on -value

Let . If , then

Observe: for every , and as

System-wide QoSDependent Tasks

Dependent tasks & System-wide QoS

Dependent tasks & System-wide QoS

» Given:

Dependent tasks & System-wide QoS

» Given:

» System-wide confidence ;

Dependent tasks & System-wide QoS

» Given:

» System-wide confidence ;

» Task QoS levels ;

Dependent tasks & System-wide QoS

» Given:

» System-wide confidence ;

» Task QoS levels ;

» "limiting" number of job releases of task , ;

Dependent tasks & System-wide QoS

» Given:

» System-wide confidence ;

» Task QoS levels ;

» "limiting" number of job releases of task , ;

» That at most tasks are dependent

Dependent tasks & System-wide QoS

» Given:

» System-wide confidence ;

» Task QoS levels ;

» "limiting" number of job releases of task , ;

» That at most tasks are dependent

» Bad event for task : , where

Dependent tasks & System-wide QoS

» Given:

» System-wide confidence ;

» Task QoS levels ;

» "limiting" number of job releases of task , ;

» That at most tasks are dependent

» Bad event for task : , where

» Question: Under what condition(s) is for all releases of every task task , ?

Lovász Local Lemma (LLL)

Let be a sequence of events such that each event occurs with probability at most and such that each event is

independent of all the other events except for at most of them.

If , then

System-wide QoS bounds

System-wide QoS bounds

» Bad event for task : , where

System-wide QoS bounds

» Bad event for task : , where

» Question: Under what condition(s) is for all ?

System-wide QoS bounds

» Bad event for task : , where

» Question: Under what condition(s) is for all ?

» By LLL and LD bound, when

System-wide QoS bounds

» Bad event for task : , where

» Question: Under what condition(s) is for all ?

» By LLL and LD bound, when

» When , if , then it's sufficient that

Application to safety-critical systems

Monitors + Isochronous execution

Application to safety-critical systems

Monitors + Isochronous execution

» Main task is high quality but unpredictable with execution-time demand

Application to safety-critical systems

Monitors + Isochronous execution

» Main task is high quality but unpredictable with execution-time demand

» Monitor is lower-quality and with deterministic WCET (to be determined)

Application to safety-critical systems

Monitors + Isochronous execution

» Main task is high quality but unpredictable with execution-time demand

» Monitor is lower-quality and with deterministic WCET (to be determined)

» Here

Isochronous Execution

J1 (9) J2 (6) J1 J2

J2 (6)J2J3 J3 (5)

J1 (9) J1

⇡1 ⇡2 ⇡3 ⇡4 ⇡50

2

6

14

Two problems to be solved

Two problems to be solved

» Problem1: Derive lower bounds on monitor WCETs so that each task achieves the desired QoS

Two problems to be solved

» Problem1: Derive lower bounds on monitor WCETs so that each task achieves the desired QoS

» Problem 2: Derive upper bounds on monitor WCETs so that all tasks meet their hard deadlines under isochronous execution while achieving QoS requirements (from Problem 1).

Problem 1: Monitor WCET lower bounds

Problem 1: Monitor WCET lower bounds

» Problem1: Derive lower bounds on monitor WCETs so that each task achieves the desired QoS

Problem 1: Monitor WCET lower bounds

» Problem1: Derive lower bounds on monitor WCETs so that each task achieves the desired QoS

» Solution: It is sufficient that for every

Problem 1: Monitor WCET lower bounds

» Problem1: Derive lower bounds on monitor WCETs so that each task achieves the desired QoS

» Solution: It is sufficient that for every

» Is there a feasible isochronous schedule of the tasks with these monitor WCETs?

Problem 2: Feasible Monitor WCET Upper Bounds

Problem 2: Feasible Monitor WCET Upper Bounds

» Derive upper bounds on monitor WCETs so that all tasks meet their hard deadlines under isochronous execution while achieving QoS requirements (from Problem 1).

Problem 2: Feasible Monitor WCET Upper Bounds

» Derive upper bounds on monitor WCETs so that all tasks meet their hard deadlines under isochronous execution while achieving QoS requirements (from Problem 1).

» Recall: Given monitor WCETs , a feasible isochronous schedule exists if the optimal solution to the LP below is such that :

Problem 2: Feasible Monitor WCET Upper Bounds

Problem 2: Feasible Monitor WCET Upper Bounds

» One possible solution:

Problem 2: Feasible Monitor WCET Upper Bounds

» One possible solution:

» Gives feasible range for task 's monitor WCET if instance is feasible

Do we always need monitors?

» Task may not need a monitor if its demand is unbounded