Keynote: RTNS Getting ones priorities right

Size: px
Start display at page:

Download "Keynote: RTNS Getting ones priorities right"

Transcription

1 Keynote: RTNS 2012 Gettng ones prortes rght Robert Davs Real-Tme Systems Research Group, Unversty of York

2 What s ths talk about? Fxed Prorty schedulng n all ts guses Pre-emptve, non-pre-emptve, deferred pre-empton Sngle processor, multprocessor Sporadc tasks, mxed crtcalty, probablstc executon tmes etc. Prorty assgnment Why s t mportant? What s an optmal assgnment? How do we fnd t? Is Optmal Prorty Assgnment enough? Can we optmse other thngs as well? Unsolved prorty assgnment problems 2

3 Prorty assgnment Why s prorty assgnment mportant Acheve a schedulable system when t otherwse wouldn t be Provde a schedulable system avodng hardware overprovson / maxmsng use of hardware resources Provde headroom for unforeseen nterference or overruns Example Controller Area Network (CAN) Used for n-vehcle networks Message IDs are the prortes 3

4 When prorty assgnment goes bad! From Darren Buttle s Keynote at ECRTS 2012 The myth of CAN bus Utlsaton You cannot run CAN relably at more than 30% utlsaton 1 1 Fgures may vary but not sgnfcantly Why? Message IDs.e. prortes assgned n an ad-hoc way reflectng data and ECU suppler (legacy ssues) as well as many other ssues, ncludng devce drver mplementaton 4

5 When prorty assgnment goes bad! Example: CAN Typcal automotve confg: 80 messages 10ms -1s perods All prorty queues x10,000 message sets Breakdown utlsaton Scale bus speed to fnd utl. at whch deadlnes are mssed 80% v 30% or less Frequency Random Prortes Optmal Prortes [R.I. Davs, S. Kollmann, V. Pollex, F. Slomka, "Schedulablty Analyss for Controller Area Network (CAN) wth FIFO Queues Prorty Queues and Gateways. Real-Tme Systems, 2012] Breakdown Utlsaton 5

6 System model Sngle processor, fxed prorty schedulng Scheduler chooses the hghest prorty ready task to execute Perodc / Sporadc task model Statc set of n tasks. Each task τ has a unque prorty C - Executon tme (bound) D - Relatve deadlne T - Mnmum nter-arrval tme or perod Varatons Implct / constraned / arbtrary deadlnes Pre-emptve / non-pre-emptve / deferred pre-empton schedulng Unque prortes or shared prorty levels 6

7 Schedulablty Schedulablty tests Determne f all jobs of a task (all tasks) can be guaranteed to meet ther deadlnes for all vald arrval patterns Suffcent f all of the tasksets that the test deems to be schedulable are n fact schedulable Necessary f all of the tasksets that the test deems to be unschedulable are n fact unschedulable Exact mples both suffcent and necessary Worst-case response tmes Schedulablty tests often compute the worst-case response tme R for each task and compare t wth the task s deadlne D to determne schedulablty 7

8 Defnton: Optmal prorty assgnment polcy For a gven system model, a prorty assgnment polcy P s referred to as optmal f there are no systems, complant wth the model, that are schedulable usng another prorty assgnment polcy that are not also schedulable usng polcy P. accordng to the test accordng to the test An optmal prorty assgnment polcy can schedule any system that can be scheduled usng any other prorty assgnment May also consder prorty assgnment polces that are optmal wth respect to a specfc (suffcent) schedulablty test [N.C. Audsley, "Optmal prorty assgnment and feasblty of statc prorty tasks wth arbtrary start tmes", Techncal Report YCS 164, Dept. Computer Scence, Unversty of York, UK, 1991.] [N.C. Audsley, On prorty assgnment n fxed prorty schedulng, Informaton Processng Letters, 79(1): 39-44, May 2001.] [R.I. Davs and A. Burns "Improved Prorty Assgnment for Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Real-Tme Systems. Real-Tme Systems, (2011) Volume 47, Number 1, pages 1-40] 8

9 Early work on prorty assgnment 1967 Fneberg & Serln Two perodc tasks wth mplct deadlnes, better to assgn the hgher prorty to the task wth the shorter perod 1973 Lu & Layland Rate-Monotonc prorty orderng s optmal for mplct deadlne perodc tasksets (synchronous arrvals) 1982 Leung & Whtehead Deadlne-Monotonc prorty orderng s optmal for constraned deadlne tasksets (synchronous arrvals) Deadlne Monotonc not optmal for the asynchronous case (offsets) 1990 Lehoczky Deadlne Monotonc not optmal for arbtrary deadlne tasksets 1994 Burns et al. Deadlne Monotonc not optmal for deadlnes pror to completon 1996 George Deadlne Monotonc not optmal for non-pre-emptve schedulng 9

10 Deadlne Monotonc: non-optmalty Tasks wth offsets Task Executon Tme Deadlne Perod Offset A B [J.Y.-T. Leung, J. Whtehead "On the complexty of fxed-prorty schedulng of perodc real-tme tasks, Performance Evaluaton, 2(4): , 1982] 10

11 Deadlne Monotonc: non-optmalty Tasks wth arbtrary deadlnes Task Executon Tme Deadlne Perod A B [Lehoczky J., Fxed prorty schedulng of perodc task sets wth arbtrary deadlnes. In proceedngs Real-Tme Systems Symposum, pages , 1990] 11

12 Deadlne Monotonc: non-optmalty Tasks wth deadlnes pror to completon Task Executon Tme Deadlne Perod A B [A. Burns, K. Tndell, A.J. Wellngs, "Fxed prorty schedulng wth deadlnes pror to completon" In proceedngs of the sxth Euromcro Workshop on Real-Tme Systems. pp , 1994] 12

13 Deadlne Monotonc: non-optmalty Non-pre-emptve schedulng Task Executon Tme Deadlne Perod A B C [L. George, N. Rverre, M. Spur, Preemptve and Non-Preemptve Real-Tme UnProcessor Schedulng, INRIA Research Report, No. 2966, September 1996] Example derved from: [R.I. Davs and A. Burns "Robust prorty assgnment for messages on Controller Area Network (CAN). Real-Tme Systems, Volume 41, Issue 2, pages , February 2009] 13

14 Optmal Prorty Assgnment for each prorty level, lowest frst { for each unassgned task τ { f τ s schedulable at prorty assumng that all unassgned tasks are at hgher prortes { assgn task τ to prorty level break (ext for loop) } } f no tasks are schedulable at prorty { return unschedulable } } return schedulable n(n+1)/2 schedulablty tests rather than n! by explorng all possble orderngs n = 25, that s 325 tests rather than Tasks A, A, B, A, A, B, A C, C, D, E E E [N.C. Audsley, "Optmal prorty assgnment and feasblty of statc prorty tasks wth arbtrary start tmes", Techncal Report YCS 164, Dept. Computer Scence, Unversty of York, UK, 1991.] [N.C. Audsley, On prorty assgnment n fxed prorty schedulng, Informaton Processng Letters, 79(1): 39-44, May 2001.] [K. Bletsas, and N.C. Audsley, Optmal prorty assgnment n the presence of blockng. Informaton Processng 14 Letters Vol. 99, No. 3, pp83-86, August. 2006] A C E B D

15 OPA algorthm applcablty Powerful dea as we have sad very lttle about the actual schedulablty test hence broad applcablty OPA algorthm provdes optmal prorty assgnment w.r.t. any schedulablty test S for fxed prorty schedulng provded that three condtons are met Condton 1: Schedulablty of a task may, accordng to the test, be dependent on the set of hgher prorty tasks, but not on ther relatve prorty orderng Condton 2: Schedulablty of a task may, accordng to the test, be dependent on the set of lower prorty tasks, but not on ther relatve prorty orderng Condton 3: When the prortes of any two tasks of adjacent prorty are swapped, the task beng assgned the hgher prorty cannot become unschedulable accordng to the test, f t was prevously deemed schedulable at the lower prorty Tests meetng these condtons referred to as OPA-compatble [R.I. Davs, A. Burns "Prorty Assgnment for Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Real-Tme Systems. In proceedngs Real-Tme Systems Symposum pp , 2009.] 15

16 Multprocessor: global FP schedulng Global FP schedulng Sngle global run-queue fxed prorty pre-emptve schedulng on multple processsors Incompatble wth OPA Any exact test (B. Andersson and Jonsson 2000) such as those for perodc tasksets gven by Cucu and Goossens (2006, 2007). Response tme analyss (RTA test) of Bertogna and Crne (2007) Improved RTA test of Guan et al. (2009) Compatble wth OPA Deadlne Analyss (DA test) of Bertogna et al. (2009) Smple Response Tme test of B. Andersson and Jonsson (2001) [R.I. Davs and A. Burns "Improved Prorty Assgnment for Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Real-Tme Systems. Real-Tme Systems, Vol. 47, No. 1, pp.1-40, 2011.] 16

17 Global FP schedulablty tests #1 Deadlne Analyss DA test (Bertogna et al. 2009) + ) ( ) ( 1 k hp k D k k D I m C D 1) ), ( mn( ) ( + = k k k D k D C D D W D I ) ) (, mn( ) ( ) ( k k k k D T D N C D D C C D N D W + + = + = k k T C D D D N ) ( C T D D k Compatble wth OPA

18 Global FP schedulablty tests #2 Response Tme Analyss RTA test (Bertogna & Crne 2007) T R C R UB k C I W k 1 + m I hp( k) R UB k ( R UB k ) UB R UB UB ( Rk ) = mn( W ( Rk ), Rk Ck + 1) R R UB R ( L) = N ( L) C + mn( C, L + R C N ( L) T UB L + R C R N ( L) = T Incompatble wth OPA )

19 Multprocessor: global FP schedulng RTA test domnates DA test Whch s better? RTA test + heurstc prorty assgnment Deadlne Monotonc D C Monotonc DkC Monotonc (k s a factor that depends on the number of processors) DA test + Optmal prorty assgnment [R.I. Davs and A. Burns "Improved Prorty Assgnment for Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Real-Tme Systems. Real-Tme Systems, Vol. 47, No. 1, pp.1-40, 2011.] 19

20 Global FP: Prorty Assgnment 120% Percentage of tasksets schedulable 100% 80% 60% 40% 20% DA (OPA) RTA (DKC) DA (DKC) RTA (DCMPO) DA (DCMPO) RTA (DMPO) DA (DMPO) 4 Processors 20 tasks 0% Utlsaton 20

21 Global FP: Prorty Assgnment 120% Percentage of tasksets schedulable 100% 80% 60% 40% 20% DA (OPA) RTA (DKC) DA (DKC) RTA (DCMPO) DA (DCMPO) RTA (DMPO) DA (DMPO) 8 Processors 40 tasks 0% Utlsaton 21

22 Global FP: Prorty Assgnment 120% Percentage of tasksets schedulable 100% 80% 60% 40% 20% DA (OPA) RTA (DKC) DA (DKC) RTA (DCMPO) DA (DCMPO) RTA (DMPO) DA (DMPO) 16 Processors 80 tasks 0% Utlsaton 22

23 Beyond OPA What to do f the schedulablty test s not OPA-compatble (e.g. RTA test for global FP schedulng)? Search n! combnatons? How to prune the search space? Use domnance relatonshp between tests OPA-compatble Necessary condton C-RTA Domnates OPA-ncompatble RTA test Domnates OPA-compatble Suffcent test DA test Use the suffcent test and the necessary condton to prune the choce of tasks at each prorty level [R.I. Davs and A. Burns, On Optmal Prorty Assgnment for Response Tme Analyss of Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Hard Real-Tme Systems. Unversty of York, Department of Computer Scence Techncal Report, YCS , Aprl 2010.] 23

24 + = R T C C L L N ) ( ) ) (, mn( ) ( ) ( R R R T L N C C L C C L N L W + + = C-RTA necessary test Based on Response Tme Analyss RTA test (Bertogna & Crne 2007) + ) ( ) ( 1 k hp UB k k UB k R I m C R 1) ), ( mn( ) ( + = k UB k UB k R UB k C R R W R I ) ) (, mn( ) ( ) ( R UB R R T L N C R L C C L N L W + + = + = UB R T C R L L N ) ( C T R R UB k C T C R UB k

25 Search wth backtrackng OPA-Compatble Suffcent test mples schedulable OPA-Compatble Necessary test mples unschedulable [R.I. Davs and A. Burns, On Optmal Prorty Assgnment for Response Tme Analyss of Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Hard Real-Tme Systems. Unversty of York, Department of Computer Scence Techncal Report, YCS , Aprl 2010.] 25

26 Percentage of tasksets schedulable 120% 100% 80% 60% 40% 20% 0% Global FP: Prorty Assgnment Utlsaton C-RTA (OPA) RTA(OPA-Heurstc) DA-LC (OPA) 8 Processors 40 tasks [R.I. Davs and A. Burns, On Optmal Prorty Assgnment for Response Tme Analyss of Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Hard Real-Tme Systems. Unversty of York, Department of Computer Scence Techncal Report, YCS , Aprl 2010.] 26

27 Mnmsng the number of Prorty Levels wth OPA Important for practcal systems that may support only a lmted number of prortes for each prorty level, lowest frst { Z = empty set for each unassgned task τ { f τ s schedulable at prorty assumng that all unassgned tasks are at hgher prortes { add τ to Z } } f no tasks are schedulable at prorty { return unschedulable } else { assgn all tasks n Z to prorty } f no unassgned tasks reman { break } } return schedulable [N.C. Audsley, On prorty assgnment n fxed prorty schedulng, Informaton Processng Letters, 79(1): 39-44, May 2001.] 27

28 Intermsson 28

29 Robust Prorty Assgnment Drawback of OPA algorthm Arbtrary choce of schedulable tasks at each prorty May leave the system only just schedulable.e fragle not robust to mnor changes In practce tasks may be subject to addtonal nterference Executon tme budget overruns; nterrupts occurrng n bursts or at ll-defned rates; ll-defned RTOS overheads; ll-defned crtcal sectons; cycle stealng by perpheral devces (DMA) etc. etc. Want a robust prorty orderng, able to tolerate the maxmum amount of addtonal nterference [R.I. Davs, A. Burns. "Robust Prorty Assgnment for Fxed Prorty Real-Tme Systems. In proceedngs IEEE Real-Tme Systems Symposum pp Tucson, Arzona, USA. December 2007.] 29

30 Addtonal Interference Very general model of addtonal nterference Addtonal Interference functon E(α,w,) α scalng factor used to model varablty w tme wndow over whch nterference occurs prorty level at or below whch the nterference mpnges on task response tmes Requre that E(α,w,) s a monotonc non-decreasng functon of ts parameters In practce most sources of nterference are Greater n longer ntervals of tme than n shorter ones Affect lower prortes f they also affect hgher prortes Guaranteed to be monotonc n α as ths s the scalng factor [R.I. Davs, A. Burns. "Robust Prorty Assgnment for Fxed Prorty Real-Tme Systems. In proceedngs IEEE Real-Tme Systems Symposum pp Tucson, Arzona, USA. December 2007.] 30

31 Robust Prorty Assgnment Defnton: Robust Prorty Assgnment (wth an addtonal nterference functon E(α,w,) ) For a gven system model and addtonal nterference functon, a prorty assgnment polcy P s referred to as robust f there are no systems, complant wth the system model, that are schedulable and can tolerate addtonal nterference characterzed by a scalng factor α usng another prorty assgnment polcy Q that are not also schedulable and can tolerate addtonal nterference characterzed by the same or larger scalng factor usng prorty assgnment polcy P. Of all feasble prorty assgnments, the robust prorty assgnment tolerates the most addtonal nterference (largest α) [R.I. Davs, A. Burns. "Robust Prorty Assgnment for Fxed Prorty Real-Tme Systems. In proceedngs IEEE Real-Tme Systems Symposum pp Tucson, Arzona, USA. December 2007.] 31

32 Robust Prorty Assgnment (RPA) algorthm Based on OPA algorthm Same three condtons needed for compatblty Condton 1: Schedulablty of a task may, accordng to the test, be dependent on the set of hgher prorty tasks, but not on ther relatve prorty orderng Condton 2: Schedulablty of a task may, accordng to the test, be dependent on the set of lower prorty tasks, but not on ther relatve prorty orderng Condton 3: When the prortes of any two tasks of adjacent prorty are swapped, the task beng assgned the hgher prorty cannot become unschedulable accordng to the test, f t was prevously deemed schedulable at the lower prorty As addtonal nterference E(α,w,) s monotoncally non-decreasng n ts parameters, the above condtons also hold when addtonal nterference s consdered [R.I. Davs, A. Burns. "Robust Prorty Assgnment for Fxed Prorty Real-Tme Systems. In proceedngs IEEE Real-Tme Systems Symposum pp Tucson, Arzona, USA. December 2007.] 32

33 RPA Algorthm for each prorty level, lowest frst { for each unassgned task τ { determne the largest value of α for whch task τ s schedulable at prorty assumng that all unassgned tasks have hgher prortes } f no tasks are schedulable at prorty { return unschedulable } else { assgn the schedulable task that tolerates the max α at prorty to prorty } } return schedulable 33

34 Robust Prorty Assgnment Example 1: Non-pre-emptve schedulng Addtonal nterference from sngle nvocaton of an nterrupt handler wth unknown executon tme Addtonal nterference E( α, w, ) = α Task C D T τ A τ B τ C τ D τ E

35 Robust Prorty Assgnment Computed values of α Prorty Task τ A τ B τ C τ D τ E 5 NS NS NS NS NS NS Robust prorty orderng Tolerates addtonal nterference of up to 110 tme unts Deadlne monotonc: nether optmal nor robust Tolerates addtonal nterference of up to 74 tme unts OPA: may be worse stll Mght tolerate addtonal nterference of only 10 tme unts 35

36 Robust Prorty Assgnment Example 2: Pre-emptve schedulng, D >T Task C D T τ A τ B Schedulable wth prorty orderngs (τ A,τ B ) and (τ B,τ A ) wth no addtonal nterference 36

37 Robust Prorty Assgnment Case 1: (τ A,τ B ) tolerates α = (58, 9) (τ B,τ A ) tolerates α = (51, 10) Robust orderng Case 2: w E( α, w, ) = α 100 w E( α, w, ) = α 200 (τ A,τ B ) tolerates α = (76, 18) Robust orderng (τ B,τ A ) tolerates α = (96, 15) Case 3: w w E( α, w, ) = α K + L Robust orderng depends on specfc values of K and L K=1, L=0: equvalent to Case 1: (τ B,τ A ) s the Robust orderng K=0, L=1: equvalent to Case 2: (τ A,τ B ) s the Robust orderng 37

38 Robust Prorty Assgnment Result #1 (somewhat negatve) In general, a Robust prorty orderng can only be found f the form of the addtonal nterference functon s well defned (only α unknown). Often t can be well defned e.g. robust to maxmum amount of addtonal nterference at the hghest prorty level, maxmum number of transmsson faults etc. But more to follow on specfc system models [R.I. Davs, A. Burns. "Robust Prorty Assgnment for Fxed Prorty Real-Tme Systems. In proceedngs IEEE Real-Tme Systems Symposum pp Tucson, Arzona, USA. December 2007.] 38

39 Robust Prorty Assgnment Mxed systems: two subsets of tasks DM tasks Satsfy the restrctons where Deadlne Monotonc prorty orderng s known to be optmal Pre-emptable, D T, resource access accordng to SRP, no transactons or offsets Non DM tasks Don t satsfy the restrctons where Deadlne Monotonc prorty orderng s known to be optmal Pre-emptable wth D>T, non-pre-emptable, co-operatve schedulng wth non-pre-emtable fnal sectons, transactons, non-zero offset [R.I. Davs, A. Burns. "Robust Prorty Assgnment for Fxed Prorty Real-Tme Systems. In proceedngs IEEE Real-Tme Systems Symposum pp Tucson, Arzona, USA. December 2007.] 39

40 Robust Prorty Assgnment Result #2 For systems contanng only DM tasks, Deadlne Monotonc prorty orderng s optmal and also robust, rrespectve of task executon tmes and rrespectve of the form of the addtonal nterference E(α,w,) provded only that the addtonal nterference s monotonc n ts parameters. Result #3 For mxed systems contanng both DM and non DM tasks, then there exsts a robust prorty order wth the DM tasks n Deadlne Monotonc partal order* *Ths holds provded that the nterference from non DM tasks s monotoncally nondecreasng w.r.t. tme ntervals and prorty levels, and not dependent on specfc tasks [R.I. Davs, A. Burns. "Robust Prorty Assgnment for Fxed Prorty Real-Tme Systems. In proceedngs IEEE Real-Tme Systems Symposum pp Tucson, Arzona, USA. December 2007.] 40

41 Robust Prorty Assgnment DM task (e.g. constraned deadlne) Non DM task (e.g. arbtrary deadlne, part of a transacton etc.) Prorty Deadlne Monotonc Partal order 41

42 Robust Prorty Assgnment Can mprove effcency of OPA and RPA algorthms Of all the DM tasks, the one wth the largest deadlne s the one that can tolerate the most addtonal nterference at a gven prorty level Only one DM task need be checked at each prorty level the one wth the largest deadlne of all unassgned DM tasks For n tasks, k of whch are DM tasks: (n(n+1)-k(k-1))/2 task schedulablty tests nstead of n(n+1)/2 Example: 4 tasks n a transacton, 46 ndependent tasks max. of 240 schedulablty tests nstead of 1275 [R.I. Davs, A. Burns. "Robust Prorty Assgnment for Fxed Prorty Real-Tme Systems. In proceedngs IEEE Real-Tme Systems Symposum pp Tucson, Arzona, USA. December 2007.] 42

43 Mxed Crtcalty Examples Aerospace: e.g. UAVs Automotve: ASILs e.g. cruse control v. electronc steerng assstance Task Model Tasks have dfferent crtcalty levels (e.g. HI and LO) HI crtcalty tasks have dfferent executon tme bounds for the two crtcalty levels: C HI and C LO When a HI task exceeds ts LO crtcalty executon budget, then the system enters HI crtcalty mode In HI crtcalty mode, all HI crtcalty tasks must meet ther deadlnes assumng HI crtcalty executon tmes, LO crtcalty tasks may be abandoned In LO crtcalty mode, all tasks must meet ther deadlnes assumng LO crtcalty executon tmes [S.K. Baruah, A. Burns, R.I. Davs Response Tme Analyss for Mxed Crtcalty Systems. In proceedngs 32nd IEEE Real-Tme Systems Symposum (RTSS'11), pages 34-43, Nov 29th - Dec 2nd, 2011] 43

44 Mxed Crtcalty FP Schedulng AMC-rtb LO crtcalty mode: R LO = C ( LO) + HI crtcalty mode: R = R Hgh Low crtcalty tasks R T C E(α,w,) j j hph ( ) j ( LO) + R T C E(α,w,) k k hpl( ) k ( LO) R = C ( HI) + j hph ( ) R T j C j ( HI) + k hpl( ) R T LO k C E(α,w,) k ( LO) [S.K. Baruah, A. Burns, R.I. Davs Response Tme Analyss for Mxed Crtcalty Systems. In proceedngs 32nd IEEE Real-Tme Systems Symposum (RTSS'11), pages 34-43, Nov 29th - Dec 2nd, 2011] 44

45 Mxed Crtcalty FP Schedulng LO Crtcalty tasks HI Crtcalty tasks DM Prorty order DM Prorty order 2n-1 schedulablty tests rather than n(n+1)/2 [S.K. Baruah, A. Burns, R.I. Davs Response Tme Analyss for Mxed Crtcalty Systems. In proceedngs 32nd IEEE Real-Tme Systems Symposum (RTSS'11), pages 34-43, Nov 29th - Dec 2nd, 2011] 45

46 Prorty assgnment n probablstc real-tme systems Tasks wth executon tmes modelled as ndependent random varables Task Executon Tme Deadlne Perod DMR threshold A B Deadlne monotonc prorty orderng not optmal Task A at hgher prorty P(R A > D A )=0 P(R B > D B )=0.06 Task B at hgher prorty P(R B > D B )=0 P(R A > D A )=0.44 [D. Maxm, O. Buffet, L. Santnell, L. Cucu-Grosjean, R. I. Davs Optmal Prorty Assgnment Algorthms for Probablstc Real-Tme Systems. In proceedngs 19th Internatonal Conference on Real-Tme and Network Systems (RTNS'11), Sept 29-30th, 2011.] 46

47 Optmal Prorty Assgnment for probablstc systems Same three condtons needed for OPA compatblty Condton 1: Schedulablty of a task may, accordng to the test, be dependent on the set of hgher prorty tasks, but not on ther relatve prorty orderng Condton 2: Schedulablty of a task may, accordng to the test, be dependent on the set of lower prorty tasks, but not on ther relatve prorty orderng Condton 3: When the prortes of any two tasks of adjacent prorty are swapped, the task beng assgned the hgher prorty cannot become unschedulable accordng to the test, f t was prevously deemed schedulable at the lower prorty Defnton of schedulable very dfferent based on probablty of deadlne falure (.e. response tme dstrbuton and ts exceedance functon) compared to Dead Mss Rato threshold 47

48 RTSS 2012 Please come along to my talk at 11:30am on 5 th Dec 2012 RTSS 2012 San Juan, Puerto Rco Optmal Fxed Prorty Schedulng wth Deferred Pre-empton Rob Davs and Marko Bertogna 48

49 Interestng problems not obvously amenable to OPA FPDS: Mnmsng the number of pre-emptons through maxmsng blockng (Bertogna et al 2011) Can be done from hghest prorty down rather than lowest prorty up, but then requres a pre-defned prorty orderng Probablstc: Mnmsng average/total probablty of deadlne falure across all tasks (Maxm et al 2011) Swappng tasks at adjacent prortes may decrease the total, even f the larger of the two probabltes of deadlne falure decreases NoC wormhole communcaton: Assgnng prortes to network flows (Sh and Burns, 2008) Response tme of a network flow depends on the response tmes of hgher prorty flows Pre-empton thresholds: Assgnment of base prortes and preempton thresholds (Wang and Saksena, 1999) Pre-empton threshold assgnment depends on the relatve prorty orderng of hgher prorty tasks 49

50 Interestng problems not obvously amenable to OPA Cache Related Pre-empton Delays (CRPD) Response tmes depend upon the relatve prorty orderng of hgher prorty tasks CRPD [S. Altmeyer, R.I. Davs, C. Maza Improved cache related pre-empton delay aware response tme analyss for fxed prorty pre-emptve systems. Real-Tme Systems, Volume 48, Issue 5, Pages , Sept 2012.] [S. Altmeyer, R.I. Davs, C. Maza Cache related pre-empton delay aware response tme analyss for fxed prorty pre-emptve systems. In proceedngs 32nd IEEE Real-Tme Systems Symposum (RTSS'11), pages , Nov 50 29th - Dec 2nd, 2011]

51 Questons? 51

52 References S. Altmeyer, R.I. Davs, C. Maza Improved cache related pre-empton delay aware response tme analyss for fxed prorty pre-emptve systems. Real-Tme Systems, Volume 48, Issue 5, Pages , Sept S. Altmeyer, R.I. Davs, C. Maza Cache related pre-empton delay aware response tme analyss for fxed prorty pre-emptve systems. In proceedngs 32nd IEEE Real-Tme Systems Symposum (RTSS'11), pages , Nov 29th - Dec 2nd, N.C. Audsley, "Optmal prorty assgnment and feasblty of statc prorty tasks wth arbtrary start tmes", Techncal Report YCS 164, Dept. Computer Scence, Unversty of York, UK, N.C. Audsley, On prorty assgnment n fxed prorty schedulng, Informaton Processng Letters, 79(1): 39-44, May S.K. Baruah, A. Burns, R.I. Davs Response Tme Analyss for Mxed Crtcalty Systems. In proceedngs 32nd IEEE Real-Tme Systems Symposum (RTSS'11), pages 34-43, Nov 29th - Dec 2nd, M. Bertogna, G. Buttazzo, G. Yao. "Improvng Feasblty of Fxed Prorty Tasks usng Non- Preemptve Regons", In Proceedngs Real-Tme Systems Symposum, Venna, Austra, December K Bletsas, N Audsley, Optmal prorty assgnment n the presence of blockng Informaton processng letters 99 (3), 83-86, A. Burns, K. Tndell, A.J. Wellngs, "Fxed prorty schedulng wth deadlnes pror to completon" In proceedngs of the sxth Euromcro Workshop on Real-Tme Systems. pp , A. Burns, Dual Prorty Schedulng: Is the Processor Utlsaton bound 100% In proceedngs RTSOPS,

53 References R.I. Davs and A. Burns, Optmal Prorty Assgnment for Aperodc Tasks wth Frm Deadlnes n Fxed Prorty Pre-emptve Systems. Informaton Processng Letters 53(5). 10 th March R.I. Davs, A. Burns. "Robust Prorty Assgnment for Fxed Prorty Real-Tme Systems. In proceedngs IEEE Real-Tme Systems Symposum pp Tucson, Arzona, USA. December R.I. Davs, A. Burns "Prorty Assgnment for Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Real-Tme Systems. In proceedngs Real-Tme Systems Symposum pp , R.I. Davs and A. Burns "Robust prorty assgnment for messages on Controller Area Network (CAN). Real-Tme Systems, Volume 41, Issue 2, pages , February R.I. Davs and A. Burns, On Optmal Prorty Assgnment for Response Tme Analyss of Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Hard Real-Tme Systems. Unversty of York, Department of Computer Scence Techncal Report, YCS , Aprl R.I. Davs and A. Burns "Improved Prorty Assgnment for Global Fxed Prorty Pre-emptve Schedulng n Multprocessor Real-Tme Systems. Real-Tme Systems, Vol. 47, No. 1, pp.1-40, R.I. Davs, S. Kollmann, V. Pollex, F. Slomka, "Schedulablty Analyss for Controller Area Network (CAN) wth FIFO Queues Prorty Queues and Gateways. Real-Tme Systems, R.I. Davs, M. Bertogna "Optmal Fxed Prorty Schedulng wth Deferred Pre-empton. In proceedngs 33rd IEEE Real-Tme Systems Symposum (RTSS'12), Dec 4th - 7th,

54 References M.S. Fneberg and O. Serln, Multprogrammng for hybrd computaton, In proceedngs AFIPS Fall Jont Computng Conference, pp 1-13, 1967 George, L., Rverre, N., Spur, M., Preemptve and Non-Preemptve Real-Tme UnProcessor Schedulng, INRIA Research Report, No. 2966, September Lehoczky J., Fxed prorty schedulng of perodc task sets wth arbtrary deadlnes. In Proceedngs Real-Tme Systems Symposum, pp , J.Y.-T. Leung, J. Whtehead "On the complexty of fxed-prorty schedulng of perodc real-tme tasks, Performance Evaluaton, 2(4): , Lu C.L., Layland J.W., "Schedulng algorthms for multprogrammng n a hard-real-tme envronment", Journal of the ACM, 20(1) pp 46-61, D. Maxm, O. Buffet, L. Santnell, L. Cucu-Grosjean, R. I. Davs Optmal Prorty Assgnment Algorthms for Probablstc Real-Tme Systems. In proceedngs 19th Internatonal Conference on Real-Tme and Network Systems (RTNS'11), Sept 29-30th, S. Vestal. Preemptve schedulng of mult-crtcalty systems wth varyng degrees of executon tme assurance. In Proceedngs of the Real-Tme Systems Symposum, pp , Y. Wang and M. Saksena. Schedulng fxed-prorty tasks wth pre-empton threshold. In Proceedngs RTCSA 99, Hong Kong, Chna, December 13-15, S. Zheng, A. Burns, Prorty Assgnment for Real-Tme Wormhole Communcaton n On-Chp Networks. In Proceedngs Real-Tme Systems Symposum, pp , A. Zuhly and A. Burns, Optmalty of (D-J)-monotonc prorty assgnment. Informaton Processng Letters, Vol. 103 No. 6,

55 References A. Zuhly, A. Burns: Exact schedulng analyss of non-accumulatvely monotonc multframe tasks. Real-Tme Systems 43(2): (2009) 55

Real-Time Systems. Multiprocessor scheduling. Multiprocessor scheduling. Multiprocessor scheduling

Real-Time Systems. Multiprocessor scheduling. Multiprocessor scheduling. Multiprocessor scheduling Real-Tme Systems Multprocessor schedulng Specfcaton Implementaton Verfcaton Multprocessor schedulng -- -- Global schedulng How are tasks assgned to processors? Statc assgnment The processor(s) used for

More information

Quantifying the Sub-optimality of Uniprocessor Fixed Priority Pre-emptive Scheduling for Sporadic Tasksets with Arbitrary Deadlines

Quantifying the Sub-optimality of Uniprocessor Fixed Priority Pre-emptive Scheduling for Sporadic Tasksets with Arbitrary Deadlines Quantfyng the Sub-optmalty of Unprocessor Fxed Prorty Pre-emptve Schedulng for Sporadc Tasksets wth Arbtrary Deadlnes Robert Davs, Sanjoy Baruah, Thomas Rothvoss, Alan Burns To cte ths verson: Robert Davs,

More information

Quantifying the Sub-optimality of Uniprocessor Fixed Priority Non-Pre-emptive Scheduling

Quantifying the Sub-optimality of Uniprocessor Fixed Priority Non-Pre-emptive Scheduling Quantfyng the Sub-optmalty of Unprocessor Fxed Prorty Non-Pre-emptve Schedulng Robert I Davs Real-Tme Systems Research Group, Department of Computer Scence, Unversty of York, York, UK robdavs@csyorkacuk

More information

Quantifying the Exact Sub-Optimality of Non-Preemptive Scheduling

Quantifying the Exact Sub-Optimality of Non-Preemptive Scheduling Quantfyng the Exact Sub-Optmalty of Non-Preemptve Schedulng Robert I. Davs 1, Abhlash Thekklakattl 2, Olver Gettngs 1, Radu Dobrn 2, and Saskumar Punnekkat 2 1 Real-Tme Systems Research Group, Unversty

More information

AN EXTENDIBLE APPROACH FOR ANALYSING FIXED PRIORITY HARD REAL-TIME TASKS

AN EXTENDIBLE APPROACH FOR ANALYSING FIXED PRIORITY HARD REAL-TIME TASKS AN EXENDIBLE APPROACH FOR ANALYSING FIXED PRIORIY HARD REAL-IME ASKS K. W. ndell 1 Department of Computer Scence, Unversty of York, England YO1 5DD ABSRAC As the real-tme computng ndustry moves away from

More information

Embedded Systems. 4. Aperiodic and Periodic Tasks

Embedded Systems. 4. Aperiodic and Periodic Tasks Embedded Systems 4. Aperodc and Perodc Tasks Lothar Thele 4-1 Contents of Course 1. Embedded Systems Introducton 2. Software Introducton 7. System Components 10. Models 3. Real-Tme Models 4. Perodc/Aperodc

More information

Last Time. Priority-based scheduling. Schedulable utilization Rate monotonic rule: Keep utilization below 69% Static priorities Dynamic priorities

Last Time. Priority-based scheduling. Schedulable utilization Rate monotonic rule: Keep utilization below 69% Static priorities Dynamic priorities Last Tme Prorty-based schedulng Statc prortes Dynamc prortes Schedulable utlzaton Rate monotonc rule: Keep utlzaton below 69% Today Response tme analyss Blockng terms Prorty nverson And solutons Release

More information

Improving the Sensitivity of Deadlines with a Specific Asynchronous Scenario for Harmonic Periodic Tasks scheduled by FP

Improving the Sensitivity of Deadlines with a Specific Asynchronous Scenario for Harmonic Periodic Tasks scheduled by FP Improvng the Senstvty of Deadlnes wth a Specfc Asynchronous Scenaro for Harmonc Perodc Tasks scheduled by FP P. Meumeu Yoms, Y. Sorel, D. de Rauglaudre AOSTE Project-team INRIA Pars-Rocquencourt Le Chesnay,

More information

Improved Worst-Case Response-Time Calculations by Upper-Bound Conditions

Improved Worst-Case Response-Time Calculations by Upper-Bound Conditions Improved Worst-Case Response-Tme Calculatons by Upper-Bound Condtons Vctor Pollex, Steffen Kollmann, Karsten Albers and Frank Slomka Ulm Unversty Insttute of Embedded Systems/Real-Tme Systems {frstname.lastname}@un-ulm.de

More information

Scheduling Motivation

Scheduling Motivation 76 eal-me & Embedded Systems 7 Uwe. Zmmer - he Australan Natonal Unversty 78 Motvaton n eal-me Systems Concurrency may lead to non-determnsm. Non-determnsm may make t harder to predct the tmng behavour.

More information

Fixed-Priority Multiprocessor Scheduling with Liu & Layland s Utilization Bound

Fixed-Priority Multiprocessor Scheduling with Liu & Layland s Utilization Bound Fxed-Prorty Multprocessor Schedulng wth Lu & Layland s Utlzaton Bound Nan Guan, Martn Stgge, Wang Y and Ge Yu Department of Informaton Technology, Uppsala Unversty, Sweden Department of Computer Scence

More information

EDF Scheduling for Identical Multiprocessor Systems

EDF Scheduling for Identical Multiprocessor Systems EDF Schedulng for dentcal Multprocessor Systems Maro Bertogna Unversty of Modena, taly As Moore s law goes on Number of transstor/chp doubles every 18 to 24 mm heatng becomes a problem Power densty (W/cm

More information

Real-Time Operating Systems M. 11. Real-Time: Periodic Task Scheduling

Real-Time Operating Systems M. 11. Real-Time: Periodic Task Scheduling Real-Tme Operatng Systems M 11. Real-Tme: Perodc Task Schedulng Notce The course materal ncludes sldes downloaded from:! http://codex.cs.yale.edu/av/os-book/! and! (sldes by Slberschatz, Galvn, and Gagne,

More information

Overhead-Aware Compositional Analysis of Real-Time Systems

Overhead-Aware Compositional Analysis of Real-Time Systems Overhead-Aware ompostonal Analyss of Real-Tme Systems Lnh T.X. Phan, Meng Xu, Jaewoo Lee, nsup Lee, Oleg Sokolsky PRESE enter Department of omputer and nformaton Scence Unversty of Pennsylvana ompostonal

More information

Fixed-Priority Multiprocessor Scheduling with Liu & Layland s Utilization Bound

Fixed-Priority Multiprocessor Scheduling with Liu & Layland s Utilization Bound Fxed-Prorty Multprocessor Schedulng wth Lu & Layland s Utlzaton Bound Nan Guan, Martn Stgge, Wang Y and Ge Yu Department of Informaton Technology, Uppsala Unversty, Sweden Department of Computer Scence

More information

Improving the Quality of Control of Periodic Tasks Scheduled by FP with an Asynchronous Approach

Improving the Quality of Control of Periodic Tasks Scheduled by FP with an Asynchronous Approach Improvng the Qualty of Control of Perodc Tasks Scheduled by FP wth an Asynchronous Approach P. Meumeu Yoms, L. George, Y. Sorel, D. de Rauglaudre AOSTE Project-team INRIA Pars-Rocquencourt Le Chesnay,

More information

Two Methods to Release a New Real-time Task

Two Methods to Release a New Real-time Task Two Methods to Release a New Real-tme Task Abstract Guangmng Qan 1, Xanghua Chen 2 College of Mathematcs and Computer Scence Hunan Normal Unversty Changsha, 410081, Chna qqyy@hunnu.edu.cn Gang Yao 3 Sebel

More information

Mixed-Criticality Scheduling with I/O

Mixed-Criticality Scheduling with I/O Mxed-Crtcalty Schedulng wth I/O Erc Mssmer, Katherne Mssmer and Rchard West Computer Scence Department Boston Unversty Boston, USA Emal: mssmer,kzhao,rchwest}@cs.bu.edu Abstract Ths paper addresses the

More information

Improvements in the configuration of Posix b scheduling

Improvements in the configuration of Posix b scheduling Improvements n the confguraton of Posx 1003.1b schedulng Matheu Grener, Ncolas Navet To cte ths verson: Matheu Grener, Ncolas Navet. Improvements n the confguraton of Posx 1003.1b schedulng. Ncolas Navet

More information

Lecture 4: November 17, Part 1 Single Buffer Management

Lecture 4: November 17, Part 1 Single Buffer Management Lecturer: Ad Rosén Algorthms for the anagement of Networs Fall 2003-2004 Lecture 4: November 7, 2003 Scrbe: Guy Grebla Part Sngle Buffer anagement In the prevous lecture we taled about the Combned Input

More information

arxiv: v3 [cs.os] 12 Mar 2016

arxiv: v3 [cs.os] 12 Mar 2016 Mxed-Crtcalty Schedulng wth I/O Erc Mssmer, Katherne Zhao and Rchard West Computer Scence Department Boston Unversty Boston, MA 02215 Emal: mssmer,kzhao,rchwest}@cs.bu.edu arxv:1512.07654v3 [cs.os] 12

More information

The Schedulability Region of Two-Level Mixed-Criticality Systems based on EDF-VD

The Schedulability Region of Two-Level Mixed-Criticality Systems based on EDF-VD The Schedulablty Regon of Two-Level Mxed-Crtcalty Systems based on EDF-VD Drk Müller and Alejandro Masrur Department of Computer Scence TU Chemntz, Germany Abstract The algorthm Earlest Deadlne Frst wth

More information

Limited Preemptive Scheduling for Real-Time Systems: a Survey

Limited Preemptive Scheduling for Real-Time Systems: a Survey Lmted Preemptve Schedulng for Real-Tme Systems: a Survey Gorgo C. Buttazzo, Fellow Member, IEEE, Marko Bertogna, Senor Member, IEEE, and Gang Yao Abstract The queston whether preemptve algorthms are better

More information

Efficient Feasibility Analysis for Real-Time Systems with EDF scheduling*

Efficient Feasibility Analysis for Real-Time Systems with EDF scheduling* Effcent Feasblty Analyss for Real-Tme Systems wth EF schedulng* Karsten Albers, Frank Slomka epartment of omputer Scence Unversty of Oldenburg Ammerländer Heerstraße 114-118 26111 Oldenburg, Germany {albers,

More information

ECE559VV Project Report

ECE559VV Project Report ECE559VV Project Report (Supplementary Notes Loc Xuan Bu I. MAX SUM-RATE SCHEDULING: THE UPLINK CASE We have seen (n the presentaton that, for downlnk (broadcast channels, the strategy maxmzng the sum-rate

More information

Partitioned Mixed-Criticality Scheduling on Multiprocessor Platforms

Partitioned Mixed-Criticality Scheduling on Multiprocessor Platforms Parttoned Mxed-Crtcalty Schedulng on Multprocessor Platforms Chuanca Gu 1, Nan Guan 1,2, Qngxu Deng 1 and Wang Y 1,2 1 Northeastern Unversty, Chna 2 Uppsala Unversty, Sweden Abstract Schedulng mxed-crtcalty

More information

Analysis of Probabilistic Cache Related Pre-emption Delays

Analysis of Probabilistic Cache Related Pre-emption Delays 2013 25th Euromcro Conference on Real-Tme Systems Analyss of Probablstc Cache Related Pre-empton Delays Robert I. Davs 1, Luca Santnell 2, Sebastan Altmeyer 3, Clare Maza 4 and Llana Cucu-Grosjean 5 1

More information

A Simple Inventory System

A Simple Inventory System A Smple Inventory System Lawrence M. Leems and Stephen K. Park, Dscrete-Event Smulaton: A Frst Course, Prentce Hall, 2006 Hu Chen Computer Scence Vrgna State Unversty Petersburg, Vrgna February 8, 2017

More information

On the Scheduling of Mixed-Criticality Real-Time Task Sets

On the Scheduling of Mixed-Criticality Real-Time Task Sets On the Schedulng of Mxed-Crtcalty Real-Tme Task Sets Donso de Nz, Karthk Lakshmanan, and Ragunathan (Raj) Rajkumar Carnege Mellon Unversty, Pttsburgh, PA - 15232 Abstract The functonal consoldaton nduced

More information

Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption

Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption Real-Tme Syst (2009) 42: 63 119 DOI 10.1007/s11241-009-9071-z Worst-case response tme analyss of real-tme tasks under fxed-prorty schedulng wth deferred preempton Render J. Brl Johan J. Lukken Wm F.J.

More information

Global EDF Scheduling for Parallel Real-Time Tasks

Global EDF Scheduling for Parallel Real-Time Tasks Washngton Unversty n St. Lous Washngton Unversty Open Scholarshp Engneerng and Appled Scence Theses & Dssertatons Engneerng and Appled Scence Sprng 5-15-2014 Global EDF Schedulng for Parallel Real-Tme

More information

Welfare Properties of General Equilibrium. What can be said about optimality properties of resource allocation implied by general equilibrium?

Welfare Properties of General Equilibrium. What can be said about optimality properties of resource allocation implied by general equilibrium? APPLIED WELFARE ECONOMICS AND POLICY ANALYSIS Welfare Propertes of General Equlbrum What can be sad about optmalty propertes of resource allocaton mpled by general equlbrum? Any crteron used to compare

More information

Procrastination Scheduling for Fixed-Priority Tasks with Preemption Thresholds

Procrastination Scheduling for Fixed-Priority Tasks with Preemption Thresholds Procrastnaton Schedulng for Fxed-Prorty Tasks wth Preempton Thresholds XaoChuan He, Yan Ja Insttute of Network Technology and Informaton Securty School of Computer Scence Natonal Unversty of Defense Technology

More information

Mixed-criticality Scheduling with Memory Bandwidth Regulation

Mixed-criticality Scheduling with Memory Bandwidth Regulation Mxed-crtcalty Schedulng wth Memory Bandwdth Regulaton Muhammad Al Awan, Pedro F. Souto, Konstantnos Bletsas, Benny Akesson, Eduardo Tovar CISTER/INESC-TEC and ISEP/IPP, Porto, Portugal Unversty of Porto,

More information

Lecture Notes on Linear Regression

Lecture Notes on Linear Regression Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume

More information

Energy-Efficient Scheduling Fixed-Priority tasks with Preemption Thresholds on Variable Voltage Processors

Energy-Efficient Scheduling Fixed-Priority tasks with Preemption Thresholds on Variable Voltage Processors Energy-Effcent Schedulng Fxed-Prorty tasks wth Preempton Thresholds on Varable Voltage Processors XaoChuan He, Yan Ja Insttute of Network Technology and Informaton Securty School of Computer Scence Natonal

More information

Clock-Driven Scheduling (in-depth) Cyclic Schedules: General Structure

Clock-Driven Scheduling (in-depth) Cyclic Schedules: General Structure CPSC-663: Real-me Systems n-depth Precompute statc schedule o-lne e.g. at desgn tme: can aord expensve algorthms. Idle tmes can be used or aperodc jobs. Possble mplementaton: able-drven Schedulng table

More information

Resource Sharing. CSCE 990: Real-Time Systems. Steve Goddard. Resources & Resource Access Control (Chapter 8 of Liu)

Resource Sharing. CSCE 990: Real-Time Systems. Steve Goddard. Resources & Resource Access Control (Chapter 8 of Liu) CSCE 990: Real-Tme Systems Resource Sharng Steve Goddard goddard@cse.unl.edu http://www.cse.unl.edu/~goddard/courses/realtmesystems Resources & Resource Access Control (Chapter 8 of Lu) Real-Tme Systems

More information

Parametric Utilization Bounds for Fixed-Priority Multiprocessor Scheduling

Parametric Utilization Bounds for Fixed-Priority Multiprocessor Scheduling 2012 IEEE 26th Internatonal Parallel and Dstrbuted Processng Symposum Parametrc Utlzaton Bounds for Fxed-Prorty Multprocessor Schedulng Nan Guan 1,2, Martn Stgge 1, Wang Y 1,2 and Ge Yu 2 1 Uppsala Unversty,

More information

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals Smultaneous Optmzaton of Berth Allocaton, Quay Crane Assgnment and Quay Crane Schedulng Problems n Contaner Termnals Necat Aras, Yavuz Türkoğulları, Z. Caner Taşkın, Kuban Altınel Abstract In ths work,

More information

Partitioned EDF Scheduling in Multicore systems with Quality of Service constraints

Partitioned EDF Scheduling in Multicore systems with Quality of Service constraints Parttoned EDF Schedulng n Multcore systems wth Qualty of Servce constrants Nadne Abdallah, Audrey Queudet, Marylne Chetto, Rafc Hage Chehade To cte ths verson: Nadne Abdallah, Audrey Queudet, Marylne Chetto,

More information

Resource Reservation for Mixed Criticality Systems

Resource Reservation for Mixed Criticality Systems Resource Reservaton for Mxed Crtcalty Systems Guseppe Lpar 1, Gorgo C. Buttazzo 2 1 LSV, ENS - Cachan, France 2 Scuola Superore Sant Anna, Italy Abstract. Ths paper presents a reservaton-based approach

More information

Using non-preemptive regions and path modification to improve schedulability of real-time traffic over priority-based NoCs

Using non-preemptive regions and path modification to improve schedulability of real-time traffic over priority-based NoCs Real-Tme Syst (2017) 53:886 915 DOI 10.1007/s11241-017-9276-5 Usng non-preemptve regons and path modfcaton to mprove schedulablty of real-tme traffc over prorty-based NoCs Meng Lu 1 Matthas Becker 1 Mors

More information

Computer Control: Task Synchronisation in Dynamic Priority Scheduling

Computer Control: Task Synchronisation in Dynamic Priority Scheduling Computer Control: Task Synchronsaton n Dynamc Prorty Schedulng Sérgo Adrano Fernandes Lopes Department of Industral Electroncs Engneerng School Unversty of Mnho Campus de Azurém 4800 Gumarães - PORTUGAL

More information

The Study of Teaching-learning-based Optimization Algorithm

The Study of Teaching-learning-based Optimization Algorithm Advanced Scence and Technology Letters Vol. (AST 06), pp.05- http://dx.do.org/0.57/astl.06. The Study of Teachng-learnng-based Optmzaton Algorthm u Sun, Yan fu, Lele Kong, Haolang Q,, Helongang Insttute

More information

Resource-Efficient Scheduling Of Multiprocessor Mixed-Criticality Real-Time Systems

Resource-Efficient Scheduling Of Multiprocessor Mixed-Criticality Real-Time Systems Unversty of Pennsylvana ScholarlyCommons Publcly Accessble Penn Dssertatons 2017 Resource-Effcent Schedulng Of Multprocessor Mxed-Crtcalty Real-Tme Systems Jaewoo Lee Unversty of Pennsylvana, jaewoo@cs.upenn.edu

More information

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud Resource Allocaton wth a Budget Constrant for Computng Independent Tasks n the Cloud Wemng Sh and Bo Hong School of Electrcal and Computer Engneerng Georga Insttute of Technology, USA 2nd IEEE Internatonal

More information

An Upper Bound on SINR Threshold for Call Admission Control in Multiple-Class CDMA Systems with Imperfect Power-Control

An Upper Bound on SINR Threshold for Call Admission Control in Multiple-Class CDMA Systems with Imperfect Power-Control An Upper Bound on SINR Threshold for Call Admsson Control n Multple-Class CDMA Systems wth Imperfect ower-control Mahmoud El-Sayes MacDonald, Dettwler and Assocates td. (MDA) Toronto, Canada melsayes@hotmal.com

More information

Outline. Communication. Bellman Ford Algorithm. Bellman Ford Example. Bellman Ford Shortest Path [1]

Outline. Communication. Bellman Ford Algorithm. Bellman Ford Example. Bellman Ford Shortest Path [1] DYNAMIC SHORTEST PATH SEARCH AND SYNCHRONIZED TASK SWITCHING Jay Wagenpfel, Adran Trachte 2 Outlne Shortest Communcaton Path Searchng Bellmann Ford algorthm Algorthm for dynamc case Modfcatons to our algorthm

More information

Optimal Static Partition Configuration in ARINC653 System

Optimal Static Partition Configuration in ARINC653 System JOURNAL OF ELECTRONIC SCIENCE AND TECHNOLOGY, VOL. 9, NO. 4, DECEMBER 7 Optmal Statc rtton Confguraton n ARINC6 System Sheng-Ln Gu, Le Luo, Sen-Sen Tang, and Yang Meng Abstract ARINC6 systems, whch have

More information

Parallel Real-Time Scheduling of DAGs

Parallel Real-Time Scheduling of DAGs Washngton Unversty n St. Lous Washngton Unversty Open Scholarshp All Computer Scence and Engneerng Research Computer Scence and Engneerng Report Number: WUCSE-013-5 013 Parallel Real-Tme Schedulng of DAGs

More information

Lecture 4. Instructor: Haipeng Luo

Lecture 4. Instructor: Haipeng Luo Lecture 4 Instructor: Hapeng Luo In the followng lectures, we focus on the expert problem and study more adaptve algorthms. Although Hedge s proven to be worst-case optmal, one may wonder how well t would

More information

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg prnceton unv. F 17 cos 521: Advanced Algorthm Desgn Lecture 7: LP Dualty Lecturer: Matt Wenberg Scrbe: LP Dualty s an extremely useful tool for analyzng structural propertes of lnear programs. Whle there

More information

Limited Dependent Variables

Limited Dependent Variables Lmted Dependent Varables. What f the left-hand sde varable s not a contnuous thng spread from mnus nfnty to plus nfnty? That s, gven a model = f (, β, ε, where a. s bounded below at zero, such as wages

More information

Queueing Networks II Network Performance

Queueing Networks II Network Performance Queueng Networks II Network Performance Davd Tpper Assocate Professor Graduate Telecommuncatons and Networkng Program Unversty of Pttsburgh Sldes 6 Networks of Queues Many communcaton systems must be modeled

More information

Critical sections. Using semaphores. Using semaphores. Using semaphores. How long is blocking time? 17/10/2016. Problems caused by mutual exclusion

Critical sections. Using semaphores. Using semaphores. Using semaphores. How long is blocking time? 17/10/2016. Problems caused by mutual exclusion rtcal sectons Problems caused by mutual excluson crtcal secton wat(s) x = ; y = 5; sgnal(s) wrte global memory buffer nt x; nt y; read wat(s) a = x+; b = y+; c = x+y; crtcal secton sgnal(s) Usng semaphores

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

Lecture 8: Time & Clocks. CDK: Sections TVS: Sections

Lecture 8: Time & Clocks. CDK: Sections TVS: Sections Lecture 8: Tme & Clocks CDK: Sectons 11.1 11.4 TVS: Sectons 6.1 6.2 Topcs Synchronzaton Logcal tme (Lamport) Vector clocks We assume there are benefts from havng dfferent systems n a network able to agree

More information

Introduction to Information Theory, Data Compression,

Introduction to Information Theory, Data Compression, Introducton to Informaton Theory, Data Compresson, Codng Mehd Ibm Brahm, Laura Mnkova Aprl 5, 208 Ths s the augmented transcrpt of a lecture gven by Luc Devroye on the 3th of March 208 for a Data Structures

More information

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 30 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 2 Remedes for multcollnearty Varous technques have

More information

Randomness and Computation

Randomness and Computation Randomness and Computaton or, Randomzed Algorthms Mary Cryan School of Informatcs Unversty of Ednburgh RC 208/9) Lecture 0 slde Balls n Bns m balls, n bns, and balls thrown unformly at random nto bns usually

More information

Module 9. Lecture 6. Duality in Assignment Problems

Module 9. Lecture 6. Duality in Assignment Problems Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept

More information

Department of Computer Science Artificial Intelligence Research Laboratory. Iowa State University MACHINE LEARNING

Department of Computer Science Artificial Intelligence Research Laboratory. Iowa State University MACHINE LEARNING MACHINE LEANING Vasant Honavar Bonformatcs and Computatonal Bology rogram Center for Computatonal Intellgence, Learnng, & Dscovery Iowa State Unversty honavar@cs.astate.edu www.cs.astate.edu/~honavar/

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Partitioned Scheduling of Multi-Modal Mixed-Criticality Real-Time Systems on Multiprocessor Platforms

Partitioned Scheduling of Multi-Modal Mixed-Criticality Real-Time Systems on Multiprocessor Platforms Parttoned Schedulng of Mult-Modal Mxed-Crtcalty Real-Tme Systems on Multprocessor Platforms Donso de Nz SEI, Carnege Mellon Unversty Lnh T.X. Phan Unversty of Pennsylvana Abstract Real-tme systems are

More information

Partitioned Scheduling of Multi-Modal Mixed- Criticality Real-Time Systems on Multiprocessor Platforms

Partitioned Scheduling of Multi-Modal Mixed- Criticality Real-Time Systems on Multiprocessor Platforms Unversty of Pennsylvana ScholarlyCommons Departmental Papers (CIS) Department of Computer & Informaton Scence 4-2014 Parttoned Schedulng of Mult-Modal Mxed- Crtcalty Real-Tme Systems on Multprocessor Platforms

More information

18.1 Introduction and Recap

18.1 Introduction and Recap CS787: Advanced Algorthms Scrbe: Pryananda Shenoy and Shjn Kong Lecturer: Shuch Chawla Topc: Streamng Algorthmscontnued) Date: 0/26/2007 We contnue talng about streamng algorthms n ths lecture, ncludng

More information

Foundations of Arithmetic

Foundations of Arithmetic Foundatons of Arthmetc Notaton We shall denote the sum and product of numbers n the usual notaton as a 2 + a 2 + a 3 + + a = a, a 1 a 2 a 3 a = a The notaton a b means a dvdes b,.e. ac = b where c s an

More information

Assortment Optimization under MNL

Assortment Optimization under MNL Assortment Optmzaton under MNL Haotan Song Aprl 30, 2017 1 Introducton The assortment optmzaton problem ams to fnd the revenue-maxmzng assortment of products to offer when the prces of products are fxed.

More information

Lecture 3: Probability Distributions

Lecture 3: Probability Distributions Lecture 3: Probablty Dstrbutons Random Varables Let us begn by defnng a sample space as a set of outcomes from an experment. We denote ths by S. A random varable s a functon whch maps outcomes nto the

More information

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming EEL 6266 Power System Operaton and Control Chapter 3 Economc Dspatch Usng Dynamc Programmng Pecewse Lnear Cost Functons Common practce many utltes prefer to represent ther generator cost functons as sngle-

More information

The Second Anti-Mathima on Game Theory

The Second Anti-Mathima on Game Theory The Second Ant-Mathma on Game Theory Ath. Kehagas December 1 2006 1 Introducton In ths note we wll examne the noton of game equlbrum for three types of games 1. 2-player 2-acton zero-sum games 2. 2-player

More information

Energy and Feasibility Optimal Global Scheduling Framework on big.little platforms

Energy and Feasibility Optimal Global Scheduling Framework on big.little platforms Energy and Feasblty Optmal Global Schedulng Framework on bg.little platforms Hoon Sung Chwa, Jaebaek Seo, Hyuck Yoo Jnkyu Lee, Insk Shn Department of Computer Scence, KAIST, Republc of Korea Department

More information

Split alignment. Martin C. Frith April 13, 2012

Split alignment. Martin C. Frith April 13, 2012 Splt algnment Martn C. Frth Aprl 13, 2012 1 Introducton Ths document s about algnng a query sequence to a genome, allowng dfferent parts of the query to match dfferent parts of the genome. Here are some

More information

Minimisation of the Average Response Time in a Cluster of Servers

Minimisation of the Average Response Time in a Cluster of Servers Mnmsaton of the Average Response Tme n a Cluster of Servers Valery Naumov Abstract: In ths paper, we consder task assgnment problem n a cluster of servers. We show that optmal statc task assgnment s tantamount

More information

Lecture 12: Classification

Lecture 12: Classification Lecture : Classfcaton g Dscrmnant functons g The optmal Bayes classfer g Quadratc classfers g Eucldean and Mahalanobs metrcs g K Nearest Neghbor Classfers Intellgent Sensor Systems Rcardo Guterrez-Osuna

More information

Errors for Linear Systems

Errors for Linear Systems Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

Lecture 14: Bandits with Budget Constraints

Lecture 14: Bandits with Budget Constraints IEOR 8100-001: Learnng and Optmzaton for Sequental Decson Makng 03/07/16 Lecture 14: andts wth udget Constrants Instructor: Shpra Agrawal Scrbed by: Zhpeng Lu 1 Problem defnton In the regular Mult-armed

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

Appendix B: Resampling Algorithms

Appendix B: Resampling Algorithms 407 Appendx B: Resamplng Algorthms A common problem of all partcle flters s the degeneracy of weghts, whch conssts of the unbounded ncrease of the varance of the mportance weghts ω [ ] of the partcles

More information

Real-Time Scheduling of Parallel Tasks under a General DAG Model

Real-Time Scheduling of Parallel Tasks under a General DAG Model Washngton Unversty n St. Lous Washngton Unversty Open Scholarshp All Computer Scence and Engneerng Research Computer Scence and Engneerng Report Number: WUCSE-01-14 01 Real-Tme Schedulng of Parallel Tasks

More information

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results. Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson

More information

Generalized Linear Methods

Generalized Linear Methods Generalzed Lnear Methods 1 Introducton In the Ensemble Methods the general dea s that usng a combnaton of several weak learner one could make a better learner. More formally, assume that we have a set

More information

Portfolios with Trading Constraints and Payout Restrictions

Portfolios with Trading Constraints and Payout Restrictions Portfolos wth Tradng Constrants and Payout Restrctons John R. Brge Northwestern Unversty (ont wor wth Chrs Donohue Xaodong Xu and Gongyun Zhao) 1 General Problem (Very) long-term nvestor (eample: unversty

More information

Feature Selection: Part 1

Feature Selection: Part 1 CSE 546: Machne Learnng Lecture 5 Feature Selecton: Part 1 Instructor: Sham Kakade 1 Regresson n the hgh dmensonal settng How do we learn when the number of features d s greater than the sample sze n?

More information

NP-Completeness : Proofs

NP-Completeness : Proofs NP-Completeness : Proofs Proof Methods A method to show a decson problem Π NP-complete s as follows. (1) Show Π NP. (2) Choose an NP-complete problem Π. (3) Show Π Π. A method to show an optmzaton problem

More information

A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS

A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS HCMC Unversty of Pedagogy Thong Nguyen Huu et al. A PROBABILITY-DRIVEN SEARCH ALGORITHM FOR SOLVING MULTI-OBJECTIVE OPTIMIZATION PROBLEMS Thong Nguyen Huu and Hao Tran Van Department of mathematcs-nformaton,

More information

Analysis of Discrete Time Queues (Section 4.6)

Analysis of Discrete Time Queues (Section 4.6) Analyss of Dscrete Tme Queues (Secton 4.6) Copyrght 2002, Sanjay K. Bose Tme axs dvded nto slots slot slot boundares Arrvals can only occur at slot boundares Servce to a job can only start at a slot boundary

More information

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition Sngle-Faclty Schedulng over Long Tme Horzons by Logc-based Benders Decomposton Elvn Coban and J. N. Hooker Tepper School of Busness, Carnege Mellon Unversty ecoban@andrew.cmu.edu, john@hooker.tepper.cmu.edu

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

An Integrated OR/CP Method for Planning and Scheduling

An Integrated OR/CP Method for Planning and Scheduling An Integrated OR/CP Method for Plannng and Schedulng John Hooer Carnege Mellon Unversty IT Unversty of Copenhagen June 2005 The Problem Allocate tass to facltes. Schedule tass assgned to each faclty. Subect

More information

Instantaneous Utilization Based Scheduling Algorithms for Real Time Systems Radhakrishna Naik 1, R.R.Manthalkar 2 Pune University 1, SGGS Nanded 2

Instantaneous Utilization Based Scheduling Algorithms for Real Time Systems Radhakrishna Naik 1, R.R.Manthalkar 2 Pune University 1, SGGS Nanded 2 Radhakrshna Nak et al, / (IJSIT) Internatonal Journal of omputer Scence and Informaton Technologes, Vol. (),, 654-66 Instantaneous tlzaton Based Schedulng Algorthms for Real Tme Systems Radhakrshna Nak,

More information

MILP-based Deadline Assignment for End-to-End Flows in Distributed Real-Time Systems

MILP-based Deadline Assignment for End-to-End Flows in Distributed Real-Time Systems MILP-based Deadlne Assgnment for End-to-End Flows n Dstrbuted Real-Tme Systems Bo Peng Department of Computer Scence Wayne State Unversty Detrot, Mchgan, USA et7889@wayne.edu Nathan Fsher Department of

More information

Rhythmic Tasks: A New Task Model with Continually Varying Periods for Cyber-Physical Systems

Rhythmic Tasks: A New Task Model with Continually Varying Periods for Cyber-Physical Systems Rhythmc asks: A New ask Model wth Contnually Varyng Perods for Cyber-Physcal Systems Junsung Km, Karthk Lakshmanan, Ragunathan (Raj) Rajkumar Electrcal and Computer Engneerng Department Carnege Mellon

More information

The Minimum Universal Cost Flow in an Infeasible Flow Network

The Minimum Universal Cost Flow in an Infeasible Flow Network Journal of Scences, Islamc Republc of Iran 17(2): 175-180 (2006) Unversty of Tehran, ISSN 1016-1104 http://jscencesutacr The Mnmum Unversal Cost Flow n an Infeasble Flow Network H Saleh Fathabad * M Bagheran

More information

Winter 2008 CS567 Stochastic Linear/Integer Programming Guest Lecturer: Xu, Huan

Winter 2008 CS567 Stochastic Linear/Integer Programming Guest Lecturer: Xu, Huan Wnter 2008 CS567 Stochastc Lnear/Integer Programmng Guest Lecturer: Xu, Huan Class 2: More Modelng Examples 1 Capacty Expanson Capacty expanson models optmal choces of the tmng and levels of nvestments

More information

FUZZY GOAL PROGRAMMING VS ORDINARY FUZZY PROGRAMMING APPROACH FOR MULTI OBJECTIVE PROGRAMMING PROBLEM

FUZZY GOAL PROGRAMMING VS ORDINARY FUZZY PROGRAMMING APPROACH FOR MULTI OBJECTIVE PROGRAMMING PROBLEM Internatonal Conference on Ceramcs, Bkaner, Inda Internatonal Journal of Modern Physcs: Conference Seres Vol. 22 (2013) 757 761 World Scentfc Publshng Company DOI: 10.1142/S2010194513010982 FUZZY GOAL

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE Analytcal soluton s usually not possble when exctaton vares arbtrarly wth tme or f the system s nonlnear. Such problems can be solved by numercal tmesteppng

More information