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

Size: px
Start display at page:

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

Transcription

1 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 and Technology, Northeastern Unversty, Chna Abstract Lu and Layland dscovered the famous utlzaton bound N( N 1 1) for fxed-prorty schedulng on sngleprocessor systems n the 1970 s. Snce then, t has been a long standng open problem to fnd fxed-prorty schedulng algorthms wth the same bound for multprocessor systems. In ths paper, we present a parttonng-based fxed-prorty multprocessor schedulng algorthm wth Lu and Layland s utlzaton bound. Keywords-real-tme systems; utlzaton bound; multprocessor; fxed prorty schedulng I. INTRODUCTION Utlzaton bound s a well-nown concept frst ntroduced by Lu and Layland n ther semnal paper [19]. Utlzaton bound can be used as a smple and practcal way to test the schedulablty of real-tme tas sets, as well as a good metrc to evaluate the qualty of a schedulng algorthm. It was shown that the utlzaton bound of Rate Monotonc Schedulng (RMS) on sngle processors s N( 1 N 1). For smplcty of presentaton we let Θ(N) = N( 1 N 1). Multprocessor schedulng are usually categorzed nto two paradgms [10]: global schedulng, n whch each tas can execute on any avalable processor n the run tme, and parttoned schedulng n whch each tass s assgned to a processor beforehand, and durng the run tme each tas can only execute on ths partcular processor. Although global schedulng on average utlzes computng resource better, the best nown utlzaton bound of global fxed-prorty schedulng s only 38% [3], whch s much lower than the best nown result of parttoned fxed-prorty schedulng 50% [7]. 50% s also nown as the maxmum utlzaton bound for both global and parttoned fxed-prorty schedulng [4], [0]. Although there exst schedulng algorthms, le the pfar famly [], [9], offerng utlzaton bounds of 100%, these schedulng algorthms are not prorty-based and ncur much hgher context-swtch overhead [11]. Recently a number of wors have been done on the semparttoned schedulng, whch can exceed the maxmum utlzaton bound 50% of the parttoned schedulng. In semparttoned schedulng, most tass are statcally assgned to one fxed processor as n parttoned schedulng, whle a Ths wor was partally sponsored by CoDeR-MP, UPMARC, and NSF of Chna under Grant No and Correspondng author: Wang Y, y@t.uu.se. few number of tass are splt nto several subtass, whch are assgned to dfferent processors. A recent wor [18] has shown that the worst-case utlzaton bound of semparttoned fxed-prorty schedulng can acheve 65%, whch s stll lower than 69.3% (the worst-case value of Θ(N) when N s ncreasng to the nfnty). Ths gap s even larger wth a smaller N. In ths paper, we propose a new fxed-prorty schedulng algorthm for multprocessor systems based on semparttoned schedulng, whose utlzaton bound s Θ(N). The algorthm uses RMS on each processor, and has the same tas splttng overhead as n prevous wors [18], [15], [16]. We frst propose a sem-parttoned fxed-prorty schedulng algorthm, whose utlzaton bound s Θ(N) for a class of tas sets n whch the utlzaton of each tas s no larger than Θ(N)/(1 + Θ(N)). Ths algorthm assgns tass n decreasng perod order, and always selects the processor wth the least worload assgned so far among all processors, to assgn the next tas. Then we remove the constrant on the utlzaton of each tas, by ntroducng an extra tas pre-assgnng mechansm; the algorthm can acheve the utlzaton bound of Θ(N) for any tas set. The rest of the paper s structured as follows: Secton II revews the pror wor on sem-parttoned schedulng; Secton III ntroduces the notatons and the basc concept of sem-parttoned schedulng. The frst and second proposed algorthms, as well as ther worst-case utlzaton bound propertes, are presented n Secton IV and V respectvely. Fnally, the concluson s made n Secton VI. II. PRIOR WORK Sem-parttoned schedulng has been studed wth both EDF schedulng [1], [8], [5], [6], [13], [14], [17] and fxedprorty schedulng [15], [16], [18]. The frst sem-parttoned schedulng algorthm s EDFfm [1] for soft real-tme systems based on EDF schedulng. Andersson et al. proposed EKG [8] for hard real-tme systems, n whch splt tass are forced to executed n certan tme slots. Later EKG was extended to sporadc and arbtrary deadlne tas systems [5] [6] wth the smlar dea. Kato et al. proposed EDDHP and EDDP [13] [14] n whch splt tass are scheduled based on prorty rather than tme slots. The worst-case utlzaton bound of EDDP s 65%. Later Kato et

2 al. proposed EDF-WM, whch can sgnfcantly reduce the context swtch overhead aganst prevous wor. There are relatvely fewer wors on the fxed-prorty schedulng sde. Kato et al. proposed RMDP [15] and DMPM [16], both wth the worst-case utlzaton bound of 50%. whch s the same as the parttoned schedulng wthout tas splttng. Recently, Lashmanan et al. [18] proposed the algorthm PDMS HPTS DS, whch can acheve the worstcase utlzaton bound of 65%, and can acheve the bound 69.3% for a specal type of tas sets only contanng lght tass. They also conducted case studes on an Intel Core Duo processor to characterze the practcal overhead of tas-splttng, and showed that the cache overheads due to tas-splttng can be expected to be neglgble on mult-core platforms. III. BASIC CONCEPTS We frst ntroduce the processor platform and tas model. The multprocessor platform conssts of M dentcal processors {P 1, P,...P M }. A tas set τ = {τ 1, τ,..., τ N } conssts of N ndependent tass. Each tas τ s a -tuple C, T, where C s the worst-case executon tme, T s the mnmum nter-release separaton (also called perod). T s also τ s relatve deadlne. Tass n τ are sorted n non-decreasng perod order,.e., j > T j T. Snce our proposed algorthms use ratemonotonc schedulng (RMS) as the schedulng algorthm on each processor, we can use the tas ndces to represent the tas prortes,.e., τ has hgher prorty than τ j f and only f < j. The utlzaton of each tas τ s defned as U = C /T. We recall the classcal result of Lu and Layland [19]: On a sngle-processor system, each tas set τ wth U N( 1 N 1) τ τ s schedulable usng rate-monotonc schedulng (RMS). The utlzaton bound of our proposed sem-parttoned schedulng algorthm s bult upon ths result. In the remander of ths paper, we use Θ(N) to denote the above utlzaton bound for N tass: Θ(N) = N( 1 N 1) (1) We further defne the utlzaton of a tas set τ n multprocessor schedulng on M processors as U(τ) = τ τ U /M () For smplcty of presentng our algorthms, we assume each tas τ τ has utlzaton U Θ(N). Note that ths assumpton does not nvaldate our results on tas sets contanng tass wth utlzaton hgher than Θ(N): If n a tas set wth U(τ) Θ(N) there are tass wth a hgher (ndvdual) utlzaton than Θ(N), we can just let them run 1 τ 1 r r r+r 1 τ 3 τ 3 r R 1 R T R 1 r+r 1 +R Fgure 1. T -R 1 -R Subtass each exclusvely on an own processor. The remanng tas set on the remanng processors stll has a utlzaton of at most Θ(N). If we are able to show ts schedulablty, then together ths results n the desred bound Θ(N) for the full tas set. A sem-parttoned schedulng algorthm conssts of two parts: the parttonng algorthm, whch determnes how to splt and assgn each tas (or rather each of ts parts) to a fxed processor, and the schedulng algorthm, whch determnes how to schedule the tass assgned to each processor. Wth the parttonng algorthm, most tass are assgned to a processor and only execute on ths processor at run tme. We call these tass non-splt tass. Other tass are called splt tass, whch are splt nto several subtass. Each subtas of splt tas τ s assgned to (thereby executes on) a dfferent processor, and the sum of the executon tme of all subtass equals C. For example, n Fgure 1 the tas τ s splt nto three subtass τ 1, τ and τ 3, executng on processor P 1, P and P 3, respectvely. The subtass of a tas need to be synchronzed to execute correctly. For example, n Fgure 1, τ can not start executon untl τ 1 s fnshed. Ths equals deferrng the actual ready tme of τ by up to R1 (relatve to τ s orgnal release tme), where R 1 s the worst-case response tme of τ 1. One can regard ths as shortenng the actual relatve deadlne of τ by up to R 1. Smlarly, the actual ready tme of τ 3 s deferred by up to R 1 + R, and τ 3 s actual relatve deadlne s shortened by up to R 1 + R. We use τ to denote the th subtas of a splt tas τ, and defne τ s synthetc deadlne as = T R l (3) l [1, 1] Thus, we represent each subtas τ by a 3-tuple c, T,, n whch c s the executon tme of τ, T s the orgnal perod, s the synthetc deadlne. For consstency, each non-splt tas τ can be represented by a sngle subtas τ 1 wth c 1 = C and 1 = T. The normal utlzaton of a subtas τ s U = c /T, and we defne another new metrc, the synthetc utlzaton d

3 V, to descrbe τ s worload wth ts synthetc deadlne: V = c / (4) We call the last subtas of τ ts tal subtas, denoted by τ t and other subtass ts body subtass, as shown n Fgure 1. We use τ bj to denote the j th body subtas. We use τ P q to denote that τ s assgned to processor P q, and say that P q s the host processor of τ. A tas set τ s schedulable under a sem-parttoned schedulng algorthm A, f after assgnng tass to processors by A s parttonng algorthm, each tas τ τ can meet ts deadlne under A s schedulng algorthm. IV. THE FIRST ALGORITHM SPA1 A sgnfcant dfference between SPA1 and the algorthms n prevous wor s that SPA1 employs a worst-ft parttonng, whle all prevous algorthms employ a frst-ft parttonng [18], [15], [16]. The basc procedure of frst-ft parttonng s as follows: one selects a processor, and assgn tass to ths processor as much as possble to fll ts capacty, then pc the next processor and repeat the procedure. In contrast, the worst-ft parttonng always selects the processor wth the mnmal total utlzaton of tass that have been assgned to t, so the occuped capactes of all processors are ncreased roughly n turn. The reason for us to prefer worst-ft parttonng s ntutvely explaned as follows. A subtas τ s actual deadlne ( ) s shorter than τ s orgnal deadlne T, and the sum of the synthetc utlzatons of all τ s subtass s larger than τ s orgnal utlzaton U, whch s the ey dffculty for sem-parttoned schedulng to acheve the same utlzaton bound as on sngle-processors. Wth worst-ft parttonng, the occuped capacty of all processors are ncreased n turn, and tas splttng only occurs when the capacty of a processor s completely flled. Then, f one parttons all tass n ncreasng prorty order, the splt tass n worstft parttonng wll generally have relatvely hgh prorty levels on each processor. Ths s good for the schedulablty of the tas set, snce the tass wth hgh prortes usually have better chance to be schedulable, so they can tolerate the shortened deadlnes better. Consder an extreme scenaro: f one can mae sure that all splt tass subtass have the hghest prorty on ther host processors, then there s no need to consder the shortened deadlnes of these subtass, snce, beng of the hghest prorty level on each processor, they are schedulable anyway. Thus, as long as the splt tass wth shorten deadlnes do not cause any problem, Lu and Layland s utlzaton bound can be easly acheved. The phlosophy behnd our proposed algorthms s mang the splt subtass get as hgh prorty as possble on each processor. In contrast, wth the frst-ft parttonng, a splt subtas may get qute low prorty on ts host processors 1. For nstance, wth the algorthm n [18] that acheves the utlzaton bound of 65%, n the worst case the second subtas of a splt tas wll always get the lowest prorty on ts host processor. As wll be seen later n ths secton, SPA1 does not completely solve the problem. More precsely, SPA1 s restrcted to a class of lght tas sets, n whch the utlzaton of each tas s no larger than Θ(N)/(1+Θ(N)). Intutvely, ths s because f a tas s utlzaton s very large, ts tal subtas mght stll get a relatvely low prorty on ts host processor, even usng worst-ft parttonng. (We wll solve ths problem wth SPA n Secton V.) In the followng, we wll ntroduce SPA1 as well as ts utlzaton bound property. The remanng part of ths secton s structured as follows: we frst present the parttonng algorthm of SPA1, and show that any tas set τ satsfyng U(τ) Θ(N) can be successfully parttoned by SPA1. Then we ntroduce how the tass assgned to each processor are scheduled. Next, we prove that f a lght tas set s successfully parttoned by SPA1, then all tass can meet ther deadlnes under the schedulng algorthm of SPA1. Together, ths mples that any lght tas set wth U(τ) Θ(N) s schedulable by SPA1, and fnally ndcates the utlzaton bound of SPA1 s Θ(N) for lght tas sets. 1: f U(τ) > Θ(N) then abort : UQ := [τn 1, τ N 1 1,..., τ 1 1 ] 3: Ψ[1...M] := all zeros 4: whle UQ do 5: P q := the processor wth the mnmal Ψ 6: τ := pop front(uq) 7: f (U + Ψ[q] Θ(N)) then 8: τ P q 9: Ψ[q] := Ψ[q] + U 10: else 11: splt τ nto two parts τ and τ +1 such that U + Ψ[q] = Θ(N) 1: τ P q 13: Ψ[q] := Θ(N) 14: push front(τ +1, UQ) 15: end f 16: end whle Algorthm 1: The parttonng algorthm of SPA1. A. SPA1: Parttonng and Schedulng The parttonng algorthm of SPA1 s very smple, whch can be brefly descrbed as follows: 1 Under the algorthms n [16], a splt subtas s prorty s artfcally advanced to the hghest level on ts host processor, whch breas down the RMS prorty order and thereby leads to a lower utlzaton bound.

4 We assgn tass n ncreasng prorty order, and always select the processor on whch the total utlzaton of tass have been assgned so far s mnmal among all the processors. When a tas (subtas) can not be assgned entrely to the current selected processor, we splt t nto two parts and assgn the frst part such that the total utlzaton of the current selected processor s Θ(N), and assgn the second part to the next selected processor. The precse descrpton of the parttonng algorthm s n Algorthm 1. U Q s the lst accommodatng unassgned tass, sorted n ncreasng prorty order. U Q s ntalzed by {τn 1, τ N 1 1,..., τ 1 1 }, n whch each element τ 1 = c 1 = C, T, 1 = T s the ntal subtas form of tas τ. Each element Ψ[q] n the array Ψ[1...M] denotes the sum of the utlzaton of tass that have been assgned to processor P q. The wor flow of SPA1 s as follows. In each loop teraton, we pc the tas at the front of UQ, denoted by τ, whch has the lowest prorty among all unassgned tass. We try to assgn τ to the processor P q, whch has the mnmal Ψ[q] among all elements n Ψ[1...M]. If U + Ψ[q] Θ(N) then we can assgn the entre τ to P q, snce there s enough capacty avalable on P q. Otherwse, we splt τ nto two subtass τ and τ +1, such that U + Ψ[q] = Θ(N) (Note that wth U = c /T we denote the utlzaton of subtas τ.) We further set Ψ[q] := Θ(N), whch means ths processor P q s full and we wll not assgn any more tass to P q. Then we nsert τ +1 bac to the front of UQ, to assgn t n the next loop teraton. We contnue ths procedure untl all tass have been assgned. It s easy to see that all tas sets below the desred utlzaton bound can be successfully parttoned by SPA1: Lemma 1. Any tas set wth U(τ) Θ(N) (5) can be successfully parttoned to M processors wth SPA1. Note that there s no schedulablty guarantee n the parttonng algorthm. It wll be proved n next subsecton. After the tass are assgned (and possbly splt) to the processors by the parttonng algorthm of SPA1, they wll be scheduled usng RMS on each processor locally,.e., wth ther orgnal prortes. The subtass of a splt tas respect ther precedence relatons,.e., a splt subtas τ s ready for executon when ts precedng subtas τ 1 on some other processor has fnshed. release of τ ready for τ release of τ ready for τ c j j< T c j Fgure. Each subtas τ can be vewed as an ndependent tas wth perod of T and deadlne of. B. Schedulablty We frst show an mportant property of SPA1: Lemma. After parttonng accordng to SPA1, each body subtas has the hghest prorty on ts host processor. Proof: In the parttonng algorthm of SPA1, tas splttng only occurs when a processor s full. Thus, after a body tas was assgned to a processor, there wll be no more tass assgned to t. Further, the tass are parttoned n ncreasng prorty order, so all tass assgned to the processor before have lower prorty. By Lemma, we further now that the response tme of each body subtas equals ts executon tme, so the synthetc deadlne t of each tal subtas τ t s calculated as follows: t = T j [1,B] j< c bj = T (C c t ) (6) So we can vew the schedulng n SPA1 on each processor wthout consderng the synchronzaton between the subtass of a splt tas, and just regard every splt subtas τ as an ndependent tas wth perod T and a shorter relatve deadlne calculated by Equaton (6), as shown n Fgure. In the followng we prove the schedulablty of non-splt tass, body subtass and tal subtass, respectvely. 1) Non-splt Tass: Lemma 3. If tas set τ wth U(τ) Θ(N) s parttoned by SPA1, then any non-splt tas of τ can meet ts deadlne. Proof: The tass on each processor are scheduled by RMS, and the sum of the utlzaton of all tass on a processor s no larger than Θ(N). Further, the deadlnes of the non-splt tass are unchanged and therefore stll equal ther perods. Thus, each non-splt tas s schedulable. Note that although the synthetc deadlnes of other subtass are shorter than ther orgnal perods, ths does not affect the schedulablty of the non-splt tass, snce only the perods of these subtass are relevant to the schedulablty of the non-splt tass. ) Body Subtass: Lemma 4. If tas set τ wth U(τ) Θ(N) s parttoned by SPA1, then any body subtas of τ can meet ts deadlne. Proof: The body subtass have the hghest prortes on ther host processors and wll therefore always meet

5 U b1 U b U bb Y t U t hgh prorty Θ(N) b1 X Xb XbB Xt P b1 P b P bb P t low prorty (a) Γ (b) Γ Fgure 3. Illustraton of X b j, X t and Y t Fgure 4. Illustraton of Γ ther deadlnes. (Ths holds even though the deadlnes were shortened because of the tas splttng). 3) Tal Subtass: Now we prove the schedulablty for an arbtrary tal subtas τ t, durng whch we only focus on τ t, but do not consder whether other tal subtass are schedulable or not. Snce the same reasonng can be appled to every tal subtas, the proofs guarantee that all tal subtass are schedulable. Suppose tas τ s splt nto B body subtass and one tal subtas. Recall that we use τ bj, j [1, B] to denote the j th body subtas of τ, and τ t to denote τ s tal subtas. U bj = c bj /T and U t = c t /T denotes τ bj s and τ t s orgnal utlzaton respectvely. Addtonally, we use the followng notatons (cf. Fgure 3): For each body subtas τ bj, let X bj denote the sum of the utlzatons of all the tass τ assgned to P bj wth lower prorty than τ bj. For the tal subtas τ t, let Xt denote the sum of the utlzatons of all the tass assgned to P t wth lower prorty than τ t. For the tal subtas τ t, let Y t denote the sum of the utlzatons of all the tass assgned to P t wth hgher prorty than τ t. We can use these now for the schedulablty of the tal subtass: Lemma 5. Suppose a tal subtas τ t s assgned to processor P t. If τ t satsfes then τ t Y t T / t + V t Θ(N), (7) can meet ts deadlne. Proof: The proof dea s as follows: We consder the set Γ consstng of τ t and all tass wth hgher prorty than τ t on the same processor,.e., the tass contrbutng to Y t. For ths set, we construct a new tas set Γ, n whch the tass perods that are larger than t are all reduced to t. The man dea s to frst show that the counterpart of τ t s schedulable wth ths new set Γ by RMS because of the utlzaton bound, and then to prove ths mples the schedulablty of τ t n the orgnal set Γ. In partcular, let P t be the processor to whch τ t s assgned. We defne Γ as follows: Γ = {τ h τ h P t h } (8) We now gve the constructon of Γ: For each tas τh Γ, we have a counterpart τ h n Γ. The only dfference s that we possbly reduce the perods: { c h = T h, f T h t c h, Th = t, f T h > t We also eep the same prorty order of tass n Γ as ther counterparts n Γ, whch s stll a rate-monotonc orderng. Fgure 4 llustrates the constructon. In Fgure 4(a), Γ contans three tass. τ 1 has a perod that s smaller than t, and τ has a larger one. Further, τ t s contaned n Γ. Accordng to the constructon, Γ n Fgure 4(b) has also three tass τ 1, τ and τ t, where only the perods of τ and τ t are reduced to t. Now we show the schedulablty of τ t n Γ. We do ths by showng the suffcent upper bound of Θ(N) on the total utlzaton of Γ. U( Γ) = c h/ T h = c h/ T h + V (9) τh Γ τh Γ\{τ t} We now do a case dstncton for tass τ h Γ, accordng to whether ther perods were reduced or not. If T h t, we have T h = T h. Snce T > t, we have: c h/ T h = c h/t h = U h < U h T / t If T h > t, we have T h = t. Because of the prorty ordered by perods, we have T h T. Thus: c h/ T h = c h/ t c h/t h T / t = U h T / t Both cases lead to c h / T h Uh T / t, so we can apply ths to (9) from above: U( Γ) (10) τ h Γ\{τ t } U h T / t + V

6 Snce Y t = τh Γ\{τ t} U h, we have: U( Γ) Y t T / t + V t Fnally, by the assumpton from Condton (7) we now that the rght-hand sde s at most Θ(N), and thus U( Γ) Θ(N). Therefore, τ s schedulable. Note that n Γ there could exst other tal subtass whose deadlnes are shorter than ther perods. However, ths does not nvaldate that the condton U( Γ) Θ(N) s suffcent to guarantee the schedulablty of τ t under RMS. Now we need to see that ths mples the schedulablty of τ t. Recall that the only dfference between Γ and Γ s that the perod of a tas n Γ s possbly larger than ts counterpart n Γ. So the nterference τ t suffered from the hgher-prorty tass n Γ, s no larger than the nterference τ t suffered n Γ, and snce the deadlnes of τ t and τ t are the same, we now the schedulablty of τ t mples the schedulablty of τ t İt remans to show that Condton (7) holds, whch was the assumpton for ths lemma and thus a suffcent condton for tal subtass to be schedulable. As n the ntroducton of ths secton, ths condton does not hold n general for SPA1, but only for certan lght tas sets: Defnton 1. A tas τ s a lght tas f U Θ(N) 1 + Θ(N). Otherwse, τ s a heavy tas. A tas set τ s a lght tas sets f all tass n τ are lght tass. Lemma 6. Suppose a tal subtas τ t s assgned to processor P t. If τ s a lght tas, we have Y t T / t + V t Θ(N). Proof: We wll frst derve a general upper bound on Y t based on the propertes of X bj, X t and the subtass utlzatons. Based on ths, we derve the bound we want to show, usng the assumpton that τ s a lght tas. For dervng the upper bound on Y t, we note that as soon as a tas s splt nto a body subtas and a rest, the processor hostng ths new body subtas s full,.e., ts utlzaton s Θ(N). Further, each body subtas has by constructon the hghest prorty on ts host processor, so we have: j [1, B] : U bj + X bj = Θ(N) We sum over all B of these equatons, and get: U bj + X bj = B Θ(N) (11) j [1,B] j [1,B] Now we consder the processor contanng τ t, denoted by P t. Its total utlzaton s X t +U t +Y t and s at most Θ(N),.e., X t + U t + Y t Θ(N). We combne ths wth (11) and get: j [1,B] U bj j [1,B] Xbj Y t + U t X t (1) B B In order to smplfy ths, we recall that durng the parttonng phase, we always select the processor wth the smallest total utlzaton of tass that have been assgned to t so far. (Recall lne 5 n Algorthm 1). Ths mples X bj X t for all subtass τ bj. Thus, the sum over all X bj s bounded by B X t and we can cancel out both terms n (1): j [1,B] U bj Y t U t B Another smplfcaton s possble usng that B 1 and that τ s utlzaton U s the sum of the utlzatons of all of ts subtass,.e., j [1,B] U bj = U U t: Y t U U t We are now done wth the frst part,.e., dervng an upper bound for Y t. Ths can easly be transformed nto an upper bound on the term we are nterested n: Y t T t + V t (U U t ) T t + V t (13) For the rest of the proof, we try to bound the rght-hand sde from above by Θ(N) whch wll complete the proof. The ey s to brng t nto a form that s sutable to use the assumpton that τ s a lght tas. As a frst step, we use that the synthetc deadlne of τ t s the perod T reduced by the total computaton tme of τ s body subtass,.e., t = T (C c t ), cf. Equaton (6). Further, we use the defntons U = C /T, U t = c t /T and V t = c t / t to derve: (U U t ) T t + V t C c t = T (C c t ) Snce c t > 0, we can fnd a smple upper bound of the rght-hand sde: C c t T (C c t ) = Snce τ s a lght tas, we have T T (C c t ) 1 < U Θ(N) 1 + Θ(N) T T C 1 and by applyng U = C /T to the above, we can obtan T 1 Θ(N) T C Thus, we have establshed that Θ(N) s an upper bound of Y t T + V t t wth whch we started n (13). From Lemmas 5 and 6 t follows drectly the desred property: Lemma 7. If tas set τ wth U(τ) Θ(N) s parttoned by SPA1, then any tal subtas of a lght tas of τ can meet ts deadlne.

7 Table I AN EXAMPLE TASK SET 3 b t 5 Fgure 5. The tal subtas of a tas wth large utlzaton may have a low prorty level C. Utlzaton Bound By Lemma 1 we now that a tas set τ can be successfully parttoned by the parttonng algorthm of SPA1 f U(τ) s no larger than Θ(N). If τ has been successfully parttoned, by Lemma 3 and 4 we now that all the non-splt tas and body subtass are schedulable. By Lemma 7 we now a tal subtas τ s also schedulable f τ s a lght tas. Snce, n general, t s a pror unnown whch tass wll be splt, we pose ths constrant of beng lght to all tass n τ to have a suffcent schedulablty test condton: Theorem 1. Let τ be a tas set only contanng lght tass. τ s schedulable wth SPA1 on M processors f U(τ) Θ(N) (14) In other words, the utlzaton bound of SPA1 s Θ(N) for tas sets only contanng tass wth utlzaton no larger than Θ(N)/(1 + Θ(N)). Θ(N) s a decreasng functon wth respect to N, whch means the utlzaton bound s hgher for tas sets wth fewer tass. We use N to denote the maxmal number of tass (subtass) assgned to each processor, so Θ(N ), whch s strctly larger than Θ(N), also serves as the utlzaton bound of each processor. Therefore we can use Θ(N ) to replace Θ(N) n the dervaton procedure above, and get that the utlzaton bound of SPA1 s Θ(N ) for tas sets only contanng tass wth utlzaton no larger than Θ(N )/(1 + Θ(N )). V. THE SECOND ALGORITHM SPA In ths secton we ntroduce our second sem-parttoned fxed-prorty schedulng algorthm SPA, whch has the utlzaton bound of Θ(N) for tas sets wthout any constrant. As dscussed n the begnnng of Secton IV, the ey pont for our algorthms to acheve hgh utlzaton bounds s to mae each splt tas get a prorty as hgh as possble on ts host processor. Wth SPA1, the tal subtas of a tas wth very large utlzaton could have a relatvely low prorty on ts host processor, as the example n Fgure 5 llustrates. Ths s why the utlzaton bound of SPA1 s not applcable to tas sets contanng heavy tass. Tas C T Heavy Tas? Prorty τ yes hghest τ no mddle τ no lowest To solve ths problem, we propose the second semparttoned algorthm SPA n ths secton. The man dea of SPA s to pre-assgn each heavy tas whose tal subtas mght get a low prorty, before parttonng other tass, therefore these heavy tass wll not be splt. Note that f one smply pre-assgns all heavy tass, t s stll possble for some tal subtas to get a low prorty level on ts host processor. Consder the tas set n Table I wth processors, and for smplcty we assume Θ(N) = 0.8, and Θ(N)/(1 + Θ(N)) = 4/9. If we pre-assgn the heavy tas τ 1 to processor P 1, then assgn τ and τ 3 by the parttonng algorthm of SPA1, the tas parttonng loos as follows: 1) τ 1 P 1, ) τ 3 P, 3) τ can not be entrely assgned to P, so t s splt nto two subtass τ 1 = 3.75, 10, 10 and τ = 0.5, 10, 6.5, and τ 1 P, 4) τ P 1. Then the tass on each processor are scheduled by RMS. We can see that the tal subtas τ has the lowest prorty on P 1 and wll mss ts deadlne due to the hgher prorty tas τ 1. However, f we do not pre-assgn τ 1 and just do the parttonng wth SPA1, ths tas set s schedulable. To overcome ths problem, a more sophstcated preassgnng mechansm s employed n our second algorthm SPA. Intutvely, SPA pre-assgns exactly those heavy tass for whch pre-assgnng them wll not cause any tal subtas to mss deadlne. Ths s checed usng a smple test. Those heavy tass that don t satsfy ths test wll be assgned (and possbly splt) later together wth the lght tass. The ey for ths to wor s, that for these heavy tass, we can use the property of falng the test n order to show that ther tal subtass wll not mss the deadlnes ether. A. SPA: Parttonng and Schedulng We frst ntroduce some notatons. If a heavy tas τ s pre-assgned to a processor P q n SPA, we call τ as a pre-assgned tas, otherwse a normal tas, and call P q as a pre-assgned processor, otherwse a normal processor. The parttonng algorthm of SPA contans three steps: 1) We frst pre-assgn the heavy tass that satsfy a partcular condton to one processor each. ) We do tas parttonng wth the remanng (.e. normal) tass and remanng (.e. normal) processors usng SPA1 untl all the normal processors are full. 3) The remanng tass are assgned to the pre-assgned processors; the assgnment selects one processor to

8 1: f U(τ) > Θ(N) then abort : P Q := [P 1, P,..., P M ] 3: P Q pre := 4: UQ := 5: Ψ[1...M] := all zeros 6: for := 1 to N do 7: f τ s heavy j> U j ( P Q 1) Θ(N) then 8: P q := pop front(p Q) 9: Pre-assgn τ to P q 10: push front(p q, P Q pre) 11: Ψ[q] := Ψ[q] + U 1: else 13: push front(τ 1, UQ) 14: end f 15: end for 16: whle UQ do 17: τ := pop front(uq) 18: f P q P Q : Ψ[q] Θ(N) then 19: P q := the element n P Q wth the mnmal Ψ 0: else 1: P q := pop front(p Q pre) : end f 3: f U + Ψ[q] Θ(N) then 4: τ Pq 5: Ψ[q] := Ψ[q] + U 6: f P q came from P Q then 7: push front(p q, P Q pre) 8: end f 9: else 30: splt τ nto two parts τ and τ +1 such that U + Ψ[q] = Θ(N) 31: τ Pq 3: Ψ[q] = Θ(N) 33: push front(τ +1, UQ) 34: end f 35: end whle Algorthm : The parttonng algorthm of SPA. assgn as many tass as possble, untl t becomes full, then select the next processor. The precse descrpton of the parttonng algorthm of SPA s shown n Algorthm. We frst ntroduce the data structures used n the algorthm: P Q s the lst of all processors. It s ntally [P 1, P,..., P M ] and processors are always taen out and put bac n the front. P Q pre s the lst to accommodate pre-assgned processors, ntally empty. UQ s the lst to accommodate the unassgned tass after Step 1). Intally t s empty, and durng Step 1), each tas τ that s determned not to be pre-assgned wll be put nto UQ (already n ts subtas form τ 1 ). Ψ[1...M] s an array, whch has the same meanng as n SPA1: each element Ψ[q] n the array Ψ[1...M] denotes the sum of the utlzaton of tass that have been assgned to processor P q. In Step 1) (lnes 6 to 15), each tas τ n τ s vsted n ncreasng ndex order,.e., decreasng prorty order. If τ s a heavy tas, we evaluate the followng condton (lne 7): U j ( P Q 1) Θ(N) (15) j> n whch P Q s the number of processors left n P Q so far. A heavy tas τ s determned to be pre-assgned to a processor f ths condton s satsfed. The ntuton for ths s: If we pre-assgn ths tas τ, then there s enough space on the remanng processors to accommodate all remanng lower prorty tass. That way, no lower prorty tal subtas wll end up on the processor whch we assgn τ to. Step ) and 3) are both n the whle loop of lne In Step ), the remanng tass (whch are now n UQ) are assgned to normal processors (the ones n P Q). Only as soon as all processors n P Q are full, the algorthm enters Step 3), n whch tass are assgned to processors n P Q pre (decson n lnes 18 to ). The operaton of assgnng a tas τ (lnes 3 to 34) s bascally the same as n SPA1. If τ can be entrely assgned to P q wthout tas splttng, then τ P q and Ψ[q] s updated (lnes 4 to 8). If P q s a pre-assgned processor, P q s put bac to the front of P Q pre (lnes 6 to 8), so that t wll be selected agan n the next loop teraton, otherwse no puttng bac operaton s needed snce we never tae out elements from P Q, but select the proper one n t (lne 19). If τ can not be assgned to P q entrely, τ s splt nto a new τ and another subtas τ +1, such that P q becomes full after the new τ beng assgned to t, and then we put τ +1 bac to UQ (see lnes 9 to 33). Note that there s an mportant dfference between assgnng tass to normal processors and to pre-assgned processors. When tass are assgned to normal processors, the algorthm always selects the processor wth the mnmal Ψ (the same as n SPA1). In the contrast, when tass are assgned to pre-assgned processors, always the processor at the front of P Q pre s selected,.e., we assgn as many tass as possble to the processor n P Q pre whose preassgned tas has the lowest prorty, untl t s full. As wll be seen later n the schedulablty proof, ths partcular order of selectng pre-assgned processors, together wth the evaluaton of Condton (15), s the ey to guarantee the schedulablty of heavy tass. It s easy to see that any tas set below the desred utlzaton bound can be successfully parttoned by SPA: Lemma 8. Any tas set wth U(τ) Θ(N) can be successfully parttoned to M processors wth SPA. After descrbng the parttonng part of SPA, we also need to descrbe the schedulng part. It s the same as SPA1: on each processor the tass are scheduled by RMS, respectng the precedence relatons between the subtass of a splt tas,.e., a subtas s ready for executon as soon

9 as the executon of ts precedng subtas has been fnshed. Note that under SPA, each body subtas s also wth the hghest prorty on ts host processor (wll be proved later n Lemma 11), whch s the same as n SPA1. So we can vew the schedulng on each processor as the RMS wth a set of ndependent tass, n whch each subtas s deadlne s shortened by the sum of the executon tme of all ts precedng subtass. B. Propertes In the followng, we present some propertes of SPA, that wll be used to prove the schedulablty of tas sets that can be parttoned usng SPA. The frst property follows drectly from SPA s parttonng algorthm. Lemma 9. Let τ be a heavy tas, and there are η preassgned tass wth hgher prorty than τ. Then we now If τ s a pre-assgned tas, t satsfes U j (M η 1) Θ(N) (16) j> If τ s not a pre-assgned tas, t satsfes U j > (M η 1) Θ(N) (17) j> Lemma 10. Each pre-assgned tas has the lowest prorty on ts host processor. Proof: Wthout loss of generalty, We sort all processors n a lst Q as follows: we frst sort all pre-assgned processors n Q, n decreasng prorty order of the pre-assgned tass on them; then the normal processors follow n Q n an arbtrary order. We use P x to denote the x th processor n Q. Suppose τ s a heavy tas pre-assgned to P q. τ s a pre-assgned tas, and the number of pre-assgned tas wth hgher prorty than τ s q 1, so by Lemma 9 we now the followng condton s satsfed: U j (M q) Θ(N) (18) j> In the parttonng algorthm of SPA, normal tass are assgned to pre-assgned processors only when all normal processors are full, and the pre-assgned processors are selected n ncreasng prorty order of the pre-assgned tass on them, so we now only when the processors P q+1...p M are all full, normal tass can be assgned to processor P q. The total capacty of processors P q+1...p M are (M q) Θ(N) (n our algorthms a processor s full as soon as the total utlzaton on t s Θ(N)), and by (18), we now when we start to assgn tass to P q, the tass wth lower prorty than τ all have been assgned to processors P q+1...p M, so all normal tass (subtass) assgned to P q have hgher prortes than τ. Lemma 11. Each body subtas has the hghest prorty on ts host processor. Proof: Snce all normal tass are assgned n ncreasng prorty order, and a tas s splt only when the processor s full, we now a body subtas has hgher prorty than all normal tass on ts host processor. If ths body subtas s assgned to a pre-assgned processor, by Lemma 10 we now ts prorty s also hgher than the pre-assgned tas on ths processor. So a body subtas has the hghest prorty on ts host processor. C. Schedulablty Now we wll prove the schedulablty of a tas set τ whch has been successfully parttoned by SPA. To ths end, we wll prove the schedulablty of non-splt tass (Lemma 1), body subtass (Lemma 13) and tal subtass (Lemma 14) respectvely. Lemma 1. If tas set τ wth U(τ) Θ(N) s parttoned by SPA, then any non-splt tas can meet ts deadlne. The proof s the same as for SPA1 (Lemma 3). Lemma 13. If tas set τ wth U(τ) Θ(N) s parttoned by SPA, then any body subtas can meet ts deadlne. Proof: By Lemma 11 we now that under SPA a body subtas has the hghest prorty on ts host processor, so t wll meet ts deadlne anyway. Lemma 14. If tas set τ wth U(τ) Θ(N) s parttoned by SPA, then any tal subtas can meet ts deadlne. Proof: For space reason, we only brefly descrbe the proof dea. The detaled proof s gven n the full verson of ths paper [1]. We dstngush three cases: 1) τ s lght, and P t s a normal processor, ) τ s lght, and P t s a pre-assgned processor, 3) τ s heavy. Case 1) can be proved n the same way as Lemma 6 for SPA1, snce both the parttonng and schedulng algorthm of SPA on normal processors are the same as SPA1. To prove Case ) and 3), we notce that to mae a tal subtas τ t schedulable, we should mae the total utlzaton of tass nterferng wth τ t as small as possble. In other words, we should let the total utlzaton of tass on P t wth lower prorty than τ t to be as hgh as possble. Wth Case ), the pre-assgned tas on P t s heavy (wth hgh utlzaton), and has lower prorty than τ t (by Lemma 10), therefore the total utlzaton of tass wth lower prorty on P t s hgh enough to prevent τ t from mssng deadlne. Wth Case 3), by Lemma 9 we now that f a heavy tas was not preassgned under the SPA s parttonng algorthm, t satsfes Condton (17), whch guarantees the total utlzaton of all tass wth lower prorty than τ s hgh enough to prevent from mssng deadlne. τ t

10 D. Utlzaton Bound Now we now that any tas set τ wth U(τ) Θ(N) can be successfully parttoned on M processors by SPA (Lemma 8). We also now that f τ s successfully parttoned, all the non-splt tass (Lemma 1), body subtass (Lemma 13) and tal subtass (Lemma 14) can meet ther deadlnes under SPA s schedulng algorthm. Therefore we have the followng theorem: Theorem. τ s schedulable by SPA on M processors f U(τ) Θ(N) So Θ(N) s SPA s utlzaton bound for any tas set. For the same reason as presented at the end of Secton IV-C, we can use Θ(N ), the maxmal number of tass (subtass) assgned to each processor, to replace Θ(N) n Theorem. E. Tas Splttng Overhead Wth the algorthms proposed n ths paper, a tas could be splt nto more than two subtass. However, snce the tas splttng only occurs when a processor s full, for any tas set that s schedulable by SPA, the number of tas splttng s at most M 1, whch s the same as n prevous semparttoned fxed-prorty schedulng algorthms [18], [15], [16], and as shown n the case study conducted n [18], ths overhead can be expected neglgble on mult-core platforms. VI. CONCLUSIONS AND FUTURE WORK In ths paper, we have developed a sem-parttoned fxedprorty schedulng algorthm for multprocessor systems, wth the well-nown Lu and Layland s utlzaton bound N( 1 N 1) for RMS on sngle processors. The algorthm enjoys the followng property. If the utlzaton bound s used for the schedulablty test, and a tas set s determned schedulable by fxed-prorty schedulng on a sngle processor of speed M, t s also schedulable by our algorthm on M processors of speed 1 (under the assumpton that each tas s executon tme on the processors of speed 1 s stll smaller than ts deadlne). Note that the utlzaton bound test s only suffcent but not necessary. As future wor, we wll challenge the problem of constructng algorthms holdng the same property wth respects to the exact schedulablty analyss. REFERENCES [1] J. Anderson, V. Bud, and U.C. Dev. An edf-based schedulng algorthm for multprocessor soft real-tme systems. In ECRTS, 005. [] J. Anderson and A. Srnvasan. Mxed pfar/erfar schedulng of asynchronous perodc tass. In Journal of Computer and System Scences, 004. [3] B. Andersson. Global statc prorty preemptve multprocessor schedulng wth utlzaton bound 38%. In OPODIS, 008. [4] B. Andersson, S. Baruah, and J. Jonsson. Statc prorty schedulng on multprocessors. In RTSS, 001. [5] B. Andersson and K. Bletsas. Sporadc multprocessor schedulng wth few preemptons. In ECRTS, 008. [6] B. Andersson, K. Bletsas, and S. Baruah. Schedulng arbtrary-deadlne sporadc tas systems multprocessors. In RTSS, 008. [7] B. Andersson and J. Jonsson. The utlzaton bounds of parttoned and pfar statc-prorty schedulng on multprocessors are 50%. In ECRTS, 003. [8] B. Andersson and E. Tovar. Multprocessor schedulng wth few preemptons. In RTCSA, 006. [9] S. K. Baruah, N. K. Cohen, C. G. Plaxton, and D. A. Varvel. Proportonate progress: A noton of farness n resource allocaton. In Algorthmca, [10] John Carpenter, Shelby Fun, Phlp Holman, Anand Srnvasan, James Anderson, and Sanjoy Baruah. A Categorzaton of Real-Tme Multprocessor Schedulng Problems and Algorthms [11] U. Dev and J. Anderson. Tardness bounds for global edf schedulng on a multprocessor. In RTSS, 005. [1] N. Guan, M. Stgge, W. Y, and G. Yu. Fxed-prorty multprocessor schedulng wth lu & layland s utlzaton bound. In Techncal Report, Uppsala Unversty, ( y), 010. [13] S. Kato and N. Yamasa. Real-tme schedulng wth tas splttng on multprocessors. In RTCSA, 007. [14] S. Kato and N. Yamasa. Portoned edf-based schedulng on multprocessors. In EMSOFT, 008. [15] S. Kato and N. Yamasa. Portoned statc-prorty schedulng on multprocessors. In IPDPS, 008. [16] S. Kato and N. Yamasa. Sem-parttoned fxed-prorty schedulng on multprocessors. In RTAS, 009. [17] S. Kato, N. Yamasa, and Y. Ishawa. Sem-parttoned schedulng of sporadc tas systems on multprocessors. In ECRTS, 009. [18] K. Lashmanan, R. Rajumar, and J. Lehoczy. Parttoned fxed-prorty preemptve schedulng for mult-core processors. In ECRTS, 009. [19] C. L. Lu and J. W. Layland. Schedulng algorthms for multprogrammng n a hard-real-tme envronment. In Journal of the ACM, [0] D. Oh and T. P. Baer. Utlzaton bounds for n-processor rate monotone schedulng wth statc processor assgnment. In Real-Tme Systems, 1998.

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

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

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

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

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

Two Methods to Release a New Real-time Task

Two Methods to Release a New Real-time Task Two Methods to Release a New Real-tme Task Abstract Guangmng Qan 1, Xanghua Chen 2 College of Mathematcs and Computer Scence Hunan Normal Unversty Changsha, 410081, Chna qqyy@hunnu.edu.cn Gang Yao 3 Sebel

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

Partitioned Mixed-Criticality Scheduling on Multiprocessor Platforms

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

More information

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

Foundations of Arithmetic

Foundations of Arithmetic Foundatons of Arthmetc Notaton We shall denote the sum and product of numbers n the usual notaton as a 2 + a 2 + a 3 + + a = a, a 1 a 2 a 3 a = a The notaton a b means a dvdes b,.e. ac = b where c s an

More information

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

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

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

More information

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

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

Graph Reconstruction by Permutations

Graph Reconstruction by Permutations Graph Reconstructon by Permutatons Perre Ille and Wllam Kocay* Insttut de Mathémathques de Lumny CNRS UMR 6206 163 avenue de Lumny, Case 907 13288 Marselle Cedex 9, France e-mal: lle@ml.unv-mrs.fr Computer

More information

Economics 101. Lecture 4 - Equilibrium and Efficiency

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

More information

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

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

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

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

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

More information

Grover s Algorithm + Quantum Zeno Effect + Vaidman

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

More information

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

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

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

More information

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

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

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

Affine transformations and convexity

Affine transformations and convexity Affne transformatons and convexty The purpose of ths document s to prove some basc propertes of affne transformatons nvolvng convex sets. Here are a few onlne references for background nformaton: http://math.ucr.edu/

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

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

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

The Order Relation and Trace Inequalities for. Hermitian Operators

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

More information

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

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

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

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

2.3 Nilpotent endomorphisms

2.3 Nilpotent endomorphisms s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms

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

E Tail Inequalities. E.1 Markov s Inequality. Non-Lecture E: Tail Inequalities

E Tail Inequalities. E.1 Markov s Inequality. Non-Lecture E: Tail Inequalities Algorthms Non-Lecture E: Tal Inequaltes If you hold a cat by the tal you learn thngs you cannot learn any other way. Mar Twan E Tal Inequaltes The smple recursve structure of sp lsts made t relatvely easy

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

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

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

A new construction of 3-separable matrices via an improved decoding of Macula s construction

A new construction of 3-separable matrices via an improved decoding of Macula s construction Dscrete Optmzaton 5 008 700 704 Contents lsts avalable at ScenceDrect Dscrete Optmzaton journal homepage: wwwelsevercom/locate/dsopt A new constructon of 3-separable matrces va an mproved decodng of Macula

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

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

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

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

Online Appendix: Reciprocity with Many Goods

Online Appendix: Reciprocity with Many Goods T D T A : O A Kyle Bagwell Stanford Unversty and NBER Robert W. Stager Dartmouth College and NBER March 2016 Abstract Ths onlne Appendx extends to a many-good settng the man features of recprocty emphaszed

More information

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

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

More information

The Geometry of Logit and Probit

The Geometry of Logit and Probit The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.

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

Notes on Frequency Estimation in Data Streams

Notes on Frequency Estimation in Data Streams Notes on Frequency Estmaton n Data Streams In (one of) the data streamng model(s), the data s a sequence of arrvals a 1, a 2,..., a m of the form a j = (, v) where s the dentty of the tem and belongs to

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

A new Approach for Solving Linear Ordinary Differential Equations

A new Approach for Solving Linear Ordinary Differential Equations , ISSN 974-57X (Onlne), ISSN 974-5718 (Prnt), Vol. ; Issue No. 1; Year 14, Copyrght 13-14 by CESER PUBLICATIONS A new Approach for Solvng Lnear Ordnary Dfferental Equatons Fawz Abdelwahd Department of

More information

Maximizing the number of nonnegative subsets

Maximizing the number of nonnegative subsets Maxmzng the number of nonnegatve subsets Noga Alon Hao Huang December 1, 213 Abstract Gven a set of n real numbers, f the sum of elements of every subset of sze larger than k s negatve, what s the maxmum

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

20. Mon, Oct. 13 What we have done so far corresponds roughly to Chapters 2 & 3 of Lee. Now we turn to Chapter 4. The first idea is connectedness.

20. Mon, Oct. 13 What we have done so far corresponds roughly to Chapters 2 & 3 of Lee. Now we turn to Chapter 4. The first idea is connectedness. 20. Mon, Oct. 13 What we have done so far corresponds roughly to Chapters 2 & 3 of Lee. Now we turn to Chapter 4. The frst dea s connectedness. Essentally, we want to say that a space cannot be decomposed

More information

Assortment Optimization under MNL

Assortment Optimization under MNL Assortment Optmzaton under MNL Haotan Song Aprl 30, 2017 1 Introducton The assortment optmzaton problem ams to fnd the revenue-maxmzng assortment of products to offer when the prces of products are fxed.

More information

The Minimum Universal Cost Flow in an Infeasible Flow Network

The Minimum Universal Cost Flow in an Infeasible Flow Network Journal of Scences, Islamc Republc of Iran 17(2): 175-180 (2006) Unversty of Tehran, ISSN 1016-1104 http://jscencesutacr The Mnmum Unversal Cost Flow n an Infeasble Flow Network H Saleh Fathabad * M Bagheran

More information

5 The Rational Canonical Form

5 The Rational Canonical Form 5 The Ratonal Canoncal Form Here p s a monc rreducble factor of the mnmum polynomal m T and s not necessarly of degree one Let F p denote the feld constructed earler n the course, consstng of all matrces

More information

= z 20 z n. (k 20) + 4 z k = 4

= z 20 z n. (k 20) + 4 z k = 4 Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5

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

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

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

Lecture Space-Bounded Derandomization

Lecture Space-Bounded Derandomization Notes on Complexty Theory Last updated: October, 2008 Jonathan Katz Lecture Space-Bounded Derandomzaton 1 Space-Bounded Derandomzaton We now dscuss derandomzaton of space-bounded algorthms. Here non-trval

More information

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM An elastc wave s a deformaton of the body that travels throughout the body n all drectons. We can examne the deformaton over a perod of tme by fxng our look

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

11 Tail Inequalities Markov s Inequality. Lecture 11: Tail Inequalities [Fa 13]

11 Tail Inequalities Markov s Inequality. Lecture 11: Tail Inequalities [Fa 13] Algorthms Lecture 11: Tal Inequaltes [Fa 13] If you hold a cat by the tal you learn thngs you cannot learn any other way. Mark Twan 11 Tal Inequaltes The smple recursve structure of skp lsts made t relatvely

More information

Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption

Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption Real-Tme Syst (2009) 42: 63 119 DOI 10.1007/s11241-009-9071-z Worst-case response tme analyss of real-tme tasks under fxed-prorty schedulng wth deferred preempton Render J. Brl Johan J. Lukken Wm F.J.

More information

Introductory Cardinality Theory Alan Kaylor Cline

Introductory Cardinality Theory Alan Kaylor Cline Introductory Cardnalty Theory lan Kaylor Clne lthough by name the theory of set cardnalty may seem to be an offshoot of combnatorcs, the central nterest s actually nfnte sets. Combnatorcs deals wth fnte

More information

FREQUENCY DISTRIBUTIONS Page 1 of The idea of a frequency distribution for sets of observations will be introduced,

FREQUENCY DISTRIBUTIONS Page 1 of The idea of a frequency distribution for sets of observations will be introduced, FREQUENCY DISTRIBUTIONS Page 1 of 6 I. Introducton 1. The dea of a frequency dstrbuton for sets of observatons wll be ntroduced, together wth some of the mechancs for constructng dstrbutons of data. Then

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

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

CONTRAST ENHANCEMENT FOR MIMIMUM MEAN BRIGHTNESS ERROR FROM HISTOGRAM PARTITIONING INTRODUCTION

CONTRAST ENHANCEMENT FOR MIMIMUM MEAN BRIGHTNESS ERROR FROM HISTOGRAM PARTITIONING INTRODUCTION CONTRAST ENHANCEMENT FOR MIMIMUM MEAN BRIGHTNESS ERROR FROM HISTOGRAM PARTITIONING N. Phanthuna 1,2, F. Cheevasuvt 2 and S. Chtwong 2 1 Department of Electrcal Engneerng, Faculty of Engneerng Rajamangala

More information

Lecture 14: Bandits with Budget Constraints

Lecture 14: Bandits with Budget Constraints IEOR 8100-001: Learnng and Optmzaton for Sequental Decson Makng 03/07/16 Lecture 14: andts wth udget Constrants Instructor: Shpra Agrawal Scrbed by: Zhpeng Lu 1 Problem defnton In the regular Mult-armed

More information

Edge Isoperimetric Inequalities

Edge Isoperimetric Inequalities November 7, 2005 Ross M. Rchardson Edge Isopermetrc Inequaltes 1 Four Questons Recall that n the last lecture we looked at the problem of sopermetrc nequaltes n the hypercube, Q n. Our noton of boundary

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 12 10/21/2013. Martingale Concentration Inequalities and Applications

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 12 10/21/2013. Martingale Concentration Inequalities and Applications MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.65/15.070J Fall 013 Lecture 1 10/1/013 Martngale Concentraton Inequaltes and Applcatons Content. 1. Exponental concentraton for martngales wth bounded ncrements.

More information

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results. Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson

More information

Keynote: RTNS Getting ones priorities right

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

More information

Physics 5153 Classical Mechanics. Principle of Virtual Work-1

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

More information

Supplement to Clustering with Statistical Error Control

Supplement to Clustering with Statistical Error Control Supplement to Clusterng wth Statstcal Error Control Mchael Vogt Unversty of Bonn Matthas Schmd Unversty of Bonn In ths supplement, we provde the proofs that are omtted n the paper. In partcular, we derve

More information

Quantifying the Sub-optimality of Uniprocessor Fixed Priority Non-Pre-emptive Scheduling

Quantifying the Sub-optimality of Uniprocessor Fixed Priority Non-Pre-emptive Scheduling Quantfyng the Sub-optmalty of Unprocessor Fxed Prorty Non-Pre-emptve Schedulng Robert I Davs Real-Tme Systems Research Group, Department of Computer Scence, Unversty of York, York, UK robdavs@csyorkacuk

More information

A 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

χ x B E (c) Figure 2.1.1: (a) a material particle in a body, (b) a place in space, (c) a configuration of the body

χ x B E (c) Figure 2.1.1: (a) a material particle in a body, (b) a place in space, (c) a configuration of the body Secton.. Moton.. The Materal Body and Moton hyscal materals n the real world are modeled usng an abstract mathematcal entty called a body. Ths body conssts of an nfnte number of materal partcles. Shown

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

Singular Value Decomposition: Theory and Applications

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

More information

Complete subgraphs in multipartite graphs

Complete subgraphs in multipartite graphs Complete subgraphs n multpartte graphs FLORIAN PFENDER Unverstät Rostock, Insttut für Mathematk D-18057 Rostock, Germany Floran.Pfender@un-rostock.de Abstract Turán s Theorem states that every graph G

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

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

MMA and GCMMA two methods for nonlinear optimization

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

More information

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 8 Luca Trevisan February 17, 2016

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 8 Luca Trevisan February 17, 2016 U.C. Berkeley CS94: Spectral Methods and Expanders Handout 8 Luca Trevsan February 7, 06 Lecture 8: Spectral Algorthms Wrap-up In whch we talk about even more generalzatons of Cheeger s nequaltes, and

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

Volume 18 Figure 1. Notation 1. Notation 2. Observation 1. Remark 1. Remark 2. Remark 3. Remark 4. Remark 5. Remark 6. Theorem A [2]. Theorem B [2].

Volume 18 Figure 1. Notation 1. Notation 2. Observation 1. Remark 1. Remark 2. Remark 3. Remark 4. Remark 5. Remark 6. Theorem A [2]. Theorem B [2]. Bulletn of Mathematcal Scences and Applcatons Submtted: 016-04-07 ISSN: 78-9634, Vol. 18, pp 1-10 Revsed: 016-09-08 do:10.1805/www.scpress.com/bmsa.18.1 Accepted: 016-10-13 017 ScPress Ltd., Swtzerland

More information

An Interactive Optimisation Tool for Allocation Problems

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

More information

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

1 GSW Iterative Techniques for y = Ax

1 GSW Iterative Techniques for y = Ax 1 for y = A I m gong to cheat here. here are a lot of teratve technques that can be used to solve the general case of a set of smultaneous equatons (wrtten n the matr form as y = A), but ths chapter sn

More information

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

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

More information

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution Department of Statstcs Unversty of Toronto STA35HS / HS Desgn and Analyss of Experments Term Test - Wnter - Soluton February, Last Name: Frst Name: Student Number: Instructons: Tme: hours. Ads: a non-programmable

More information

Société de Calcul Mathématique SA

Société de Calcul Mathématique SA Socété de Calcul Mathématque SA Outls d'ade à la décson Tools for decson help Probablstc Studes: Normalzng the Hstograms Bernard Beauzamy December, 202 I. General constructon of the hstogram Any probablstc

More information

The Expectation-Maximization Algorithm

The Expectation-Maximization Algorithm The Expectaton-Maxmaton Algorthm Charles Elan elan@cs.ucsd.edu November 16, 2007 Ths chapter explans the EM algorthm at multple levels of generalty. Secton 1 gves the standard hgh-level verson of the algorthm.

More information