On Schedulability Bounds of Static Priority Schedulers

Size: px
Start display at page:

Download "On Schedulability Bounds of Static Priority Schedulers"

Transcription

1 On cedulablty Bounds of tatc Prorty cedulers Jana Wu, Jy-Carn Lu, and We Zao Department of Computer cence Texas A&M Unversty {anaw, lu, Wle utlzaton bound based scedulablty test s smple and effectve, t s often dffcult to derve te utlzaton bound For ts analytcal complexty, utlzaton bound results are usually obtaned on a case-by-case bass In ts paper, we develop a general framework tat allows one to effectvely derve scedulablty bounds of dfferent workload patterns and scedulers We ntroduce an analytcal model tat s capable of descrbng a wde range of tasks and scedulers beavors We propose a new defnton of utlzaton, called workload rate Wle smlar to utlzaton, workload rate enables flexble representaton of dfferent scedulng and workload scenaros and leads to unform proof of scedulablty bounds We derve a parameterzed scedulablty bound for statc prorty scedulers wt arbtrary prorty assgnment Exstng utlzaton bounds for dfferent prorty assgnments and task releasng patterns can be derved from te closed-form formula by smple assgnments of proper parameters Key words: Workload rate, utlzaton, scedulablty test, statc prorty sceduler, network calculus

2 Table of Contents Introducton 2 Related Work 3 3 General Framework 5 3 Task and ceduler Model 5 3 Task, Task et, Workload, and ervce Functon 5 32 Workload Constrant Functon 6 33 ervce Constrant Functon 6 32 cedulablty Bound 9 4 cedulablty Bound for Rate Monotonc ceduler 3 4 -aped Workload Constrant Functons 3 42 ervce Constrant Functon of RM wt -saped Workload Constrant Functons 5 43 cedulablty Bound for RM 5 5 Performance Evaluaton and Comparson 8 5 Analyss of te RM cedulablty Bounds 8 52 Parametrc Fttng of Exstng Utlzaton Bounds for RM systems 20 6 Extensons 22 6 Harmonc Can Tasks Arbtrary tatc Prorty cedulers Non-preemptve ystems 24 7 Fnal Remarks 24 References 26 APPENDIX A: Lst of Lemmas 29 APPENDIX B: Proof of Teorem 2 30 APPENDIX C: Proof of Teorem 3 32 APPENDIX D: Proof of Corollary 3 33 APPENDIX E: Proof of Teorem 4 36 APPENDIX F: Dervaton of Leoczky s Bound [26] 40 APPENDIX G: Proof of Corollary 4 43 APPENDIX H: Proof of Teorem 5 44 APPENDIX I: Proof of Corollary 6 50 APPENDIX J: Proofs of Lemmas Lsted n Appendx A 5

3 NOMENCLATURE ymbols Defntons Frst occurrng page C t Te ncrement of an s-saped workload constrant functon at te Page 6 perod, =, 2,, L C Te constant ncrement of an s-saped workload constrant functon Page 6 t after te L perod d Te worst case (e, largest delay of all obs n a task Page 4 A postve nteger defned by te relatonsp of k = λ Page 3 D Relatve deadlne of a task Page 4 / η = V k λ, Γ Page 3 f (t Workload functon Page 4 F( I Workload constrant functon Page 4 g (t ervce functon Page G( I ervce constrant functon Page V (, Γ Heterogenety functon of task set Γ Page 8 k Normalzed deadlne of a task, k = D / P Page 7 λ Degree of deadlne nverson Page 0 L Number of C s n an s-saped workload constrant functon Page 6 Perod of a perodc task or te perod parameter n an s-saped Page 6 workload constrant functon Γ Task set Page 4 t Job absolute deadlne Page 4 d t Job release tme Page 4 r t Job completon tme Page 4 f T A task Page 4 θ calng parameter used for workload rate measurement Page 9 V calng parameter used for eterogenety measurement Page 8 W (θ, Γ Workload rate of task set Γ Page 9 W ( θ cedulablty bound Page 2

4 Introducton Meetng strngent tmng requrements s crtcal to many computer applcatons (eg, dgtal control and samplng, voce over IP, vdeo conferencng, etc Tese real-tme systems are usually equpped wt a mecansm known as te scedulablty test, wc determnes weter eac of te admtted tasks can meet ts deadlne A new task wll not be admtted unless t passes te scedulablty test Te scedulablty test can be eter drect or ndrect Drect scedulablty test wll explctly calculate te worst-case delays of te tasks n order to determne te permssblty of a new task Ts type of test as a ger level of accuracy, but usually results n te g run-tme computng cost n calculatng te delays An ndrect scedulablty test does not compute te delay drectly, but tests selected system parameters to determne te scedulablty of a new task Te utlzaton based scedulablty test s te most common approac, n wc a task can be admtted only f te utlzaton s lower tan a pre-derved bound Te maor advantages of ts scedulablty test are as follows: It s very effcent Unlke te drect scedulablty test tat need to evaluate te scedulablty of eac task n te system (and te new one upon te arrval a new task, te utlzaton based scedulablty test only need to ceck weter te total system utlzaton (ncludng te new task s lower tan te prederved utlzaton bound 2 It provdes an operaton margn for system admnstrators and tus mproves te stablty of a real-tme system Durng desgn pase, te system desgner can set an upper bound of utlzaton tat s lower tan te pre-derved bound By provdng suc safety margn, te system can work smootly even some tasks accdentally volate ter load constrants, or wen some system parameter canges, eg clock skew Varous utlzaton bounds ave been derved n te lterature, and some ave been appled to mplementaton of msson crtcal applcatons ome of te most notable results nclude 69% (and extensons for te Rate/Deadlne Monotonc sceduler (RM/DM [22], [27], [32], [36], [37], [4], ; 00% for Earlest Deadlne Frst sceduler (EDF [32]; and 33% for te Tmed Token protocol (TTP [4], [35], [46], [47]; etc Utlzaton bounds of RM/DM n multprocessor systems ave also been derved n [7], [8], [9], [0], [2], [38] ome mportant utlzaton bounds for non-perodc systems are derved n [], [2], [3], [45] A more detaled summary of te lterature s gven n te next secton In general, t s dffcult to generalze te utlzaton bound metod to non-perodc system due to te followng two problems: a Ambguty n defnng utlzaton for non-perodc tasks Utlzaton s a measurement of te resource consumpton rate wtn a certan tme wndow (referred to as a measurng

5 wndow Typcally, for perodc systems, task perods ave been used as te measurng wndow It s dffcult to extend ts defnton to te doman of non-perodc tasks because one cannot ave a well-defned noton of perod One certanly could defne a long-term stable utlzaton wt te measurng wndow lengt beng nfntely large, but ts type of defnton cannot correctly reflect te resource demand wtn te deadlne Because of ts, n [] and [7], te autors proposed to defne te utlzaton by settng te lengt of te measurng wndow as te relatve deadlne of te task To derve utlzaton bounds, we must ave a flexble, robust noton of utlzaton tat can be appled to a broad range of workloads and scedulers Te defnton sould correctly reflect te resource demand and facltate dervaton of te bounds b Ad oc-ness n te dervaton of te utlzaton bound Most utlzaton bound results are obtaned case-by-case, and te metod developed for one system cannot be easly appled to anoter Te g complexty of te underlyng optmzaton problem s manly attrbuted to te fact tat one must fnd an optmal (lower bound of te utlzaton n an nfnte space of non-scedulable task sets In ts paper, we ntroduce an analytcal model tat s capable of descrbng a wde range of tasks and scedulers beavors In addton to address te problems mentoned above, we broaden te utlzaton bound dervaton tecnques usng te followng approac We propose a new defnton of utlzaton, called workload rate, wc measures te resource demand wtn a tme wndow of lengt proportonal to te deadlne of a task, so tat t can be used to caracterze bot perodc and non-perodc tasks n te same framework Takng te relatve deadlne of te task lengt of te measurng wndow to defne te utlzaton was frst proposed n [] and [7] everal oter key system parameters are caracterzed wt respect to te workload rate n formulaton of te utlzaton bound solutons On te bass of te network calculus framework [2], [3], [4], [5], [7], [8], and [9], we derve some key relatonsps between workload and servces, to arrve at a lower bound of workload rate for arbtrary servces and scedulers In prevous work, te searc for utlzaton bound was usually made along te boundary between te spaces of scedulable and non-scedulable task sets Knowng tat fndng te boundary of te two spaces s already a maor undertakng, we drectly derved te scedulablty bound by solvng a mnmzaton problem over te entre task set populaton As a result, te 2

6 utlzaton results (of scedulablty testng are applcable to a muc broader range of task models and scedulers To furter llustrate te effectveness of our new metodology, we explctly derve a parameterzed workload rate bound for statc prorty scedulers wt arbtrary prorty assgnment A closed-form formula s obtaned, and te bound s parameterzed for dfferent prorty assgnments and for varous task releasng patterns We sow tat wen te parameters are set properly, our general workload rate bound s reduced to te utlzaton bounds of te followng platforms: o o o o Te system as perodc tasks wose deadlnes are equal to perods Tasks are sceduled by a rate monotonc sceduler [32] Te system as perodc tasks wose deadlnes are less tan perods Tasks are sceduled by a rate monotonc sceduler [27] and [4] Te system as perodc tasks wose deadlnes are multples of perods Tasks are sceduled by a rate monotonc sceduler [22] Te system as multframe tasks wose deadlnes are equal to perods Tasks are sceduled by a rate monotonc sceduler [37] To our knowledge, no current lterature covers as a wde range of systems as our metodology We ten generalze te parameterzed bound to statc prorty sceduler wt arbtrary prorty assgnment sceme Ts scedulablty bound for arbtrary statc prorty sceduler s furter mproved based on te concept of armonc can tasks [6] and [23] Te rest of te paper s organzed as follows Te related work s dscussed n ecton 2 ecton 3 ntroduces te system model In ecton 4, scedulablty bounds are dscussed and a general bound for arbtrary sceduler and tasks are derved ecton 5 derves a closed-form bound for RM wt a specal type of task set In secton 6, te closed-form bound for RM s generalzed to arbtrary statc prorty scedulers and s furter mproved for te armonc can tasks Conclusons and dscussons are gven n ecton 7 2 Related Work In ter semnal work [32], te autors derved te well-known 69% utlzaton bound for te RM on sngle processor systems, were relatve deadlnes of perodc tasks are equal to ter perods A rc collecton of utlzaton bounds ave been derved snce ten for dfferent systems Ts result as been extended to arbtrary deadlne assgnment scemes n Error! Reference source not found, [27] and [4] 3

7 In [24] and [30], te autors mproved te bound by explotng te rato between te longest and sortest task perods Te work n [6] and [23] furter mproved te bound result wt te concept of te armonc can tat explots te dvsblty between perods Te autors n [22] ntroduced an algortm tat transforms te perodc task nto a armonc task set, wc as a workload bound of, and proved tat te algortm performs better tan te bound derved n [30] and [32], wt te cost of ger complexty Utlzaton bounds of statc prorty scedulers on te tme token protocol n FDDI networks were derved n [4], [35], [46], and [47] Te utlzaton bound for statc prorty scedulers n a network envronment ave been studed n [45] Utlzaton bounds for non-perodc tasks ave been addressed n [], [2], [3], and [34] Utlzaton bounds for RM/DM n mult-processor systems ave been studed n [7], [8], [9], [2], and [34] Generalzng te defnton of utlzaton from perodc tasks to aperodc tasks as been studed n [], [2], [3], [7], [36], and [45] In dervng te utlzaton bound for RM wt multframe and general realtme task models, te autors n [36] and [37] proposed a maxmum average utlzaton tat allows calculaton of utlzaton n an nfnte measurng wndow In te analyss of te utlzaton bound n a mult-node network envronment wt leaky bucket packet sources, te autors n [45] used a utlzaton defnton tat s based on te sustanable rate n te leaky bucket functon To derve te utlzaton bound for non-perodc tasks and multprocessor systems, te autors n [], [2], [3], and [7] proposed a utlzaton defnton tat s based on relatve deadlnes of tasks, nstead of perods Te lnear programmng metod tat as been proposed for fndng utlzaton bounds wen task parameters are known a pror as been studed n [6], [25], and [39] Te work n [] ntroduced a new scedulablty test wc s smlar to utlzaton based admsson control pecfcally tey proved tat for perodc tasks wt RM, a task set s scedulable f Π ( u + 2, were u s te utlzaton of te t task Generalzaton of a perodc task model was proposed n [35] and [36], n wc te autors derved a bound result for multframe tasks wc allows obs n te same task to ave dfferent sze, provded tat te relatve deadlne s same as perod lengt Usng workload constrant functon to model tasks can be traced back to [7], [8], e leaky bucket constrants of network traffc Ts concept was expanded n [45] to analyze te utlzaton bounds of statc prorty scedulers Te general model for real-tme tasks proposed n [36] sares a smlar concept, and t corresponds to a specal group of workload constrant functons n multframe forms Te dea of modelng scedulers wt servce constrant functons orgnated n [3], [4], [5], [9], and [40] Workload constrant and servce constrant functons ave been used for drect scedulablty test n [2], [9], [20], [42], and [43] among many oters, but none of tem s used for utlzaton based test 4

8 3 General Framework For utlzaton bound based scedulablty test, a task set s scedulable wen te utlzaton of te task set s lower tan a pre-derved bound Our goal n ts paper s to develop a general analyss framework for suc bound based algortms 3 Task and ceduler Model 3 Task, Task et, Workload, and ervce Functon We assume tat a sngle processor computng system s to serve a task set Γ = { T, T2,, T n }, were T s te t task Wen te context s clear, we may omt ndex n te subsequent dscussons Eac task s composed of a sequence of obs Te worst-case executon tme of a ob s called te ob sze, wc s measured n second A ob can start ts executon after ts release tme, t r, and must be fnsed by ts absolute deadlne t d = t r + D were D s called relatve deadlne For a ob, te tme elapsed from te release tme t r to te completon tme t f s called te delay of te ob, and te worst-case (e, largest delay of all obs n a task s denoted by d Wtn a task, te obs ave te same relatve deadlne, but may not necessarly ave te same sze Jobs wtn a task are executed n a frst come, frst served order To caracterze te resource demand of task T analytcally, we defne f ( t, te workload functon for T, as follows, f ( t = te summaton of te szes of all te obs from T released n [0, t] (3- mlarly, to caracterze te actual processor tme receved by task T, we defne g( t, te servce functon for T, as follows, g( t = te total executon tme rendered to obs of task T durng [0, t] (3-2 Based on te defntons of d, f ( t and g( t, t s easy to see tat ( ( τ τ d t 0 f t g t = sup nf ( ( + (3-3 In a real-tme system, a maor goal of te scedulablty test algortm s to ceck te trutfulness of One may want to use (3-3 to calculate d D (3-4 d and ten compare te result wt D to test te scedulablty However, ts metod may not be sutable for onlne operaton because te exact forms of f ( t and g( t may not be avalable wen scedulablty test s made Furtermore, even f f ( t and g( t are avalable, 5

9 tey are often too cumbersome to andle A practcal soluton s usng some alternatve forms of f ( t and g( t tat can be obtaned durng scedulablty test 32 Workload Constrant Functon Many works ave been done on te alternatves of f ( t For example, n perodc task model, a typcal alternatve of f ( t s F( t = t / P C, (3-5 were C s te maxmum ob sze and P s te mnmum nter-ob separaton tme Toug ts alternatve s accurate for perodc tasks, t may over-estmate te resource demand for non-perodc tasks [37], and would lead to pessmstc scedulablty decsons 0 I t A better alternatve of f ( t s te workload constrant functon F( I tat satsfes tat for any f ( t f ( t I F( I (3-6 Te F( I n form of (3-6 was frst ntroduced n [7] and [8] and as been wdely used [2], [4], [5], [29], and [45] By conventon, F (0 = 0 and F( I s non-decreasng F( I s an upper bound of total sze of obs can be released n any tme wndow [ t I, t] We use I n (3-6 because F defned on te doman of tme ntervals, wle f ( t s defned n te doman of tme Te workload constrant functon defned n (3-6 s tgter tan te alternatve functon defned n (3-5, snce for systems wt perodc task model, t s easy to see tat F( I = I / P C s a workload constrant functon satsfes (3-6 f ( t In ts paper we wll use te workload constrant functon F( I defned n (3-6 as alternatve of 33 ervce Constrant Functon Wt F( I defned, let us now consder alternatves of g( t Toug one can fnd many dfferent types of alternatves of g( t, we are only nterested n tose tat can facltate te delay bound analyss Opton : trct ervce Constrant Functon We say G( I s a strct servce constrant functon for task T f for any 0 I t g( t g( t I G( I (3-7 Clearly, wt ts defnton, we ave g( I G( I for all I 0 and togeter wt te fact f ( I F( I, we ave 6

10 ( ( τ τ t ( τ τ ( = + + = ˆ (3-8 d supt 0 nf f ( t g( t sup 0 nf F( t G( t d Tat s to say, we can derve a delay bound based on F( I and G( I usng (3-8 However, toug ts G( I s easy to obtan, ts coce of G( I s problematc snce ˆd can be very loose as llustrated n te followng example EXAMPLE : Consder te task workload and servce functons llustrated n Fgure Te task contnues to release obs untl tme 6, and after tat, tere s no more ob releasng Te sceduler begns to serve te obs from tme 6 and fnsed all of tem at tme 0 Te worst case delay appens on te ob arrved at tme and s 6 Now consder te substtuton functon G( I defned n (3-7 By (3-7 and te fact tat for any I 0, te total servce receved by te task n tme wndow [0, 0 + I] s 0, we know tat for any I 0 G( I = 0 (3-9 Ten by substtutng (3-9 nto (3-8, we ave d d =, wc s a very loose (meanngless bound ˆ Fgure : An example task workload and servce functon By a close examnaton of example, one can notce tat te problem of te loose bound can be trace back to te fact tat G( I as a strong requrement tat (3-7 must old for all t 0, 0 I t and tus leads to very low values An nterestng queston s tat weter we can relax te requrement on G( t Te answer s yes as llustrated n te followng opton Opton 2: ervce Constrant Functon We say G( I s a servce constrant functon provded by a sceduler to task T f for any t 0, tere exsts 0 I t suc tat g( t f ( t I + G( I (3-0 7

11 Typcally, we assume G( I s non-decreasng and G(0 0 (3-0 means tat for any tme nstant t, we can fnd a tme nstant t ave been served, 2 for te obs released n nterval [ t llustrated n Fgure 2 I, 0 I t, suc tat all te obs released n tme nterval [0, t I ] I, t], at least G(I amount ave been served, as Note tat n [3], te autors used a defnton n form of g( t nf ( f ( t I G( I +, wc s equvalent to (3-0 except for te case tat f and/or G are not contnuous Neverteless, for purpose of smplcty, we use (3-0 n ts paper Te followng teorem proves tat (3-8 s true wt te servce constrant functon gven n (3-0 Teorem [3]: Gven a task wt workload constrant functon F( I and servce constrant functon G( I, ( ( τ τ d I 0 F I G I Proof: By defnton, for any fxed tme t 0 tme nstant t 0 I t sup nf ( ( + (3-, and τ < d, we ave f ( t > g( t + τ Ten by (3-0, for + τ, tere exsts an 0 I t + τ, suc tat g( t + τ > f ( t + τ I + G( I and n turn f ( t > f ( t + τ I + G( I nce f ( t s non-decreasng, t must be true tat t > t + τ I and ence by (3-6, we get F( I τ > G( I Rewrtng t wt I ' = I τ, we know tat for any fxed tme t 0, and τ < d, F( I ' G( I ' τ Fgure 2: Explanaton of te ervce Constrant Functon > Ten follows nf ( F( I G( I d τ + τ and tus (3- In te followng dscusson, unless oterwse stated, we wll focus on te servce constrant functon defned n (3-0 unless stated oterwse Typcally, te servce constrant functon can be derved based on propertes of te sceduler and workload constrant functons For statc prorty scedulng systems, we ave te followng teorem Teorem 2: For te statc prorty scedulng system, G ( I, a servce constrant functon for task T, s ( G ( I = sup x F ( x (3-2 0 x I = 8

12 Note tat te sup operaton guarantees tat G ( I s non-negatve, and non-decreasng Teorem 2 can be proved based on te defnton of servce constrant functon pecfcally, gven any tme nstant t, one can defne I suc tat tme t I s te last tme nstant before t suc tat a task wt prorty lower tan T s sceduled Ten from te property of statc prorty sceduler, one can prove tat task T wll receve at least sup ( 0 x I x F ( x = For detaled proof, see Appendx B seconds of servces n nterval [t I, t], and tus te teorem Note tat te noton of workload and servce constrant functon defned n (3-6 and (3-0 are not entrely new mlar defntons ave been proposed n te lterature, eg, te burst-ness constrant functon n [7], te arrval curve and servce curves n [2] and [3], te rate controllng functon n [30], and te workload constrant functons n [29], [44], and [45], ust to name a few But, lttle, f any, of ts effect as been explored for scedulablty bound analyss, as we wll do n te next subsecton 32 cedulablty Bound From Teorem, we ave te followng suffcent scedulablty test condton Corollary : A task s scedulable f for any t 0 Proof: Clearly, by Teorem, f (3-3 olds for all t 0, we ave F( t G( t + D (3-3 d D Toug one can use (3-3 for eac task to decde ter sceduablty test, t maybe tme consumng snce te (3-3 need to be cecked for all t 0 In ts paper, we wll take a dfferent approac smlar to te utlzaton bound based test Recall tat for utlzaton bound based scedulablty test, a task set s scedulable wen te utlzaton of te task set s lower tan a pre-derved bound Our goal ere s to develop a smlar bound based test algortm Generally speakng, utlzaton s te resource consumpton rate n a measurng tme wndow For perodc systems, te most effectve measurng wndow s task perod For non-perodc tasks, n [] and [7], te autors proposed to use te relatve deadlne of te task as te lengt of te measurng wndow n order to defne te utlzaton for non-perodc tasks Wle ts coce s smple and convenent for some cases, we fnd tat t s too restrctve to meet our goal: a versatle utlzaton bound analyss system In stead, we propose to defne te lengt of te measurng wndow as a lnear scale of te relatve deadlne Tat s, te measurng wndow can be expressed as θ D, were θ > 0 s called te scalng parameter and D s te relatve deadlne of te task To avod confuson wt te lterature, we refer to ts generalzed utlzaton as te scaled workload rate, and t can be formally expressed as 9

13 n F ( θ D W ( θ, Γ = (3-4 = θ D Wen te context of dscusson s clear, te term scaled may be omtted nce F ( θ D s an upper bound of te sze of obs tat can be released n any tme wndow of lengt θ D, W ( θ, Γ can be treated as an upper bound of te ob releasng rate averaged n a wndow of lengt θ D Introducng θ nto te modelng process parameterzes te utlzaton measurement For example, wen θ =, (3-4 reduces to te defnton provded n [] and [7] Ts parameterzed measurement of utlzaton enables flexble representaton of dfferent scedulng and workload scenaros, and more mportantly, leads to unform analyss system of scedulablty bounds For a gven system, we say W ( θ s scedulablty bound f an arbtrary task set s scedulable wen te followng condton olds: Te callenge s ow to derve W ( θ, Γ < W ( θ (3-5 W ( θ for a broad range of workload patterns and scedulng dscplnes Let te space of all task sets be denoted as Ω, e, Ω = {Γ} Ω can be parttoned nto two subsets, Ω s and Ω ns, were and Ω s = {Γ Γ s scedulable} (3-6 Ω ns = {Γ Γ s not scedulable} (3-7 W ( θ s a lower bound of te workload rate of tese task sets tat belong to Ω ns Tat s ( W θ W ( θ = nf (, Γ (3-8 Γ Ω ns Many prevous studes ave mplctly followed (3-8 to derve scedulablty bounds For example, te mnmzaton process s often aceved by searcng along te boundary between Ω s and Ω ns Instead of tryng to fnd an analytcal representaton of te boundary drectly, wc may be qute callengng task, we wll transform all te tasks n Ω, wt a specal transformaton functon Y(Γ, nto a regon close to te boundary between Ω s and Ω ns and ten perform a mnmzaton n tat regon If te transformaton functon Y(Γ s properly selected, te bound results obtaned on te transformed regon may be very close to te bound obtaned from te exact boundary between Ω s and Ω ns, f not te same Fgure 3 llustrates te concept For example, n [27], [32], [36], [37], and [4], te boundary s defned by te task sets tat fully utlzes te resources 0

14 To guarantee te correctness of te bound result obtaned on te transformed tasks, t s clear tat Y need to satsfes tat for any Γ Ω ns, W ( θ, Γ W ( θ, Y( Γ (3-9 Tat s, te transformaton wll not ncrease te workload rate of any non-scedulable task set Wt (3-9 olds, we ave ( ( W ( θ = nf W ( θ, Γ nf W ( θ, Y( Γ (3-20 Γ Ω ns Note tat (3-9 s only requred for non-scedulable tasks For scedulable tasks, te transformaton functon may ncrease ts workload rate, but t s easy to understand tat ts wll not affect te correctness of (3-20 wc Γ Ω n Now we wll sow ow to construct Y Let nf ( G ( I D / F ( I = + and be te value of at α I > 0 F ( θ D ( α s mnmzed Tat s, for =, 2,, n, θ D Fgure 3: Illustraton of te Transformaton Functon F ( θ D F ( θ D ( α ( α θ D θ D, (3-2 Let { T ', T2 ',, T n '} denote te transformed task set Y ( Γ, F ' te workload constrant functon, and D ' te relatve deadlne for T ', =, 2,, n We construct te functon Y as follows: for =, 2,, n, for all and for and I 0 = and I 0 D ' = D, (3-22 F '( I = F ( I, (3-23

15 F '( I = α F ( I (3-24 Tat s, te functon Y canges te F to α F and keeps te oter F s and D s untouced Now, we wll fnd a lower bound of te scedulablty bound wt te elp of te ust constructed transformaton functon By (3-4, we ave F ( θ D F ( θ D W ( θ, Y ( Γ = + (, (3-25 n α = θ D θ D By Lemma, for any Γ Ω, tere must exst a task T suc tat α < By substtutng α < nto (3-25, we get, for any Γ Ω ns, By substtutng (3-26 nto (3-25, we ave, for any ns F ( θ D ( α 0 (3-26 θ D = Γ Ω ns, n F ( θ D W ( θ, Y( Γ = W ( θ, Γ (3-27 θ D Furtermore, by substtutng (3-27 nto (3-8, we get ( ( W ( θ nf W ( θ, Y( Γ nf W ( θ, Y( Γ (3-28 Γ Ω ns Ten, by substtutng (3-25 nto (3-28, we ave te followng teorem about te workload bound Γ Ω Teorem 3: A lower bound of scedulablty bound for a sceduler wt respect to Ω s gven by were nf ( G ( I D / F ( I α I > 0 F ( θ D F ( θ D W ( θ = nf + mn (, (3-29 = + Proof: ee Appendx C n Γ Ω =, 2,, n α = θ D θ D Note tat Teorem 3 s a general result It olds for any workload constrant functon and any work conservng sceduler By substtutng specfc forms of F ( I and G ( I nto (3-29 and solvng te optmzaton problem, one can obtan te scedulablty bounds for dfferent scedulers, as we wll demonstrate ts n te next secton 2

16 4 cedulablty Bound for Rate Monotonc ceduler In ts secton, scedulablty bounds for RM wll be derved usng te general framework dscussed n ecton 3 We wll frst ntroduce a specal type of workload constrant functon tat s capable of representng a wde range of task workloads Ten we wll derve te servce constrant functons for RM based on Teorem 2 Te detaled types of workload and servce constrant functons wll ten be plugged nto Teorem 3 to obtan a parameterzed, closed-form, scedulablty bound for RM Te closed-form bound result reduces to classcal bounds wen parameters are properly set 4 -aped Workload Constrant Functons Knowng tat workload constrant functons can exst n many dfferent forms and dervng sceduablty bound for arbtrary workload constrant functon may be very callengng, we start wt a specal workload constrant functon, namely te starcase-saped (s-saped workload constrant functon As ts name suggests, an s-saped workload constrant functon conssts of segmented peces, and resembles a starcase Te values of an s-saped workload constrant functon ncrease only at border ponts of segments We assume tat te segment lengt s fxed, and te ncrements may not be dentcal for te frst L segments were L s a parameter n te functon F( I L = 4 C C C 3 C 4 C C I Fgure 4: An example on s-saped workload constrant functon Formally, an s-saped workload constrant functon can be expressed as follows, a C a L = F( I = L C + ( u L C a > L = (4-3

17 were a = " I /! #, C s te ncrement at te begnnng of te t segment, and C s te constant ncrement after te t L segment Fgure 4 sows an example of te s-saped workload constrant functon Wen L =, an s-saped constrant functon reduces to te general real-tme task model, as te one defned n [36] Te s-saped workload constrant functons cover a broad range of tasks and ave analytcal propertes tat facltate te dervaton of workload rate bounds We say tat an s-saped functon F( I s smoot wen $ (4-2 2 L C C C C Tat s, f an s-saped constrant functon s smoot, ten ts ncrements over tme are monotoncally nonncreasng Te smootness property greatly smplfes te scedulablty analyss Any non-smoot s-saped workload constrant functon can be converted nto a smoot one by te followng procedure tep Locate te frst C n te functon suc tat C < C + ; tep 2 Replace bot C and C + wt (C + C + /2; tep 3 Repeat teps and 2 untl no suc C exsts; tep 4 Replace te C s tat are less tan C wt C It can be easly verfed tat te result of te above process wll produce a constrant functon tat s s-saped and stll meets te defnton gven n (3-6 For example, consder te non-smoot s-saped constrant functon n Fgure 4 wt segment lengt = 8, C = 5, C 2 = 5, C 3 =, C 4 = 5, and C = 2 Ts functon can be transformed to a smoot one wt = 8, C = 5, C 2 = 5, C 3 = 3, C 4 = 3, and C = 2 In te rest of ts dscusson, unless oterwse specfed, we only consder smoot s-saped workload constrant functons Example 2: -saped workload constrant functons for multframe tasks As defned n [3], a ( E,,,, E E P 0 multframe task s expressed n te form of ( N separaton tme and te executon tme of te t ob s ( mod N E were P s te mnmum ob For nstance, ((3,, 3 denotes a task wose mnmum ob separaton tme s 3, and ts executon tme alternates between 3 and A multframe task s sad to be Accumulatvely Monotonc (AM [37], f te total executon tme for te frst frames s te largest among all sze frame sequences for all, =, 2, 4

18 Recall tat an s-saped constrant functon s caracterzed by parameters, L, C, ( E,,,, E E P 0 and C Gven a multframe task ( N 2 C,, L C,, we can construct ts correspondng F( I by assgnng te followng parameter values: = P, L =, C = φ, and C = φ φ, = 2, 3,, were φ, =, 2,, s defned as φ = 0,, 2, ( f ( P f ( P = max % (& + & (4-3 It s easy to verfy tat for t 0, I 0, te followng nequalty olds for F( I ust constructed, f ( t + I f ( t F( I, (4-4 and t s a vald workload constrant functon By defnton, wen te multframe task s AM we know tat 0 φ = E and φ = E + E And tus, we ave C E 0 = and C = E Note tat te newly constructed s-saped functon s not necessarly smoot 42 ervce Constrant Functon of RM wt -saped Workload Constrant Functons We say a sceduler s RM for tasks wt s-saped workload constrant functons f task prortes are assgned n descendng order of task szes Tat s task T as a ger prorty tan T f and only f Based ts defnton and Teorem 2, te followng corollary gves te servce constrant functon for RM wt s-saped workload constrant functons Corollary 2: For te RM wt s-saped workload constrant functons, G ( I, a servce constrant functon for task T, s ( G ( I = sup x F 0 ( x x (4-5 I Proof: By Teorem 2 and te RM prorty assgnment rule we ave 43 cedulablty Bound for RM In ts subsecton, we wll derve a closed form scedulablty bound for RM wt s-saped workload constrant functons Frst, we wll derve a lower bound of te scedulablty bound for te specal case of s-saped workload constrant functons based on Teorem 3 Corollary 3: Gven a sceduler and collecton of task set wt s-saped workload constrant functons, a scedulablty bound wt respect to Ω s gven by 5

19 ' ' ' ( ( ( F ( θ D G ( m + D W ( θ = mn mn + mn + + +,,, (4-6 Outlne of proof: Γ Ω =, 2,, n m= 0,, =, 2,, n, θ D θ D + m mn θ D, By comparng (4-6 wt (3-29, we only need to prove mn I > 0 m= 0,, F ( I θ D θ D + m mn θ D, { } { } - - G ( I + D F ( θ D G mn ( m + D / 2 0 / 2 0 (4-7 nce F, =, 2,, n are s-saped functon and G ( I s non decreasng wt I, t can be verfed tat mn G ( I + D 6 F ( θ D 5 G mn ( m + D 6 F ( θ D (4-8 I > 0 m= 0,, F ( I θ D F ( m θ D Ten by te s-saped functon property 9, one can prove 2 L C C C C F ( θ D F ( m θ D θ D + m mn θ D, { } (4-9 By substtutng (4-9 nto (4-8, we ave (4-7 establsed and tus te corollary For complete proof, see Appendx D Now, wt Corollary 3, we wll derve a parameterzed scedulablty bound for RM wt s-saped constrant functons based on two key system parameters, normalzed deadlne and workload varance For task T wt a gven s-saped constrant functon, we defne ts normalzed deadlne, k, as follows: k = D /, (4-0 were D s te relatve deadlne of T and s te segment parameter n te constrant functon k can be vewed as te deadlne usng as te measurement unt, and t caracterzes tgtness of te deadlne requrements Te smaller te k, te more dffcult t s to scedule te task Furtermore, knowng tat s te unt tme nterval to defne te -sape functon, decreasng te value also reduces te dfferences between F and f, wc s one of te man reasons wy te utlzaton s nversely proportonal to te It wll be clear n ecton 5 and 6 tat parameter k plays a crtcal role n scedulablty test Followng te conventon n te lterature [4], [22], [27], [32], [35], [36], [37], [4], [46], and [47], we assume tat all te tasks ave te same value of k Tat s, for =, 2,, n k = k, (4- Recall tat te workload rate W ( θ, Γ s an upper bound of te ob releasng rate averaged n a wndow of fnte lengt θ D nce an s-saped functon allows bust ob releasng n sort wdows, as 6

20 long as te ob releasng rate slows down n longer wndow lengts, usng te workload rate measured n a wndow of lengt θ D for scedulablty bound analyss may over-estmate te actual resource demand of te task, and tus result n under-estmated bounds To overcome ts problem, n our scedulablty bound analyss, we want to take account nto consderaton te varance of te workload rate measured n dfferent wndows We proposed a task parameter, workload eterogenety V ( : for ts purpose, wc s defned as, ; ; ; F ( / V ( = ; ;, (4-2 F (( + F ( were : s a postve nteger Intutvely, V ( : s te rato between te workload rate measured n [0, : ], and te one measured n [ :, ( : + ] as sown n Fgure 5 Clearly, for perodc task, V ( : = F ( F (( + F( = > ( + B ( + 2 A ( + 3 I Fgure 5: Workload Heterogenety Takng one step furter, we defne te eterogenety of a task set as < < < < (, Γ = mn (, (,, ( ( V V V2 V n (4-3 Note tat te workload varance s frst ntroduced n [36] and [37] n te form of case were : = 2 C / C for a specal By substtutng (4-5 nto (4-6, and ten optmze te consequent nequalty for te dfferent parameters, we ave te followng closed-form scedulablty bound for RM wt tasks avng s-saped workload constrant functons Teorem 4: Gven a RM and collecton of tasks wt s-saped workload constrant functons, a scedulablty bound wt θ = s gven by 7

21 W ( C D D D E E E F G n η D E G η + H H mn G, G n G I k J H+ k H H F I k ; k I I η J J J = KF D E D E F G G kη + H H n Fnkη G I J H k = 2, 3, L I kη J (4-4 were η = V(M kn, Γ Proof: ee Appendx E (4-4 forms a tree dmensonal desgn space caracterzed by k, η and n It s compatble wt exstng known results for fxed-prorty systems, and represents a muc broader range of real-tme systems To make a sde-by-sde performance comparson between (4-4 and prevously known bounds, we set θ to, and derve te relatonsp between workload rate and te classcal utlzaton as follows OQ PR F ( kp k W (, Γ = = C (4-5 n n = = kp k P U V Te rgt and sde of (4-5 s obtaned by te dentty of F ( kp = kp / P T C, accordng to (4- For te eterogenety functon, we set te measurng wndow W = M kn, because ts settng s te same as te measurng wndow of workload rate and can smplfy te dervaton of te bound 5 Performance Evaluaton and Comparson 5 Analyss of te RM cedulablty Bounds Fgure 6: cedulablty Bounds of RM 8

22 Fgure 7: Comparson of New cedulablty Bounds wt Prevous Results On te bass of te results developed n ecton 4, we evaluate te system performance n ts secton, usng te scedulablty bound as te prmary performance measure Te followng factors affect te scedulablty bound: Te normalzed deadlne, k Wen normalzed deadlnes of tasks become tgter, te expected scedulablty bound decreases Te eterogenety of a task set, η Ts parameter gauges ftness of te workload constrant functon n capturng te spread of ob szes It gves one te ablty to mprove resource allocaton wtout requrng usng te worst case ob sze n te perodc model Te system performance s expected to mprove wt ncrease of X value Te senstvty of te scedulablty bound wt respect to two key factors, k and Y s analyzed, and te results are plotted n Fgure 6 Te 3-D graps of scedulablty bounds vs te two parameters are examned for a tousand tasks, or n =,000 For ease of comparson wt exstng results, we converted te workload rate to te classcal utlzaton based on (4-5, and we vared k from 0-4 to 0 4 and Y from to 0 2 Te followng observatons can be made: As expected, te tgter te deadlnes, te lower te scedulablty bounds Te senstvty s especally sgnfcant wen k s small (e, less tan 0 For example, n Fgure 6, wen k canges from 0 - to 0, te scedulablty bound ncreases from 0% to 953% Te senstvty becomes less sgnfcant for large k values In Fgure 6, wen k canges from 0 to,000, te scedulablty bound ncreases from 953% to 999%, only a 46% gan 9

23 2 Large eterogenety leads to mproved scedulablty bounds Te senstvty s ger wen X s small, (e, 0, and becomes lower for larger Y values For example, n Fgure 6, k =, wen X canges from to 0, te scedulablty bound ncreases from 693% to 953% Wen X canges from 0 to 00, te scedulablty bound ncreases from 953% to 995%, a merely 42% gan 52 Parametrc Fttng of Exstng Utlzaton Bounds for RM systems Teorem 4 gves te scedulablty bounds for a wde range of systems based on tree parameters normalzed deadlne, eterogenety of task set, and degree of deadlne nversons n a tree dmensonal space It s muc more general tan results reported n [22], [27], [32], [36], and [37] tat are merely one pont and tree curves n te 3-D grap on a surface constructed from our utlzaton bound n Fgure 7 In ts subsecton, we llustrate ow to reduce Teorem 4 nto tose prevous studes Except for te slgt dfference between (6-8 and (6-9, we matc all oter results mentoned above Frst, we consder te classcal rate monotonc sceduler wt perodc tasks, wose deadlnes are equal to ter perods In [32], Lu and Layland derved a scedulablty bound as follows: U Z [ \ ] n = n ^ 2 _ (5- Now, we re-derve (5- by usng Teorem 4 Note tat by (4-5, te workload rate reduces to te classcal defnton of utlzaton n ts case nce ts s a perodc system, by (4-2 and (4-3, we ave X = V(, Γ = Because te relatve deadlne s equal to te lengt of perod, we ave k = ubsttutng X = and k = nto (4-4, we ave ` a b c U = W ( = n d 2 n e (5-2 As n approaces nfnty, U and W wll approxmately become 693% Ts s represented by one sngle pont n Fgure 7 wc s supermposed on te Fgure 6 to glgt te matc econd, we analyze te perodc system n wc task s deadlnes are sorter tan perods, and tasks are sceduled by a rate monotonc sceduler In [27] and [4], Leoczky, a, Peng, and n derved an utlzaton bound 20

24 U f g k k 2 = g k m n n l on (2 k + k < k 2 (5-3 We now re-derve (5-3 usng Teorem 4 By (4-2 and (4-3, we ave p = Because te relatve deadlnes are less tan te perod lengts, we know tat k < ubsttutng p = nto (4-4, we get q r k 2 u W ( = r sv x xs v t n y w ty w z n (2 k + k 2 < k k (5-4 However, by (4-5, n ts case te workload rate and te classcal utlzaton ave te relatonsp U W ( = (5-5 k Tus, by substtutng (5-5 nto (5-4 and rearrangng t, we ave U { k k 2 = kw ( = } ~ n ƒ n (2 k + k < k 2 (5-6 Ts s exactly te same as (5-3 We llustrate ts result by a curve n te 3-D grap n Fgure 7 Trd, we analyze te perodc system n wc task deadlnes are multples of perods and tasks are sceduled by a rate monotonc sceduler In [22], Leoczky obtaned an utlzaton bound for k = 2, 3, ˆ + U = k( n ( Š (5-7 k n k Note tat by (4-5, te workload rate n ts case reduces to te classcal utlzaton We wll re-derve (5-7 troug Teorem 4 nce ts s a perodc system, we ave p = Because te relatve deadlne s a multple of perod, we ave k a postve nteger larger tan By substtutng p = nto (4-4, we get Œ Ž + U = W ( = kn ( (5-8 k n k 2

25 Note tat (5-8 s not as tgt as (5-7 (n vs n - Ts s due to te fact tat Teorem 4 s obtaned for general s-saped functons However, te exact bound of (5-7 can be easly obtaned wt our general metod ee Appendx F for ts dervaton In Fgure 7, a curve llustrates ts matc of results Fourt, we analyze te AM multframe system n wc task s deadlnes are equal to perods and tasks are sceduled by a rate monotonc sceduler In [36] and [37], Mok and Cen obtaned an utlzaton bound as follows + U = rn (, (5-9 r n r were r = E E, and 0 mn =,, n{ / } E = C, 2 E = C, are te sze of te frst and 2 second obs as descrbed n Example 2 By (4-5, te workload rate s te same as te utlzaton defned n [36] and [37] Now we re-derve (5-9 from Teorem 4 nce ts s a multframe system, by (4-3, (4-2, and Example 2, we ave p = V(, Γ = mn { C / C } = mn { E / E } = r Because relatve deadlnes are equal to 2 0 =,, n =,, n perods, we ave k = ubsttutng λ =, p = r, and k = nto (4-4, we get š + W ( = rn ( œ, (5-0 r n r wc s exactly te same as (5-9 Agan, ts matc s drawn on Fgure 7 6 Extensons 6 Harmonc Can Tasks In [6], te autors proved tat te utlzaton bound for perodc task mproves wen te perods of tasks are dvsble Ts observaton s applcable to Teorem 4 as stated next Corollary 4: Gven RM and a task set Γ wt s-saped workload constrant functons, Γ s scedulable f W ž ž ž Ÿ Ÿ Ÿ λ η + k k mn, η n' ( + k λ; k η λ λ = ž Ÿ λ k kη + λ n' ηn' ( k = λ, and s a postve nteger λ kη ž Ÿ n' were n s te number tasks wt non-dvdable segment lengts Proof: ee Appendx G (6-22

26 62 Arbtrary tatc Prorty cedulers In ts secton, we extend Teorem 4 for arbtrary statc prorty scedulers To model arbtrary statc prorty scedulers, we wll ntroduce a new parameter, λ, te degree of deadlne nverson for task T, as follows, to ( D max =, 2,, λ = (6-2 D Note tat λ Wen λ =, deadlnes of tasks wt prorty ger tan T are less tan or equal D Hence, no deadlne nverson occurs to T Wen λ >, deadlne nverson occurs to task T Takng one step furter, we let λ denote te degree of deadlne nverson for te wole task set ( λ = λ λ λ (6-3 max, 2,, n Wen λ =, te sceduler becomes deadlne monotonc Furtermore, wen λ = and D = P te sceduler becomes rate monotonc Corollary 5: For an arbtrary statc prorty sceduler wt s-saped workload constrant functons, G ( I, a servce constrant functon for task T, s ( G ( I = max x F ( x (6-4 0 x I λ Proof: Corollary 5 s stragtforward snce te prortes of tasks are assgned based on te lengts of task segments By substtutng Corollary 5 nto Teorem 3 and mnmzng te subsequent nequalty, we ave te followng results on te scedulablty bound of arbtrary statc prorty sceduler and tasks wt s-saped workload constrant functons Teorem 5: Gven a statc prorty sceduler and tasks wt s-saped workload constrant functons,, a scedulablty bound s gven by W «λ ««η + k k ª mn, η n ( + k λ; «k η λ λ = ª λ ª k «kη + λ n ηn ( k = λ, and s a postve nteger λ kη n Proof: ee Appendx H (6-5 23

27 63 Non-preemptve ystems In a non-preemptve system, a g prorty task T can be blocked by a lower prorty task T, >, for a lengt of J max, te maxmum ob sze of T Tus, ts non-preempton effect wll lead to a prorty nverson for te lengt of J max Durng ts nterval, te system acts as f T as a ger prorty tan T In te worst case, te system n ts nterval s operatng n a mode wt λ λ =, 2,, n D =, 2,, n D = = max { }/ mn { } By substtutng ts nto Teorem 5, we easly obtan te scedulablty bound for non-preempton case Corollary 6: Gven a non-preemptve statc prorty sceduler and a task set Γ wt s-saped workload constrant functons, Γ s scedulable f W ± ² ² ² ³ ³ ³ µ λ µ µ η + k k n' mn, η n' ( + k λ ; ² ³ µ k η λ λ = ¹ ² ³ λ k µ kη + λ n' º ηn' ( k = λ, and s a postve nteger λ kη (6-6 were = max { D }/ mn { D } and n s te number tasks wt non-dvdable segment λ =, 2,, n =, 2,, n lengts Proof: ee Appendx I 7 Fnal Remarks Dervng te utlzaton bound s an mportant, but callengng, task for sound desgn of real-tme computng systems Most bounds reported n earler work were obtaned by searcng along te boundary between te spaces of scedulable and non-scedulable task sets Ts approac s urdled by te dffculty of fndng an effectve analytcal representaton of te boundary To overcome ts callenge, n ts paper we follow te network calculus framework to derve a general scedulablty bound by solvng a mnmzaton problem over te entre task set populaton Our approac greatly enances te applcablty of utlzaton-based scedulablty testng to a wde range of task models and scedulers In partcular, we ave derved closed-form formulae for scedulablty bound of rate-monotonc, and non-rate monotonc scedulng systems Te bounds are parameterzed for dfferent prorty assgnments and for varous workload patterns We sow tat our general scedulablty bounds reduce to te utlzaton bounds derved n [26], [27], [32], [36], [37], and [4] by smple fttng of proper parameters Te senstvty of system performance, e, scedulablty 24

28 bounds, can be easly caracterzed wt respect to normalzed deadlne, eterogenety of ob szes, and te degree of deadlne nverson An nterestng tradeoff relatonsp between te tgtness of deadlne and te degree of deadlne nverson s explctly defned n te closed-form formulae Te work reported n ts paper can be extended n many dfferent ways Ts paper focuses on an nfnte number of task sets and derves te worst-case scedulablty bound In practcal systems, t s common tat te task collecton may be fnte and some of te parameters are know beforeand For example, te lengt of te segments can be only cosen from a fnte set {, 2, 3,, m } In tese cases, te scedulablty bound can be furter mproved wt lnear programmng metods [6], [25], and [39] In [22], te autors proposed an algortm to transform te task perods to armonc sets and ten measure te scedulablty by testng weter te transformed utlzaton s less tan Te same concept can also be appled to our system model to furter mprove utlzaton bound result Te scedulablty analyss and consequent dervaton of scedulablty bounds can also be extended to parallel and dstrbuted systems A task n suc systems may be processed by several nodes, were proper modelng of nter-node traffc s a must Te work can also be extended to applcatons n wc statstcal guarantees are preferred In tat case, we may ave to consder randomzed workload constrant functons and derve scedulablty bounds tat guarantee te deadlnes of tasks wt a predefned probablty 25

29 References [] T Abdelzaer and C Lu, cedulablty analyss and utlzaton bounds for gly scalable realtme servces, n Proc 7t Real-Tme Tecnology and Applcatons ymposum, Tape, Tawan, 200, pp 5-25 [2] T Abdelzaer and V arma, A syntetc utlzaton bound for aperodc tasks wt resource requrements, n Proc 5t Euromcro Conference on Real-Tme ystems, 2003, pp 4-50 [3] T Abdelzaer, V arma, and C Lu, A utlzaton bound for aperodc tasks and prorty drven scedulng, IEEE Trans Computers, vol 53, no 3, pp , Mar 2004 [4] G Agrawal, B Cen, W Zao, and Davar, Guaranteeng syncronous message deadlnes wt te tmed token protocol, IEEE Trans Computers, vol 43, no 3, pp , Mar 994 [5] R Agrawal, R L Cruz, C Okno, and R Raan, A framework for adaptve servce guarantees, n Proc 36t Allerton Conference on Communcaton, Control, and Computaton, Montcello, IL, ep 998, pp [6] R Agrawal, R L Cruz, C Okno, and R Raan, Performance bounds for flow control protocols, IEEE/ACM Trans Networkng, vol 7, no 3, pp , Jun 999 [7] B Andersson, tatc-prorty scedulng on multprocessors, PD dssertaton, Dept Computer Engneerng, Calmers Unv of Tecnology, Göteborg, weden, 2003 [8] B Andersson, Barua, and J Jonsson, tatc-prorty scedulng on multprocessors, n Proc 22nd IEEE Real-Tme ystems ymposum, London, England, 200, pp [9] B Andersson and J Jonsson, Fxed-prorty preemptve multprocessor scedulng: to partton or not to partton, n Proc 7t Int Conf Real-Tme Computng ystems and Applcatons, Ceu Island, out Korea, 2000, pp [0] T P Baker, Multprocessor EDF and deadlne monotonc scedulablty analyss, n Proc 24t IEEE Int Real-Tme ystems ymposum, Cancun, Mexco, 2003, pp [] E Bn, G C Buttazzo, and G Buttazzo, Rate monotonc analyss: te yperbolc bound, IEEE Trans Computers, vol 52, no 7, pp , Jul 2003 [2] J Y Le Boudec, Applcaton of network calculus to guaranteed servce networks, IEEE Trans Inform Teory, vol44, no 3, pp , May 998 [3] J Y Le Boudec and P Tran, Network Calculus, a Teory of Determnstc Queung ystems for te Internet, New York: prnger-verlag, 200 [4] Cang, On determnstc traffc regulaton and servce guarantee: a systematc approac by flterng, IEEE Trans Inform Teory, vol 44, pp , Aug 998 [5] Cang, Performance Guarantees n Communcaton Networks, New York: prnger-verlag, 2000 [6] D Cen, A K Mok, and T-W Kuo, Utlzaton bound revsted, IEEE Trans Computers, vol 52, no 3, pp 35-36, Mar 2003 [7] R L Cruz, A calculus for network delay, part I: network elements n solaton, IEEE Trans Inform Teory, vol 37, no, pp 4 3, Jan 99 [8] R L Cruz, A calculus for network delay, part II: network analyss, IEEE Trans Inform Teory, vol 37, no, pp 32 4, Jan 99 [9] R L Cruz, Qualty of servce guarantees n vrtual crcut swtced networks, IEEE J elected Areas n Communcatons, vol 3, no 6, pp , Aug 995 [20] R L Cruz, CED+: Effcent management of qualty of servce guarantees, n Proc IEEE INFOCOM, an Francsco, CA, 998, pp [2] Funk, J Goossens, and Barua, On-lne scedulng on unform multprocessors, n Proc IEEE Real-Tme ystems ymposum, Wasngton, DC, 200, pp

30 [22] C-C Han and H-Y Tyan, A better polynomal-pme scedulablty test for real-tme fxedprorty scedulng algortm, n 8t IEEE Real-Tme ystems ymposum, an Francsco, CA, 997, pp [23] T-W Kuo and A K Mok, "Load Adustment n Adaptve Real-Tme ystems," n Proc Real- Tme ystems ymposum, an Antono, Texas, 99, pp 60-7 [24] Lauzac, R Melem, and D Mossé, "An Improved Rate-Monotonc Admsson Control and Its Applcatons," IEEE Trans on Computers, vol 52, no 3, pp , Mar 2003 [25] C-G Lee, L a, and A Pedd, "Enanced utlzaton bounds for Qo management," IEEE Trans Computers, vol 53, no 2, pp , Feb 2004 [26] J P Leoczky, Fxed prorty scedulng of perodc task sets wt arbtrary deadlnes, n Proc t IEEE Real Tme ystems ymposum, Pscataway, NJ, 990, pp [27] J P Leoczky and L a, Performance of real-tme bus scedulng algortms, ACM IGMETRIC Performance Evaluaton Revew, vol 4, no, May 986, pp [28] J Leung and J Wteead, On te complexty of fxed-prorty scedulng of perodc real-tme tasks, Performance Evaluaton, vol 2, no 4, pp , Dec 982 [29] C L, R Bettat, and W Zao, New delay analyss n g speed networks, n Proc Int Conf Parallel Processng, Wakamatsu, Japan, 999, pp [30] J Lebeerr, A Burcard,Y O, and H on, New strateges for assgnng real-tme tasks to multprocessor systems, IEEE Trans Computers, vol 44, no 2, pp , Dec 995 [3] J Lebeerr, D E Wrege, and D Ferrar, Exact admsson control for networks wt a bounded delay servce, IEEE/ACM Trans Networkng, vol 4, no 6, pp , New York, NY, 996 [32] C L Lu and J W Layland, cedulng algortms for multprogrammng n a ard-real-tme envronment, J ACM, vol 20, no, pp 46 6, Jan 973 [33] J W Lu, Real-Tme ystems, Prentce-Hall, 2000 [34] L Lundberg and H Lennerstad, Global multprocessor scedulng of aperodc tasks usng tmendependent prortes, n Proc 9t IEEE Real-Tme and Embedded Tecnology and Applcatons ymposum, Toronto, Canada, 2003, pp [35] N Malcolm and WZao, Guaranteeng syncronous messages wt arbtrary deadlne constrants n an FDDI network, n Proc IEEE Conf Local Computer Networks, New York, NY, 993, pp [36] A K Mok and D Cen, A general model for real-tme tasks, Dept Computer cences, Unv Texas at Austn, Tecncal Report TR Oct, 996 [37] A K Mok and D Cen, A multframe model for real-tme tasks, IEEE Trans oftware Engneerng, pp , vol23, no0, Oct 997 [38] D O and T P Bakker, Utlzaton bounds for n-processor rate monotone scedulng wt statc processor assgnment, Real Tme ystems J, vol 5, no, pp 83-93, Nov 998 [39] D-W Park, Nataraan, A Kanevsky, and M J Km, A generalzed utlzaton bound test for fxed-prorty real-tme scedulng," n Proc 2nd Internatonal Worksop on Real-Tme Computng ystems and Applcatons, Tokyo, Japan, 995, pp [40] A Parek and R G Gallager, A generalzed processor sarng approac to flow control n ntegrated servces networks: te sngle node case, IEEE/ACM Trans Networkng, vol, no 3, pp , Jun 993 [4] D-T Peng and KG n, A new performance measure for scedulng ndependent real-tme tasks, J Parallel Dstrbutng Computng, vol 9, no 2, pp 6, ep 993 [42] H arowan, A servce curve approac to performance guarantees n ntegrated servce networks, PD dssertaton, Dept Electrcal and Computer Engneerng, Unv Calforna, an Dego,

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

Stanford University CS254: Computational Complexity Notes 7 Luca Trevisan January 29, Notes for Lecture 7

Stanford University CS254: Computational Complexity Notes 7 Luca Trevisan January 29, Notes for Lecture 7 Stanford Unversty CS54: Computatonal Complexty Notes 7 Luca Trevsan January 9, 014 Notes for Lecture 7 1 Approxmate Countng wt an N oracle We complete te proof of te followng result: Teorem 1 For every

More information

Energy-Aware Fault Tolerance in Fixed-Priority Real-Time Embedded Systems*

Energy-Aware Fault Tolerance in Fixed-Priority Real-Time Embedded Systems* Energy-Aware Fault Tolerance n Fxed-Prorty Real-Tme Embedded Systems Yng Zang, Krsnendu Cakrabarty and Vsnu Swamnatan Department of Electrcal & Computer Engneerng Duke Unversty, Duram, NC 778, USA Abstract

More information

COMP4630: λ-calculus

COMP4630: λ-calculus COMP4630: λ-calculus 4. Standardsaton Mcael Norrs Mcael.Norrs@ncta.com.au Canberra Researc Lab., NICTA Semester 2, 2015 Last Tme Confluence Te property tat dvergent evaluatons can rejon one anoter Proof

More information

Multivariate Ratio Estimator of the Population Total under Stratified Random Sampling

Multivariate Ratio Estimator of the Population Total under Stratified Random Sampling Open Journal of Statstcs, 0,, 300-304 ttp://dx.do.org/0.436/ojs.0.3036 Publsed Onlne July 0 (ttp://www.scrp.org/journal/ojs) Multvarate Rato Estmator of te Populaton Total under Stratfed Random Samplng

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

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

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

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

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

Kernel Methods and SVMs Extension

Kernel Methods and SVMs Extension Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general

More information

Uncertainty in measurements of power and energy on power networks

Uncertainty in measurements of power and energy on power networks Uncertanty n measurements of power and energy on power networks E. Manov, N. Kolev Department of Measurement and Instrumentaton, Techncal Unversty Sofa, bul. Klment Ohrdsk No8, bl., 000 Sofa, Bulgara Tel./fax:

More information

The Finite Element Method: A Short Introduction

The Finite Element Method: A Short Introduction Te Fnte Element Metod: A Sort ntroducton Wat s FEM? Te Fnte Element Metod (FEM) ntroduced by engneers n late 50 s and 60 s s a numercal tecnque for solvng problems wc are descrbed by Ordnary Dfferental

More information

TR/95 February Splines G. H. BEHFOROOZ* & N. PAPAMICHAEL

TR/95 February Splines G. H. BEHFOROOZ* & N. PAPAMICHAEL TR/9 February 980 End Condtons for Interpolatory Quntc Splnes by G. H. BEHFOROOZ* & N. PAPAMICHAEL *Present address: Dept of Matematcs Unversty of Tabrz Tabrz Iran. W9609 A B S T R A C T Accurate end condtons

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

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

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

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

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

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

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

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

5 The Laplace Equation in a convex polygon

5 The Laplace Equation in a convex polygon 5 Te Laplace Equaton n a convex polygon Te most mportant ellptc PDEs are te Laplace, te modfed Helmoltz and te Helmoltz equatons. Te Laplace equaton s u xx + u yy =. (5.) Te real and magnary parts of an

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

Numerical Simulation of One-Dimensional Wave Equation by Non-Polynomial Quintic Spline

Numerical Simulation of One-Dimensional Wave Equation by Non-Polynomial Quintic Spline IOSR Journal of Matematcs (IOSR-JM) e-issn: 78-578, p-issn: 319-765X. Volume 14, Issue 6 Ver. I (Nov - Dec 018), PP 6-30 www.osrournals.org Numercal Smulaton of One-Dmensonal Wave Equaton by Non-Polynomal

More information

Shuai Dong. Isaac Newton. Gottfried Leibniz

Shuai Dong. Isaac Newton. Gottfried Leibniz Computatonal pyscs Sua Dong Isaac Newton Gottred Lebnz Numercal calculus poston dervatve ntegral v velocty dervatve ntegral a acceleraton Numercal calculus Numercal derentaton Numercal ntegraton Roots

More information

Solution for singularly perturbed problems via cubic spline in tension

Solution for singularly perturbed problems via cubic spline in tension ISSN 76-769 England UK Journal of Informaton and Computng Scence Vol. No. 06 pp.6-69 Soluton for sngularly perturbed problems va cubc splne n tenson K. Aruna A. S. V. Rav Kant Flud Dynamcs Dvson Scool

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

More metrics on cartesian products

More metrics on cartesian products More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of

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

Problem Set 4: Sketch of Solutions

Problem Set 4: Sketch of Solutions Problem Set 4: Sketc of Solutons Informaton Economcs (Ec 55) George Georgads Due n class or by e-mal to quel@bu.edu at :30, Monday, December 8 Problem. Screenng A monopolst can produce a good n dfferent

More information

Economics 130. Lecture 4 Simple Linear Regression Continued

Economics 130. Lecture 4 Simple Linear Regression Continued Economcs 130 Lecture 4 Contnued Readngs for Week 4 Text, Chapter and 3. We contnue wth addressng our second ssue + add n how we evaluate these relatonshps: Where do we get data to do ths analyss? How do

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

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

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

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

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 - 2. Distribution System Power Flow Analysis

Chapter - 2. Distribution System Power Flow Analysis Chapter - 2 Dstrbuton System Power Flow Analyss CHAPTER - 2 Radal Dstrbuton System Load Flow 2.1 Introducton Load flow s an mportant tool [66] for analyzng electrcal power system network performance. Load

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

x = , so that calculated

x = , so that calculated Stat 4, secton Sngle Factor ANOVA notes by Tm Plachowsk n chapter 8 we conducted hypothess tests n whch we compared a sngle sample s mean or proporton to some hypotheszed value Chapter 9 expanded ths to

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

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

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

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

Linear discriminants. Nuno Vasconcelos ECE Department, UCSD

Linear discriminants. Nuno Vasconcelos ECE Department, UCSD Lnear dscrmnants Nuno Vasconcelos ECE Department UCSD Classfcaton a classfcaton problem as to tpes of varables e.g. X - vector of observatons features n te orld Y - state class of te orld X R 2 fever blood

More information

Optimal Slack-Driven Block Shaping Algorithm in Fixed-Outline Floorplanning

Optimal Slack-Driven Block Shaping Algorithm in Fixed-Outline Floorplanning Optmal Slack-Drven Block Sapng Algortm n Fxed-Outlne Floorplannng Jackey Z. Yan Placement Tec. Group Cadence Desgn Systems San Jose, CA 95134, U.S.A. Crs Cu Department of ECE Iowa State Unversty Ames,

More information

The Order Relation and Trace Inequalities for. Hermitian Operators

The Order Relation and Trace Inequalities for. Hermitian Operators Internatonal Mathematcal Forum, Vol 3, 08, no, 507-57 HIKARI Ltd, wwwm-hkarcom https://doorg/0988/mf088055 The Order Relaton and Trace Inequaltes for Hermtan Operators Y Huang School of Informaton Scence

More information

VQ widely used in coding speech, image, and video

VQ widely used in coding speech, image, and video at Scalar quantzers are specal cases of vector quantzers (VQ): they are constraned to look at one sample at a tme (memoryless) VQ does not have such constrant better RD perfomance expected Source codng

More information

Physics 5153 Classical Mechanics. Principle of Virtual Work-1

Physics 5153 Classical Mechanics. Principle of Virtual Work-1 P. Guterrez 1 Introducton Physcs 5153 Classcal Mechancs Prncple of Vrtual Work The frst varatonal prncple we encounter n mechancs s the prncple of vrtual work. It establshes the equlbrum condton of a mechancal

More information

CIS526: Machine Learning Lecture 3 (Sept 16, 2003) Linear Regression. Preparation help: Xiaoying Huang. x 1 θ 1 output... θ M x M

CIS526: Machine Learning Lecture 3 (Sept 16, 2003) Linear Regression. Preparation help: Xiaoying Huang. x 1 θ 1 output... θ M x M CIS56: achne Learnng Lecture 3 (Sept 6, 003) Preparaton help: Xaoyng Huang Lnear Regresson Lnear regresson can be represented by a functonal form: f(; θ) = θ 0 0 +θ + + θ = θ = 0 ote: 0 s a dummy attrbute

More information

Physics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1

Physics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1 P. Guterrez Physcs 5153 Classcal Mechancs D Alembert s Prncple and The Lagrangan 1 Introducton The prncple of vrtual work provdes a method of solvng problems of statc equlbrum wthout havng to consder the

More information

Image classification. Given the bag-of-features representations of images from different classes, how do we learn a model for distinguishing i them?

Image classification. Given the bag-of-features representations of images from different classes, how do we learn a model for distinguishing i them? Image classfcaton Gven te bag-of-features representatons of mages from dfferent classes ow do we learn a model for dstngusng tem? Classfers Learn a decson rule assgnng bag-offeatures representatons of

More information

Statistics for Economics & Business

Statistics for Economics & Business Statstcs for Economcs & Busness Smple Lnear Regresson Learnng Objectves In ths chapter, you learn: How to use regresson analyss to predct the value of a dependent varable based on an ndependent varable

More information

Case A. P k = Ni ( 2L i k 1 ) + (# big cells) 10d 2 P k.

Case A. P k = Ni ( 2L i k 1 ) + (# big cells) 10d 2 P k. THE CELLULAR METHOD In ths lecture, we ntroduce the cellular method as an approach to ncdence geometry theorems lke the Szemeréd-Trotter theorem. The method was ntroduced n the paper Combnatoral complexty

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

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

Multigrid Methods and Applications in CFD

Multigrid Methods and Applications in CFD Multgrd Metods and Applcatons n CFD Mcael Wurst 0 May 009 Contents Introducton Typcal desgn of CFD solvers 3 Basc metods and ter propertes for solvng lnear systems of equatons 4 Geometrc Multgrd 3 5 Algebrac

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

Direct Methods for Solving Macromolecular Structures Ed. by S. Fortier Kluwer Academic Publishes, The Netherlands, 1998, pp

Direct Methods for Solving Macromolecular Structures Ed. by S. Fortier Kluwer Academic Publishes, The Netherlands, 1998, pp Drect Metods for Solvng Macromolecular Structures Ed. by S. Forter Kluwer Academc Publses, Te Neterlands, 998, pp. 79-85. SAYRE EQUATION, TANGENT FORMULA AND SAYTAN FAN HAI-FU Insttute of Pyscs, Cnese

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

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

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

4DVAR, according to the name, is a four-dimensional variational method.

4DVAR, according to the name, is a four-dimensional variational method. 4D-Varatonal Data Assmlaton (4D-Var) 4DVAR, accordng to the name, s a four-dmensonal varatonal method. 4D-Var s actually a drect generalzaton of 3D-Var to handle observatons that are dstrbuted n tme. The

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

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

Lecture 10 Support Vector Machines II

Lecture 10 Support Vector Machines II Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed

More information

Workshop: Approximating energies and wave functions Quantum aspects of physical chemistry

Workshop: Approximating energies and wave functions Quantum aspects of physical chemistry Workshop: Approxmatng energes and wave functons Quantum aspects of physcal chemstry http://quantum.bu.edu/pltl/6/6.pdf Last updated Thursday, November 7, 25 7:9:5-5: Copyrght 25 Dan Dll (dan@bu.edu) Department

More information

Chapter 13: Multiple Regression

Chapter 13: Multiple Regression Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to

More information

The strict priority scheduler

The strict priority scheduler 6. SP and GPS schedulers Pag. The strct prorty scheduler The strct prorty scheduler s very smple and effcent In the followng, we wll carry out the analyss of ths scheduler to determne the formulas for

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

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

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

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 CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens THE CHINESE REMAINDER THEOREM KEITH CONRAD We should thank the Chnese for ther wonderful remander theorem. Glenn Stevens 1. Introducton The Chnese remander theorem says we can unquely solve any par of

More information

On Pfaff s solution of the Pfaff problem

On Pfaff s solution of the Pfaff problem Zur Pfaff scen Lösung des Pfaff scen Probles Mat. Ann. 7 (880) 53-530. On Pfaff s soluton of te Pfaff proble By A. MAYER n Lepzg Translated by D. H. Delpenc Te way tat Pfaff adopted for te ntegraton of

More information

COS 521: Advanced Algorithms Game Theory and Linear Programming

COS 521: Advanced Algorithms Game Theory and Linear Programming COS 521: Advanced Algorthms Game Theory and Lnear Programmng Moses Charkar February 27, 2013 In these notes, we ntroduce some basc concepts n game theory and lnear programmng (LP). We show a connecton

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

Solving Singularly Perturbed Differential Difference Equations via Fitted Method

Solving Singularly Perturbed Differential Difference Equations via Fitted Method Avalable at ttp://pvamu.edu/aam Appl. Appl. Mat. ISSN: 193-9466 Vol. 8, Issue 1 (June 013), pp. 318-33 Applcatons and Appled Matematcs: An Internatonal Journal (AAM) Solvng Sngularly Perturbed Dfferental

More information

P R. Lecture 4. Theory and Applications of Pattern Recognition. Dept. of Electrical and Computer Engineering /

P R. Lecture 4. Theory and Applications of Pattern Recognition. Dept. of Electrical and Computer Engineering / Theory and Applcatons of Pattern Recognton 003, Rob Polkar, Rowan Unversty, Glassboro, NJ Lecture 4 Bayes Classfcaton Rule Dept. of Electrcal and Computer Engneerng 0909.40.0 / 0909.504.04 Theory & Applcatons

More information

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U) Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of

More information

Estimation: Part 2. Chapter GREG estimation

Estimation: Part 2. Chapter GREG estimation Chapter 9 Estmaton: Part 2 9. GREG estmaton In Chapter 8, we have seen that the regresson estmator s an effcent estmator when there s a lnear relatonshp between y and x. In ths chapter, we generalzed the

More information

An Interactive Optimisation Tool for Allocation Problems

An Interactive Optimisation Tool for Allocation Problems An Interactve Optmsaton ool for Allocaton Problems Fredr Bonäs, Joam Westerlund and apo Westerlund Process Desgn Laboratory, Faculty of echnology, Åbo Aadem Unversty, uru 20500, Fnland hs paper presents

More information

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4) I. Classcal Assumptons Econ7 Appled Econometrcs Topc 3: Classcal Model (Studenmund, Chapter 4) We have defned OLS and studed some algebrac propertes of OLS. In ths topc we wll study statstcal propertes

More information

ACTM State Calculus Competition Saturday April 30, 2011

ACTM State Calculus Competition Saturday April 30, 2011 ACTM State Calculus Competton Saturday Aprl 30, 2011 ACTM State Calculus Competton Sprng 2011 Page 1 Instructons: For questons 1 through 25, mark the best answer choce on the answer sheet provde Afterward

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

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

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

A LINEAR PROGRAM TO COMPARE MULTIPLE GROSS CREDIT LOSS FORECASTS. Dr. Derald E. Wentzien, Wesley College, (302) ,

A LINEAR PROGRAM TO COMPARE MULTIPLE GROSS CREDIT LOSS FORECASTS. Dr. Derald E. Wentzien, Wesley College, (302) , A LINEAR PROGRAM TO COMPARE MULTIPLE GROSS CREDIT LOSS FORECASTS Dr. Derald E. Wentzen, Wesley College, (302) 736-2574, wentzde@wesley.edu ABSTRACT A lnear programmng model s developed and used to compare

More information

PubH 7405: REGRESSION ANALYSIS. SLR: INFERENCES, Part II

PubH 7405: REGRESSION ANALYSIS. SLR: INFERENCES, Part II PubH 7405: REGRESSION ANALSIS SLR: INFERENCES, Part II We cover te topc of nference n two sessons; te frst sesson focused on nferences concernng te slope and te ntercept; ts s a contnuaton on estmatng

More information

A SINR Improvement Algorithm for D2D Communication Underlaying Cellular Networks

A SINR Improvement Algorithm for D2D Communication Underlaying Cellular Networks Advanced Scence and Tecnology Letters Vol.3 (CST 06), pp.78-83 ttp://dx.do.org/0.457/astl.06.3.34 A SINR Improvement Algortm for DD Communcaton Underlayng Cellular Networks Ceng uan, Youua Fu,, Jn Wang

More information

Note 10. Modeling and Simulation of Dynamic Systems

Note 10. Modeling and Simulation of Dynamic Systems Lecture Notes of ME 475: Introducton to Mechatroncs Note 0 Modelng and Smulaton of Dynamc Systems Department of Mechancal Engneerng, Unversty Of Saskatchewan, 57 Campus Drve, Saskatoon, SK S7N 5A9, Canada

More information

The finite element method explicit scheme for a solution of one problem of surface and ground water combined movement

The finite element method explicit scheme for a solution of one problem of surface and ground water combined movement IOP Conference Seres: Materals Scence and Engneerng PAPER OPEN ACCESS e fnte element metod explct sceme for a soluton of one problem of surface and ground water combned movement o cte ts artcle: L L Glazyrna

More information

Tracking with Kalman Filter

Tracking with Kalman Filter Trackng wth Kalman Flter Scott T. Acton Vrgna Image and Vdeo Analyss (VIVA), Charles L. Brown Department of Electrcal and Computer Engneerng Department of Bomedcal Engneerng Unversty of Vrgna, Charlottesvlle,

More information

Basic Business Statistics, 10/e

Basic Business Statistics, 10/e Chapter 13 13-1 Basc Busness Statstcs 11 th Edton Chapter 13 Smple Lnear Regresson Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc. Chap 13-1 Learnng Objectves In ths chapter, you learn: How to use regresson

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

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition)

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition) Count Data Models See Book Chapter 11 2 nd Edton (Chapter 10 1 st Edton) Count data consst of non-negatve nteger values Examples: number of drver route changes per week, the number of trp departure changes

More information

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise. Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where y + = β + β e for =,..., y and are observable varables e s a random error How can an estmaton rule be constructed for the

More information

, rst we solve te PDE's L ad L ad n g g (x) = ; = ; ; ; n () (x) = () Ten, we nd te uncton (x), te lnearzng eedbac and coordnates transormaton are gve

, rst we solve te PDE's L ad L ad n g g (x) = ; = ; ; ; n () (x) = () Ten, we nd te uncton (x), te lnearzng eedbac and coordnates transormaton are gve Freedom n Coordnates Transormaton or Exact Lnearzaton and ts Applcaton to Transent Beavor Improvement Kenj Fujmoto and Tosaru Suge Dvson o Appled Systems Scence, Kyoto Unversty, Uj, Kyoto, Japan suge@robotuassyoto-uacjp

More information

One-sided finite-difference approximations suitable for use with Richardson extrapolation

One-sided finite-difference approximations suitable for use with Richardson extrapolation Journal of Computatonal Physcs 219 (2006) 13 20 Short note One-sded fnte-dfference approxmatons sutable for use wth Rchardson extrapolaton Kumar Rahul, S.N. Bhattacharyya * Department of Mechancal Engneerng,

More information

Remarks on the Properties of a Quasi-Fibonacci-like Polynomial Sequence

Remarks on the Properties of a Quasi-Fibonacci-like Polynomial Sequence Remarks on the Propertes of a Quas-Fbonacc-lke Polynomal Sequence Brce Merwne LIU Brooklyn Ilan Wenschelbaum Wesleyan Unversty Abstract Consder the Quas-Fbonacc-lke Polynomal Sequence gven by F 0 = 1,

More information