Embedded Systems. 4. Aperiodic and Periodic Tasks

Size: px
Start display at page:

Download "Embedded Systems. 4. Aperiodic and Periodic Tasks"

Transcription

1 Embedded Systems 4. Aperodc and Perodc Tasks Lothar Thele 4-1

2 Contents of Course 1. Embedded Systems Introducton 2. Software Introducton 7. System Components 10. Models 3. Real-Tme Models 4. Perodc/Aperodc Tasks 5. Resource Sharng 8. Communcaton 9. Low Power Desgn 11. Archtecture Synthess 6. Real-Tme OS Software and Programmng 12. Model Based Desgn Processng and Communcaton Hardware 4-2

3 Overvew Schedulng of aperodc tasks wth real-tme constrants: Table wth some known algorthms: Equal arrval tmes non preemptve Arbtrary arrval tmes preemptve Independent tasks Dependent tasks EDD (Jackson) LDF (Lawler) EDF (Horn) EDF* (Chetto) 4-3

4 Earlest Deadlne Due (EDD) Jackson s rule: Gven a set of n tasks. Processng n order of non-decreasng deadlnes s optmal wth respect to mnmzng the maxmum lateness. 4-4

5 Earlest Deadlne Due (EDD) Example 1: 4-5

6 Earlest Deadlne Due (EDD) Jackson s rule: Gven a set of n tasks. Processng n order of non-decreasng deadlnes s optmal wth respect to mnmzng the maxmum lateness. Proof concept: 4-6

7 Earlest Deadlne Due (EDD) Example 2: 4-7

8 Earlest Deadlne Frst (EDF) Horn s rule: Gven a set of n ndependent tasks wth arbtrary arrval tmes, any algorthm that at any nstant executes the task wth the earlest absolute deadlne among the ready tasks s optmal wth respect to mnmzng the maxmum lateness. 4-8

9 Earlest Deadlne Frst (EDF) Example: 4-9

10 Earlest Deadlne Frst (EDF) Horn s rule: Gven a set of n ndependent tasks wth arbtrary arrval tmes, any algorthm that at any nstant executes the task wth the earlest absolute deadlne among the ready tasks s optmal wth respect to mnmzng the maxmum lateness. Concept of proof: For each tme nterval t, t 1 t s verfed, whether the actual runnng task s the one wth the earlest absolute deadlne. If ths s not the case, the task wth the earlest absolute deadlne s executed n ths nterval nstead. Ths operaton cannot ncrease the maxmum lateness. 4-10

11 Earlest Deadlne Frst (EDF) whch task s executng? whch task has earlest deadlne? tme slce slce for nterchange stuaton after nterchange 4-11

12 Earlest Deadlne Frst (EDF) Acceptance test: worst case fnshng tme of task : EDF guarantee condton: algorthm: Algorthm: EDF_guarantee (J, J new ) { J =J{J new }; /* ordered by deadlne */ t = current_tme(); f 0 = t; for (each J J ) { } f = f -1 + c (t); f (f > d ) return(infeasible); } return(feasible); f t k 1 c 1,..., n k ( t) t remanng worstcase executon tme of task k k 1 c k ( t) d 4-12

13 Earlest Deadlne Frst (EDF*) The problem of schedulng a set of n tasks wth precedence constrants (concurrent actvaton) can be solved n polynomal tme complexty f tasks are preemptable. The EDF* algorthm determnes a feasble schedule n the case of tasks wth precedence constrants f there exsts one. By the modfcaton t s guaranteed that f there exsts a vald schedule at all then a task starts executon not earler than ts release tme and not earler than the fnshng tmes of ts predecessors (a task cannot preempt any predecessor) all tasks fnsh ther executon wthn ther deadlnes 4-13

14 Earlest Deadlne Frst (EDF*) Modfcaton of deadlnes: Task must fnsh the executon tme wthn ts deadlne Task must not fnsh the executon later than the maxmum start tme of ts successor task b depends on task a: Ja J b Soluton: d * mn d, mn d * C : j j J J j 4-14

15 Earlest Deadlne Frst (EDF*) Modfcaton of release tmes: Task must start the executon not earler than ts release tme. Task must not start the executon earler than the mnmum fnshng tme of ts predecessor. task b depends on task a: Ja J b Soluton: r j * max r,max r * C : j J J j 4-15

16 Earlest Deadlne Frst (EDF*) Algorthm for modfcaton of release tmes: 1. For any ntal node of the precedence graph set r 2. Select a task j such that ts release tme has not been modfed but the release tmes of all mmedate predecessors have been modfed. If no such task exsts, ext. 3. Set r j 4. Return to step 2 Algorthm for modfcaton of deadlnes: 1. For any termnal node of the precedence graph set d 2. Select a task such that ts deadlne has not been modfed but the deadlnes of all mmedate successors j have been modfed. If no such task exsts, ext. 3. Set 4. Return to step 2 * max r,max r * C : j d * mn d, mn d * C : J j j J J j J j r * d * 4-16

17 Earlest Deadlne Frst (EDF*) Proof concept Show that f there exsts a feasble schedule for the modfed task set under EDF then the orgnal task set s also schedulable (gnorng precedence relatons). To ths end, show that the orgnal task set meets the tmng constrants also. Ths can be done by usng d* d, r * r. Show the reverse also. In addton, show that the precedence relatons n the orgnal task set are not volated. In partcular, show that a task cannot start before ts predecessor and a task cannot preempt ts predecessor. 4-17

18 Overvew Table of some known preemptve schedulng algorthms for perodc tasks: Deadlne equals perod Deadlne smaller than perod statc prorty dynamc prorty RM (rate-monotonc) EDF DM (deadlne-monotonc) EDF* 4-18

19 Model of Perodc Tasks Examples: sensory data acquston, low-level servong, control loops, acton plannng and system montorng. When a control applcaton conssts of several concurrent perodc tasks wth ndvdual tmng constrants, the OS has to guarantee that each perodc nstance s regularly actvated at ts proper rate and s completed wthn ts deadlne. Defntons: : denotes a set of perodc tasks : denotes a generc perodc task : denotes the jth nstance of task, j r, j, s, f, d, D, j, j j : denotes the release tme, start tme, fnshng tme, absolute deadlne of the jth nstance of task : phase of task (release tme of ts frst nstance) : relatve deadlne of task 4-19

20 Model of Perodc Tasks The followng hypotheses are assumed on the tasks: The nstances of a perodc task are regularly actvated at a constant rate. The nterval T between two consecutve actvatons s called perod. The release tmes satsfy r 1, j j T All nstances have the same worst case executon tme All nstances of a perodc task have the same relatve deadlne. Therefore, the absolute deadlnes satsfy D d, j 1 j T D C 4-20

21 Model of Perodc Tasks The followng hypotheses are assumed on the tasks cont : D Often, the relatve deadlne equals the perod and therefore d, j jt T All perodc tasks are ndependent; that s, there are no precedence relatons and no resource constrants. No task can suspend tself, for example on I/O operatons. All tasks are released as soon as they arrve. All overheads n the OS kernel are assumed to be zero. 4-21

22 Model of Perodc Tasks Example: T D,3 r,1 r, 2 C s,3 f,

23 Rate Monotonc Schedulng (RM) Assumptons: Task prortes are assgned to tasks before executon and do not change over tme (statc prorty assgnment). RM s ntrnscally preemptve: the currently executng task s preempted by a task wth hgher prorty. Deadlnes equal the perods D. T Algorthm: Each task s assgned a prorty. Tasks wth hgher request rates (that s wth shorter perods) wll have hgher prortes. Tasks wth hgher prorty nterrupt tasks wth lower prorty. 4-23

24 Perodc Tasks Example: 2 tasks, deadlne = perods, U = 97% 4-24

25 Rate Monotonc Schedulng (RM) Optmalty: RM s optmal among all fxed-prorty assgnments n the sense that not other fxed-prorty algorthm can schedule a task set that cannot be scheduled by RM. The proof s done by consderng several cases that may occur, but the man deas are as follows: A crtcal nstant for any task occurs whenever the task s released smultaneously wth all hgher prorty tasks. The tasks schedulablty can easly be checked at ther crtcal nstances. If all tasks are feasble at ther crtcal nstants, then the task set s schedulable n any other condton. Show that, gven two perodc tasks, f the schedule s feasble by an arbtrary prorty assgnment, then t s also feasble by RM. Extend the result to a set of n perodc tasks. 4-25

26 Proof of Crtcal Instance Defnton: A crtcal nstant of a task s the tme at whch the release of a task wll produce the largest response tme. Lemma: For any task, the crtcal nstant occurs f that task s smultaneously released wth all hgher prorty tasks. Proof sketch: Start wth 2 tasks 1 and 2. Response tme of 2 s delayed by tasks 1 of hgher prorty: 2 1 C 2 +2C 1 t 4-26

27 Proof of Crtcal Instance Delay may ncrease f 1 starts earler: 2 1 C 2 +3C 1 t Maxmum delay acheved f 2 and 1 start smultaneously. Repeatng the argument for all hgher prorty tasks of some task 2 : The worst case response tme of a task occurs when t s released smultaneously wth all hgher-prorty tasks. 4-27

28 Proof of RM Optmalty (2 Tasks) We have two tasks 1, 2 wth perods T 1 < T 2. Defne F= T 2 /T 1 : number of perods of 1 fully contaned n T 2 Consder two cases A and B: A: Assume RM s not used pro( 2 ) s hghest: 1 T 1 2 C 2 C 1 t Schedule s feasble f C 1 +C 2 T 1 (A) 4-28

29 Proof of RM Optmalty (2 Tasks) B: Assume RM s used pro( 1 ) s hghest: 1 2 C 1 T 2 FT 1 FT 1 T 2 Schedulable f FC 1 +C 2 +mn(t 2 FT 1, C 1 ) T 2 and C 1 T 1 (B) t We need to show that (A) (B): C 1 +C 2 T 1 C 1 T 1 C 1 +C 2 T 1 FC 1 +C 2 FC 1 +FC 2 FT 1 FC 1 +C 2 +mn(t 2 FT 1, C 1 ) FT 1 +mn(t 2 FT 1, C 1 ) mn(t 2, C 1 +FT 1 ) T 2 Gven tasks 1 and 2 wth T 1 < T 2, then f the schedule s feasble by an arbtrary fxed prorty assgnment, t s also feasble by RM. 4-29

30 Rate Monotonc Schedulng (RM) Schedulablty analyss: A set of perodc tasks s schedulable wth RM f n 1 C T n 2 1/ n 1 Ths condton s suffcent but not necessary. The term n C U T 1 denotes the processor utlzaton factor U whch s the fracton of processor tme spent n the executon of the task set. 4-30

31 Proof of Utlzaton Bound (2 Tasks) We have two tasks 1, 2 wth perods T 1 < T 2. Defne F= T 2 /T 1 : number of perods of 1 fully contaned n T 2 Proof procedure: Compute upper bound on utlzaton U such that the task set s stll schedulable. assgn prortes accordng to RM; compute upper bound U up by settng computaton tmes to fully utlze processor (C 2 adjusted to fully utlze processor); mnmze upper bound wth respect to other task parameters. 4-31

32 Proof of Utlzaton Bound (2 Tasks) As before: 1 2 C 1 Utlzaton: T 2 FT 1 FT 1 T 2 Schedulable f FC 1 +C 2 +mn(t 2 FT 1, C 1 ) T 2 and C 1 T 1 t 4-32

33 Proof of Utlzaton Bound (2 Tasks) Mnmze utlzaton bound w.r.t C 1 : If C 1 T 2 FT 1 then U decreases wth ncreasng C 1 If T 2 FT 1 C 1 then U decreases wth decreasng C 1 Therefore, mnmum U s obtaned wth C 1 = T 2 FT 1 : We now need to mnmze w.r.t. G =T 2 /T 1 where F = T 2 /T 1 and T 1 < T 2. As F s nteger, we frst suppose that t s ndependent of G = T 2 /T 1. We obtan 4-33

34 Proof of Utlzaton Bound (2 Tasks) Mnmzng U wth respect to G yelds If we set F = 1, then we obtan It can easly be checked, that all other nteger values for F lead to a larger upper bound on the utlzaton. 4-34

35 Deadlne Monotonc Schedulng (DM) Assumptons are as n rate monotonc schedulng, but deadlnes may be smaller than the perodc,.e. C D T Algorthm: Each task s assgned a prorty. Tasks wth smaller relatve deadlnes wll have hgher prortes. Tasks wth hgher prorty nterrupt tasks wth lower prorty. Schedulablty analyss: A set of perodc tasks s schedulable wth DM f n C 2 1/ n n 1 D 1 Ths condton s suffcent but not necessary (n general). 4-35

36 DM Example U = n n 1 C D 1/ n

37 Deadlne Monotonc Schedulng (DM) There s also a necessary and suffcent schedulablty test whch s computatonally more nvolved. It s based on the followng observatons: The worst-case processor demand occurs when all tasks are released smultaneously; that s, at ther crtcal nstances. For each task, the sum of ts processng tme and the nterference (preempton) mposed by hgher prorty tasks must be less than or equal to D. A measure of the worst case nterference for task can be computed as the sum of the processng tmes of all hgher prorty tasks released before some tme t where tasks are ordered accordng to m n D m D n : 1 t I T j j 1 C j 4-37

38 Deadlne Monotonc Schedulng (DM) The longest response tme R of a perodc task s computed, at the crtcal nstant, as the sum of ts computaton tme and the nterference due to preempton by hgher prorty tasks R C I Hence, the schedulablty test needs to compute the smallest that satsfes R 1 R C j T j 1 for all tasks. Then, R must hold for all tasks. It can be shown that ths condton s necessary and suffcent. D R C j 4-38

39 Deadlne Monotonc Schedulng (DM) The longest response tmes R of the perodc tasks can be computed teratvely by the followng algorthm: Algorthm: DM_guarantee () { for (each ){ I = 0; do { R = I + C ; f (R > D ) return(unschedulable); I = j=1,,(-1) R/T j C j ; } whle (I + C > R); } return(schedulable); } 4-39

40 DM Example Example: Task 1: Task 2: Task 3: Task 4: C1 1; T1 4; D1 C 1; T2 5; D2 C 2; T3 6; D3 C ; T 11; D Algorthm for task 4: Step 0: R 4 1 Step 1: R 4 5 Step 2: R 4 6 Step 3: R 4 7 Step 4: R 4 9 Step 5: R

41 DM Example U = n n 1 C D 1/ n

42 EDF Schedulng (earlest deadlne frst) Assumptons: dynamc prorty assgnment ntrnscally preemptve D T Algorthm: The currently executng task s preempted whenever another perodc nstance wth earler deadlne becomes actve. d j 1 T D, j Optmalty: No other algorthm can schedule a set of perodc tasks f the set that can not be scheduled by EDF. The proof s smple and follows that of the aperodc case. 4-42

43 Perodc Tasks Example: 2 tasks, deadlne = perods, U = 97% 4-43

44 EDF Schedulng A necessary and suffcent schedulablty test f D : A set of perodc tasks s schedulable wth EDF f and only f n 1 C T U 1 T The term U n 1 C T denotes the average processor utlzaton. 4-44

45 EDF Schedulng If the utlzaton satsfes U 1, then there s no vald schedule: The total demand of computaton tme n nterval T T1 T2... T n s n C T UT T T 1 and therefore, t exceeds the avalable processor tme. If the utlzaton satsfes U 1, then there s a vald schedule. We wll proof ths by contradcton: Assume that deadlne s mssed at some tme t 2. Then we wll show that the utlzaton was larger than

46 EDF Schedulng If the deadlne was mssed at t 2 then defne t 1 as the maxmal tme before t 2 where the processor s contnuously busy n [t 1, t 2 ] and the processor only executes tasks that have ther arrval tme AND deadlne n [t 1, t 2 ]. Why does such a tme t 1 exst? We fnd such a t 1 by startng at t 2 and gong backwards n tme, always ensurng that the processor only executed tasks that have ther deadlne before or at t 2 : Because of EDF, the processor wll be busy shortly before t 2 and t executes on the task that has deadlne at t 2. Suppose that we reach a tme when the processor gets dle, then we found t 1 : There s a task arrval at t 1 and the task queue s empty shortly before. Suppose that we reach a tme such that shortly before the processor works on a task wth deadlne after t 2, then we also found t 1 : Because of EDF, all tasks the processor processed n [t 1, t 2 ] arrved at or after t 1 (otherwse, the processor would not have operated before t 1 on a task wth deadlne after t 2 ). 4-46

47 EDF Schedulng t 1,t 2 Wthn the nterval the total computaton tme demanded by the perodc tasks s bounded by C n n t2 t 1 t2 t1 ( t1, t2) C C t 2 t 1 T 1 T p 1 number of complete perods of task I n the nterval U Snce the deadlne at tme s mssed, we must have: t t 2 t t t t U U 1 2 t1 C p 1,

48 Perodc Tasks Example: 2 tasks, deadlne = perods, U = 97% 4-48

49 Problem of Mxed Task Sets In many applcatons, there are as well aperodc as perodc tasks. Perodc tasks: tme-drven, execute crtcal control actvtes wth hard tmng constrants amed at guaranteeng regular actvaton rates. Aperodc tasks: event-drven, may have hard, soft, nonreal-tme requrements dependng on the specfc applcaton. Sporadc tasks: Offlne guarantee of event-drven aperodc tasks wth crtcal tmng constrants can be done only by makng proper assumptons on the envronment; that s by assumng a maxmum arrval rate for each crtcal event. Aperodc tasks characterzed by a mnmum nterarrval tme are called sporadc. 4-49

50 Background Schedulng Smple soluton for RM and EDF schedulng of perodc tasks: Processng of aperodc tasks n the background,.e. f there are no perodc request. Perodc tasks are not affected. Response of aperodc tasks may be prohbtvely long and there s no possblty to assgn a hgher prorty to them. 4-50

51 Background Schedulng Example (rate monotonc perodc schedule): 4-51

52 RM - Pollng Server Idea: Introduce an artfcal perodc task whose purpose s to servce aperodc requests as soon as possble (therefore, server ). Lke any perodc task, a server s characterzed by a perod and a computaton tme C s. The server s scheduled wth the same algorthm used for the perodc tasks and, once actve, t serves the aperodc requests wthn the lmt of ts server capacty. Its prorty (perod!) can be chosen to match the response tme requrement for the aperodc tasks. T s 4-52

53 RM - Pollng Server Functon of pollng server (PS) T s At regular ntervals equal to, a PS task s nstantated. When t has the hghest current prorty, t serves any pendng aperodc requests wthn the lmt of ts capacty C s. If no aperodc requests are pendng, PS suspends tself untl the begnnng of the next perod and the tme orgnally allocated for aperodc servce s not preserved for aperodc executon. Dsadvantage: If an aperodc requests arrves just after the server has suspended, t must wat untl the begnnng of the next pollng perod. 4-53

54 RM - Pollng Server Example server has current hghest prorty and checks the queue of tasks 4-54

55 RM - Pollng Server Schedulablty analyss of perodc tasks As n the case of RM as the nterference by a server task s the same as the one ntroduced by an equvalent perodc task. A set of perodc tasks and a server task can be executed wthn ther deadlnes f C T s s n 1 C T ( n 1) 2 1/( n1) 1 Agan, ths test s suffcent but not necessary. 4-55

56 RM - Pollng Server Aperodc guarantee of aperodc actvtes. Assumpton: An aperodc task s fnshed before a new aperodc request arrves. Computaton tme C, deadlne D. Suffcent schedulablty test: a Ca (1 T C ) s s D a a If the server task has the hghest prorty there s a necessary test also. The aperodc task arrves shortly after the actvaton of the server task. Maxmal number of necessary server perods. 4-56

57 EDF Total Bandwdth Server Total Bandwdth Server: When the kth aperodc request arrves at tme t = r k, t receves a deadlne d k C max( rk, dk 1 ) U where C k s the executon tme of the request and U s s the server utlzaton factor (that s, ts bandwdth). By defnton, d 0 =0. Once a deadlne s assgned, the request s nserted nto the ready queue of the system as any other perodc nstance. k s 4-57

58 EDF Total Bandwdth Server Example: U 0.75, U 0.25, U U 1 p s p s 4-58

59 EDF Total Bandwdth Server Schedulablty test: Gven a set of n perodc tasks wth processor utlzaton U p and a total bandwdth server wth utlzaton U s, the whole set s schedulable by EDF f and only f Proof: U p U [ t 1, t2] In each nterval of tme, f C ape s the total executon tme demanded by aperodc requests arrved at t 1 or later and served wth deadlnes less or equal to t 2, then s 1 C ) ape ( t2 t1 U s 4-59

60 4-60 EDF Total Bandwdth Server If ths has been proven, the proof of the schedulablty test follows closely that of the perodc case. Proof of lemma: ) ( ), max( )), max( ( t t U d r d U d r d U C C s k k k s k k k k k k s k k k k ape

61 EDF Total Bandwdth Server Example: U 0.75, U 0.25, U U 1 p s p s 4-61

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

On the Multicriteria Integer Network Flow Problem

On the Multicriteria Integer Network Flow Problem BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 5, No 2 Sofa 2005 On the Multcrtera Integer Network Flow Problem Vassl Vasslev, Marana Nkolova, Maryana Vassleva Insttute of

More information

CHAPTER 17 Amortized Analysis

CHAPTER 17 Amortized Analysis CHAPTER 7 Amortzed Analyss In an amortzed analyss, the tme requred to perform a sequence of data structure operatons s averaged over all the operatons performed. It can be used to show that the average

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

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

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

A 2D Bounded Linear Program (H,c) 2D Linear Programming

A 2D Bounded Linear Program (H,c) 2D Linear Programming A 2D Bounded Lnear Program (H,c) h 3 v h 8 h 5 c h 4 h h 6 h 7 h 2 2D Lnear Programmng C s a polygonal regon, the ntersecton of n halfplanes. (H, c) s nfeasble, as C s empty. Feasble regon C s unbounded

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

An Admission Control Algorithm in Cloud Computing Systems

An Admission Control Algorithm in Cloud Computing Systems An Admsson Control Algorthm n Cloud Computng Systems Authors: Frank Yeong-Sung Ln Department of Informaton Management Natonal Tawan Unversty Tape, Tawan, R.O.C. ysln@m.ntu.edu.tw Yngje Lan Management Scence

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

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

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

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

Synchronization Protocols. Task Allocation Bin-Packing Heuristics: First-Fit Subtasks assigned in arbitrary order To allocate a new subtask T i,j

Synchronization Protocols. Task Allocation Bin-Packing Heuristics: First-Fit Subtasks assigned in arbitrary order To allocate a new subtask T i,j End-to-End Schedulng Framework 1. Tak allocaton: bnd tak to proceor 2. Synchronzaton protocol: enforce precedence contrant 3. Subdeadlne agnment 4. Schedulablty analy Tak Allocaton Bn-Packng eurtc: Frt-Ft

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

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

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

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

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

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

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

Suggested solutions for the exam in SF2863 Systems Engineering. June 12,

Suggested solutions for the exam in SF2863 Systems Engineering. June 12, Suggested solutons for the exam n SF2863 Systems Engneerng. June 12, 2012 14.00 19.00 Examner: Per Enqvst, phone: 790 62 98 1. We can thnk of the farm as a Jackson network. The strawberry feld s modelled

More information

Task Scheduling with Self-Suspensions in Soft Real-Time Multiprocessor Systems

Task Scheduling with Self-Suspensions in Soft Real-Time Multiprocessor Systems ask Schedulng wth Self-Suspensons n Soft Real-me Multprocessor Systems Cong Lu and James H. Anderson Department of Computer Scence, Unversty of North Carolna at Chapel Hll Abstract Job release Job deadlne

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

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

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

Handling Overload (G. Buttazzo, Hard Real-Time Systems, Ch. 9) Causes for Overload

Handling Overload (G. Buttazzo, Hard Real-Time Systems, Ch. 9) Causes for Overload PS-663: Real-Te Systes Handlng Overloads Handlng Overload (G Buttazzo, Hard Real-Te Systes, h 9) auses for Overload Bad syste desgn eg poor estaton of worst-case executon tes Sultaneous arrval of unexpected

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

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

Minimizing Energy Consumption of MPI Programs in Realistic Environment

Minimizing Energy Consumption of MPI Programs in Realistic Environment Mnmzng Energy Consumpton of MPI Programs n Realstc Envronment Amna Guermouche, Ncolas Trquenaux, Benoît Pradelle and Wllam Jalby Unversté de Versalles Sant-Quentn-en-Yvelnes arxv:1502.06733v2 [cs.dc] 25

More information

This is the Pre-Published Version.

This is the Pre-Published Version. Ths s the Pre-Publshed Verson. Abstract In ths paper we consder the problem of schedulng obs wth equal processng tmes on a sngle batch processng machne so as to mnmze a prmary and a secondary crtera. We

More information

On Energy-Optimal Voltage Scheduling for Fixed-Priority Hard Real-Time Systems

On Energy-Optimal Voltage Scheduling for Fixed-Priority Hard Real-Time Systems On Energy-Optmal Voltage Schedulng for Fxed-Prorty Hard Real-Tme Systems HAN-SAEM YUN and JIHONG KIM Seoul Natonal Unversty We address the problem of energy-optmal voltage schedulng for fxed-prorty hard

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

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

O-line Temporary Tasks Assignment. Abstract. In this paper we consider the temporary tasks assignment

O-line Temporary Tasks Assignment. Abstract. In this paper we consider the temporary tasks assignment O-lne Temporary Tasks Assgnment Yoss Azar and Oded Regev Dept. of Computer Scence, Tel-Avv Unversty, Tel-Avv, 69978, Israel. azar@math.tau.ac.l??? Dept. of Computer Scence, Tel-Avv Unversty, Tel-Avv, 69978,

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

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

VARIATION OF CONSTANT SUM CONSTRAINT FOR INTEGER MODEL WITH NON UNIFORM VARIABLES

VARIATION OF CONSTANT SUM CONSTRAINT FOR INTEGER MODEL WITH NON UNIFORM VARIABLES VARIATION OF CONSTANT SUM CONSTRAINT FOR INTEGER MODEL WITH NON UNIFORM VARIABLES BÂRZĂ, Slvu Faculty of Mathematcs-Informatcs Spru Haret Unversty barza_slvu@yahoo.com Abstract Ths paper wants to contnue

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

Calculation of time complexity (3%)

Calculation of time complexity (3%) Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add

More information

Dynamic Programming. Lecture 13 (5/31/2017)

Dynamic Programming. Lecture 13 (5/31/2017) Dynamc Programmng Lecture 13 (5/31/2017) - A Forest Thnnng Example - Projected yeld (m3/ha) at age 20 as functon of acton taken at age 10 Age 10 Begnnng Volume Resdual Ten-year Volume volume thnned volume

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

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

jitter Abstract Output jitter the variation in the inter-completion times of successive jobs of the same

jitter Abstract Output jitter the variation in the inter-completion times of successive jobs of the same Schedulng perodc task systems to mnmze output jtter Sanjoy Baruah Gorgo Buttazzo y Sergey Gornsky z Guseppe Lpar y Abstract Output jtter the varaton n the nter-completon tmes of successve jobs of the same

More information

find (x): given element x, return the canonical element of the set containing x;

find (x): given element x, return the canonical element of the set containing x; COS 43 Sprng, 009 Dsjont Set Unon Problem: Mantan a collecton of dsjont sets. Two operatons: fnd the set contanng a gven element; unte two sets nto one (destructvely). Approach: Canoncal element method:

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

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

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

Offline Equivalence: A Non-Preemptive Scheduling Technique for Resource-Constrained Embedded Real-Time Systems

Offline Equivalence: A Non-Preemptive Scheduling Technique for Resource-Constrained Embedded Real-Time Systems Offlne Equvalence: A Non-Preemptve Schedulng Technque for Resource-Constraned Embedded Real-Tme Systems Mtra Nasr Björn B. Brandenburg Max Planck Insttute for Software Systems (MPI-SWS) Abstract We consder

More information

Scheduling within Temporal Partitions: Response-time Analysis and Server Design

Scheduling within Temporal Partitions: Response-time Analysis and Server Design chedulng wthn Temporal Parttons: Response-tme Analyss and erver Desgn Lus Almeda LE-IEETA/DET Unversdade de Avero Avero, Portugal lda@det.ua.pt Paulo Pedreras LE-IEETA/DET Unversdade de Avero Avero, Portugal

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

Keynote: RTNS Getting ones priorities right

Keynote: RTNS Getting ones priorities right Keynote: RTNS 2012 Gettng ones prortes rght Robert Davs Real-Tme Systems Research Group, Unversty of York rob.davs@york.ac.uk What s ths talk about? Fxed Prorty schedulng n all ts guses Pre-emptve, non-pre-emptve,

More information

Two-Phase Low-Energy N-Modular Redundancy for Hard Real-Time Multi-Core Systems

Two-Phase Low-Energy N-Modular Redundancy for Hard Real-Time Multi-Core Systems 1 Two-Phase Low-Energy N-Modular Redundancy for Hard Real-Tme Mult-Core Systems Mohammad Saleh, Alreza Ejlal, and Bashr M. Al-Hashm, Fellow, IEEE Abstract Ths paper proposes an N-modular redundancy (NMR)

More information

MMA and GCMMA two methods for nonlinear optimization

MMA and GCMMA two methods for nonlinear optimization MMA and GCMMA two methods for nonlnear optmzaton Krster Svanberg Optmzaton and Systems Theory, KTH, Stockholm, Sweden. krlle@math.kth.se Ths note descrbes the algorthms used n the author s 2007 mplementatons

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

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

Tornado and Luby Transform Codes. Ashish Khisti Presentation October 22, 2003

Tornado and Luby Transform Codes. Ashish Khisti Presentation October 22, 2003 Tornado and Luby Transform Codes Ashsh Khst 6.454 Presentaton October 22, 2003 Background: Erasure Channel Elas[956] studed the Erasure Channel β x x β β x 2 m x 2 k? Capacty of Noseless Erasure Channel

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

Embedded Systems 15. REVIEW: Aperiodic scheduling. C i J i 0 a i s i f i d i

Embedded Systems 15. REVIEW: Aperiodic scheduling. C i J i 0 a i s i f i d i Embedded Systems 15-1 - REVIEW: Aperiodic scheduling C i J i 0 a i s i f i d i Given: A set of non-periodic tasks {J 1,, J n } with arrival times a i, deadlines d i, computation times C i precedence constraints

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

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0 MODULE 2 Topcs: Lnear ndependence, bass and dmenson We have seen that f n a set of vectors one vector s a lnear combnaton of the remanng vectors n the set then the span of the set s unchanged f that vector

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

Single-machine scheduling with trade-off between number of tardy jobs and compression cost

Single-machine scheduling with trade-off between number of tardy jobs and compression cost Ths s the Pre-Publshed Verson. Sngle-machne schedulng wth trade-off between number of tardy jobs and compresson cost 1, 2, Yong He 1 Department of Mathematcs, Zhejang Unversty, Hangzhou 310027, P.R. Chna

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

MATH 5707 HOMEWORK 4 SOLUTIONS 2. 2 i 2p i E(X i ) + E(Xi 2 ) ä i=1. i=1

MATH 5707 HOMEWORK 4 SOLUTIONS 2. 2 i 2p i E(X i ) + E(Xi 2 ) ä i=1. i=1 MATH 5707 HOMEWORK 4 SOLUTIONS CİHAN BAHRAN 1. Let v 1,..., v n R m, all lengths v are not larger than 1. Let p 1,..., p n [0, 1] be arbtrary and set w = p 1 v 1 + + p n v n. Then there exst ε 1,..., ε

More information

Analysis of Queuing Delay in Multimedia Gateway Call Routing

Analysis of Queuing Delay in Multimedia Gateway Call Routing Analyss of Queung Delay n Multmeda ateway Call Routng Qwe Huang UTtarcom Inc, 33 Wood Ave. outh Iseln, NJ 08830, U..A Errol Lloyd Computer Informaton cences Department, Unv. of Delaware, Newark, DE 976,

More information

Planning and Scheduling to Minimize Makespan & Tardiness. John Hooker Carnegie Mellon University September 2006

Planning and Scheduling to Minimize Makespan & Tardiness. John Hooker Carnegie Mellon University September 2006 Plannng and Schedulng to Mnmze Makespan & ardness John Hooker Carnege Mellon Unversty September 2006 he Problem Gven a set of tasks, each wth a deadlne 2 he Problem Gven a set of tasks, each wth a deadlne

More information

Combining Constraint Programming and Integer Programming

Combining Constraint Programming and Integer Programming Combnng Constrant Programmng and Integer Programmng GLOBAL CONSTRAINT OPTIMIZATION COMPONENT Specal Purpose Algorthm mn c T x +(x- 0 ) x( + ()) =1 x( - ()) =1 FILTERING ALGORITHM COST-BASED FILTERING ALGORITHM

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

Lecture 5 Decoding Binary BCH Codes

Lecture 5 Decoding Binary BCH Codes Lecture 5 Decodng Bnary BCH Codes In ths class, we wll ntroduce dfferent methods for decodng BCH codes 51 Decodng the [15, 7, 5] 2 -BCH Code Consder the [15, 7, 5] 2 -code C we ntroduced n the last lecture

More information

Singular Value Decomposition: Theory and Applications

Singular Value Decomposition: Theory and Applications Sngular Value Decomposton: Theory and Applcatons Danel Khashab Sprng 2015 Last Update: March 2, 2015 1 Introducton A = UDV where columns of U and V are orthonormal and matrx D s dagonal wth postve real

More information

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique Outlne and Readng Dynamc Programmng The General Technque ( 5.3.2) -1 Knapsac Problem ( 5.3.3) Matrx Chan-Product ( 5.3.1) Dynamc Programmng verson 1.4 1 Dynamc Programmng verson 1.4 2 Dynamc Programmng

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

Computing Correlated Equilibria in Multi-Player Games

Computing Correlated Equilibria in Multi-Player Games Computng Correlated Equlbra n Mult-Player Games Chrstos H. Papadmtrou Presented by Zhanxang Huang December 7th, 2005 1 The Author Dr. Chrstos H. Papadmtrou CS professor at UC Berkley (taught at Harvard,

More information

Energy-Efficient Primary/Backup Scheduling Techniques for Heterogeneous Multicore Systems

Energy-Efficient Primary/Backup Scheduling Techniques for Heterogeneous Multicore Systems Energy-Effcent Prmary/Backup Schedulng Technques for Heterogeneous Multcore Systems Abhshek Roy, Hakan Aydn epartment of Computer Scence George Mason Unversty Farfax, Vrgna 22030 aroy6@gmu.edu, aydn@cs.gmu.edu

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

Some modelling aspects for the Matlab implementation of MMA

Some modelling aspects for the Matlab implementation of MMA Some modellng aspects for the Matlab mplementaton of MMA Krster Svanberg krlle@math.kth.se Optmzaton and Systems Theory Department of Mathematcs KTH, SE 10044 Stockholm September 2004 1. Consdered optmzaton

More information

CS 331 DESIGN AND ANALYSIS OF ALGORITHMS DYNAMIC PROGRAMMING. Dr. Daisy Tang

CS 331 DESIGN AND ANALYSIS OF ALGORITHMS DYNAMIC PROGRAMMING. Dr. Daisy Tang CS DESIGN ND NLYSIS OF LGORITHMS DYNMIC PROGRMMING Dr. Dasy Tang Dynamc Programmng Idea: Problems can be dvded nto stages Soluton s a sequence o decsons and the decson at the current stage s based on the

More information

The L(2, 1)-Labeling on -Product of Graphs

The L(2, 1)-Labeling on -Product of Graphs Annals of Pure and Appled Mathematcs Vol 0, No, 05, 9-39 ISSN: 79-087X (P, 79-0888(onlne Publshed on 7 Aprl 05 wwwresearchmathscorg Annals of The L(, -Labelng on -Product of Graphs P Pradhan and Kamesh

More information

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017 U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 4s Luca Trevsan September 5, 07 Summary of Lecture 4 In whch we ntroduce semdefnte programmng and apply t to Max Cut. Semdefnte Programmng Recall that

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms Desgn and Analyss of Algorthms CSE 53 Lecture 4 Dynamc Programmng Junzhou Huang, Ph.D. Department of Computer Scence and Engneerng CSE53 Desgn and Analyss of Algorthms The General Dynamc Programmng Technque

More information

The optimal delay of the second test is therefore approximately 210 hours earlier than =2.

The optimal delay of the second test is therefore approximately 210 hours earlier than =2. THE IEC 61508 FORMULAS 223 The optmal delay of the second test s therefore approxmately 210 hours earler than =2. 8.4 The IEC 61508 Formulas IEC 61508-6 provdes approxmaton formulas for the PF for smple

More information

Annexes. EC.1. Cycle-base move illustration. EC.2. Problem Instances

Annexes. EC.1. Cycle-base move illustration. EC.2. Problem Instances ec Annexes Ths Annex frst llustrates a cycle-based move n the dynamc-block generaton tabu search. It then dsplays the characterstcs of the nstance sets, followed by detaled results of the parametercalbraton

More information

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS Avalable onlne at http://sck.org J. Math. Comput. Sc. 3 (3), No., 6-3 ISSN: 97-537 COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

More information