Partitioned Mixed-Criticality Scheduling on Multiprocessor Platforms

Size: px
Start display at page:

Download "Partitioned Mixed-Criticality Scheduling on Multiprocessor Platforms"

Transcription

1 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 systems that ntegrate multple functonaltes wth dfferent crtcalty levels nto a shared platform appears to be a challengng problem, even on sngle-processor platforms. Mult-core processors are more and more wdely used n embedded systems, whch provde great computng capactes for such mxed-crtcalty systems. In ths paper, we propose a parttoned schedulng algorthm to extend the state-of-the-art sngle-processor mxedcrtcalty schedulng algorthm EY to multprocessor platforms. The key dea of s to evenly allocate tasks wth dfferent crtcalty levels to dfferent processors, n order to better explore the asymmetry between dfferent crtcalty levels and mprove the system schedulablty. Then we propose two enhancements to further mprove the schedulablty of. Experments wth randomly generated task sets show sgnfcant performance mprovement of our proposed approach over exstng algorthms. I. INTRODUCTION Mult-core processors are more and more wdely used n modern real-tme embedded systems, whch provde great computng capactes to ntegrate multple functonaltes wth dfferent crtcalty levels nto a shared hardware platform. Such mxed-crtcalty systems brng sgnfcant challenges to the desgn of real-tme systems. Vestal [14] formalzed the sngle-processor mxed-crtcalty schedulng problem. Tradtonal real-tme schedulng technques, such as EDF, may lead to poor schedulablty when appled to mxed-crtcalty systems. Researchers proposed dfferent technques to better explore the asymmetry between dfferent crtcalty levels and mprove the schedulablty [1], [4], [7], [9], [11]. Recently, Ekberg and Y [8] ntroduced a schedulng algorthm, called EY n ths paper, whch exhbts very good schedulablty. EY s based on the dea of EDF- VD (EDF wth vrtual deadlnes) proposed by Baruah et al. [3], whch balances the schedulablty on dfferent crtcalty levels by tunng the vrtual deadlnes and has been extended to multprocessors [2]. In Secton II-B we wll gve a bref ntroducton to EY. The multprocessor schedulng algorthm proposed n ths paper s based on a varant of EY. Tradtonal (sngle-crtcalty) multprocessor schedulng algorthms are usually categorzed nto two paradgms [6]: global schedulng, n whch each task can execute on any avalable processor at run-tme, and parttoned schedulng, n whch each tasks s assgned to a processor beforehand, and at run-tme each task only executes on ths partcular processor /DATE14/ c 14 EDAA Recent work n multprocessor schedulng has shown that parttoned schedulng typcally has better schedulablty than global schedulng for hard real-tme systems [5]. Therefore, n ths paper we use the parttoned approach to schedule mxedcrtcalty systems. The choce of the packng (task allocaton) strategy greatly affects the performance of parttoned schedulng. In parttoned schedulng of tradtonal real-tme systems, the frstft (FF) packng strategy typcally performs better than others. Therefore, t sounds a natural extenson to apply FF to parttoned schedulng of mxed-crtcalty systems. For example, [1] evaluates several combnatons of dfferent packng strateges and task sortng orders, and conclude that the combnaton of FF and crtcalty-decreasng task orderng performs the best among all the evaluated solutons. However, as shown n ths paper, FF actually cannot very well explore the asymmetry between dfferent crtcalty levels, and thus leads to unsatsfactory schedulablty performance. In ths paper, we propose a parttoned schedulng algorthm, whch treats hgh- and low-crtcalty tasks dfferently. frst uses worst-ft (WF) packng strategy to allocate hgh-crtcalty tasks, then uses FF to allocate low-crtcalty tasks. By such a hybrd packng strategy, hgh-crtcalty tasks are evenly allocated to dfferent processors, whch gves us a better chance to use the EY algorthm to balance the workload on dfferent crtcalty levels and mprove system schedulablty. The performance of may degrade when the number of processors s large. To address ths problem, we propose two enhancements to to further mprove the schedulablty. Frstly, we consder the stuaton that heavy low-crtcalty tasks may fal to be allocated because the free capacty of each ndvdual processor s not enough, although there stll remans much total avalable capacty on all processors. To solve ths problem, we preserve resource for heavy low-crtcalty tasks before allocatng hgh-crtcalty tasks. Secondly, we propose an optmzed vrtual deadlnes tunng algorthm n EY to mprove the performance of our parttoned algorthm. Experments wth randomly generated task systems are conducted to evaluate the performance of our proposed algorthms. Experment results show that our new algorthm, especally wth the two enhancements, can sgnfcantly mprove the system schedulablty comparng wth exstng multprocessor mxed-crtcalty schedulng algorthms.

2 II. PRELIMINARIES A. MC System Model and Notatons We adopt the same mxed-crtcalty (MC) task model as n [8]. Smlar wth the tradtonal sporadc task model, we defne an MC sporadc system π as a fnte set of ndependent MC sporadc tasks, each of whch may generate a potentally nfnte sequence of MC jobs J 1, J 2,. Each MC task s characterzed by a 4-tuple τ = (T, D, ζ, C ), where T R + s the mnmal nter-arrval separaton. D R + s the relatve deadlne. ζ {, HI} s the crtcalty level of task τ, where ndcates the low crtcalty and HI ndcates the hgh crtcalty. C : {, HI} R + s the worst-case executon tme (WCET) functon, whch specfes the WCET of the task at each crtcalty level l: C () denotes the estmated WCET of task τ under the low-crtcalty level, and C (HI) denotes the more rgdly estmated WCET under hgh-crtcalty level,.e., C () C (HI). Note that the relatve deadlnes can be arbtrary postve real numbers wthout any restrctons regardng the task perods,.e., D can be larger than, smaller than or equal to T. To descrbe the workload on dfferent crtcalty levels, we use U and U HI to denote the low- and hgh-crtcalty utlzaton of task τ respectvely: U C ()/T and U HI C (HI)/T. We use (π) {τ π ζ = } to denote the lowcrtcalty task subset of π, and use HI(π) {τ π ζ = HI} to denote the hgh-crtcalty subset. We defne the total utlzaton U (π) and U HI (π) as follows: U (π) τ π U and U HI(π) τ HI(π) U HI. The semantc of the MC system s as follows. When the system starts, t runs n the low-crtcalty mode and each task τ π could release jobs n sequence as long as no released jobs execute beyond ther respectve run-tme deadlnes. Otherwse, once any job has executed for ts WCET under low-crtcalty level wthout sgnalng ts completon of executon, the system wll swtch to hgh-crtcalty mode mmedately. In order to guarantee the hgh-crtcalty jobs stll meet ther deadlnes even though they execute for up to the more strct WCET estmated under such hgh-crtcalty mode, all of the low-crtcalty jobs need not meet deadlnes any more, and wll be dscarded totally after the mode swtchng. Therefore, the low-crtcalty jobs wll make no nterference wth the schedulng of hgh-crtcalty jobs. To schedule such an MC system successfully, all of the jobs released from hgh-crtcalty tasks must always meet ther deadlnes both n low-crtcalty and hgh-crtcalty modes, but the jobs released from low-crtcalty tasks only need to meet deadlnes n low-crtcalty mode. B. The EY Approach The parttoned multprocessor schedulng algorthm proposed n ths paper uses EY [8] to test and tune the schedulablty on each ndvdual processor. The man dea of EY can be summarzed as follows. When the system runs n the low crtcalty mode, each hgh-crtcalty task τ uses a vrtual deadlne D () (shorter than ts orgnal deadlne D ) n the EDF schedulng decson. Ths helps the hgh-crtcalty task to fnsh ts low-crtcalty workload earler, and thus have a better chance to fnsh the remanng hgh-crtcalty workload before ts real deadlne f the crtcalty mode-swtch occurs. Consder the example task set llustrated as below: Task T D ζ C () C (HI) U U HI τ HI τ Suppose the hgh-crtcalty task τ 1 releases a job J at t n the low-crtcalty mode. Under EDF schedulng, n the worst-case τ 1 fnshes t low-crtcalty workload one tme unt before ts absolute deadlne t + D 1, as shown n Fgure 1a. If the executon of τ 1 overflows and the system swtches to the hgh-crtcalty mode, t s mpossble to fnsh the remanng workload C 1 (HI) C 1 () before ts absolute deadlne t + D 1, as shown n Fgure 1a. If we set τ 1 s vrtual deadlne D 1 () = 6, we can guarantee that τ 1 fnshes ts low-crtcalty workload no later than t + D 1 (). In ths case, there s enough tme for τ 1 to fnsh ts hgh-crtcalty workload before ts real deadlne t + D 1 after the system runs nto the hgh-crtcalty mode, as shown n Fgure 1b. Resource demand J : C 1() C 1(HI) C 1() t t + D 1 T (a) D 1 () = 1 J : C 1() C 1(HI) C 1() T t t + D 1() t + D 1 dbf HI dbf Tme nterval length (t) (a) D 1 ()=1 (b) D 1 () = 6 Fgure 1. Impact of dfferent vrtual deadlnes. Resource demand dbf HI dbf Tme nterval length (t) (b) D 1 ()=6 Resource demand dbf HI dbf Tme nterval length (t) (c) D 1 ()=4 Fgure 2. Impact on demand of dfferent vrtual deadlnes. Usng shorter vrtual deadlnes s benefcal to the schedulablty n the hgh-crtcalty mode, but at the same tme the system s more dffcult to be scheduled n the lowcrtcalty mode (snce each hgh-crtcalty task must meet a shorter vrtual deadlne). In the above example, f we set D 1 () = 4, the system s not schedulable n the lowcrtcalty mode. In EY, ths phenomenon s formally captured by the hgh-crtcalty demand bound functon dbf HI (τ, ) and low-crtcalty demand bound functon dbf (τ, ). The system s guaranteed to be schedulable n the low-crtcalty mode f t holds

3 t : dbf (τ, t) t. (1) τ π The system s guaranteed to be schedulable n the hghcrtcalty mode f t holds t : dbf HI(τ, t) t. (2) τ π ζ =HI Due to space lmt, we do not recte the computaton of dbf HI (τ, ) and dbf (τ, ), but refer nterested readers to [8] for detals. For each hgh-crtcalty task τ, f ts vrtual deadlne D () s decreased, the hgh-crtcalty demand bound functon dbf HI decreases whle the low-crtcalty demand bound functon dbf ncreases. Fgure 2 shows the demand bound functons when τ 1 uses dfferent vrtual deadlnes. If the vrtual deadlne s too short, the system s non-schedulable n the lowcrtcalty mode as shown n Fgure 2a. If the vrtual deadlne s too long, the system s non-schedulable n the hgh-crtcalty mode, as shown n Fgure 2c. The system s schedulable n both modes wth a proper D () as shown n Fgure 2b. The vrtual deadlnes of hgh-crtcalty tasks are used as the nob to tune the schedulablty n dfferent crtcalty modes. However, t leads to a larger search space to fnd the optmal vrtual deadlne confguraton. EY uses an effectve heurstc to tune the vrtual deadlnes. It tunes each D () from D to C () monotoncally to control the overall tme complexty. At each tunng pont, EY decreases certan D () to D () 1, and EY always greedly selects the one whch gets the maxmal value of the expresson: dbf HI(τ k, D k ()) dbf HI(τ k, D k () 1). (3) III. PARTITIONING ALGORITHM Parttoned schedulng for EDF-VD has been studed n [3]. And n ths secton we wll dscuss the part- tonng schemes for the hgher performance algorthm EY. A. Motvatng the Hybrd Packng Strategy Before ntroducng our proposed parttonng algorthm wth a hybrd packng strategy, we frst dscuss the drawback of extendng EY to multprocessor schedulng wth the FF packng strategy and motvate the hybrd packng strategy used n ths paper. [1] presented a parttonng strategy usng FF packng and decreasng-crtcalty task orderng (called FFDC for short). FFDC packs as many hgh-crtcalty tasks as possble to one processor untl t s full, then pcks the next processor to pack the remanng hgh-crtcalty tasks. After all hghcrtcalty tasks are successfully allocated, FFDC contnues to pack low-crtcalty tasks also wth the FF strategy. FFDC has the best performance among all the parttonng algorthms evaluated n [1]. Unfortunately, the combnaton of the FFDC strategy and the EY approach does not yeld satsfactory performance, the reason of whch s as follows. The strength of EY s the capablty of balancng the schedulablty between hgh- and low-crtcalty levels. In FFDC, the allocaton of hgh-crtcalty tasks s typcally unbalanced, so the room for EY to tune the vrtual deadlnes s relatvely smaller. Consder the followng task set to be scheduled on two processors: Task T D ζ C () C (HI) U U HI τ HI τ HI τ τ By FFDC, the two hgh-crtcalty tasks τ 1 and τ 2 wll be allocated to processor P 1, after whch we allocate lowcrtcalty tasks. However, the low-crtcalty utlzaton sum of τ 1 and τ 2 s already.4, so τ 3 or τ 4 cannot be allocated to P 1, no matter how do we tune the vrtual deadlnes of τ 1 and τ 2 (snce.4+.7>1). On the other hand, t s nfeasble to allocate both τ 3 and τ 4 to P 2 snce.7+.7>1. So the parttonng of ths task set s faled wth the FF packng strategy. If we use worst-ft (WF) packng strategy to partton ths task set, we can allocate τ 1 and τ 3 to P 1, and allocate τ 2 and τ 4 to P 2. By applyng the vrtual deadlne tunng of EY, we see that tasks on both processors are schedulable f the vrtual deadlnes of τ 1 and τ 2 are set to be 6. In summary, WF dstrbutes hgh-crtcalty tasks to dfferent processors more evenly than FF, whch gves us more room to utlze the vrtual deadlne tunng n EY to mprove the schedulablty. In the allocaton of hgh-crtcalty tasks, the vrtual deadlnes of hgh-crtcalty tasks are tuned to guarantee that they are schedulable n the hgh-crtcalty mode. As soon as all hgh-crtcalty tasks are allocated, the vrtual deadlnes of all hgh-crtcalty tasks are fxed. So when we start to allocate low-crtcalty tasks, the remanng capacty on each processor s fxed. So the parttonng of low-crtcalty tasks s smlar to the tradtonal workload parttonng problem (wthout multple crtcalty levels). Snce FF has proven to be the best packng strategy for such a problem, we shall use FF as the packng strategy for low-crtcalty tasks. B. Now we ntroduce our new parttonng algorthm (Mxed-crtcalty Parttonng wth Vrtual Deadlnes) n detal. We frst ntroduce the notaton of (hgh- or low-crtcalty) remanng utlzaton of a processor, whch denotes the dfference between 1 and the total (hgh- or low-crtcalty) utlzaton of tasks that have been allocated to ths processor. For example, f only one task wth utlzaton.3 s allocated to processor P 1, then the remanng utlzaton of P 1, s 1-.3=.7. We use U HI (P 1 ) and U (P 1 ) to denote the hgh- and low-crtcalty remanng utlzaton of processor P 1. works n the followng three steps: 1) Allocate hgh-crtcalty tasks to processors by the WF packng strategy,.e., always select the processor P x wth the maxmal hgh-crtcalty remanng utlzaton U HI (P x ) to allocate tasks. The tasks are sorted n the decreasng order of ther hgh-crtcalty utlzaton U HI. 2) Tune the vrtual deadlnes of hgh-crtcalty tasks allocated to each processor by the tunng algorthm n EY

4 [8] to meet the dbf HI constrant (2),.e., to guarantee that the hgh-crtcalty task subset on each processor s schedulable n the hgh-crtcalty mode. If the tunng algorthm n EY fals on any processor, the parttonng algorthm fals. 3) Allocate low-crtcalty tasks to processors by the FF packng strategy. The tasks are sorted n the decreasng order of ther low-crtcalty utlzaton U. In ths step, we use the dbf constrant (1) to check whether an unallocated low-crtcalty task can be assgned to a canddate processor,.e., whether the tasks already assgned to ths processor and the current task can meet deadlnes n the low-crtcalty mode f they are scheduled together on ths processor. Note that the frst step of only allocates hghcrtcalty tasks to processors, but does not guarantee anythng about the schedulablty. After all hgh-crtcalty tasks are allocated, we tune ther vrtual deadlnes and decde whether they are schedulable n the hgh-crtcalty mode. The vrtual deadlne tunng algorthm n EY s of pseudo-polynomal tme complexty, and n practce rather tme consumng. It wll be extremely neffcent f the vrtual deadlne tunng algorthm has to be nvoked teratvely. only needs to nvoke the vrtual deadlne tunng algorthm once on each processor. At run-tme, the tasks allocated to each processor are scheduled n the same way as EY. When the system s n the low-crtcalty mode, tasks are scheduled by EDF and each hgh-crtcalty task uses ts vrtual deadlne n the EDF schedulng decson. When the system runs nto the hghcrtcalty mode, all the low-crtcalty tasks are abandoned mmedately, and all hgh-crtcalty tasks use ther orgnal deadlnes n the EDF schedulng decson. IV. ENHANCEMENTS TO The parttonng algorthm ntroduced n last secton may stll lead to unsatsfactory performance under certan crcumstances. In ths secton, we enhance by optmzed task allocaton strateges and vrtual deadlne tunng algorthms to further mprove the schedulablty. A. Heavy Low-Crtcalty Task Aware Parttonng One of the most mportant ssues n parttoned schedulng s to avod the stuaton that a heavy (hgh-utlzaton) task cannot be allocated whle the processors stll have relatvely large avalable capactes. The decreasng utlzaton task orderng s an effectve way to avod the above stuaton. Therefore, we choose to use decreasng utlzaton to order tasks n the allocaton of hgh- and low-crtcalty tasks (step 1 and 3) respectvely. However, snce frst allocates all hghcrtcalty tasks before allocatng any low-crtcalty task, t may happen the stuaton that some heavy low-crtcalty tasks cannot be allocated to any ndvdual processor although there remans much total remanng capacty on all processors. For example, consder the task set n Table I to be parttoned on two processors. By, each processor wll be assgned 2 hgh-crtcalty tasks as llustrated n Fgure 3a. Therefore, the Table I AN EXAMPLE TASK SET Task T D ζ C () C (HI) U U HI τ HI τ HI τ HI τ HI τ low-crtcalty task τ 5 cannot be allocated to any of the two processors no matter how do we tune the vrtual deadlnes of the hgh-crtcalty tasks (snce >1). τ 3 τ 1 P 1 (a) τ 4 τ 2 P 2 τ 4 τ 5 P 1 (b) -HA Fgure 3. Task allocaton results n dfferent approaches To address ths problem, we enhance by a heavy low-crtcalty task aware polcy. The man dea s to make a tradeoff between hgh-crtcalty workload balancng and the schedulablty of low-crtcalty tasks by preservng moderate free resources for heavy low-crtcalty tasks, whch are defned as follows: Defnton IV.1 (Heavy Low-Crtcalty Task). Gven a mxedcrtcalty system π, a low crtcalty task τ k s heavy f U k τ 3 τ 2 τ 1 P 2 > 1 U(πHI) m. (4) The enhanced heavy low-crtcalty task aware parttonng algorthm, called -HA for short, dffers from by addng one step before startng : Select all of the heavy low-crtcalty tasks satsfyng (4) and relate each heavy low-crtcalty task to one processor. If a heavy low-crtcalty task τ b s related to processor P x, then we set the ntal hgh-crtcalty remanng utlzaton of P x as U HI(P x) 1 U b. (5) After that, the parttonng algorthm follows the same procedure as. It s easy to see that f the number of heavy low-crtcalty tasks s greater than the processor number m, then the task set cannot be successfully scheduled by any algorthm (snce n that case the total low-crtcalty utlzaton of the task set s larger than m).

5 In the example of Table I, snce 1 U (π HI )/2 =.6 < U5 =.7, τ 5 s a heavy low-crtcalty task and s related to P 1. So U HI (P 1 ) s set to 1.7 =.3. After that, followng the parttonng algorthm, τ 1, τ 2, τ 3 wll be allocated to P 2 and τ 4 wll be allocated to P 1 as llustrated n Fgure 3b. Consequently, P 1 reserves enough free capacty to adopt the heavy low-crtcalty task τ 5 n step 3 of, and the task set s successfully parttoned. B. Improvng the Vrtual Deadlne Tunng Algorthm A major reason for EY to acheve extremely good schedulablty s that t employs a very effectve heurstc algorthm to tune the vrtual deadlnes of hgh-crtcalty tasks. However, the tunng algorthm n EY s not completely sutable to. Recall that when the tunng algorthm s nvoked n step 2 of, only hgh-crtcalty tasks have been allocated and no nformaton of low-crtcalty s known at that moment. If one uses (3) to choose the task to shrnk ts vrtual deadlne, t may lead to very fast ncrease of dbf, whch s harmful to the schedulablty n the low-crtcalty mode. To address ths problem, we use the balance factor as the metrc to choose tasks for vrtual deadlne tunng. Defnton IV.2 (Balance Factor). For a hgh crtcalty task τ k and tme nterval sze t, the balance factor s defned as φ(τ k, t) = dbfhi(τ k, D k ()) dbf HI(τ k, D k () 1) C k ()/(D k () 1) C k ()/D k (). (6) The denomnator C k ()/(D k () 1) C k ()/D k (), ntutvely, represents the cost of the schedulablty n the lowcrtcalty mode when the vrtual deadlne of a hgh-crtcalty task s decreased by 1. Our new tunng algorthm always chooses the task wth the maxmal φ(τ k, t) value, whch mproves the schedulablty n the hgh-crtcalty mode at the mnmal cost of the schedulablty n the low-crtcalty mode. V. EXPERIMENTAL EVALUATION We conduct experments wth randomly generated task systems to compare the performance, n terms of acceptance rato, of the algorthms proposed n ths paper and prevous multprocessor schedulng algorthms for mxed-crtcalty systems. The prevous algorthms evaluated n our experments nclude both global and parttoned schedulng algorthms. Our experments show that the performance of parttoned schedulng s sgnfcantly better than global schedulng (the algorthms n [12], [13]), whch s smlar to the multprocessor schedulng of tradtonal real-tme task systems. Therefore, n ths secton we only report the comparson between the algorthms proposed n ths paper and other parttoned schedulng algorthms. The evaluated algorthms nclude: : the parttonng algorthm n Secton III. -HA: enhanced by the heavy lowcrtcalty task aware allocaton polcy n Secton IV-A. -HA-BF: -HA further enhanced by the optmzed vrtual deadlne tunng n Secton IV-B. : the parttoned schedulng algorthm based on the Audsley approach n [1]. : the straghtforward extenson of EY to parttoned schedulng wth the FF packng strategy as dscussed n the begnnng of Secton III. MC-Partton: the parttoned schedulng algorthm based on EDF-VD approach n [2]. A. Random Task Set Generaton Our experments use dual-crtcalty mplct deadlnes sporadc task model on an m dentcal unt speed multprocessor platform. We use a smlar approach as n [8] to generate random mxed-crtcalty task sets. The random task s generated by four tunable parameters: the probablty P HI of beng of hgh-crtcalty, the maxmal rato R HI between hgh- and low-crtcalty executon tme of each hgh-crtcalty task, the maxmal low-crtcalty executon tme C max and the maxmal perod T max. Each new task τ s generated as follows: ζ = HI wth probablty P HI, otherwse ζ =. C () s a randomly generated nteger unformly drawn from [1, C max ]. C (HI) s a randomly generated nteger unformly drawn from [C(), R HI C ()] f ζ = HI. Otherwse, C (HI) = C (). T s a randomly generated nteger unformly drawn from [C (HI), T max ]. D = T because of the mplct deadlne constrant. Each random task set s generated wth a target normalzed average utlzaton U wth a acceptable range of errors: Umn = U.5 m and Umax = U +.5 m. A random task set s generated by startng wth an empty task set π =, to whch random tasks are successvely added. We generate a new random task and append t to π contnually as long as mn(u (π), U HI (π)) < Umn. If a task s added such that max(u (π), U HI (π)) > Umn, we dscard the whole task set and start wth a new empty task set. If a task s added such that Umn mn(u (π), U HI (π)) and max(u (π), U HI (π)) Umax, the task set s fnshed, unless all tasks n π have the same crtcalty level or U (π), U HI (π) >.99, n whch case the task set s nstead dscarded. B. Results The parameter confguraton of the experments n Fgure 4 s as follows: P HI =.5, R HI = 4, C max = 1 and T max =. Fgure 4a to Fgure 4d show the acceptance rato,.e., the porton of schedulable task sets out of all the random task sets generated at ths utlzaton range, as a functon of normalzed average utlzaton wth dfferent processor numbers. Each pont n any fgure ncludes at least randomly generated task sets. Fgure 4e and Fgure 4f llustrate the effect of varyng random parameters R HI and P HI through the weghted acceptance rato functon of the vared parameters. For each certan vared parameter, we compute acceptance ratos A(U ) wth dfferent U, and let W (U ) > be the weghted factor for target utlzaton U. The weghted acceptance rato s denoted as U W (U ) A(U )/ U W (U ). Each pont n the two fgures ncludes at least randomly generated task sets.

6 1 1 1 Acceptance rato (%) HA-BF -HA MC-Partton Normalzed average utlzaton (a) Result on 2-processor system Acceptance rato (%) HA-BF -HA MC-Partton Normalzed average utlzaton (b) Result on 4-processor system Acceptance rato (%) HA-BF -HA MC-Partton Normalzed average utlzaton (c) Result on 8-processor system Acceptance rato (%) HA-BF -HA MC-Partton Normalzed average utlzaton (d) Result on 16-processor system Weghted acceptance rato (%) HA-BF -HA MC-Partton Varyng R HI (e) Varyng R HI on 4-processor system Fgure 4. Experment results (P HI =.5, R HI = 4, C max = 1andT max = ) Weghted acceptance rato (%) HA-BF -HA MC-Partton Varyng P HI (f) Varyng P HI on 4-processor system Fgure 4 shows that performs better than DC- Partton, and wth fewer number of processors. However, the performance of degrades as the number of processors becomes greater. Wth 16 processors, may fal to partton task sets wth rather low total normalzed average utlzaton. Ths s manly because of the problem we ponted out at the begnnng of Secton III. The enhanced algorthm -HA can solve ths problem and thus steadly exhbts better performance than and. Moreover, wth the optmzed vrtual deadlne tunng algorthm based on the balance factor, the acceptance rato of -HA-BF s further mproved. VI. CONCLUSIONS In ths paper we studed the parttoned schedulng algorthm for mxed-crtcalty systems on multprocessors. We proposed new parttoned schedulng algorthms based on a hybrd task packng strategy and the state-of-the-art sngle-processor mxed-crtcalty schedulng algorthm EY [8]. Experments wth randomly generated task sets showed sgnfcant mprovement of our proposed approach over exstng algorthms. ACKNOWLEDGEMENTS Supported n part by Chna Fundamental Research Funds for the Central Unverstes under grant N141 and N11843; and Chna Research Fund for the Doctoral Program of Hgher Educaton under grant ; and Chna Scence Fund for Youths under grant REFERENCES [1] S. Baruah, H. L, and L. Stouge, Towards the desgn of certfable mxed-crtcalty systems, n RTAS, 1. [2] S. Baruah, B. Chattopadhyay, H. L, and I. Shn, Mxed-crtcalty schedulng on multprocessors, Real-Tme Systems, 13. [3] S. K. Baruah, V. Bonfac, G. D`Angelo, A. Marchett-Spaccamela, S. Van Der Ster, and L. Stouge, Mxed-crtcalty schedulng of sporadc task systems, n Algorthms-ESA, 11. [4] S. Baruah, A. Burns, and R. Davs, Response-tme analyss for mxed crtcalty systems, n RTSS, 11. [5] A. Baston, B. B. Brandenburg, and J. H. Anderson, An emprcal comparson of global, parttoned, and clustered multprocessor edf schedulers, n RTSS, 1. [6] J. Carpenter, S. Funk, P. Holman, A. Srnvasan, J. Anderson, and S. Baruah, A categorzaton of real-tme multprocessor schedulng problems and algorthms, Proceedngs of the IEEE, 4. [7] D. de Nz, K. Lakshmanan, and R. Rajkumar, On the schedulng of mxed-crtcalty real-tme task sets, n RTSS, 9. [8] P. Ekberg and W. Y, Outstandng paper award: Boundng and shapng the demand of mxed-crtcalty sporadc tasks, n ECRTS, 12. [9] N. Guan, P. Ekberg, M. Stgge, and W. Y, Effectve and effcent schedulng of certfable mxed-crtcalty sporadc task systems, n RTSS, 11. [1] O. R. Kelly, H. Aydn, and B. Zhao, On parttoned schedulng of fxedprorty mxed-crtcalty task sets, n TrustCom, 11. [11] H. L and S. Baruah, An algorthm for schedulng certfable mxedcrtcalty sporadc task systems, n RTSS, 1. [12], Outstandng paper award: Global mxed-crtcalty schedulng on multprocessors, n ECRTS, 12. [13] R. Pathan, Schedulablty analyss of mxed-crtcalty systems on multprocessors, n ECRTS, 12. [14] S. Vestal, Preemptve schedulng of mult-crtcalty systems wth varyng degrees of executon tme assurance, n RTSS, 7.

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

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

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

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

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

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

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

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

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

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

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

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

Resource Reservation for Mixed Criticality Systems

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

More information

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

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

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

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

Utilization-Based Scheduling of Flexible Mixed-Criticality Real-Time Tasks

Utilization-Based Scheduling of Flexible Mixed-Criticality Real-Time Tasks 1 Utlzaton-Based Schedulng of Flexble Mxed-Crtcalty Real-Tme Tasks Gang Chen, Nan Guan, D Lu, Qngqang He, Ka Huang, Todor Stefanov, Wang Y arxv:1711.00100v1 [cs.dc] 29 Sep 2017 Abstract Mxed-crtcalty models

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

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

Markov Chain Monte Carlo Lecture 6

Markov Chain Monte Carlo Lecture 6 where (x 1,..., x N ) X N, N s called the populaton sze, f(x) f (x) for at least one {1, 2,..., N}, and those dfferent from f(x) are called the tral dstrbutons n terms of mportance samplng. Dfferent ways

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

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

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

EDF Scheduling for Identical Multiprocessor Systems

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

More information

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

Min Cut, Fast Cut, Polynomial Identities

Min Cut, Fast Cut, Polynomial Identities Randomzed Algorthms, Summer 016 Mn Cut, Fast Cut, Polynomal Identtes Instructor: Thomas Kesselhem and Kurt Mehlhorn 1 Mn Cuts n Graphs Lecture (5 pages) Throughout ths secton, G = (V, E) s a mult-graph.

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

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

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

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

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

Sampling Theory MODULE VII LECTURE - 23 VARYING PROBABILITY SAMPLING

Sampling Theory MODULE VII LECTURE - 23 VARYING PROBABILITY SAMPLING Samplng heory MODULE VII LECURE - 3 VARYIG PROBABILIY SAMPLIG DR. SHALABH DEPARME OF MAHEMAICS AD SAISICS IDIA ISIUE OF ECHOLOGY KAPUR he smple random samplng scheme provdes a random sample where every

More information

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

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

More information

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

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

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

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

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

More information

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

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

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

Polynomial Regression Models

Polynomial Regression Models LINEAR REGRESSION ANALYSIS MODULE XII Lecture - 6 Polynomal Regresson Models Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Test of sgnfcance To test the sgnfcance

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

Mixed-Criticality Scheduling with I/O

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

More information

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

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

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

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013 ISSN: 2277-375 Constructon of Trend Free Run Orders for Orthogonal rrays Usng Codes bstract: Sometmes when the expermental runs are carred out n a tme order sequence, the response can depend on the run

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

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

arxiv: v3 [cs.os] 12 Mar 2016

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

More information

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

4 Analysis of Variance (ANOVA) 5 ANOVA. 5.1 Introduction. 5.2 Fixed Effects ANOVA

4 Analysis of Variance (ANOVA) 5 ANOVA. 5.1 Introduction. 5.2 Fixed Effects ANOVA 4 Analyss of Varance (ANOVA) 5 ANOVA 51 Introducton ANOVA ANOVA s a way to estmate and test the means of multple populatons We wll start wth one-way ANOVA If the populatons ncluded n the study are selected

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 - 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

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

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011 Stanford Unversty CS359G: Graph Parttonng and Expanders Handout 4 Luca Trevsan January 3, 0 Lecture 4 In whch we prove the dffcult drecton of Cheeger s nequalty. As n the past lectures, consder an undrected

More information

Lecture Randomized Load Balancing strategies and their analysis. Probability concepts include, counting, the union bound, and Chernoff bounds.

Lecture Randomized Load Balancing strategies and their analysis. Probability concepts include, counting, the union bound, and Chernoff bounds. U.C. Berkeley CS273: Parallel and Dstrbuted Theory Lecture 1 Professor Satsh Rao August 26, 2010 Lecturer: Satsh Rao Last revsed September 2, 2010 Lecture 1 1 Course Outlne We wll cover a samplng of the

More information

Difference Equations

Difference Equations Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1

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

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

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

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

More information

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

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

More information

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

Parallel Real-Time Scheduling of DAGs

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

More information

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

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

More information

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

arxiv:cs.cv/ Jun 2000

arxiv:cs.cv/ Jun 2000 Correlaton over Decomposed Sgnals: A Non-Lnear Approach to Fast and Effectve Sequences Comparson Lucano da Fontoura Costa arxv:cs.cv/0006040 28 Jun 2000 Cybernetc Vson Research Group IFSC Unversty of São

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

Chapter 6. Supplemental Text Material

Chapter 6. Supplemental Text Material Chapter 6. Supplemental Text Materal S6-. actor Effect Estmates are Least Squares Estmates We have gven heurstc or ntutve explanatons of how the estmates of the factor effects are obtaned n the textboo.

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

Lossy Compression. Compromise accuracy of reconstruction for increased compression.

Lossy Compression. Compromise accuracy of reconstruction for increased compression. Lossy Compresson Compromse accuracy of reconstructon for ncreased compresson. The reconstructon s usually vsbly ndstngushable from the orgnal mage. Typcally, one can get up to 0:1 compresson wth almost

More information

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

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

More information

Lecture 3: Probability Distributions

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

More information

Lecture 12: Discrete Laplacian

Lecture 12: Discrete Laplacian Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly

More information

Variability-Driven Module Selection with Joint Design Time Optimization and Post-Silicon Tuning

Variability-Driven Module Selection with Joint Design Time Optimization and Post-Silicon Tuning Asa and South Pacfc Desgn Automaton Conference 2008 Varablty-Drven Module Selecton wth Jont Desgn Tme Optmzaton and Post-Slcon Tunng Feng Wang, Xaoxa Wu, Yuan Xe The Pennsylvana State Unversty Department

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

A FAST HEURISTIC FOR TASKS ASSIGNMENT IN MANYCORE SYSTEMS WITH VOLTAGE-FREQUENCY ISLANDS

A FAST HEURISTIC FOR TASKS ASSIGNMENT IN MANYCORE SYSTEMS WITH VOLTAGE-FREQUENCY ISLANDS Shervn Haamn A FAST HEURISTIC FOR TASKS ASSIGNMENT IN MANYCORE SYSTEMS WITH VOLTAGE-FREQUENCY ISLANDS INTRODUCTION Increasng computatons n applcatons has led to faster processng. o Use more cores n a chp

More information

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

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

More information

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

Analysis of Discrete Time Queues (Section 4.6)

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

More information

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

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

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

An Admission Control Algorithm in Cloud Computing Systems

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

More information

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

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

Week 5: Neural Networks

Week 5: Neural Networks Week 5: Neural Networks Instructor: Sergey Levne Neural Networks Summary In the prevous lecture, we saw how we can construct neural networks by extendng logstc regresson. Neural networks consst of multple

More information

Partitioned EDF Scheduling in Multicore systems with Quality of Service constraints

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

More information

a b a In case b 0, a being divisible by b is the same as to say that

a b a In case b 0, a being divisible by b is the same as to say that Secton 6.2 Dvsblty among the ntegers An nteger a ε s dvsble by b ε f there s an nteger c ε such that a = bc. Note that s dvsble by any nteger b, snce = b. On the other hand, a s dvsble by only f a = :

More information

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

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

More information

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

On the correction of the h-index for career length

On the correction of the h-index for career length 1 On the correcton of the h-ndex for career length by L. Egghe Unverstet Hasselt (UHasselt), Campus Depenbeek, Agoralaan, B-3590 Depenbeek, Belgum 1 and Unverstet Antwerpen (UA), IBW, Stadscampus, Venusstraat

More information

Boostrapaggregating (Bagging)

Boostrapaggregating (Bagging) Boostrapaggregatng (Baggng) An ensemble meta-algorthm desgned to mprove the stablty and accuracy of machne learnng algorthms Can be used n both regresson and classfcaton Reduces varance and helps to avod

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

Scheduling Motivation

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

More information

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

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

More information

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

9 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations Physcs 171/271 - Chapter 9R -Davd Klenfeld - Fall 2005 9 Dervaton of Rate Equatons from Sngle-Cell Conductance (Hodgkn-Huxley-lke) Equatons We consder a network of many neurons, each of whch obeys 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

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