Analysis of Federated and Global Scheduling for Parallel Real-Time Tasks

Size: px
Start display at page:

Download "Analysis of Federated and Global Scheduling for Parallel Real-Time Tasks"

Transcription

1 Analysis of Federaed and Global Scheduling for Parallel Real-Time Tasks Jing Li, Jian-Jia Chen, Kunal Agrawal, Chenyang Lu, Chris Gill, Abusayeed Saifullah Washingon Universiy in S. Louis, U.S.A. TU Dormund Universiy, Germany {kunal, lu, Absrac This paper considers he scheduling of parallel realime asks wih implici deadlines. Each parallel ask is characerized as a general direced acyclic graph (DAG). We analyze hree differen real-ime scheduling sraegies: wo well known algorihms, namely global earliesdeadline-firs and global rae-monoonic, and one new algorihm, namely federaed scheduling. The federaed scheduling algorihm proposed in his paper is a generalizaion of pariioned scheduling o parallel asks. In his sraegy, each high-uilizaion ask (uilizaion 1) is assigned a se of dedicaed cores and he remaining low-uilizaion asks share he remaining cores. We prove capaciy augmenaion bounds for all hree schedulers. In paricular, we show ha if on uni-speed cores, a ask se has oal uilizaion of a mos m and he criicalpah lengh of each ask is smaller han is deadline, hen federaed scheduling can schedule ha ask se on m cores of speed ; G-EDF can schedule i wih speed ; and G-RM can schedule i wih speed We also provide lower bounds on he speedup and show ha he bounds are igh for federaed scheduling and G-EDF when m is sufficienly large. I. Inroducion In he las decade, mulicore processors have become ubiquious and here has been exensive work on how o exploi hese parallel machines for real-ime asks. In he real-ime sysems communiy, here has been significan research on scheduling ask ses wih iner-ask parallelism where each ask in he ask se is a sequenial program. In his case, increasing he number of cores allows us o increase he number of asks in he ask se. However, since each ask can only use one core a a ime, he compuaional requiremen of a single ask is sill limied by he capaciy of a single core. Recenly, here has been some ineres in he design and analysis of scheduling sraegies for ask ses wih inra-ask parallelism (in addiion o iner-ask parallelism), where individual asks are parallel programs and can poenially uilize more han one core in parallel. These models enable asks wih higher execuion demands and igher deadlines, such as hose used in auonomous vehicles [31], video surveillance, compuer vision, radar racking and real-ime hybrid esing [8] In his paper, we consider he general direced acyclic graph (DAG) model. We analyze hree differen scheduling sraegies: a new sraegy, namely federaed scheduling, and wo classic sraegies, namely global EDF and global rae-monoonic scheduling. We prove ha all hree sraegies provide srong performance guaranees, in he form of capaciy augmenaion bounds, for scheduling parallel DAG asks wih implici deadlines. One can generally derive wo ypes of performance bounds for real-ime schedulers. The radiional bound is called a resource augmenaion bound (also called a processor speed-up facor). A scheduler S provides a resource augmenaion bound of b 1 if i can successfully schedule any ask se τ on m cores of speed b as long as he ideal scheduler can schedule τ on m cores of speed 1. A resource augmenaion bound provides a good noion of how close a scheduler is o he opimal schedule, bu i has a drawback. Noe ha he ideal scheduler is only a hypoheical scheduler, meaning ha i always finds a feasible schedule if one exiss. Unforunaely, since we ofen canno ell wheher he ideal scheduler can schedule a given ask se on uni-speed cores, a resource augmenaion bound may no provide a schedulabiliy es. Anoher bound ha is commonly used for sequenial asks is a uilizaion bound. A scheduler S provides a uilizaion bound of b if i can successfully schedule any ask se which has oal uilizaion a mos m/b on m cores. 1 A uilizaion bound provides more informaion han a resource augmenaion bound; any scheduler ha guaranees a uilizaion bound of b auomaically guaranees a 1 A uilizaion bound is ofen saed in erms of 1/b; we adop his noaion in order o be consisen wih he oher bounds saed here.

2 resource augmenaion bound of b as well. In addiion, i acs as a very simple schedulabiliy es in iself, since he oal uilizaion of he ask se can be calculaed in linear ime and compared o m/b. Finally, a uilizaion bound gives an indicaion of how much load a sysem can handle; allowing us o esimae how much over-provisioning may be necessary when designing a plaform. Unforunaely, i is ofen impossible o prove a uilizaion bound for parallel sysems due o Dhall s effec; ofen, we can consruc pahological ask ses wih uilizaion arbirarily close o 1, bu which canno be scheduled on m cores. Li e al. [35] defined a concep of capaciy augmenaion bound which is similar o he uilizaion bound, bu adds a new condiion. A scheduler S provides a capaciy augmenaion bound of b if i can schedule any ask se τ which saisfies he following wo condiions: (1) he oal uilizaion of τ is a mos m/b, and () he worscase criical-pah lengh of each ask L i (execuion ime of he ask on an infinie number of cores) is a mos 1/b fracion of is deadline. A capaciy augmenaion bound is quie similar o a uilizaion bound: i also provides more informaion han a resource augmenaion bound does; any scheduler ha guaranees a capaciy augmenaion bound of b auomaically guaranees a resource augmenaion bound of b as well. I also acs as a very simple schedulabiliy es. Finally, i can also provide an esimaion of he load a sysem is expeced o handle. There has been some recen research on proving boh resource augmenaion bounds and capaciy augmenaion bounds for various scheduling sraegies for parallel asks. This work falls in wo caegories. In decomposiion-based sraegies, he parallel ask is decomposed ino a se of sequenial asks and hey are scheduled using exising sraegies for scheduling sequenial asks on muliprocessors. In general, decomposiion-based sraegies require explici knowledge of he srucure of he DAG off-line in order o apply decomposiion. In non-decomposiion based sraegies, he program can unfold dynamically since no off-line knowledge is required. For a decomposed sraegy, mos prior work considers synchronous asks (subcaegory of general DAGs) wih implici deadlines. Lakshmanan e al. [3] proved a capaciy augmenaion bound of 3.4 for pariioned fixed-prioriy scheduling for a resriced caegory of synchronous asks 3 under decomposed deadline monoonic scheduling. Saifullah e al. [45] provide a differen decomposiion sraegy for general parallel synchronous asks and prove a capaciy augmenaion bound of 4 when he decomposed asks are scheduled using global EDF and 5 when scheduled using pariioned DM. Kim e al. [31] provide anoher decomposiion sraegy and prove a capaciy augmenaion bound of Criical-pah lengh of a sequenial ask is equal o is execuion ime 3 Fork-join ask model, in heir erminology using global deadline monoonic scheduling. Nelissen e al. [40] proved a resource augmenaion bound of for general synchronous asks. More recenly, Saifullah e al. [44] provide a decomposiion sraegy for general DAG asks ha provides a capaciy augmenaion bound of 4. For non-decomposiion sraegies, researchers have sudied primarily global earlies deadline firs (G-EDF) and global rae-monoonic (G-RM). Andersson and Niz [4] show ha G-EDF provides resource augmenaion bound of for synchronous asks wih consrained deadlines. Boh Li e al. [35] and Bonifaci e al. [15] concurrenly showed ha G-EDF provides a resource augmenaion bound of for general DAG asks wih arbirary deadlines. In heir paper, Bonifaci e al. also proved ha G-RM provides a resource augmenaion bound of 3 for parallel DAG asks wih arbirary deadlines; Li e al. also provide a capaciy augmenaion bound of 4 for G-EDF for ask ses wih implici deadlines. In summary, he bes known capaciy augmenaion bound for implici deadlines asks are 4 for DAG asks using G-EDF, and 3.73 for parallel synchronous asks using decomposiion combined wih G-DM. The conribuions of his paper are as follows: 1 We propose a novel federaed scheduling sraegy. Here, each high-uilizaion ask (uilizaion 1) is allocaed a dedicaed cluser (se) of cores. A muliprocessor scheduling algorihm is used o schedule all low-uilizaion asks, each of which is run sequenially, on a shared cluser composed of he remaining cores. Federaed scheduling can be seen as a pariioned sraegy generalized o parallel asks. This is he bes known capaciy augmenaion bound for any scheduler for parallel DAGs. We prove ha he capaciy augmenaion bound for his federaed scheduler is. In addiion, we also show no scheduler can provide a beer capaciy augmenaion bound of 1/m for parallel asks. Therefore, a bound of for federaed scheduling is igh when m is large enough. 3 We improve he capaciy augmenaion bound of G- EDF o for DAGs. When m is large, here is a maching lower bound for G-EDF [35]; hence, his resul closes he gap for large m. This is he bes known capaciy augmenaion bound for any global scheduler for parallel DAGs. 4 We show ha G-RM has a capaciy augmenaion bound of This is he bes known capaciy augmenaion bound for any fixed-prioriy scheduler for DAG asks. Even if resriced o synchronous asks, his is sill he bes bound for global fixed prioriy scheduling wihou decomposiion. The paper is organized as follows. Secion II defines he DAG model for parallel asks and provides some definiions. Secion III presens our federaed scheduling

3 algorihm and proves he augmenaion bound. Secion IV proves a lower bound for any scheduler for parallel asks. Secion V presens a canonical form o give an upper bound of he work of a DAG ha should be done in a specified inerval lengh. Secion VI proves ha G-EDF provides a capaciy augmenaion bound of.618. Secion VII shows ha G-RM provides a capaciy augmenaion bound of We discuss some pracical consideraions of he hree schedulers in Secion VIII. Secion IX discusses relaed work and Secion X concludes his paper. II. Sysem Model We now presen he deails of he DAG ask model for parallel asks and some addiional definiions. We consider a se τ of n independen sporadic realime asks {τ 1, τ,..., τ n }. A ask τ i represens an infinie sequence of arrivals and execuions of ask insances (also called jobs). We consider he sporadic ask model [9, 9] where, for a ask τ i, he minimum iner-arrival ime (or period) T i represens he ime beween consecuive arrivals of ask insances, and he relaive deadline represens he emporal consrain for execuing he job. If a ask insance of τ i arrives a ime, he execuion of his insance mus be finished no laer han he absolue deadline + and he release of he nex insance of ask τ i mus be no earlier han plus he minimum iner-arrival ime, i.e. +T i. In his paper, we consider implici deadline asks where each ask τ i s relaive deadline is equal o is minimum iner-arrival ime T i ; ha is, T i =. We consider he schedulabiliy of his ask se on a uniform mulicore sysem consising of m idenical cores. Each ask τ i τ is a parallel ask and is characerized as a direced acyclic graph (DAG). Each node (subask) in he DAG represens a sequence of insrucions (a hread) and each edge represens a dependency beween nodes. A node (subask) is ready o be execued when all is predecessors have been execued. Throughou his paper, as i is no necessary o build he analysis based on specific srucure of he DAG, only wo parameers relaed o he execuion paern of ask τ i are defined: oal execuion ime (or work) C i of ask τ i : This is he summaion of he wors-case execuion imes of all he subasks of ask τ i. criical-pah lengh L i of ask τ i : This is he lengh of he criical-pah in he given DAG, in which each node is characerized by he wors-case execuion ime of he corresponding subask of ask τ i. Criical-pah lengh is he wors-case execuion ime of he ask on an infinie number of cores. Given a DAG, obaining work C i and criical-pah lengh L i [46, pages ] can boh be done in linear ime. For breviy, he uilizaion Ci T i = Ci of ask τ i is denoed by u i for implici deadlines. The oal uilizaion of he ask se is U = τ u i τ i. Uilizaion-Based Schedulabiliy Tes. In his paper, we analyze schedulers in erms of heir capaciy augmenaion bounds. The formal definiion is presened here: Definiion 1. Given a ask se τ wih oal uilizaion of U, a scheduling algorihm S wih capaciy augmenaion bound b can always schedule his ask se on m cores of speed b as long as τ saisfies he following condiions on uni speed cores. Uilizaion does no exceed oal cores, u i m (1) τ i τ For each ask τ i τ, he criical pah L i () Since no scheduler can schedule a ask se τ on m uni speed cores unless Condiions (1) and () are me, a capaciy augmenaion bound auomaically leads o a resource augmenaion bound. This definiion can be equivalenly saed (wihou reference o he speedup facor) as follows: Condiion (1) says ha he oal uilizaion U is a mos m/b and Condiion () says ha he criical-pah lengh of each ask is a mos 1/b of is relaive deadline, ha is, L i /b. Therefore, in order o check if a ask se is schedulable we only need o know he oal ask se uilizaion, and he maximum criical-pah uilizaion. Noe ha a scheduler wih a smaller b is beer han anoher wih a larger b, since when b = 1 S is an opimal scheduler. III. Federaed Scheduling This secion presens he federaed scheduling sraegy for parallel asks wih implici deadlines. We prove ha i provides a capaciy augmenaion bound of on m-core machine parallel real-ime asks. A. Federaed Scheduling Algorihm Given a ask se τ, he federaed scheduling algorihm works as follows: Firs, asks are divided ino wo disjoin ses: τ high conains all high-uilizaion asks asks wih wors-case uilizaion a leas one (u i 1), and τ low conains all he remaining low-uilizaion asks. Consider a high-uilizaion ask τ i wih wors-case execuion ime C i, wors-case criical-pah lengh L i, and deadline (which is equal o is period T i ). We assign n i dedicaed cores o τ i, where n i is Ci L i n i = (3) L i We use n high = τ i τ high n i o denoe he oal number of cores assigned o high-uilizaion asks τ high. We assign he remaining cores o all low-uilizaion asks τ low, denoed as n low = m n high. The federaed scheduling algorihm admis he ask se τ, if n low is non-negaive and n low τ i τ low u i. Afer a valid core allocaion, runime scheduling proceeds as follows: (1) Any greedy (work-conserving) parallel scheduler can be used o schedule a high-uilizaion ask 3

4 τ i on is assigned n i cores. Informally, a greedy scheduler is one ha never keeps a core idle if some node is ready o execue. () Low-uilizaion asks are reaed and execued as hough hey are sequenial asks and any muliprocessor scheduling algorihm (such as pariioned EDF [37], or various rae-monoonic schedulers [3]) wih a uilizaion bound of a mos 1/ can be used o schedule all he lowuilizaion asks on he allocaed n low cores. The imporan observaion is ha we can safely rea low-uilizaion asks as sequenial asks since C i and parallel execuion is no required o mee heir deadlines. 4 B. Capaciy Augmenaion Bound of for Federaed Scheduling Theorem 1. The federaed scheduling algorihm has a capaciy augmenaion bound of. To prove Theorem 1, we consider a ask se τ ha saisfies Condiions (1) and () from Definiion 1 for b =. Then, we (1) sae he relaively obvious Lemma 1; () prove ha a high uilizaion ask τ i mees is deadline when assigned n i cores; and (3) show ha n low is nonnegaive and saisfies n low b τ i τ low u i and herefore all low uilizaion asks in τ will mee deadlines when scheduled using any muliprocessor scheduling sraegy wih uilizaion bound no less han b (i.e. can afford oal ask se uilizaion of m/b = 50%m). These hree seps complee he proof. Lemma 1. A ask se τ is classified ino disjoin subses s 1, s,..., s k, and each subse is assigned a dedicaed cluser of cores wih size n 1, n,..., n k respecively, such ha i n i m. If each subse s j is schedulable on is n j cores using some scheduling algorihm S j (possibly differen for each subse), hen he whole ask se is guaraneed o be schedulable on m cores. High-Uilizaion Tasks Are Schedulable. Assume ha a machine s execuion ime is divided ino discree quana called seps. During each sep a core can be eiher idle or performing one uni of work. We say a sep is complee if no core is idle during ha sep, and oherwise we say i is incomplee. A greedy scheduler never keeps a cores idle if here is ready work available. Then, for a greedy scheduler on n i cores, we can sae wo sraighforward lemmas [35]. Lemma. [Li13] Consider a greedy scheduler running on n i cores for ime seps. If he oal number of incomplee seps during his period is, he oal work F done during hese ime seps is a leas F n i (n i 1). 4 Even if hese asks are expressed as parallel programs, i is easy o enforce correc sequenial execuion of parallel asks any opological ordered execuion of he nodes of he DAG is a valid sequenial execuion. Lemma 3. [Li13] If a job of ask τ i is execued by a greedy scheduler, hen every incomplee sep reduces he remaining criical-pah lengh of he job by 1. From Lemmas and 3, we can esablish Theorem. Theorem. If an implici-deadline deerminisic parallel C ask τ i is assigned n i = i L i L i dedicaed cores, hen all is jobs can mee heir deadlines, when using a greedy scheduler. Proof: For conradicion, assume ha some job of a highuilizaion ask τ i misses is deadline when scheduled on n i cores by a greedy scheduler. Therefore, during he ime seps beween he release of his job and is deadline, here are fewer han L i incomplee seps; oherwise, by Lemma 3, he job would have compleed. Therefore, by Lemma, he scheduler mus have finished a leas n i (n i 1)L i work. = n i (n i 1)L i = n i ( L i ) + L i Ci L i ( L i ) + L i L i C i L i ( L i ) + L i = C i L i Since he job has work of a mos C i, i mus have finished in seps, leading o a conradicion. Low-Uilizaion Tasks are Schedulable. We firs calculae a lower bound on n low, he number of oal cores assigned o low-uilizaion asks, when a ask se τ ha saisfies Condiions (1) and () of Definiion 1 for b = is scheduled using a federaed scheduling sraegy. Lemma 4. The number of cores assigned o low-uilizaion asks is a leas n low low u i. Proof: Here, for breviy of he proof, we denoe σ i = Di L i. I is obvious ha = σ i L i and hence C i = u i = σ i u i L i. Therefore, Ci L i σi u i L i L i σi u i 1 n i = = = L i σ i L i L i Since each ask τ i in ask se τ saisfies Condiion () of Definiion 1 for b = ; herefore, he criical-pah lengh of each ask is a mos 1/b of is relaive deadline, ha is, L i /b = σ i b =. By he definiion of high-uilizaion ask τ i, we have 1 u i. Togeher wih σ i, we know ha: 0 (u i 1)(σ i ) 4

5 From he definiion of ceiling, we can derive σi u i 1 n i = < σ iu i = σ iu i + σ i σ iu i + σ i + (u i 1)(σ i ) = σ iu i + σ i + σ i u i u i σ i + = σ iu i u i = bu i = u i() = u i In summary, for each high-uilizaion ask, n i < bu i. So, heir sum τ high saisfies n high = high n i < b high u i. Since he ask se also saisfies Condiion (1), we have n low = m n high > b all u i b high u i = b low Thus, he number of remaining cores allocaed o lowuilizaion asks is a leas n low > low u i. Corollary 1. For ask ses saisfying Condiions (1) and (), a muliprocessor scheduler wih uilizaion bound of a leas 50% can schedule all he low-uilizaion asks sequenially on he remaining n low cores. Proof: Low-uilizaion asks are allocaed n low cores, and from Lemma 4 we know ha he oal uilizaion of he low uilizaion asks is less han n low /b = 50%n low. Therefore, any muliprocessor scheduling algorihm ha provides a uilizaion bound of (i.e., can schedule any ask se wih oal wors-case uilizaion raio no more han 50%) can schedule i. Many muliprocessor scheduling algorihms (such as pariioned EDF or pariioned RM) provide a uilizaion bound of 1/ (i.e., 50%) o sequenial asks. Tha is, given n low cores, hey can schedule any ask se wih a oal wors-case uilizaion up o n low /. Using any of hese algorihms for low-uilizaion asks will guaranee ha he federaed algorihm mees all deadlines wih capaciy augmenaion of. Therefore, since we can successfully schedule boh high and low-uilizaion asks ha saisfy Condiions (1) and (), we have proven Theorem 1 (using Lemma 1). As menioned before, a capaciy augmenaion bound acs as a simple schedulabiliy es. However, for federaed scheduling, his es can be pessimisic, especially for asks wih high parallelism. Noe, however, ha he federaed scheduling algorihm described in Secion III-A can also be direcly used as a (polynomial-ime) schedulabiliy es: given a ask se, afer assigning cores o each highuilizaion ask using his algorihm, if he remaining cores are sufficien for all low-uilizaion asks, hen he ask se u i is schedulable and we can admi i wihou deadline misses. This schedulabiliy es admis a sric superse of asks admied by he capaciy augmenaion bound es, and in pracice, i may admis ask ses wih uilizaion greaer han m/. IV. Lower Bound on Capaciy Augmenaion of Any Scheduler for Parallel Tasks On a sysem wih m cores, consider a ask se τ wih a single ask, τ 1, which sars wih sequenial execuion for 1 ime and hen forks m subasks wih execuion ime. Here, we assume is an arbirarily small posiive number. Therefore, he oal work of ask τ 1 is C 1 = m and is criical-pah lengh L i = 1. The deadline (and also minimum iner-arrival ime) of τ 1 is 1. Theorem 3. The capaciy augmenaion bound for any scheduler for parallel asks on m cores is a leas 1 m, when + 0. Proof: Consider he sysem defined above. The finishing ime of τ 1 by running a speed is no earlier han 1 m 1 + m = 1 m. If > 1 m and + 0, hen 1 m > 1, hen ask τ 1 misses is deadline. Therefore, we reach he conclusion. Since Lemma 3 works for any scheduler for parallel asks, we can conclude ha he lower bound on capaciy augmenaion of federaed scheduling is a leas, when m is sufficienly large. Since we have shown ha he upper bound on capaciy augmenaion of federaed scheduling is also, herefore, we have closed he gap beween he lower and upper bound of federaed scheduling for large m. Moreover, for sufficienly large m, federaed scheduling has he bes capaciy augmenaion bound, among all schedulers for parallel asks. V. Canonical Form of a DAG Task In his secion, we inroduce he concep of a DAG s canonical form. Noe each ask can have an arbirarily complex DAG srucure which may be difficul o analyze and may no even be known before runime. However, given he known ask se parameers (work, criical pah lengh, uilizaion, criical-pah uilizaion, ec.) we represen each ask using a canonical DAG ha allows us o upper bound he demand of he ask in any given inerval lengh. These resuls will play an imporan role when we analyze he capaciy augmenaion bounds for G-EDF in Secion VI and G-RM in Secion VII. Recall ha in his paper, we analyze asks wih implici deadline, so period equals o deadline (T i = ). Recall ha we classify each ask τ i as a low-uilizaion if u i = C i / < 1 (and hence C i < ); or high-uilizaion ask, if τ i s uilizaion u i 1. 5

6 For analyical purposes, insead of considering he complex DAG srucure of individual asks τ i, we consider a canonical form τi of ask τ i. The canonical form of a ask is represened by a simpler DAG. In paricular, each subask (node) of ask τi has execuion ime, which is posiive and arbirarily small. Noe ha is a hypoheical uni-node execuion ime. Therefore, i is safe o assume ha Di and Ci are boh inegers. Low and high-uilizaion asks have differen canonical forms described below. The canonical form τi of a low-uilizaion ask τ i is simply a chain of C i / nodes, each wih execuion ime. Noe ha ask τi is a sequenial ask. The canonical form τi of a high-uilizaion ask τ i sars wih a chain of / 1 nodes each wih execuion ime. The oal work of his chain is. The las node of he chain forks all he remaining nodes. Hence, all he remaining (C i + )/ nodes have an edge from he las node of his chain. Therefore, all hese nodes can execue enirely in parallel. Figure 1 provides an example for such a ransformaion for a high-uilizaion ask. I is imporan o noe ha he canonical form τi does no depend on he DAG srucure of τ i a all. I depends only on he ask parameers of τ i (a) original DAG nodes.. (b) canonical form: heavy ask Fig. 1: A high-uilizaion DAG ask τ i wih L i = 1, C i = 0, T i = = 16, and u i = 1.5 and is canonical form, where he number in each node is is execuion ime. As an addiional analysis ool, we define a hypoheical scheduling sraegy S ha mus schedule a ask se τ on an infinie number of cores, ha is, m =. Wih infinie number of cores, he prioriizaion of he sub-jobs becomes unnecessary and S can obain an opimal schedule by simply assigning a sub-job o a core as soon as ha subjob becomes ready for execuion. Using his schedule, all he asks finish wihin heir criical-pah lengh; herefore, if L i for all asks τ i in τ, he ask se always mees he deadlines. We denoe his schedule as S. Similarly, S, is he resuling schedule when A schedules asks on cores of speed 1. Noe ha S, finishes a job of ask τ i exacly L i / ime unis afer i is released. We now define some noaions based on S,. Le q i (, ) be he oal work finished by S, beween he arrival ime r i of ask τ i and ime r i +. Therefore, in he inerval from r i + o r i + (inerval of lengh ) he remaining C i q i (, ) workload has o be finished. We define maximum load, denoed by work i (, ), for 4+ nodes ask i as he maximum amoun of work (compuaion) ha S, mus do on he sub-jobs of τ i in any inerval of lengh. We can derive work i (, ) as follows: work i (, ) = { Ci q i (, ) C i + work i (, ) >. Clearly, boh q i (, ) and work i (, ) for a ask depend on he srucure of he DAG. We similarly define qi (, ) for he canonical form τ i. As he canonical form in ask τi is well-defined, we can derive qi (, ) direcly. Noe ha can be arbirarily small, and, hence, is impac is ignored when calculaing qi (, ). We can now define he canonical maximum load worki (, ) as he maximum workload of he canonical ask τi in any inerval in schedule S,. For a lowuilizaion ask τ i, where C i / < 1, and τi is a chain, i is easy o see ha he canonical workload is worki (, ) = (5) 0 < Ci ( ( Ci )) Ci C i + worki (, ) >. Similarly, for high-uilizaion asks, where C i / 1, when is arbirarily small, we have worki (, ) = (6) 0 < Di C i + ( ( Di )) Di C i + worki (, ) >. Figure shows he qi (, ), q i(, ), worki (, ), and work i (, ) of he high-uilizaion ask τ i in Figure 1 when = 16, = 1, and =. Noe ha worki (, ) work i (, ). In fac, he following lemma proves ha worki (, ) work i(, ) for any > 0 and 1. Lemma 5. For any > 0 and 1, worki (, ) work i (, ). Proof: For low-uilizaion asks, he enire work C i is sequenial. When < Ci, q i (, ) is, so q i(, ) = qi Ci (, ). When <, q i (, ) = C i = qi (, ). Similarly, for high-uilizaion asks, he firs unis of work is sequenial, so when < Di, q i (, ) =. In addiion, S, finishes τ i exacly Li ime unis afer i is released, while i finishes he τi a Di. Since he criicalpah lengh L i for all τ i and τi a uni-speed sysem, when < Li, q i(, ) = qi Li (, ). When <, q i(, ) = qi ( Di, ) > q i (, ), When L i <, Lasly, when Di <, q i (, ) = C i = qi (, ) We can conclude ha qi () q i() for any 0 (4) 6

7 q i (, ) q i (, ) q i (, 1) qi (, 1) (a) q i (, ) and q i(, ) worki (, 1) work i (, 1) work i (, ) worki (, ) (b) work i (, ) and work i(, ) Fig. : q i (, ), q i(, ), work i (, ) and work i(, ) for he high-uilizaion ask τ i wih = 0 in Figure 1. <. Combining wih he definiion of work(, ) (Equaion (4)), we complee he proof. We classify ask τ i as a ligh or heavy ask. A ask is a ligh ask if u i = C i / <. Oherwise, we say ha τ i is heavy (u i ). The following lemmas provide an upper bound on he densiy (he raio of workload ha has o be finished o he inerval lengh) for heavy and ligh asks. Lemma 6. For any ask τ i, > 0 and 1 <, we have { work i (, ) work i (, ) ui (0 u i < ) (7) ( u i ) u i Proof: The firs inequaliy in Inequaliy (7) comes from Lemma 5. We now show ha he second inequaliy also holds for any ask. Noe ha he righ hand side is posiive, since 1 > u i > 0. There are wo cases: Case 1: 0 <. If τ i is a low-uilizaion ask, where worki (, ) is defined in Equaion (5). For any 0 <, we have work i (, ) C i ( + C i ) C i = ( )( C i ) 0 where we rely on assumpions: (a) ; (b) since τ i is a low-uilizaion ask, C i < 1; and (c) > 1. Then, work i (,) Ci = u i. If τ i is a high-uilizaion ask, where worki (, ) is defined in Equaion (6). Inequaliy (7) holds rivially when 0 < < Di, since he lef side is 0 and righ side is posiive. For Di, we have worki (, ) = C i + = + ( u i ), Therefore, work i (,) is maximized eiher (a) when = Di if u i 0 or (b) = if u i < 0. 7 If τ i is a ligh ask wih 1 u i < and hence (b) is rue, hen we have work i (Di,) = u i. If heavy ask τ i wih u i and hence (a) is rue, hen work i ( Di, ) Di = C i Di = u i Therefore, Inequaliy (7) holds for 0 <. Case : > Suppose ha is k +, where k is and 0 <. When u i <, by Equaion (5) and Equaion (6), we have worki (, ) = kc i + worki (, ) k + ku i + u i k + = u i When u i, we can derive ha u i Equaion (6), we have worki (, ) = kc i + worki (, ) k + k ui 1 D 1 1 i + ui k + u i 1 ui 1. By 1 1 ku i + ui k Hence, Inequaliy (7) holds for any ask and any > 0. We denoe τ L and τ H as he se of ligh and heavy asks in a ask se, respecively; τ H as he number of heavy asks in he ask se; and oal uilizaion of ligh and heavy asks as U L = τ L u i and U H = τ H u i, respecively. Lemma 7. For any ask se, he following inequaliy holds: ( ) U U L τ H (8) W = ( n i=1 work i (, )) ( m 1 1 ) (9) Proof: By Lemma 6, for any > 1, i is clear ha W = work τ L+τ H sup i (,) >0 τ L u i + τ H (u i 1) 1 1 τ u = L i τ u L i+ τ u H i τ 1 H 1 = U U L τ H 1

8 where sup is he supremum of a se of numbers, τ L and τ H are he ses of heavy asks (u i ) and ligh asks (u i < ), respecively. Noe ha τ L u i + τ H u i = U L + U H = U m. Since for τ i τ H, u i, U H = τ H u i τ H, we can derive he following upper bound: U U L τ H sup(u U L τ H ) = U τ This is because for any ask se, here are wo cases: If τ H = 0 and hence U = U L, hen U U L τ H = 0. If τ H 1, hen U U L = U H U and τ H. Therefore, U U L τ H U Togeher wih he definiion of U and τ H 1 = τ H, W ( U U L τ H 1 ) ( U 1 ) ( m 1 which proves he Inequaliies 8 and 9 of Lemma 7. We use Lemma 7 in Secions VI and VII o derive bounds on G-EDF and G-RM scheduling. VI. Capaciy Augmenaion of Global EDF In his secion, we use he resuls from Secion V o prove he capaciy augmenaion bound of (3 + 5)/ for G-EDF scheduling of parallel DAG asks. In addiion, we also show a maching lower bound when m 3. A. Upper Bound on Capaciy Augmenaion of G-EDF Our analysis builds on he analysis used o prove he resource augmenaion bounds by Bonifaci e al. [15]. We firs review he paricular lemma from he paper ha we will use o achieve our bound. Lemma 8. If > 0, (m m+1) n i=1 work i(, ), he ask se is schedulable by G-EDF on speed- cores. Proof: This is based on a reformulaion of Lemma 3 and Definiion 10 in [15] considering cores wih speed. Theorem 4. The capaciy augmenaion bound for G-EDF is 3 m m + 4 m ( 3+ 5, when m is large). ) Proof: From Lemma 7 Inequaliy (9), we have > 0, n i=1 work i(, ) ( m m 1 ). If 1 (m m + 1), by Lemma 8 he schedulabiliy es for G-EDF holds. To calculae, we solve he derived equivalen inequaliy m (3m ) + (m 1) 0. ) which solves o = (3 5 m + 8m + 4m /. We now sae a more general corollary relaing he more precise bound using more informaion of a ask se. Corollary. If a ask se has oal uilizaion U, he oal heavy ask uilizaion U H and he number of capaciy augmenaion bound U / H =0.94 U / H = U / H = U / H = U / m 1 Fig. 3: The required speedup of G-EDF when m is sufficienly large and U L = 0 (i.e. U = U H ). capaciy augmenaion bound m=3 1.4 m=6 1. m=1 m= U / m Fig. 4: The required speedup of G-EDF when τ H = 1 and U L = 0 (i.e. U = U H ). heavy ask τ H, hen his ask se will be schedulable under G-EDF on a m-core machine wih speed = + U τ H 1 m + 4(U H τ H ) m + (U τ H 1) m. Proof: The proof is he same as in he proof of Theorem 4, bu wihou using he Inequaliy (9). Insead, we direcly use Inequaliy (8). If U U L τ H 1 (m m + 1), by Lemma 8 he schedulabiliy es for G-EDF holds for his ask se. Solving his, we can ge he required speedup for he schedulabiliy of he ask se. However, noe ha heavy asks are defined as he se of all asks τ i wih uilizaion u i. Therefore, given a ask se, o accuraely calculae, we sar wih he upper ) bound on, which is ˆ = (3 5 m + 8m + 4m /; hen for each ieraion i, we can calculae he required speedup i by using he U i 1 H and τ H i 1 from he (i 1)-h ieraion; we ieraively classify more asks ino he se of heavy asks and we sop when no more asks can be added o his se, i.e., τ H i 1 = τ H i. Through hese ieraive seps, we can calculae an accurae speedup. 8

9 Figure 3 illusraes he required speedup of G-EDF provided in Corollary when m is sufficienly large (i.e., m = and 1/m = 0) and U L = 0 (i.e. U = U H ). We vary U U m and τ. Noe ha U H τ = UH H τ H is he average uilizaion of all heavy asks, which should be no less han (3 + 5)/.618. I can be also be seen ha he bound is geing closer o (3+ 5)/, when U τ H is larger, which resuls from τ H = 1 and m =. Figure 4 illusraes he required speedup of G-EDF provided in Corollary when τ H 1 and U L = 0 (i.e. U = U H ) wih varying m. Noe ha > 1 is required by he proof of Corollary. And τ H = 1 can only be rue, if U m m (i.e. U m 1/3 for m = 3). B. Lower Bound on Capaciy Augmenaion of G-EDF As menioned above, Li e al. s lower bound [35] demonsraes he ighness of he above bound for large m. We now provide a lower bound for he capaciy augmenaion bound for small m. Consider a ask se τ wih wo asks, τ 1 and τ. Task τ 1 sars wih sequenial execuion for 1 ime and hen forks m + 1 subasks wih execuion ime. Here, we assume is an arbirarily small posiive number and hence 1 i is safe o assume ha m is a posiive ineger. Therefore, he oal work of ask τ 1 is C 1 = m 1 and is criical-pah lengh is L i = 1. The minimum iner-arrival ime of τ 1 is 1. Task τ is simply a sequenial ask wih work (execuion ime) of 1 1 and minimum iner-arrival ime also 1 1, where > 1 will be defined laer. Clearly, he oal uilizaion is m and he criical-pah lengh of each ask is a mos he relaive deadline (minimum iner-arrival ime). Lemma 9. When < 3 m δ+ g() and m 3, hen 1 Proof: By solving 1 he equaliy holds when + m m < 3 m + + m m 5 1 m + 4 m and δ = + > holds. = 1 1 1, we know ha 5 1 m + 4 m g() where g() is a posiive funcion of 1, which approaches o 0 when approaches 0. Now, by seing δ o + g(), we reach he conclusion. Theorem 5. The capaciy augmenaion bound for G-EDF is a leas 3 m m + 4 m, when + 0. Proof: Consider he sysem wih wo asks τ 1 and τ defined in he beginning of Secion VI-B. Suppose ha he arrival of ask τ 1 is a ime 0, and he arrival of ask τ is a ime 1 +. By definiion, he firs jobs of τ 1 and τ have absolue deadlines a 1 and 1 +. Hence, G-EDF capaciy augmenaion bound upper bound lower bound m Fig. 5: The upper bound of G-EDF provided in Theorem 4 and he lower bound in Theorem 5 wih respec o he capaciy augmenaion bound. will execue he sequenial execuion of ask τ 1 and he sub-jobs of ask τ 1 firs, and hen execue τ. The finishing ime of τ 1 a speed is no earlier han 1 + m m = 1 ask τ is no earlier han 1 If 1 + m m m m. Hence, he finishing ime of + m m > 1 +, hen ask τ misses is deadline. By Lemma 9, we reach he conclusion. Figure 5 illusraes he upper bound of G-EDF provided in Theorem 4 and he lower bound in Theorem 5 wih respec o he capaciy augmenaion bound. I can be easily seen ha he upper and lower bounds are geing closer when m is larger. When m is 100, he gap beween he upper and he lower bounds is roughly abou I is imporan o noe ha he more precise speedup in Corollary is igh even for small m. This is because in he above example ask se, U = m, oal high ask uilizaion U H = m 1 and number of heavy ask τ H = 1, hen according o he Corollary, he capaciy augmenaion bound for his ask se under G-EDF is = + U τ H 1 m + m m + 4(U H τ H ) m + (U τ H 1) m 4(m 1 1) m + (m 1 1) m = 3 m m + 4 m which is exacly he lower bound in Theorem 5 for + 0. VII. G-RM Scheduling This secion proves ha G-RM provides a capaciy augmenaion bound of + 3 for large m. The srucure of he proof is very similar o he analysis in Secion VI. Again, we use a lemma from [15], resaed below. Lemma 10. If > 0, 0.5( m m + 1) i work i(, ) he ask se is schedulable by G-RM on speed- cores. 9

10 capaciy augmenaion bound U / H =9.86 U / H =14.93 U / H = U / H = U / m Fig. 6: The required speedup of G-RM when m is sufficienly large and U L = 0 (i.e. U = U H ). Proof: This is based on a reformulaion of Lemma 6 and Definiion 10 in [15]. Noe ha he analysis in [15] is for deadline-monoonic scheduling, by giving a sub-job of a ask higher prioriy if is relaive deadline is shorer. As we consider asks wih implici deadlines, deadline-monoonic scheduling is he same as rae-monoonic scheduling. Proofs like hose in Secion VI-A give us he bounds below for G-RM scheduling. Theorem 6. The capaciy augmenaion bound for G-RM is 4 3 m m + 9 m ( + 3, when m is large). Proof: (Similar o he proof of Theorem 4:) Firs, we know from Lemma 7 ha > 0, n i=1 work i(, ) ( m m 1 ); Second, if 1 0.5(m m + 1). we can also conclude ha he schedulabiliy es for G-RM in Lemma 10 holds. By solving he inequaliy above, we have 4 3 m m + 9 m, and prove Theorem 6. The resul in Theorem 6 is he bes known resul for he capaciy augmenaion bound for global fixed-prioriy scheduling for general DAG asks wih arbirary srucures. Ineresingly, Kim e al. [31] ge he same bound of + 3 for global fixed-prioriy scheduling of parallel synchronous asks (a subse of DAG asks). The sraegy used in [31] is quie differen. In heir algorihm, he asks undergo a srech ransformaion which generaes a se of sequenial subask (each wih is release ime and deadline) for each parallel ask in he original ask se. These subasks are hen scheduled using a G-DM scheduling algorihm [11]. Noe ha even hough he parallel asks in he original ask se have implici deadlines, he ransformed sequenial asks have only consrained deadlines hence he need for deadline monoonic scheduling insead of rae monoonic scheduling. Corollary 3. If a ask se has oal uilizaion U, he oal high ask uilizaion U H and he number of heavy ask τ H, hen his ask se will be schedulable under G-RM on a m-core machine wih speed = + U τ H 1 m + 8(U H τ H ) m + (U τ H 1) m. Proof: The proof is he same as in he proof of Corollary, excep ha insead of using Lemma 8, i uses Lemma 10. Figure 6 illusraes he required speedup of G-RM provided in Corollary 3 when m is sufficienly large (i.e., m = and 1/m = 0) and U L = 0 (i.e. U = U H ). We vary U U m and τ. Again, U H τ H is he average uilizaion of all heavy asks. I can be also be seen ha he bound is geing closer o + 3, when U τ H is larger, which resuls from τ H = 1 and m =. VIII. Pracical Consideraions As have shown in he previous secions, he capaciy augmenaion bound for federaed scheduling, G-EDF and G-RM are,.618 and 3.73, respecively. In his secion, we consider heir run-ime efficiency and efficacy from a pracical perspecive. We consider four dimensions saic vs. dynamic prioriies, and global vs. pariioned scheduling, overheads due o scheduling and synchronizaion overheads, and work-conserving vs. no. Praciioners have generally found i easier o implemen fixed (ask) prioriy schedulers (such as RM) han dynamic prioriy schedulers (such as EDF). Fixed prioriy schedulers have always been well-suppored in almos all real-ime operaing sysems. Recenly, here has been effors on efficien implemenaions of job-level dynamic prioriy (EDF and G-EDF) schedulers for sequenial asks [16, 34]. Federaed scheduling does no require any prioriy assignmen for high-uilizaion asks (since hey own heir cores exclusively) and can use eiher fixed or dynamic prioriy for low-uilizaion asks. Thus, i is relaively easier o implemen G-RM and federaed scheduling. For sequenial asks, in general, global scheduling may incur more overhead due o hread migraion and he associaed cache penaly, he exen of which depends on he cache archiecure and he ask ses. In paricular, for parallel asks, he overheads for global scheduling could be worse. For sequenial asks, preempions and migraions only occur when a new job wih higher prioriy is released. In conras, for parallel asks, a preempion and possibly migraion could occur whenever a node in he DAG of a job wih higher prioriy is enabled. Since nodes in a DAG ofen represen a fine-grained unis of compuaion, he number of nodes in he ask se can be larger han he number of asks. Hence, we can expec a larger number of such evens. Since federaed scheduling is a generalizaion of pariioned scheduling o parallel asks, i has advanages similar o pariioning. In fac, if we use a pariioned RM or pariioned EDF sraegy for low-uilizaion asks, 10

11 here are only preempions bu no migraion for lowuilizaion asks. Meanwhile, federaed scheduling only allocaes he minimum number of dedicaed cores o ensure he schedulabiliy of each high-uilizaion ask, so here is no preempions for high-uilizaion asks and he number of migraions is minimized. Hence, we expec ha federaed scheduling will have less overhead han global schedulers. In addiion, parallel runime sysems have addiional parallel overheads, such as synchronizaion and scheduling overheads. These overheads (per ask) usually are approximaely linear in he number of cores allocaed o each ask. Under federaed scheduling, a minimum number of cores is assigned. However, depending on he paricular implemenaion, global scheduling may execue a ask on all he cores in he sysem and may have higher overheads. Finally, noe ha federaed scheduling is no a greedy (work conserving) sraegy for he enire ask se, alhough i uses a greedy schedule for each individual ask. In many real sysems, he wors-case execuion imes are normally over-esimaed. Under federaed scheduling cores allocaed o asks wih overesimaed execuion imes may idle due o resource over-provisioning. In conras, work-conserving sraegies (such as G-EDF and G-RM) and can uilize available cores hrough hread migraion dynamically. IX. Relaed Work In his secion, we review closely relaed work on realime scheduling, concenraing primarily on parallel asks. Real-ime muliprocessor scheduling considers scheduling sequenial asks on compuers wih muliple processors or cores and has been sudied exensively (see [10, 3] for a survey). In addiion, plaforms such as Limus RT [17, 19] have been designed o suppor hese ask ses. Here, we review a few relevan heoreical resuls. Researchers have proven resource augmenaion bounds, uilizaion bounds and capaciy augmenaion bounds. The bes known resource bound for G-EDF for sequenial asks on a muliprocessor is [7]; a capaciy augmenaion bound of 1 m + for small [14]. Pariioned EDF and versions pariioned saic prioriy schedulers also provide a uilizaion bound of [3, 37]. G-RM provides a capaciy augmenaion bound of 3 [] o implici deadline asks. For parallel real-ime asks, mos early work considered inra-ask parallelism of limied ask models such as malleable asks [, 30, 33] and moldable asks [39]. Kao e al. [30] sudied he Gang EDF scheduling of moldable parallel ask sysems. Researchers have since considered more realisic ask models ha represen programs generaed by commonly used parallel programming languages such as Cilk family [13, 1], OpenMP [41], and Inel s Thread Building Blocks [43]. These languages and libraries suppor primiives such as parallel for-loops and fork/join or spawn/sync in order o expose parallelism wihin he programs. Using hese consrucs generaes asks whose srucure can be represened wih differen ypes of DAGs. Tasks wih parallel synchronous asks have been sudied more han ohers in he real-ime communiy. These asks are generaed if we use only parallel-for loops o generae parallelism. Lakshmanan e al. [3] proved a (capaciy) augmenaion bound of 3.4 for a resriced synchronous ask model which is generaed when we resric each parallel-for loop in a ask o have he same number of ieraions. General synchronous asks (wih no resricion on he number of ieraions in he parallel-for loops), have also been sudied [4, 31, 40, 45]. (More deails on hese resuls were presened in Secion I) Chwa e al. [0] provide a response ime analysis. If we do no resric he primiives used o parallel-for loops, we ge a more general ask model mos easily represened by a general direced acyclic graph. A resource augmenaion bound of 1 m for G-EDF was proved for a single DAG wih arbirary deadlines [8] and for muliple DAGs [15, 35]. A capaciy augmenaion bound of 4 m was proved in [35] for asks wih for implici deadlines. Liu e al. [36] provide a response ime analysis for G-EDF. There has been significan work on scheduling non-realime parallel sysems [5, 6, 4 6, 4]. In his conex, he goal is generally o maximize hroughpu. Various provably good scheduling sraegies, such as lis scheduling [18, 7] and work-sealing [1] have been designed. In addiion, many parallel languages and runime sysems have been buil based on hese resuls. While muliple asks on a single plaform have been considered in he conex of fairness in resource allocaion [1], none of his work considers real-ime consrains. X. Conclusions In his paper, we consider parallel asks in he DAG model and prove ha for parallel asks wih implici deadlines he capaciy augmenaion bounds of federaed scheduling, G-EDF and G-RM are,.618 and 3.73 respecively. In addiion, he bound for federaed scheduling and he bound of.618 for he G-EDF are boh igh for large m, since here exis maching lower bounds. Moreover, he hree bounds are he bes known bounds for hese schedulers for DAG asks. There are several direcions of fuure work. The G-RM capaciy augmenaion bound is no known o be igh. The curren lower bound of G-RM is.668, inheried from he sequenial sporadic real-ime asks wihou DAG srucures [38]. Therefore, i is worh invesigaing a maching lower bound or lowering he upper bound. In addiion, since he lower bound of any scheduler is 1 m, i would be ineresing o invesigae if i is possible o design schedulers ha reach his bound. Finally, all he known 11

12 capaciy augmenaion bound resuls are resriced o implici deadline asks; we would like o generalize hem o consrained and arbirary deadline asks. Acknowledgmen This research was suppored in par by he prioriy program Dependable Embedded Sysems (SPP spp1500.iec.ki.edu), by DFG, as par of he Collaboraive Research Cener SFB876 (hp://sfb876.u-dormund.de/), by NSF grans CCF (CPS) and CCF (XPS). The auhors hank anonymous reviewers for heir suggesions on improving his paper. References [1] K. Agrawal, C. E. Leiserson, Y. He, and W. J. Hsu. Adapive work-sealing wih parallelism feedback. In: ACM Trans. Compu. Sys. 6 (008), pp [] B. Andersson, S. Baruah, and J. Jonsson. Saic-prioriy scheduling on muliprocessors. In: RTSS [3] B. Andersson and J. Jonsson. The uilizaion bounds of pariioned and pfair saic-prioriy scheduling on muliprocessors are 50%. In: ECRTS [4] B. Andersson and D. de Niz. Analyzing Global-EDF for Muliprocessor Scheduling of Parallel Tasks. In: Principles of Disribued Sysems. 01, pp [5] N. S. Arora, R. D. Blumofe, and C. G. Plaxon. Thread Scheduling for Muliprogrammed Muliprocessors. In: SPAA [6] N. Bansal, K. Dhamdhere, J. Konemann, and A. Sinha. Nonclairvoyan Scheduling for Minimizing Mean Slowdown. In: Algorihmica 40.4 (004), pp [7] S. Baruah, V. Bonifaci, A. Marchei-Spaccamela, and S. Siller. Improved Muliprocessor Global Schedulabiliy Analysis. In: Real-Time Sys (010), pp [8] S. Baruah, V. Bonifaci, A. Marchei-Spaccamela, L. Sougie, and A. Wiese. A generalized parallel ask model for recurren realime processes. In: RTSS. 01. [9] S. K. Baruah, A. K. Mok, and L. E. Rosier. Preempively Scheduling Hard-Real-Time Sporadic Tasks on One Processor. In: RTSS [10] M. Berogna and S. Baruah. Tess for global EDF schedulabiliy analysis. In: Journal of Sysem Archiecure 57.5 (011). [11] M. Berogna, M. Cirinei, and G. Lipari. New Schedulabiliy Tess for Real-ime Task Ses Scheduled by Deadline Monoonic on Muliprocessors. In: Proceedings of he 9h Inernaional Conference on Principles of Disribued Sysems [1] R. D. Blumofe and C. E. Leiserson. Scheduling mulihreaded compuaions by work sealing. In: Journal of he ACM 46.5 (1999), pp [13] R. D. Blumofe, C. F. Joerg, B. C. Kuszmaul, C. E. Leiserson, K. H. Randall, and Y. Zhou. Cilk: An Efficien Mulihreaded Runime Sysem. In: PPoPP. 1995, pp [14] V. Bonifaci, A. Marchei-Spaccamela, and S. Siller. A consanapproximae feasibiliy es for muliprocessor real-ime scheduling. In: Algorihmica (01), pp [15] V. Bonifaci, A. Marchei-Spaccamela, S. Siller, and A. Wiese. Feasibiliy Analysis in he Sporadic DAG Task Model. In: ECRTS [16] B. B. Brandenburg and J. H. Anderson. On he Implemenaion of Global Real-Time Schedulers. In: RTSS [17] B. B. Brandenburg, A. D. Block, J. M. Calandrino, U. Devi, H. Leonyev, and J. H. Anderson. LITMUS RT: A Saus Repor [18] R. P. Bren. The Parallel Evaluaion of General Arihmeic Expressions. In: Journal of he ACM (1974), pp [19] J. M. Calandrino, H. Leonyev, A. Block, U. C. Devi, and J. H. Anderson. LITMUS RT : A Tesbed for Empirically Comparing Real-Time Muliprocessor Schedulers. In: RTSS [0] H. S. Chwa, J. Lee, K.-M. Phan, A. Easwaran, and I. Shin. Global EDF Schedulabiliy Analysis for Synchronous Parallel Tasks on Mulicore Plaforms. In: ECRTS [1] CilkPlus. hp://sofware.inel.com/en-us/aricles/inel-cilk-plus. [] S. Collee, L. Cucu, and J. Goossens. Inegraing job parallelism in real-ime scheduling heory. In: Informaion Processing Leers (008), pp [3] R. I. Davis and A. Burns. A survey of hard real-ime scheduling for muliprocessor sysems. In: ACM Compuing Surveys 43 (011), 35:1 44. [4] X. Deng, N. Gu, T. Brech, and K. Lu. Preempive Scheduling of Parallel Jobs on Muliprocessors. In: SODA [5] M. Drozdowski. Real-ime scheduling of linear speedup parallel asks. In: Inf. Process. Le. 57 (1996), pp [6] J. Edmonds, D. D. Chinn, T. Brech, and X. Deng. Nonclairvoyan Muliprocessor Scheduling of Jobs wih Changing Execuion Characerisics. In: Journal of Scheduling 6.3 (003), pp [7] R. L. Graham. Bounds on Muliprocessing Anomalies. In: SIAM Journal on Applied Mahemaics (1969), 17(): [8] H.-M. Huang, T. Tidwell, C. Gill, C. Lu, X. Gao, and S. Dyke. Cyber-physical sysems for real-ime hybrid srucural esing: a case sudy. In: Inernaional Conference on Cyber Physical Sysems [9] A. Ka and L. Mok. Fundamenal design problems of disribued sysems for he hard-real-ime environmen. Tech. rep [30] S. Kao and Y. Ishikawa. Gang EDF Scheduling of Parallel Task Sysems. In: RTSS [31] J. Kim, H. Kim, K. Lakshmanan, and R. Rajkumar. Parallel scheduling for cyber-physical sysems: analysis and case sudy on a self-driving car. In: ICCPS [3] K. Lakshmanan, S. Kao, and R. R. Rajkumar. Scheduling Parallel Real-Time Tasks on Muli-core Processors. In: Proceedings of he s IEEE Real-Time Sysems Symposium. RTSS [33] W. Y. Lee and H. Lee. Opimal Scheduling for Real-Time Parallel Tasks. In: IEICE Transacions on Informaion Sysems E89-D.6 (006), pp [34] J. Lelli, G. Lipari, D. Faggioli, and T. Cucinoa. An efficien and scalable implemenaion of global EDF in Linux. In: OSPERT [35] J. Li, K. Agrawal, C.Lu, and C. Gill. Analysis of Global EDF for Parallel Tasks. In: ECRTS [36] C. Liu and J. Anderson. Supporing Sof Real-Time Parallel Applicaions on Mulicore Processors. In: RTCSA. 01. [37] J. M. López, J. L. Díaz, and D. F. García. Uilizaion Bounds for EDF Scheduling on Real-Time Muliprocessor Sysems. In: Real-Time Sysems 8.1 (004), pp [38] L. Lundberg. Analyzing Fixed-Prioriy Global Muliprocessor Scheduling. In: IEEE Real Time Technology and Applicaions Symposium. 00, pp [39] G. Manimaran, C. S. R. Murhy, and K. Ramamriham. A New Approach for Scheduling of Parallelizable Tasks inreal- Time Muliprocessor Sysems. In: Real-Time Sys. 15 (1998), pp [40] G. Nelissen, V. Beren, J. Goossens, and D. Milojevic. Techniques opimizing he number of processors o schedule mulihreaded asks. In: ECRTS. 01. [41] OpenMP Applicaion Program Inerface v3.1. hp:// p.org/mp-documens/openmp3.1.pdf [4] C. D. Polychronopoulos and D. J. Kuck. Guided Self-Scheduling: A Pracical Scheduling Scheme for Parallel Supercompuers. In: Compuers, IEEE Transacions on C-36.1 (1987). [43] J. Reinders. Inel hreading building blocks: oufiing C++ for muli-core processor parallelism. O Reilly Media, 010. [44] A. Saifullah, D. Ferry, J. Li, K. Agrawal, C. Lu, and C. Gill. Parallel real-ime scheduling of DAGs. In: IEEE Transacions on Parallel and Disribued Sysems (014). [45] A. Saifullah, J. Li, K. Agrawal, C. Lu, and C. Gill. Muli-core real-ime scheduling for generalized parallel ask models. In: Real-Time Sysems 49.4 (013), pp [46] R. Sedgewick and K. D. Wayne. Algorihms. 4h

Written Exercise Sheet 5

Written Exercise Sheet 5 jian-jia.chen [ ] u-dormund.de lea.schoenberger [ ] u-dormund.de Exercise for he lecure Embedded Sysems Winersemeser 17/18 Wrien Exercise Shee 5 Hins: These assignmens will be discussed a E23 OH14, from

More information

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB Elecronic Companion EC.1. Proofs of Technical Lemmas and Theorems LEMMA 1. Le C(RB) be he oal cos incurred by he RB policy. Then we have, T L E[C(RB)] 3 E[Z RB ]. (EC.1) Proof of Lemma 1. Using he marginal

More information

Comments on Window-Constrained Scheduling

Comments on Window-Constrained Scheduling Commens on Window-Consrained Scheduling Richard Wes Member, IEEE and Yuing Zhang Absrac This shor repor clarifies he behavior of DWCS wih respec o Theorem 3 in our previously published paper [1], and describes

More information

Vehicle Arrival Models : Headway

Vehicle Arrival Models : Headway Chaper 12 Vehicle Arrival Models : Headway 12.1 Inroducion Modelling arrival of vehicle a secion of road is an imporan sep in raffic flow modelling. I has imporan applicaion in raffic flow simulaion where

More information

1 Review of Zero-Sum Games

1 Review of Zero-Sum Games COS 5: heoreical Machine Learning Lecurer: Rob Schapire Lecure #23 Scribe: Eugene Brevdo April 30, 2008 Review of Zero-Sum Games Las ime we inroduced a mahemaical model for wo player zero-sum games. Any

More information

Stability and Bifurcation in a Neural Network Model with Two Delays

Stability and Bifurcation in a Neural Network Model with Two Delays Inernaional Mahemaical Forum, Vol. 6, 11, no. 35, 175-1731 Sabiliy and Bifurcaion in a Neural Nework Model wih Two Delays GuangPing Hu and XiaoLing Li School of Mahemaics and Physics, Nanjing Universiy

More information

Evaluating the Average-case Performance Penalty of Bandwidth-like Interfaces

Evaluating the Average-case Performance Penalty of Bandwidth-like Interfaces Evaluaing he Average-case Performance Penaly of Bandwidh-like Inerfaces Björn Andersson Carnegie Mellon Universiy ABSTRACT Many soluions for composabiliy and composiionaliy rely on specifying he inerface

More information

Chapter 2. First Order Scalar Equations

Chapter 2. First Order Scalar Equations Chaper. Firs Order Scalar Equaions We sar our sudy of differenial equaions in he same way he pioneers in his field did. We show paricular echniques o solve paricular ypes of firs order differenial equaions.

More information

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles Diebold, Chaper 7 Francis X. Diebold, Elemens of Forecasing, 4h Ediion (Mason, Ohio: Cengage Learning, 006). Chaper 7. Characerizing Cycles Afer compleing his reading you should be able o: Define covariance

More information

Notes for Lecture 17-18

Notes for Lecture 17-18 U.C. Berkeley CS278: Compuaional Complexiy Handou N7-8 Professor Luca Trevisan April 3-8, 2008 Noes for Lecure 7-8 In hese wo lecures we prove he firs half of he PCP Theorem, he Amplificaion Lemma, up

More information

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon 3..3 INRODUCION O DYNAMIC OPIMIZAION: DISCREE IME PROBLEMS A. he Hamilonian and Firs-Order Condiions in a Finie ime Horizon Define a new funcion, he Hamilonian funcion, H. H he change in he oal value of

More information

Handling on-line changes. Handling on-line changes. Handling overload conditions. Handling on-line changes

Handling on-line changes. Handling on-line changes. Handling overload conditions. Handling on-line changes ED41/DIT171 - Parallel and Disribued Real-Time ysems, Chalmers/GU, 011/01 Lecure #10 Updaed pril 15, 01 Handling on-line changes Handling on-line changes Targe environmen mode changes aic (periodic) asks

More information

Matrix Versions of Some Refinements of the Arithmetic-Geometric Mean Inequality

Matrix Versions of Some Refinements of the Arithmetic-Geometric Mean Inequality Marix Versions of Some Refinemens of he Arihmeic-Geomeric Mean Inequaliy Bao Qi Feng and Andrew Tonge Absrac. We esablish marix versions of refinemens due o Alzer ], Carwrigh and Field 4], and Mercer 5]

More information

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle Chaper 2 Newonian Mechanics Single Paricle In his Chaper we will review wha Newon s laws of mechanics ell us abou he moion of a single paricle. Newon s laws are only valid in suiable reference frames,

More information

On Measuring Pro-Poor Growth. 1. On Various Ways of Measuring Pro-Poor Growth: A Short Review of the Literature

On Measuring Pro-Poor Growth. 1. On Various Ways of Measuring Pro-Poor Growth: A Short Review of the Literature On Measuring Pro-Poor Growh 1. On Various Ways of Measuring Pro-Poor Growh: A Shor eview of he Lieraure During he pas en years or so here have been various suggesions concerning he way one should check

More information

Single-Pass-Based Heuristic Algorithms for Group Flexible Flow-shop Scheduling Problems

Single-Pass-Based Heuristic Algorithms for Group Flexible Flow-shop Scheduling Problems Single-Pass-Based Heurisic Algorihms for Group Flexible Flow-shop Scheduling Problems PEI-YING HUANG, TZUNG-PEI HONG 2 and CHENG-YAN KAO, 3 Deparmen of Compuer Science and Informaion Engineering Naional

More information

Approximation Algorithms for Unique Games via Orthogonal Separators

Approximation Algorithms for Unique Games via Orthogonal Separators Approximaion Algorihms for Unique Games via Orhogonal Separaors Lecure noes by Konsanin Makarychev. Lecure noes are based on he papers [CMM06a, CMM06b, LM4]. Unique Games In hese lecure noes, we define

More information

Expert Advice for Amateurs

Expert Advice for Amateurs Exper Advice for Amaeurs Ernes K. Lai Online Appendix - Exisence of Equilibria The analysis in his secion is performed under more general payoff funcions. Wihou aking an explici form, he payoffs of he

More information

4 Sequences of measurable functions

4 Sequences of measurable functions 4 Sequences of measurable funcions 1. Le (Ω, A, µ) be a measure space (complee, afer a possible applicaion of he compleion heorem). In his chaper we invesigae relaions beween various (nonequivalen) convergences

More information

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still. Lecure - Kinemaics in One Dimension Displacemen, Velociy and Acceleraion Everyhing in he world is moving. Nohing says sill. Moion occurs a all scales of he universe, saring from he moion of elecrons in

More information

CHAPTER 2 Signals And Spectra

CHAPTER 2 Signals And Spectra CHAPER Signals And Specra Properies of Signals and Noise In communicaion sysems he received waveform is usually caegorized ino he desired par conaining he informaion, and he undesired par. he desired par

More information

Random Walk with Anti-Correlated Steps

Random Walk with Anti-Correlated Steps Random Walk wih Ani-Correlaed Seps John Noga Dirk Wagner 2 Absrac We conjecure he expeced value of random walks wih ani-correlaed seps o be exacly. We suppor his conjecure wih 2 plausibiliy argumens and

More information

Robust estimation based on the first- and third-moment restrictions of the power transformation model

Robust estimation based on the first- and third-moment restrictions of the power transformation model h Inernaional Congress on Modelling and Simulaion, Adelaide, Ausralia, 6 December 3 www.mssanz.org.au/modsim3 Robus esimaion based on he firs- and hird-momen resricions of he power ransformaion Nawaa,

More information

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power Alpaydin Chaper, Michell Chaper 7 Alpaydin slides are in urquoise. Ehem Alpaydin, copyrigh: The MIT Press, 010. alpaydin@boun.edu.r hp://www.cmpe.boun.edu.r/ ehem/imle All oher slides are based on Michell.

More information

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions Muli-Period Sochasic Models: Opimali of (s, S) Polic for -Convex Objecive Funcions Consider a seing similar o he N-sage newsvendor problem excep ha now here is a fixed re-ordering cos (> 0) for each (re-)order.

More information

STATE-SPACE MODELLING. A mass balance across the tank gives:

STATE-SPACE MODELLING. A mass balance across the tank gives: B. Lennox and N.F. Thornhill, 9, Sae Space Modelling, IChemE Process Managemen and Conrol Subjec Group Newsleer STE-SPACE MODELLING Inroducion: Over he pas decade or so here has been an ever increasing

More information

5. Stochastic processes (1)

5. Stochastic processes (1) Lec05.pp S-38.45 - Inroducion o Teleraffic Theory Spring 2005 Conens Basic conceps Poisson process 2 Sochasic processes () Consider some quaniy in a eleraffic (or any) sysem I ypically evolves in ime randomly

More information

Some Ramsey results for the n-cube

Some Ramsey results for the n-cube Some Ramsey resuls for he n-cube Ron Graham Universiy of California, San Diego Jozsef Solymosi Universiy of Briish Columbia, Vancouver, Canada Absrac In his noe we esablish a Ramsey-ype resul for cerain

More information

11!Hí MATHEMATICS : ERDŐS AND ULAM PROC. N. A. S. of decomposiion, properly speaking) conradics he possibiliy of defining a counably addiive real-valu

11!Hí MATHEMATICS : ERDŐS AND ULAM PROC. N. A. S. of decomposiion, properly speaking) conradics he possibiliy of defining a counably addiive real-valu ON EQUATIONS WITH SETS AS UNKNOWNS BY PAUL ERDŐS AND S. ULAM DEPARTMENT OF MATHEMATICS, UNIVERSITY OF COLORADO, BOULDER Communicaed May 27, 1968 We shall presen here a number of resuls in se heory concerning

More information

EXERCISES FOR SECTION 1.5

EXERCISES FOR SECTION 1.5 1.5 Exisence and Uniqueness of Soluions 43 20. 1 v c 21. 1 v c 1 2 4 6 8 10 1 2 2 4 6 8 10 Graph of approximae soluion obained using Euler s mehod wih = 0.1. Graph of approximae soluion obained using Euler

More information

Logic in computer science

Logic in computer science Logic in compuer science Logic plays an imporan role in compuer science Logic is ofen called he calculus of compuer science Logic plays a similar role in compuer science o ha played by calculus in he physical

More information

An introduction to the theory of SDDP algorithm

An introduction to the theory of SDDP algorithm An inroducion o he heory of SDDP algorihm V. Leclère (ENPC) Augus 1, 2014 V. Leclère Inroducion o SDDP Augus 1, 2014 1 / 21 Inroducion Large scale sochasic problem are hard o solve. Two ways of aacking

More information

Lecture Notes 2. The Hilbert Space Approach to Time Series

Lecture Notes 2. The Hilbert Space Approach to Time Series Time Series Seven N. Durlauf Universiy of Wisconsin. Basic ideas Lecure Noes. The Hilber Space Approach o Time Series The Hilber space framework provides a very powerful language for discussing he relaionship

More information

INTRODUCTION TO MACHINE LEARNING 3RD EDITION

INTRODUCTION TO MACHINE LEARNING 3RD EDITION ETHEM ALPAYDIN The MIT Press, 2014 Lecure Slides for INTRODUCTION TO MACHINE LEARNING 3RD EDITION alpaydin@boun.edu.r hp://www.cmpe.boun.edu.r/~ehem/i2ml3e CHAPTER 2: SUPERVISED LEARNING Learning a Class

More information

Technical Report Doc ID: TR March-2013 (Last revision: 23-February-2016) On formulating quadratic functions in optimization models.

Technical Report Doc ID: TR March-2013 (Last revision: 23-February-2016) On formulating quadratic functions in optimization models. Technical Repor Doc ID: TR--203 06-March-203 (Las revision: 23-Februar-206) On formulaing quadraic funcions in opimizaion models. Auhor: Erling D. Andersen Convex quadraic consrains quie frequenl appear

More information

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power Alpaydin Chaper, Michell Chaper 7 Alpaydin slides are in urquoise. Ehem Alpaydin, copyrigh: The MIT Press, 010. alpaydin@boun.edu.r hp://www.cmpe.boun.edu.r/ ehem/imle All oher slides are based on Michell.

More information

Christos Papadimitriou & Luca Trevisan November 22, 2016

Christos Papadimitriou & Luca Trevisan November 22, 2016 U.C. Bereley CS170: Algorihms Handou LN-11-22 Chrisos Papadimiriou & Luca Trevisan November 22, 2016 Sreaming algorihms In his lecure and he nex one we sudy memory-efficien algorihms ha process a sream

More information

ACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H.

ACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H. ACE 56 Fall 005 Lecure 5: he Simple Linear Regression Model: Sampling Properies of he Leas Squares Esimaors by Professor Sco H. Irwin Required Reading: Griffihs, Hill and Judge. "Inference in he Simple

More information

arxiv: v1 [cs.ds] 30 Apr 2016

arxiv: v1 [cs.ds] 30 Apr 2016 Auomaic Parameer Derivaions in k2u Framework Jian-Jia Chen and Wen-Hung Huang Deparmen of Informaics TU Dormund Universiy, Germany Cong Liu Deparmen of Compuer Science The Universiy of Texas a Dallas arxiv:1605.00119v1

More information

ACE 564 Spring Lecture 7. Extensions of The Multiple Regression Model: Dummy Independent Variables. by Professor Scott H.

ACE 564 Spring Lecture 7. Extensions of The Multiple Regression Model: Dummy Independent Variables. by Professor Scott H. ACE 564 Spring 2006 Lecure 7 Exensions of The Muliple Regression Model: Dumm Independen Variables b Professor Sco H. Irwin Readings: Griffihs, Hill and Judge. "Dumm Variables and Varing Coefficien Models

More information

Optimality Conditions for Unconstrained Problems

Optimality Conditions for Unconstrained Problems 62 CHAPTER 6 Opimaliy Condiions for Unconsrained Problems 1 Unconsrained Opimizaion 11 Exisence Consider he problem of minimizing he funcion f : R n R where f is coninuous on all of R n : P min f(x) x

More information

The Asymptotic Behavior of Nonoscillatory Solutions of Some Nonlinear Dynamic Equations on Time Scales

The Asymptotic Behavior of Nonoscillatory Solutions of Some Nonlinear Dynamic Equations on Time Scales Advances in Dynamical Sysems and Applicaions. ISSN 0973-5321 Volume 1 Number 1 (2006, pp. 103 112 c Research India Publicaions hp://www.ripublicaion.com/adsa.hm The Asympoic Behavior of Nonoscillaory Soluions

More information

Final Spring 2007

Final Spring 2007 .615 Final Spring 7 Overview The purpose of he final exam is o calculae he MHD β limi in a high-bea oroidal okamak agains he dangerous n = 1 exernal ballooning-kink mode. Effecively, his corresponds o

More information

Chapter 7: Solving Trig Equations

Chapter 7: Solving Trig Equations Haberman MTH Secion I: The Trigonomeric Funcions Chaper 7: Solving Trig Equaions Le s sar by solving a couple of equaions ha involve he sine funcion EXAMPLE a: Solve he equaion sin( ) The inverse funcions

More information

KINEMATICS IN ONE DIMENSION

KINEMATICS IN ONE DIMENSION KINEMATICS IN ONE DIMENSION PREVIEW Kinemaics is he sudy of how hings move how far (disance and displacemen), how fas (speed and velociy), and how fas ha how fas changes (acceleraion). We say ha an objec

More information

Conens Inroducion 2 Preliminary deniions and noaion 3 3 Schedulabliy and a bound on uilizaion 6 4 Rae Monoonic Scheduling 7 4. Deniion

Conens Inroducion 2 Preliminary deniions and noaion 3 3 Schedulabliy and a bound on uilizaion 6 4 Rae Monoonic Scheduling 7 4. Deniion A Foray ino Uniprocessor Real-Time Scheduling Algorihms and Inracibiliy Ed Overon Drs. T. Brylawski and J. Anderson 2, advisors December 3, 997 UNC-CH Deparmen ofmahemaics 2 UNC-CH Deparmen of Compuer

More information

On Boundedness of Q-Learning Iterates for Stochastic Shortest Path Problems

On Boundedness of Q-Learning Iterates for Stochastic Shortest Path Problems MATHEMATICS OF OPERATIONS RESEARCH Vol. 38, No. 2, May 2013, pp. 209 227 ISSN 0364-765X (prin) ISSN 1526-5471 (online) hp://dx.doi.org/10.1287/moor.1120.0562 2013 INFORMS On Boundedness of Q-Learning Ieraes

More information

Mathematical Theory and Modeling ISSN (Paper) ISSN (Online) Vol 3, No.3, 2013

Mathematical Theory and Modeling ISSN (Paper) ISSN (Online) Vol 3, No.3, 2013 Mahemaical Theory and Modeling ISSN -580 (Paper) ISSN 5-05 (Online) Vol, No., 0 www.iise.org The ffec of Inverse Transformaion on he Uni Mean and Consan Variance Assumpions of a Muliplicaive rror Model

More information

di Bernardo, M. (1995). A purely adaptive controller to synchronize and control chaotic systems.

di Bernardo, M. (1995). A purely adaptive controller to synchronize and control chaotic systems. di ernardo, M. (995). A purely adapive conroller o synchronize and conrol chaoic sysems. hps://doi.org/.6/375-96(96)8-x Early version, also known as pre-prin Link o published version (if available):.6/375-96(96)8-x

More information

A methodology for designing hierarchical scheduling systems

A methodology for designing hierarchical scheduling systems A mehodology for designing hierarchical scheduling sysems Giuseppe Lipari and Enrico Bini Absrac When execuing differen real-ime applicaions on a single processor sysem, one problem is how o compose hese

More information

Matlab and Python programming: how to get started

Matlab and Python programming: how to get started Malab and Pyhon programming: how o ge sared Equipping readers he skills o wrie programs o explore complex sysems and discover ineresing paerns from big daa is one of he main goals of his book. In his chaper,

More information

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes Represening Periodic Funcions by Fourier Series 3. Inroducion In his Secion we show how a periodic funcion can be expressed as a series of sines and cosines. We begin by obaining some sandard inegrals

More information

Robotics I. April 11, The kinematics of a 3R spatial robot is specified by the Denavit-Hartenberg parameters in Tab. 1.

Robotics I. April 11, The kinematics of a 3R spatial robot is specified by the Denavit-Hartenberg parameters in Tab. 1. Roboics I April 11, 017 Exercise 1 he kinemaics of a 3R spaial robo is specified by he Denavi-Harenberg parameers in ab 1 i α i d i a i θ i 1 π/ L 1 0 1 0 0 L 3 0 0 L 3 3 able 1: able of DH parameers of

More information

Guest Lectures for Dr. MacFarlane s EE3350 Part Deux

Guest Lectures for Dr. MacFarlane s EE3350 Part Deux Gues Lecures for Dr. MacFarlane s EE3350 Par Deux Michael Plane Mon., 08-30-2010 Wrie name in corner. Poin ou his is a review, so I will go faser. Remind hem o go lisen o online lecure abou geing an A

More information

Removing Useless Productions of a Context Free Grammar through Petri Net

Removing Useless Productions of a Context Free Grammar through Petri Net Journal of Compuer Science 3 (7): 494-498, 2007 ISSN 1549-3636 2007 Science Publicaions Removing Useless Producions of a Conex Free Grammar hrough Peri Ne Mansoor Al-A'ali and Ali A Khan Deparmen of Compuer

More information

The Arcsine Distribution

The Arcsine Distribution The Arcsine Disribuion Chris H. Rycrof Ocober 6, 006 A common heme of he class has been ha he saisics of single walker are ofen very differen from hose of an ensemble of walkers. On he firs homework, we

More information

Class Meeting # 10: Introduction to the Wave Equation

Class Meeting # 10: Introduction to the Wave Equation MATH 8.5 COURSE NOTES - CLASS MEETING # 0 8.5 Inroducion o PDEs, Fall 0 Professor: Jared Speck Class Meeing # 0: Inroducion o he Wave Equaion. Wha is he wave equaion? The sandard wave equaion for a funcion

More information

Solutions to Odd Number Exercises in Chapter 6

Solutions to Odd Number Exercises in Chapter 6 1 Soluions o Odd Number Exercises in 6.1 R y eˆ 1.7151 y 6.3 From eˆ ( T K) ˆ R 1 1 SST SST SST (1 R ) 55.36(1.7911) we have, ˆ 6.414 T K ( ) 6.5 y ye ye y e 1 1 Consider he erms e and xe b b x e y e b

More information

Math-Net.Ru All Russian mathematical portal

Math-Net.Ru All Russian mathematical portal Mah-NeRu All Russian mahemaical poral Roman Popovych, On elemens of high order in general finie fields, Algebra Discree Mah, 204, Volume 8, Issue 2, 295 300 Use of he all-russian mahemaical poral Mah-NeRu

More information

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3 and d = c b - b c c d = c b - b c c This process is coninued unil he nh row has been compleed. The complee array of coefficiens is riangular. Noe ha in developing he array an enire row may be divided or

More information

Hamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation:

Hamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation: M ah 5 7 Fall 9 L ecure O c. 4, 9 ) Hamilon- J acobi Equaion: Weak S oluion We coninue he sudy of he Hamilon-Jacobi equaion: We have shown ha u + H D u) = R n, ) ; u = g R n { = }. ). In general we canno

More information

On a Discrete-In-Time Order Level Inventory Model for Items with Random Deterioration

On a Discrete-In-Time Order Level Inventory Model for Items with Random Deterioration Journal of Agriculure and Life Sciences Vol., No. ; June 4 On a Discree-In-Time Order Level Invenory Model for Iems wih Random Deerioraion Dr Biswaranjan Mandal Associae Professor of Mahemaics Acharya

More information

Lower and Upper Bounds on FIFO Buffer Management in QoS Switches

Lower and Upper Bounds on FIFO Buffer Management in QoS Switches Lower and Upper Bounds on FIFO Buffer Managemen in QoS Swiches Mahias Engler Mahias Wesermann Deparmen of Compuer Science RWTH Aachen 52056 Aachen, Germany {engler,marsu}@cs.rwh-aachen.de Absrac We consider

More information

Variational Iteration Method for Solving System of Fractional Order Ordinary Differential Equations

Variational Iteration Method for Solving System of Fractional Order Ordinary Differential Equations IOSR Journal of Mahemaics (IOSR-JM) e-issn: 2278-5728, p-issn: 2319-765X. Volume 1, Issue 6 Ver. II (Nov - Dec. 214), PP 48-54 Variaional Ieraion Mehod for Solving Sysem of Fracional Order Ordinary Differenial

More information

Monochromatic Infinite Sumsets

Monochromatic Infinite Sumsets Monochromaic Infinie Sumses Imre Leader Paul A. Russell July 25, 2017 Absrac WeshowhahereisaraionalvecorspaceV suchha,whenever V is finiely coloured, here is an infinie se X whose sumse X+X is monochromaic.

More information

Biol. 356 Lab 8. Mortality, Recruitment, and Migration Rates

Biol. 356 Lab 8. Mortality, Recruitment, and Migration Rates Biol. 356 Lab 8. Moraliy, Recruimen, and Migraion Raes (modified from Cox, 00, General Ecology Lab Manual, McGraw Hill) Las week we esimaed populaion size hrough several mehods. One assumpion of all hese

More information

Comparing Means: t-tests for One Sample & Two Related Samples

Comparing Means: t-tests for One Sample & Two Related Samples Comparing Means: -Tess for One Sample & Two Relaed Samples Using he z-tes: Assumpions -Tess for One Sample & Two Relaed Samples The z-es (of a sample mean agains a populaion mean) is based on he assumpion

More information

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients Secion 3.5 Nonhomogeneous Equaions; Mehod of Undeermined Coefficiens Key Terms/Ideas: Linear Differenial operaor Nonlinear operaor Second order homogeneous DE Second order nonhomogeneous DE Soluion o homogeneous

More information

Lecture 4 Notes (Little s Theorem)

Lecture 4 Notes (Little s Theorem) Lecure 4 Noes (Lile s Theorem) This lecure concerns one of he mos imporan (and simples) heorems in Queuing Theory, Lile s Theorem. More informaion can be found in he course book, Bersekas & Gallagher,

More information

Families with no matchings of size s

Families with no matchings of size s Families wih no machings of size s Peer Franl Andrey Kupavsii Absrac Le 2, s 2 be posiive inegers. Le be an n-elemen se, n s. Subses of 2 are called families. If F ( ), hen i is called - uniform. Wha is

More information

Multi-core Real-Time Scheduling for Generalized Parallel Task Models

Multi-core Real-Time Scheduling for Generalized Parallel Task Models Multi-core Real-Time Scheduling for Generalized Parallel Task Models Abusayeed Saifullah, Kunal Agrawal, Chenyang Lu, and Christopher Gill Department of Computer Science and Engineering Washington University

More information

Longest Common Prefixes

Longest Common Prefixes Longes Common Prefixes The sandard ordering for srings is he lexicographical order. I is induced by an order over he alphabe. We will use he same symbols (,

More information

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities: Mah 4 Eam Review Problems Problem. Calculae he 3rd Taylor polynomial for arcsin a =. Soluion. Le f() = arcsin. For his problem, we use he formula f() + f () + f ()! + f () 3! for he 3rd Taylor polynomial

More information

IMPLICIT AND INVERSE FUNCTION THEOREMS PAUL SCHRIMPF 1 OCTOBER 25, 2013

IMPLICIT AND INVERSE FUNCTION THEOREMS PAUL SCHRIMPF 1 OCTOBER 25, 2013 IMPLICI AND INVERSE FUNCION HEOREMS PAUL SCHRIMPF 1 OCOBER 25, 213 UNIVERSIY OF BRIISH COLUMBIA ECONOMICS 526 We have exensively sudied how o solve sysems of linear equaions. We know how o check wheher

More information

Two Popular Bayesian Estimators: Particle and Kalman Filters. McGill COMP 765 Sept 14 th, 2017

Two Popular Bayesian Estimators: Particle and Kalman Filters. McGill COMP 765 Sept 14 th, 2017 Two Popular Bayesian Esimaors: Paricle and Kalman Filers McGill COMP 765 Sep 14 h, 2017 1 1 1, dx x Bel x u x P x z P Recall: Bayes Filers,,,,,,, 1 1 1 1 u z u x P u z u x z P Bayes z = observaion u =

More information

SOLUTIONS TO ECE 3084

SOLUTIONS TO ECE 3084 SOLUTIONS TO ECE 384 PROBLEM 2.. For each sysem below, specify wheher or no i is: (i) memoryless; (ii) causal; (iii) inverible; (iv) linear; (v) ime invarian; Explain your reasoning. If he propery is no

More information

10. State Space Methods

10. State Space Methods . Sae Space Mehods. Inroducion Sae space modelling was briefly inroduced in chaper. Here more coverage is provided of sae space mehods before some of heir uses in conrol sysem design are covered in he

More information

Inventory Control of Perishable Items in a Two-Echelon Supply Chain

Inventory Control of Perishable Items in a Two-Echelon Supply Chain Journal of Indusrial Engineering, Universiy of ehran, Special Issue,, PP. 69-77 69 Invenory Conrol of Perishable Iems in a wo-echelon Supply Chain Fariborz Jolai *, Elmira Gheisariha and Farnaz Nojavan

More information

R t. C t P t. + u t. C t = αp t + βr t + v t. + β + w t

R t. C t P t. + u t. C t = αp t + βr t + v t. + β + w t Exercise 7 C P = α + β R P + u C = αp + βr + v (a) (b) C R = α P R + β + w (c) Assumpions abou he disurbances u, v, w : Classical assumions on he disurbance of one of he equaions, eg. on (b): E(v v s P,

More information

On the Infinitude of Covering Systems with Least Modulus Equal to 2

On the Infinitude of Covering Systems with Least Modulus Equal to 2 Annals of Pure and Applied Mahemaics Vol. 4, No. 2, 207, 307-32 ISSN: 2279-087X (P), 2279-0888(online) Published on 23 Sepember 207 www.researchmahsci.org DOI: hp://dx.doi.org/0.22457/apam.v4n2a3 Annals

More information

A Hop Constrained Min-Sum Arborescence with Outage Costs

A Hop Constrained Min-Sum Arborescence with Outage Costs A Hop Consrained Min-Sum Arborescence wih Ouage Coss Rakesh Kawara Minnesoa Sae Universiy, Mankao, MN 56001 Email: Kawara@mnsu.edu Absrac The hop consrained min-sum arborescence wih ouage coss problem

More information

ACE 562 Fall Lecture 8: The Simple Linear Regression Model: R 2, Reporting the Results and Prediction. by Professor Scott H.

ACE 562 Fall Lecture 8: The Simple Linear Regression Model: R 2, Reporting the Results and Prediction. by Professor Scott H. ACE 56 Fall 5 Lecure 8: The Simple Linear Regression Model: R, Reporing he Resuls and Predicion by Professor Sco H. Irwin Required Readings: Griffihs, Hill and Judge. "Explaining Variaion in he Dependen

More information

2. Nonlinear Conservation Law Equations

2. Nonlinear Conservation Law Equations . Nonlinear Conservaion Law Equaions One of he clear lessons learned over recen years in sudying nonlinear parial differenial equaions is ha i is generally no wise o ry o aack a general class of nonlinear

More information

12: AUTOREGRESSIVE AND MOVING AVERAGE PROCESSES IN DISCRETE TIME. Σ j =

12: AUTOREGRESSIVE AND MOVING AVERAGE PROCESSES IN DISCRETE TIME. Σ j = 1: AUTOREGRESSIVE AND MOVING AVERAGE PROCESSES IN DISCRETE TIME Moving Averages Recall ha a whie noise process is a series { } = having variance σ. The whie noise process has specral densiy f (λ) = of

More information

International Journal of Scientific & Engineering Research, Volume 4, Issue 10, October ISSN

International Journal of Scientific & Engineering Research, Volume 4, Issue 10, October ISSN Inernaional Journal of Scienific & Engineering Research, Volume 4, Issue 10, Ocober-2013 900 FUZZY MEAN RESIDUAL LIFE ORDERING OF FUZZY RANDOM VARIABLES J. EARNEST LAZARUS PIRIYAKUMAR 1, A. YAMUNA 2 1.

More information

Air Traffic Forecast Empirical Research Based on the MCMC Method

Air Traffic Forecast Empirical Research Based on the MCMC Method Compuer and Informaion Science; Vol. 5, No. 5; 0 ISSN 93-8989 E-ISSN 93-8997 Published by Canadian Cener of Science and Educaion Air Traffic Forecas Empirical Research Based on he MCMC Mehod Jian-bo Wang,

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differenial Equaions 5. Examples of linear differenial equaions and heir applicaions We consider some examples of sysems of linear differenial equaions wih consan coefficiens y = a y +... + a

More information

Chapter 2. Models, Censoring, and Likelihood for Failure-Time Data

Chapter 2. Models, Censoring, and Likelihood for Failure-Time Data Chaper 2 Models, Censoring, and Likelihood for Failure-Time Daa William Q. Meeker and Luis A. Escobar Iowa Sae Universiy and Louisiana Sae Universiy Copyrigh 1998-2008 W. Q. Meeker and L. A. Escobar. Based

More information

WHEN LINEAR AND WEAK DISCREPANCY ARE EQUAL

WHEN LINEAR AND WEAK DISCREPANCY ARE EQUAL WHEN LINEAR AND WEAK DISCREPANCY ARE EQUAL DAVID M. HOWARD AND STEPHEN J. YOUNG Absrac. The linear discrepancy of a pose P is he leas k such ha here is a linear exension L of P such ha if x and y are incomparable,

More information

MODULE 3 FUNCTION OF A RANDOM VARIABLE AND ITS DISTRIBUTION LECTURES PROBABILITY DISTRIBUTION OF A FUNCTION OF A RANDOM VARIABLE

MODULE 3 FUNCTION OF A RANDOM VARIABLE AND ITS DISTRIBUTION LECTURES PROBABILITY DISTRIBUTION OF A FUNCTION OF A RANDOM VARIABLE Topics MODULE 3 FUNCTION OF A RANDOM VARIABLE AND ITS DISTRIBUTION LECTURES 2-6 3. FUNCTION OF A RANDOM VARIABLE 3.2 PROBABILITY DISTRIBUTION OF A FUNCTION OF A RANDOM VARIABLE 3.3 EXPECTATION AND MOMENTS

More information

Applying Genetic Algorithms for Inventory Lot-Sizing Problem with Supplier Selection under Storage Capacity Constraints

Applying Genetic Algorithms for Inventory Lot-Sizing Problem with Supplier Selection under Storage Capacity Constraints IJCSI Inernaional Journal of Compuer Science Issues, Vol 9, Issue 1, No 1, January 2012 wwwijcsiorg 18 Applying Geneic Algorihms for Invenory Lo-Sizing Problem wih Supplier Selecion under Sorage Capaciy

More information

Two Coupled Oscillators / Normal Modes

Two Coupled Oscillators / Normal Modes Lecure 3 Phys 3750 Two Coupled Oscillaors / Normal Modes Overview and Moivaion: Today we ake a small, bu significan, sep owards wave moion. We will no ye observe waves, bu his sep is imporan in is own

More information

18 Biological models with discrete time

18 Biological models with discrete time 8 Biological models wih discree ime The mos imporan applicaions, however, may be pedagogical. The elegan body of mahemaical heory peraining o linear sysems (Fourier analysis, orhogonal funcions, and so

More information

Lecture 10: The Poincaré Inequality in Euclidean space

Lecture 10: The Poincaré Inequality in Euclidean space Deparmens of Mahemaics Monana Sae Universiy Fall 215 Prof. Kevin Wildrick n inroducion o non-smooh analysis and geomery Lecure 1: The Poincaré Inequaliy in Euclidean space 1. Wha is he Poincaré inequaliy?

More information

CHERNOFF DISTANCE AND AFFINITY FOR TRUNCATED DISTRIBUTIONS *

CHERNOFF DISTANCE AND AFFINITY FOR TRUNCATED DISTRIBUTIONS * haper 5 HERNOFF DISTANE AND AFFINITY FOR TRUNATED DISTRIBUTIONS * 5. Inroducion In he case of disribuions ha saisfy he regulariy condiions, he ramer- Rao inequaliy holds and he maximum likelihood esimaor

More information

Particle Swarm Optimization Combining Diversification and Intensification for Nonlinear Integer Programming Problems

Particle Swarm Optimization Combining Diversification and Intensification for Nonlinear Integer Programming Problems Paricle Swarm Opimizaion Combining Diversificaion and Inensificaion for Nonlinear Ineger Programming Problems Takeshi Masui, Masaoshi Sakawa, Kosuke Kao and Koichi Masumoo Hiroshima Universiy 1-4-1, Kagamiyama,

More information

) were both constant and we brought them from under the integral.

) were both constant and we brought them from under the integral. YIELD-PER-RECRUIT (coninued The yield-per-recrui model applies o a cohor, bu we saw in he Age Disribuions lecure ha he properies of a cohor do no apply in general o a collecion of cohors, which is wha

More information

Explaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015

Explaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015 Explaining Toal Facor Produciviy Ulrich Kohli Universiy of Geneva December 2015 Needed: A Theory of Toal Facor Produciviy Edward C. Presco (1998) 2 1. Inroducion Toal Facor Produciviy (TFP) has become

More information

Predator - Prey Model Trajectories and the nonlinear conservation law

Predator - Prey Model Trajectories and the nonlinear conservation law Predaor - Prey Model Trajecories and he nonlinear conservaion law James K. Peerson Deparmen of Biological Sciences and Deparmen of Mahemaical Sciences Clemson Universiy Ocober 28, 213 Ouline Drawing Trajecories

More information

Integration Over Manifolds with Variable Coordinate Density

Integration Over Manifolds with Variable Coordinate Density Inegraion Over Manifolds wih Variable Coordinae Densiy Absrac Chrisopher A. Lafore clafore@gmail.com In his paper, he inegraion of a funcion over a curved manifold is examined in he case where he curvaure

More information