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

Size: px
Start display at page:

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

Transcription

1 Effcent Feasblty Analyss for Real-Tme Systems wth EF schedulng* Karsten Albers, Frank Slomka epartment of omputer Scence Unversty of Oldenburg Ammerländer Heerstraße Oldenburg, Germany {albers, Abstract Ths paper presents new fast exact feasblty tests for unprocessor real-tme systems usng preemptve EF schedulng. Task sets whch are accepted by prevously descrbed suffcent tests wll be evaluated n nearly the same tme as wth the old tests by the new algorthms. Many task sets are not accepted by the earler tests despte them beeng feasble. These task sets wll be evaluated by the new algorthms a lot faster than wth known exact feasblty tests. Therefore t s possble to use them for many applcatons for whch only suffcent test are sutable. Addtonally ths paper shows that the best prevous known suffcent test, the best known feasblty bound and the best known approxmaton algorthm can be derved from these new tests. n result ths leads to an ntegrated schedulablty theory for EF. 1. ntroducton The analyss of the tme behavor of embedded real-tme systems s essental for the automaton of the desgn process. A formal verfcaton whch guarantees all deadlnes n a real-tme system would be the best. Ths verfcaton s called feasblty test. Three dfferent knds of tests are avalable: Exact tests wth long executon tmes or smple models [2], [3], [11]. Fast suffcent tests whch fals to accept feasble task sets, especally those wth hgh utlzatons [9], [12]. Approxmatons, whch are allowng an adjustment of performance and acceptance rate [1], [8]. For many applcatons an exact test or an approxmaton wth a hgh acceptance rate must be used. For many task sets a fast suffcent test s adequate. Ths paper proposes two new tests for preemptve EF schedulng, whch have a performance comparable wth the suffcent tests for those tasks sets whch can be recognzed by these suffcent tests and outperforms the exstng exact tests by orders of magntude. These algorthms are tested and compared usng a large amount of randomly generated task sets and some examples from lterature. n Secton 2 the analyss model s ntroduced, Secton 3 gves an ntroducton to the exstng feasblty tests and * The research descrbed s supported by the eutsche Forschungsgemenschaft under grant SL 47/1-1 the concepts needed further n ths paper. t contans the frst contrbuton of ths work: the proof of equvalence between the suffcent test gven by ev [9] and the superposton approxmaton descrbed n [1]. t s shown that the test by ev s a specal case of the superposton approach. Secton 4 presents as the man contrbuton of the work the new fast suffcent and necessary feasblty tests and also the proof for dervng the feasblty bound out of these tests. n Secton 5 the new test algorthms are evaluated followed by a concluson n Secton Model We consder the sporadc task system consstng of a set of tasks { 1,..., n }. Each task s descrbed by an ntal release tme (or phase) φ, a relatve deadlne (measured from the release tme), a worst-case executon tme and a mnmal dstance (or perod) T between two nstances of a task. An nvocaton of a task s called a job, and the k th nvocaton of each job s denoted,k. n the followng only the synchronous case s consdered, so the frst jobs of all tasks are released smultaneously. Ths s a common assumpton whch also leads to a suffcent test for the asynchronous case [14]. A good suffcent condton for the asynchronous case s proposed n [13]. t s based on the tests mproved n ths paper. The specfc utlzaton of a task s the part of the capacty whch s needed for executng ths task ( U() T ). The utlzaton U of the system s the sum of the specfc utlzatons of all tasks. We consder the unprocessor feasblty test. The schedulng s done usng earlest deadlne frst (EF) whch s known to be optmal [12]. To keep the explanatons n ths paper smple the sporadc task model s used. The new tests can be extended to more advanced task models. Especally the extenson for the event stream model [11] s easy by followng the defntons proposed n [1]. 3. Background and related work The feasblty test for unprocessor systems usng EF wth deadlnes smaller then the perods of the tasks s Proceedngs of the esgn, Automaton and Test n Europe onference and Exhbton (ATE 5) /5 $ 2. EEE

2 known to be o-np-hard [3]. There are only feasblty tests wth pseudo-polynomal complexty avalable so far. t s unknown whether the problem has polynomal complexty. n the followng an ntroducton to the relevant feasblty tests of the lterature s gven. An overvew s gven n [14] Suffcent tests For a restrcted verson of the gven model wth the condton T for each task, Lu and Layland [12] proved that the task system s feasble f the utlzaton U Test by ev Recently ev [9] proposed a test whch allows task systems wth deadlnes smaller than perods wth a reduced complexty: ef. 1: Test ev [9]: A task system, arranged n order of non-decreasng relatve deadlnes s feasble usng EF schedulng f n and k k ( 1 k n) T mn( T, ) T 1 k 1 Unfortunately ths test s only suffcent. t allows a fast evaluaton and acceptance of task sets n many cases Processor demand test n [3] Baruah et al. proposed an exact test for task systems wth deadlnes shorter than ther perods. The man dea was to calculate the maxmum demand of all tasks wthn a tme nterval and compare t wth the avalable capacty of the processor. The demand s the cumulated worst-case executon tme of the relevant jobs. The maxmum demand for an nterval can be found f all tasks are released synchronous at the begnnng of and only those jobs are consdered whch have both ther release tme and ther absolute deadlne wthn. ef. 2: emand bound functon bf() [2]: The maxmum cumulated executon requrement of jobs havng both request tme and deadlne wthn nterval dbf(, ) t s possble to splt the demand bound functon nto demand bound functons for each sngle task. dbf(,) s the cumulated executon requrement of only one task. The avalable capacty of executon tme n an nterval s exactly the length of the nterval. Testng the demand bound functon for all ntervals aganst the capacty leads to an exact test. To make the test tractable t s possble to calculate a maxmum test nterval ( max ) whch s an upper bound (feasblty bound) and t s only necessary to test the demand bound functon for ntervals lower than max. ef. 3: Processor demand test [2]: A task system s feasble f and only f dbf(,) for all max ( U ( 1 U) ){ max( T )}. t s only necessary to check those ntervals where the value of dbf(,) s changed. The absolute deadlnes of all jobs determne these ntervals. Other values for max are dscussed n Secton 4.3. The test has a pseudo-polynomal complexty f the consdered utlzaton s bound by a constant. The problem T T s that the runtme of the algorthm depends not only on the utlzaton but also on the rato of the dfferent perods and deadlnes n the task set [1]. f the task set contans tasks wth small perods and tasks wth large perods, the runtme can become qute large. See the experments gven n Secton 5 for more detals Approxmaton by superposton Recently, several approxmatons have been proposed to solve the complexty problem of the demand bound approach: One by hakraborty et al. [8] and the superposton approach [1]. They brdge the gap between the fast but only suffcent test of ev and the necessary but slow processor demand test. The algorthms are only suffcent, but the degree of suffcency can be adjusted. The man dea of the superposton approach s to test only a selectable lmted amount of test ntervals for each task and use an approxmaton to compensate the remanng test ntervals. ef. 4: Approxmated task demand bound functon dbf (,) [1]: An upper bound for the task demand bound functon consderng only the jobs up to the selectable maxmum test nterval m() exactly. dbf' (, ) The approxmaton s usng the specfc utlzaton of the task. n the specal case of consderng only the frst job of each task, the maxmum test nterval s equal to the deadlne of the task. The approxmated demand bound functon s a superposton of the approxmated task demand bound functons. ef. 5: Approxmated demand bound functon [1] dbf (,): dbf' (, ) dbf' (, ) One advantage of ths approxmaton s that t s not necessary to calculate dbf (,) for each job separatly. Lemma 1: Super poston test: A task system s feasble f dbf (,) for all max ef. 6: SuperPos(x) : The super poston test whch calculates at the maxmum the frst x jobs of each task exactly (test level x) s called SuperPos(x) A hgher level of the superposton test leads to a hgher acceptance rate but also to a longer executon tme of the test. Fgure 1 shows measured acceptance rates usng dfferent SuperPos(x). The superposton test s a suffcent test wth a selectable error. t can be regarded as a seres of percentage task sets feasble dbf( m(), ) ( m() ) > m() dbf(, ) m() Utlzaton (%) ev SuperPos(2) SuperPos(3) SuperPos(4) SuperPos(5) SuperPos(6) SuperPos(7) SuperPos(8) SuperPos(9) SuperPos(1) Processor emand Fgure 1: Results for dfferent values for SuperPos(x) Proceedngs of the esgn, Automaton and Test n Europe onference and Exhbton (ATE 5) /5 $ 2. EEE

3 ev bf l 2 ev bf Fgure 2: Approxmaton by ev for two tasks suffcent tests, whch gets better wth declnng error Superposton vs. ev An nterestng pont s the relatonshp of the superposton test to the best prevously known suffcent test gven by ev [9]. Lemma 2: Relatonshp ev: A task set recognzed as feasble by the test of ev s also recognzed as feasble by SuperPos(1). n other words, the test by ev s only a specal case of the superposton approach. Proof: onsder the test SuperPos(1) (Lemma 1). Remember that n ths specal case the maxmum test nterval for each task s equal to ther deadlne ( m ( ) ) as ths s the endng tme for the frst job of the task. The test can be expressed as follow: ( () { ( )} ( T ) ( ) ( ) T T ( ) ( ) ( ) Ths test has to be preformed only for the frst job of each task whch has a deadlne equal to the deadlne of the task. Now consder the test of ev (efnton 1). t can be expressed as: ( ( 1 k ) k k k T k ---- mn( T, ) T T 1 1 k k k k T T T 1 1 k k k + k ---- T T 1 1 Ths test also has to be performed for the deadlne of each task. Settng k n the above equaton results n SuperPos(1). Ths proves Lemma 2. The relatonshp between the test by ev and the superposton approach allows to nclude the extensons of the test by ev Fgure 3: Approxmaton by ev for a sngle task descrbed n [9] nto the super poston approach. The extensons concern practcal relevant ssues lke swtchng tme, prorty celng protocol, self-suspenson and lmts for the number of prortes Superposton vs. real-tme calculus n the concept of real-tme calculus [7] based on the network calculus [6] the demand and the capacty of a system are descrbed by arrval and servce curves. The dea of these functons s the same as n the processor demand test, apart from that the capacty s not regarded as bsectng lne but also as a functon. The dea behnd the real-tme calculus s to defne mathematcal operatons on the arrval and servce curves to solve the feasblty test problem. By defnton the curves are unlmted. Therfore the equatons behnd ths concept are unfortunatly expensve to compute n the case of general arrval and servce curves [7]. To make the concept practcable a pecewse lnear approxmaton wth up to three staght lne segments s proposed. The error of ths approxmaton s unkown. By usng the results of Secton 3.5 t s possble to calculate a lower bound on the approxmaton error of the approxmated real-tme calculus. Fgure 4 shows the realtme calculus approxmaton of one task. Frst the approxmaton of a smple perodc task wth two lnes s shown (a), second the approxmaton of a bursty task s outlned (b). n ths case three lnes are needed for a good approxmaton. omparng Fgure 3 wth Fgure 4 a) shows a close relatonshp between the approxmaton of the real-tme calculus and the test gven by ev. The real-tme calculus approxmaton s a bt worse than the test gven by ev because of the lmted number of curves n the approxmaton of the real-tme calculus. As shown n the last secton the test by ev s equal to SuperPos(1) of the superposton approach. The man dfference between the test by ev and the real-tme calculus s the specfcaton of bursts whch can be only expressed by the real-tme calculus. By usng event streams t s easy to analyse burst by the superposton test [1]. However, ths leads to a hgher complexty then the test by ev because of each element of the burst has to be handled as a seperate element of the event stream. l 3 l 2 l 1 l 1 l 2 a) perodc task b) task wth burst Fgure 4: Real-tme calculus approxmaton Proceedngs of the esgn, Automaton and Test n Europe onference and Exhbton (ATE 5) /5 $ 2. EEE

4 4. mproved feasblty tests Approxmated feasblty tests are only suffcent. Ths s a problem because not all scheduable task sets are accepted by ths tests. Even f the degree of suffcency s selectable the tests fals to recognze feasble task sets (Fgure 1). Even worse, choosng a hgh degree of suffcency leads to a test wth long executon tme, whle choosng a low degree leads to a bad acceptance rate for the feasble task sets. The dea s to use dfferent levels of approxmaton, startng wth a fast approxmaton (SuperPos(1)) and swtch to a slow one just as necessary ynamc error test Ths dea leads to a fast test for all those task sets whch the suffcent tests could recognze. The algorthm for the new test s shown n Fgure 5. The test starts at the level SuperPos(1). Ths level allows all tasks to be approxmated after ther frst job. The test runs at ths level untl ether the test succeeds or the approxmated demand (dbf ) exceeds the actual test nterval ( act ) and the task set s not feasble by ths approxmaton. n ths case t s necessary to rse the level and wthdraw the approxmatons for those tasks whch would not be approxmated usng the new level ( rev ). t s not necessary to recalculate the whole test because the values calculated by the frst approxmaton can be reused. Lemma 3: f dbf (,G) for an nterval than dbf(,g) for all ntervals between and next. next s the next test nterval after whch s not approxmated. The prove of ths lemma s vsualzed n Fgure 6 and can also be followed usng Lemma 4. Therefore f the test fals at next, the prevous test guarantees all ntervals whch are smaller than next, even f they are approxmated. ALGORTHM ynamcerror F U > 1 not feasble max mnmum feasblty nterval; :testlst.add( ι,t + ) WHLE (testlst {} AN act < max), act testlst.getnext() dbf dbf + + ( act - old ) * Uready WHLE (dbf > act ) F (ApproxLst {}) NOT FEASBLE ncrease level; j rev EN WHLE F ( act < Testboarder() testlst.add(, act + T ) ELSE Uready Uready + / T ApproxLst.add(); old act EN WHLE FEASBLE : Uready Uready - j, / T j, dbf dbf - app( act, j ) testlst.add( j, Nextnt( act, j )) Fgure 5: ynamc Test bf approxmated next Fgure 6: Possble proven test ntervals { bf Lemma 4: Let, next be two consecutve test ntervals for dbf (). f we assume t exsts a for whch < + < next and dbf( + ) > + apples then the approxmated demand bound functon holds dbf () > [1]. Proof: See Secton 3.2 n [1]. For all tasks for whch the approxmaton s revsed due to the swtch of the level the next test nterval followng act has to be nvestgated: Lemma 5: Followng test nterval Nextnt(, ) T + Ths nterval s added to the lst of test ntervals. t s further necessary to reduce the approxmated demand by the overestmated approxmaton costs for these revsed tasks. These costs are gven by app. Let rev be the set of all tasks for whch the approxmaton s revsed: Lemma 6: Overestmated approxmaton costs app(, rev ) rev f dbf act the new level s suffcent, otherwse t has to be ncreased. f no task s approxmated before ncreasng the level the demand bound functon exceeds the capacty and the test fals. We propose to double the level at each step whch lmts the amount of steps to n max. Ths s small compared to the total amount of test ntervals. Only task sets whch cannot be evaluated usng a fast level wll need a long evaluaton tme. These task sets would not be accepted by exstng suffcent tests lke the test by ev. Task sets accepted by the test by ev are accepted by ths test runnng completly on the level SuperPos(1). Ths condton holds for all levels of the superposton test. t s not necessary for a good average case performance of the analyss to combne suffcent and necessary tests. The maxmum level for the dynamc test can be lmted. The result s a test wth a strctly lmted worst-case run-tme and a good average case run-tme All approxmated test espte that the proposed test outperform the exstng approaches by orders of magntude, t can be mproved even further. Especally for task sets contanng very small and very large tasks, the dynamc test could swtch soon nto hgher levels. onsderng many test ntervals may result n an unnecessary effort. t could be the case that only a few test ntervals are crtcal and that t s possble to approxmate the others. Ths leads to a new test. The algorthm for ths test can be found n Fgure 7. The goal of the new algorthm s to reduce the number of consdered test ntervals further. Fgure 7 shows the algorthm. nstead of usng fxed test bounds for each task, approxmaton s done as much as possble. The frst test ntervall resultng out of the frst job of each task s nserted nto testlst. Testlst s processed n ascendng order. All the followng test ntervalls are approxmated frst. Only f a test fals for an test nterval test, the approxmaton of the demand bound functon of each task s step by step revsed untl the test ether succeds or no task s approxmated any more. The revson s done by replacng the approxmated costs of the task by ther real cost. Because of quttng the approxmaton n ths nterval t s necessary to add one T T Proceedngs of the esgn, Automaton and Test n Europe onference and Exhbton (ATE 5) /5 $ 2. EEE

5 ALGORTHM AllApprox F U > 1 not feasble : testlst.add(,t + ) WHLE (testlst {}), test testlst.getnext() dbf dbf + + ( test - old ) * Uready WHLE (dbf > act ) F (ApproxLst {}) not feasble, ApproxLst->getAndRemoveFrstTask; Uready Uready -, /, dbf dbf - app( test,, ) testlst.add(,, Nextnt( test,, )) EN WHLE Uready Uready + / T ApproxLst.add(); EN WHLE feasble Fgure 7: All approxmated test addtonal test nterval for each revsed task nto testlst. These addtonal test ntervals can be calculated usng Lemma. Note that t s only necessary to calcultate the nterval followng test because the approxmaton has already verfed all test ntervals smaller than test. The algorthm termnates f t s possble to approxmate all tasks successfull n one test nterval or f the test fals. f the ntal test nterval s accepted for each task wthout generatng new test ntervals, the behavour and the performance of the test s equal to the test gven by ev [9] Feasblty bound A feasblty bound descrbes the upper lmt for all ntervals whch are necessary to be tested. t s mportant to fnd a short one because ths lmts the effort for the feasblty test. A good overvew of the dfferent feasblty bounds can be found n [14]. Baruah et al. [3] defned such a bound for the processor demand test, whch s part of efnton 3. Another one can be derved from the busy perod condton [14]. George et al. [1] defne a bound whch s smaller than the bound gven by Baruah et al: T T george U The new all approxmated superposton approach delvers a new feasblty bound. t s reached (and no further test nterval s needed) f for a test nterval the dfference between the demand bound functon and the capacty allows the approxmaton of all tasks. A task system wth a utlzaton lower 1% can never exceed the capacty beyond ths nterval. Usng Lemma 6 the sum of the demand bound functon and the approxmaton errors can be calculated: app(, ) + dbf(, ) Ths gves the new feasblty bound: sup sup f the condton sup max s used, t can be followed: sup sup Usng U T leads to the followng bound: ( 1 T ) sup mn ( max, ) 1 U For the case that all ths bound s the same as the bound gven by George et al., for the other cases ths new bound s lower than ths bound. Ths relatonshp allows a better understandng of the bound and leads to a ntegrated feasblty theory for EF. The man contrbuton of ths result s that t s not necessary for the new test to calculate and check the feasblty bound by George et al. The superposton bound s tghter and s checked n an mplct way. t mght be nterestng to calculate the busy perod of the system as outlned n [14], because ths bound mght be tghter than the superposton bound under some condtons. alculatng ths bound however has exponental complexty and may need more effort than the test wthout ths bound. 5. Experments We have generated a large number of random task sets to evaluate the performance gan due to the new tests. As a metrc we counted the test ntervals checked by each of the algorthms. Ths metrc s common to evaluate feasblty tests [5], [13] and shows exactly the behavor of the dfferent algorthms. The generaton of the random task sets follows the unform dstrbuton proposed by Bn [4]. n Fgure 8 a test was performed usng 18, task sets wth a utlzaton between 9% and 99% (hgh utlzatons are hard to test). t shows the average and the maxmum teratons needed for the tests. The sze of the task sets vared between 5 and 1 tasks usng a unformed random dstrbuton. They had an average gap of 2%, 3% and 4%. The gap descrbes the dfference between deadlne and perod. The szes of perods are also equally dstrbuted, the rato between the maxmum and the mnmum perod was of no concern for ths experment. The result of the experment s that the all approxmaton test needs 1 to 2 tmes less teratons than the processor demand test, whch goes up to 2 tmes less effort consderng the maxmum amount of teratons. Fgure 9 shows the result of another experment whch nvestgates the effect of the rato T max /T mn. Therefore the test was performed wth a rato varyng from 1 to 1,,. The results are presented usng an exponental scale. Such hgh ratos could for example be possble f system nterrupts and the schedulablty overhead are defnnded as tasks. For each value 4, tasks set where generated randomly wth a sze between 5 and 1 tasks and an average gap between 1% and 5% and an utlzaton varyng between 9% and 1%. The frst graph shows the maxmum measured effort needed for the processor demand test whch ncreases up to more than 5 mllon teratons. The effort of the other values s vsualzed n the second graph. Also there are some varatons due to the random values especally for the dynamc test. The measured effort of both new tests are far below the effort needed for the old test. The maxmum effort measured for the dynamc test was about 9,. For the all approxmaton test t s about 3, teratons. Another nterestng pont s that the effort doesn t depend on the rato of the perods. Ths becomes even more obvous when nvestgatng the average effort needed. For Proceedngs of the esgn, Automaton and Test n Europe onference and Exhbton (ATE 5) /5 $ 2. EEE

6 teratons teratons teratons teratons Maxmum effort for dfferent utlzatons ynamc Processor emand All approxmated Utlzaton (%) Average effort for dfferent utlzatons 7 ynamc Processor emand All Approxmated Utlzaton (%) Fgure 8: Results wth dfferent utlzatons 6M 5M 4M 3M 2M 1M Max executon effort usng dfferent values for Tmn / Tmax ynamc Processor emand All Approxmated Tmax / Tmn Max executon effort usng dfferent values for Tmn / Tmax 1 ynamc Processor emand All Approxmated Tmax / Tmn Fgure 9: Results wth dfferent values for T mn / T max the all approxmaton test t vares between 12 and 116 teratons, as opposed to 465 to 955,53 for the processor demand test. Tab. 1 contans some results for task sets comng from real examples. The task set of Burns and of the modfed set of Ma & Shn can be found n [1], the Generc Avoncs Platform example (GAP) n [14] and the other two task sets n [11]. The amount of tasks are small (7 to 21 tasks) but even for such small examples the new tests need between 5 and 1 tmes less teratons than the processor demand test. The run-tme overhead of one teraton ot the new tests s small compared to both alternatve algorthms, the processor demand test and the test by ev. Only the approxmaton leads to a some more effort. ompared to the algorthm of ev the overhead can be completely elmnated. Test ev yn. All Appr. Proc. em. Burns ,112 Ma & Shn FALE GAP ,228 Gresser 1 FALE Gresser 2 FALE Table 1: teratons for example task graphs 6. oncluson We proposed two new feasblty test for EF. They are exact and outperform the exstng tests by orders of magntude. Task sets whch are recognzed by the exstng suffcent test or approxmatons can be evaluated by the new test wth a comparable effort. We proved that the new concept ntegrates the processor demand test, the feasblty bound by George et al. and the suffcent feasblty test by ev. 7. References [1] K. Albers, F.Slomka. An Event Stream rven Approxmaton for the Analyss of Real-Tme Systems, EEE Proceedngs of the 16th Euromcro onference on Real-Tme Systems, pp , 24. [2] S. Baruah,. hen, S. Gornsky, A. Mok. Generalzed Multframe Tasks. The nternatonal Journal of Tme-rtcal omputng Systems, 17, 5-22, [3] S. Baruah, A. Mok, L. Roser. Preemptve Schedulng Hard-Real-Tme Sporadc Tasks on One Processor. Proceedngs of the Real-Tme Systems Symposum, , 199. [4] E. Bn, G. Buttazzo. Basng Effects n Schedulablty Measures. EEE Proceedngs of the 16th Euromcro onference on Real-Tme Systems, pp , 24 [5] E. Bn, G. Buttazzo. The Space of Rate Monotonc Schedulablty. Proceedngs of the 23th EEE Real-Tme Systems Symposum, 22. [6] J.Y. Le Boudec, P. Thran. Network alculus - A Theory of determnstc Queung Systems for the nternet. LNS 25, Sprnger Verlag, 21. [7] S. hakraborty, S. Künzl, L. Thele. A. Herkersdorf, P. Sagmester. Performace Evaluaton of Network Processor Archtectures: ombnng Smulaton wth Analytcal Estmaton, omputernetworks, Vol. 41, No. 5, pp , 23. [8] S. hakraborty, S. Künzl, L. Thele. Approxmate Schedulablty Analyss. 23rd EEE Real-Tme Systems Symposum (RTSS), EEE Press, , 22. [9] M. ev. An mproved Schedulablty Test for Unprocessor Perodc Task Systems. Proceedngs of the 15th Euromcro onference on Real-Tme Systems, 23. [1] L George, N. Rverre, M. Spur. Preemptve and Non-Preemptve Real-Tme Un-Processor Schedulng. Rapport de Recherche RR-2966, NRA, France, [11] K. Gresser. Echtzetnachwes Eregnsgesteuerter Realzetsysteme. ssertaton (n german), V Verlag, üsseldorf, 1(286), [12]. Lu, J. Layland. Schedulng Algorthms for Multprogrammng n Hard Real-Tme Envronments. Journal of the AM, 2(1), 46-61, [13] R. Pellzzon, G. Lpar. A New Suffcent Feasblty Test for Asynchronous Real-Tme Perodc Task Sets. Proceedng of the 16th Euromcro onference on Real-Tme Systems, pp , 24. [14] J.A. Stankovc, M. Spur, K. Ramamrtham, G.. Buttazzo. eadlne Schedulng for Real-Tme Systems EF and Related Algorthms. Kluwer Academc Publshers, Proceedngs of the esgn, Automaton and Test n Europe onference and Exhbton (ATE 5) /5 $ 2. EEE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Numerical Heat and Mass Transfer

Numerical Heat and Mass Transfer Master degree n Mechancal Engneerng Numercal Heat and Mass Transfer 06-Fnte-Dfference Method (One-dmensonal, steady state heat conducton) Fausto Arpno f.arpno@uncas.t Introducton Why we use models and

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

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

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

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

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

Review of Taylor Series. Read Section 1.2

Review of Taylor Series. Read Section 1.2 Revew of Taylor Seres Read Secton 1.2 1 Power Seres A power seres about c s an nfnte seres of the form k = 0 k a ( x c) = a + a ( x c) + a ( x c) + a ( x c) k 2 3 0 1 2 3 + In many cases, c = 0, and the

More information

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Grover s Algorithm + Quantum Zeno Effect + Vaidman Grover s Algorthm + Quantum Zeno Effect + Vadman CS 294-2 Bomb 10/12/04 Fall 2004 Lecture 11 Grover s algorthm Recall that Grover s algorthm for searchng over a space of sze wors as follows: consder 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

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity Week3, Chapter 4 Moton n Two Dmensons Lecture Quz A partcle confned to moton along the x axs moves wth constant acceleraton from x =.0 m to x = 8.0 m durng a 1-s tme nterval. The velocty of the partcle

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

Global Sensitivity. Tuesday 20 th February, 2018

Global Sensitivity. Tuesday 20 th February, 2018 Global Senstvty Tuesday 2 th February, 28 ) Local Senstvty Most senstvty analyses [] are based on local estmates of senstvty, typcally by expandng the response n a Taylor seres about some specfc values

More information

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

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

More information

Lecture 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

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

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

Assignment 5. Simulation for Logistics. Monti, N.E. Yunita, T.

Assignment 5. Simulation for Logistics. Monti, N.E. Yunita, T. Assgnment 5 Smulaton for Logstcs Mont, N.E. Yunta, T. November 26, 2007 1. Smulaton Desgn The frst objectve of ths assgnment s to derve a 90% two-sded Confdence Interval (CI) for the average watng tme

More information

Hopfield Training Rules 1 N

Hopfield Training Rules 1 N Hopfeld Tranng Rules To memorse a sngle pattern Suppose e set the eghts thus - = p p here, s the eght beteen nodes & s the number of nodes n the netor p s the value requred for the -th node What ll the

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

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

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

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

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

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

More information

Economics 101. Lecture 4 - Equilibrium and Efficiency

Economics 101. Lecture 4 - Equilibrium and Efficiency Economcs 0 Lecture 4 - Equlbrum and Effcency Intro As dscussed n the prevous lecture, we wll now move from an envronment where we looed at consumers mang decsons n solaton to analyzng economes full of

More information

Turbulence classification of load data by the frequency and severity of wind gusts. Oscar Moñux, DEWI GmbH Kevin Bleibler, DEWI GmbH

Turbulence classification of load data by the frequency and severity of wind gusts. Oscar Moñux, DEWI GmbH Kevin Bleibler, DEWI GmbH Turbulence classfcaton of load data by the frequency and severty of wnd gusts Introducton Oscar Moñux, DEWI GmbH Kevn Blebler, DEWI GmbH Durng the wnd turbne developng process, one of the most mportant

More information

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

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

More information

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

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography CSc 6974 and ECSE 6966 Math. Tech. for Vson, Graphcs and Robotcs Lecture 21, Aprl 17, 2006 Estmatng A Plane Homography Overvew We contnue wth a dscusson of the major ssues, usng estmaton of plane projectve

More information

A Robust Method for Calculating the Correlation Coefficient

A Robust Method for Calculating the Correlation Coefficient A Robust Method for Calculatng the Correlaton Coeffcent E.B. Nven and C. V. Deutsch Relatonshps between prmary and secondary data are frequently quantfed usng the correlaton coeffcent; however, the tradtonal

More information

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm Desgn and Optmzaton of Fuzzy Controller for Inverse Pendulum System Usng Genetc Algorthm H. Mehraban A. Ashoor Unversty of Tehran Unversty of Tehran h.mehraban@ece.ut.ac.r a.ashoor@ece.ut.ac.r Abstract:

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

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

1 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations

1 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations Physcs 171/271 -Davd Klenfeld - Fall 2005 (revsed Wnter 2011) 1 Dervaton of Rate Equatons from Sngle-Cell Conductance (Hodgkn-Huxley-lke) Equatons We consder a network of many neurons, each of whch obeys

More information

Simulated Power of the Discrete Cramér-von Mises Goodness-of-Fit Tests

Simulated Power of the Discrete Cramér-von Mises Goodness-of-Fit Tests Smulated of the Cramér-von Mses Goodness-of-Ft Tests Steele, M., Chaselng, J. and 3 Hurst, C. School of Mathematcal and Physcal Scences, James Cook Unversty, Australan School of Envronmental Studes, Grffth

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

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

Copyright 2017 by Taylor Enterprises, Inc., All Rights Reserved. Adjusted Control Limits for P Charts. Dr. Wayne A. Taylor

Copyright 2017 by Taylor Enterprises, Inc., All Rights Reserved. Adjusted Control Limits for P Charts. Dr. Wayne A. Taylor Taylor Enterprses, Inc. Control Lmts for P Charts Copyrght 2017 by Taylor Enterprses, Inc., All Rghts Reserved. Control Lmts for P Charts Dr. Wayne A. Taylor Abstract: P charts are used for count data

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

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

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

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

More information

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

Approximate Smallest Enclosing Balls

Approximate Smallest Enclosing Balls Chapter 5 Approxmate Smallest Enclosng Balls 5. Boundng Volumes A boundng volume for a set S R d s a superset of S wth a smple shape, for example a box, a ball, or an ellpsod. Fgure 5.: Boundng boxes Q(P

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

Lecture 3. Ax x i a i. i i

Lecture 3. Ax x i a i. i i 18.409 The Behavor of Algorthms n Practce 2/14/2 Lecturer: Dan Spelman Lecture 3 Scrbe: Arvnd Sankar 1 Largest sngular value In order to bound the condton number, we need an upper bound on the largest

More information

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

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

More information

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

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

More information

LOW BIAS INTEGRATED PATH ESTIMATORS. James M. Calvin

LOW BIAS INTEGRATED PATH ESTIMATORS. James M. Calvin Proceedngs of the 007 Wnter Smulaton Conference S G Henderson, B Bller, M-H Hseh, J Shortle, J D Tew, and R R Barton, eds LOW BIAS INTEGRATED PATH ESTIMATORS James M Calvn Department of Computer Scence

More information

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification E395 - Pattern Recognton Solutons to Introducton to Pattern Recognton, Chapter : Bayesan pattern classfcaton Preface Ths document s a soluton manual for selected exercses from Introducton to Pattern Recognton

More information

Finding Primitive Roots Pseudo-Deterministically

Finding Primitive Roots Pseudo-Deterministically Electronc Colloquum on Computatonal Complexty, Report No 207 (205) Fndng Prmtve Roots Pseudo-Determnstcally Ofer Grossman December 22, 205 Abstract Pseudo-determnstc algorthms are randomzed search algorthms

More information

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers Psychology 282 Lecture #24 Outlne Regresson Dagnostcs: Outlers In an earler lecture we studed the statstcal assumptons underlyng the regresson model, ncludng the followng ponts: Formal statement of assumptons.

More information

Markov Chain Monte Carlo (MCMC), Gibbs Sampling, Metropolis Algorithms, and Simulated Annealing Bioinformatics Course Supplement

Markov Chain Monte Carlo (MCMC), Gibbs Sampling, Metropolis Algorithms, and Simulated Annealing Bioinformatics Course Supplement Markov Chan Monte Carlo MCMC, Gbbs Samplng, Metropols Algorthms, and Smulated Annealng 2001 Bonformatcs Course Supplement SNU Bontellgence Lab http://bsnuackr/ Outlne! Markov Chan Monte Carlo MCMC! Metropols-Hastngs

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

Lecture 4: Universal Hash Functions/Streaming Cont d

Lecture 4: Universal Hash Functions/Streaming Cont d CSE 5: Desgn and Analyss of Algorthms I Sprng 06 Lecture 4: Unversal Hash Functons/Streamng Cont d Lecturer: Shayan Oves Gharan Aprl 6th Scrbe: Jacob Schreber Dsclamer: These notes have not been subjected

More information

Appendix B. The Finite Difference Scheme

Appendix B. The Finite Difference Scheme 140 APPENDIXES Appendx B. The Fnte Dfference Scheme In ths appendx we present numercal technques whch are used to approxmate solutons of system 3.1 3.3. A comprehensve treatment of theoretcal and mplementaton

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

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system Transfer Functons Convenent representaton of a lnear, dynamc model. A transfer functon (TF) relates one nput and one output: x t X s y t system Y s The followng termnology s used: x y nput output forcng

More information

Speeding up Computation of Scalar Multiplication in Elliptic Curve Cryptosystem

Speeding up Computation of Scalar Multiplication in Elliptic Curve Cryptosystem H.K. Pathak et. al. / (IJCSE) Internatonal Journal on Computer Scence and Engneerng Speedng up Computaton of Scalar Multplcaton n Ellptc Curve Cryptosystem H. K. Pathak Manju Sangh S.o.S n Computer scence

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

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

Solving Nonlinear Differential Equations by a Neural Network Method

Solving Nonlinear Differential Equations by a Neural Network Method Solvng Nonlnear Dfferental Equatons by a Neural Network Method Luce P. Aarts and Peter Van der Veer Delft Unversty of Technology, Faculty of Cvlengneerng and Geoscences, Secton of Cvlengneerng Informatcs,

More information

( ) = ( ) + ( 0) ) ( )

( ) = ( ) + ( 0) ) ( ) EETOMAGNETI OMPATIBIITY HANDBOOK 1 hapter 9: Transent Behavor n the Tme Doman 9.1 Desgn a crcut usng reasonable values for the components that s capable of provdng a tme delay of 100 ms to a dgtal sgnal.

More information

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law:

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law: CE304, Sprng 2004 Lecture 4 Introducton to Vapor/Lqud Equlbrum, part 2 Raoult s Law: The smplest model that allows us do VLE calculatons s obtaned when we assume that the vapor phase s an deal gas, and

More information

Partitioned Mixed-Criticality Scheduling on Multiprocessor Platforms

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

More information

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule: 15-745 Lecture 6 Data Dependence n Loops Copyrght Seth Goldsten, 2008 Based on sldes from Allen&Kennedy Lecture 6 15-745 2005-8 1 Common loop optmzatons Hostng of loop-nvarant computatons pre-compute before

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

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

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

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

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

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

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

Lecture 13 APPROXIMATION OF SECOMD ORDER DERIVATIVES

Lecture 13 APPROXIMATION OF SECOMD ORDER DERIVATIVES COMPUTATIONAL FLUID DYNAMICS: FDM: Appromaton of Second Order Dervatves Lecture APPROXIMATION OF SECOMD ORDER DERIVATIVES. APPROXIMATION OF SECOND ORDER DERIVATIVES Second order dervatves appear n dffusve

More information

The stream cipher MICKEY

The stream cipher MICKEY The stream cpher MICKEY-128 2.0 Steve Babbage Vodafone Group R&D, Newbury, UK steve.babbage@vodafone.com Matthew Dodd Independent consultant matthew@mdodd.net www.mdodd.net 30 th June 2006 Abstract: We

More information

Chapter Newton s Method

Chapter Newton s Method Chapter 9. Newton s Method After readng ths chapter, you should be able to:. Understand how Newton s method s dfferent from the Golden Secton Search method. Understand how Newton s method works 3. Solve

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

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

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

NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS

NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS IJRRAS 8 (3 September 011 www.arpapress.com/volumes/vol8issue3/ijrras_8_3_08.pdf NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS H.O. Bakodah Dept. of Mathematc

More information

Numerical Solution of Ordinary Differential Equations

Numerical Solution of Ordinary Differential Equations Numercal Methods (CENG 00) CHAPTER-VI Numercal Soluton of Ordnar Dfferental Equatons 6 Introducton Dfferental equatons are equatons composed of an unknown functon and ts dervatves The followng are examples

More information

Finding Dense Subgraphs in G(n, 1/2)

Finding Dense Subgraphs in G(n, 1/2) Fndng Dense Subgraphs n Gn, 1/ Atsh Das Sarma 1, Amt Deshpande, and Rav Kannan 1 Georga Insttute of Technology,atsh@cc.gatech.edu Mcrosoft Research-Bangalore,amtdesh,annan@mcrosoft.com Abstract. Fndng

More information

Analysis of the Magnetomotive Force of a Three-Phase Winding with Concentrated Coils and Different Symmetry Features

Analysis of the Magnetomotive Force of a Three-Phase Winding with Concentrated Coils and Different Symmetry Features Analyss of the Magnetomotve Force of a Three-Phase Wndng wth Concentrated Cols and Dfferent Symmetry Features Deter Gerlng Unversty of Federal Defense Munch, Neubberg, 85579, Germany Emal: Deter.Gerlng@unbw.de

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

On the Interval Zoro Symmetric Single-step Procedure for Simultaneous Finding of Polynomial Zeros

On the Interval Zoro Symmetric Single-step Procedure for Simultaneous Finding of Polynomial Zeros Appled Mathematcal Scences, Vol. 5, 2011, no. 75, 3693-3706 On the Interval Zoro Symmetrc Sngle-step Procedure for Smultaneous Fndng of Polynomal Zeros S. F. M. Rusl, M. Mons, M. A. Hassan and W. J. Leong

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

Split alignment. Martin C. Frith April 13, 2012

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

More information