Éditeur Inria, Domaine de Voluceau, Rocquencourt, BP 105 LE CHESNAY Cedex (France) ISSN

Size: px
Start display at page:

Download "Éditeur Inria, Domaine de Voluceau, Rocquencourt, BP 105 LE CHESNAY Cedex (France) ISSN 0249-6399"

Transcription

1 Uté de recherche INRIA Lorrae, techopôle de Nacy-Brabos, 615 rue du jard botaque, BP 101, VILLERS-LÈS-NANCY Uté de recherche INRIA Rees, IRISA, Campus uverstare de Beauleu, RENNES Cedex Uté de recherche INRIA Rhôe-Alpes, 46 aveue Félx Vallet, GRENOBLE Cedex 1 Uté de recherche INRIA Rocquecourt, domae de Voluceau, Rocquecourt, BP 105, LE CHESNAY Cedex Uté de recherche INRIA Sopha-Atpols, 2004 route des Lucoles, BP 93, SOPHIA-ANTIPOLIS Cedex Édteur Ira, Domae de Voluceau, Rocquecourt, BP 105 LE CHESNAY Cedex (Frace) ISSN

2 52

3 51 {majorg the celg fucto} w w q, ( q+ 1)C q, C. T j j j< => w q, qt ( q + 1)C + C j j< C j T j< j qt = C j qt C T j j j j C j T j< j As C j U 1 T j j => r max ( w q, qt ) r C C = =. j j T j j< j

4 50 Theorem 23 - A upper boud r of the worst-case respose tme of a task usg EDF s D r D j + T j = C. j D j T j D T j a+ D Proof. From last theorem, we have: r max 1 D + j C a S T j a D j a + D j a S, elmatg the floor fucto, we have: a + D r ( a) 1 D j C, T j j a D j a+ D. Thus that leads to: D D j + T j r ( a) max C C j. T j j a T D j a + D D j a + D j C j As U 1, we have a [ 0, L] : T D j a+ D j D D j + T j r ( a) D D j + T j C T j j C T j j D j a + D D j T j D = r. B.2 Suffcet Codto for fxed prorty drve preemptve schedulers Usg fxed prorty drve schedulers, the followg feasblty SC establshes upper-bouds o the worst-case respose tmes. Ths result s establshed by frst a overvaluato o w, q ; ad secod by elmatg the term fucto of q. Theorem 24 - Usg statc schedulers, a upper boud of he worst-case respose tme r of a task τ of a geeral task set s foud by: r = C j 1 j C j T j< j (21) Furthermore, the geeral task set s feasble f: [ 1, ], r D. Proof. {from the state of the art, a NSC for statc prorty drve scheduler s (see Secto 3.2.2)} ( q, ) w, = ( q + 1)C q, C j qt D w q j< T j +

5 49 Theorem 22 - Usg EDF, a upper boud of the worst-case respose tme of a task τ ca be foud settg the absolute deadle of τ o every absolute deadles of the tasks the sychroous busy perod ad s gve by: max a+ D 1 D + j C. a S T j a D j a + D j D Where S = S p, S p D p + kt p D k ℵ D p L + D k D p =,, < ad L p = 1 T p T p s the legth of the sychroous processor busy perod (see Aex A). Proof. Let τ be a task released at tme t. The hgher prorty workload (see Secto 3.1.3) arrved up to tme t ca be reformulated as t s W ( at, ) m j a + D D =, + j C. T j T j D j a+ D j Where s j = 0 f j ad s j = a a ---- T else. T The worst-case respose tme of task τ s the gve by r ( a) = max( C, L ( a) a) where L ( a) = Wa (, L ( a) ). t > 0, we have the: W ( at, ) 1 D j a+ D + a + D D j C. j Hece, L ( a) a + D 1 D + j D C. As T j C 1 D + j D j a + D j D j D T j C, we have: j a + D r max 1 D + j C. a [0,L) T j a D j a+ D j a + D Let f ( a) 1 D = + j C. s a step fucto whose value crease T j a f ( a) D j a+ D j whe a+ D D j = kt j.e such that the absolutes deadle of τ ( a + D ) cocde to the absolute deadle of a task released the sychroous scearo ( D j + kt j ) leadg to a S j, j = 1. Notce that f ( a) s mootoously decreasg betwee two successve values S. Thus we oly eed to fgure f ( a) for tmes S. Hece, a upper-boud of the worst-case respose tme of task τ s the gve by max a+ D 1 D + j C. a S T j a D j a + D j T j From the last formula, we ca ow gve a polyomal tme computato upper boud o the worst-case respose tme of ay task τ. Ths boud s ot tght but ca be calculated o le.

6 48 Theorem 21 - A geeral task set sorted by creasg order of D = m( D, T ) s feasble D + T j D j usg EDF f: [ 1, ], C j D D j D T j h Proof. Let h () t be the processor demad for task τ, f t D () t 1 we have t -- t 1 t D = T h () t ad = 0 else. t D, we have: t h () t t -- t 1 t D C -- t + T D = C -- t + T D C T t T t T C I the same maer, we have: ht () h j () t = t = t j = t 1 + D j t t D j T j 1 C j -- t D j t + T j D j C. T j j t As 1 -- t + T D C s a o decreasg fucto, ts maxmum value s obtaed for t T t = D..e. h () t D + T D C. t D T Hece [ 1, ], t [D, D + 1 ), h() t t D What s more, t max( D ), D j D D + T j D j C. (19) T j j ht () t t j t + T j D j C T j j max( D ) j max( D ) + T j D j C j T j. (20) As a NSC for the feasblty of a task set s to check that t 0, ht () t (see Theorem 6). Applyg ths to eq. 19 ad eq. 20, a suffcet feasblty codto s to check that [ 1, ], D + T j D j C T j j D D j D

7 47 Aexe B. Polyomal suffcet codtos (SC) Let us ow troduce preemptve cotext some possble polyomal suffcet, but ot ecessary, feasblty codtos for geeral task sets. The ma objectve of ths aex s to propose several approaches that wll eable us to avod the cost of the pseudo-polyomal NSC whe possble. B.1 Suffcet Codtos for dyamc prorty drve preemptve schedulers Usg EDF, the frst SC s establshed, usg classc overvaluato of ht () ad dervg a upper boud o the authorzed processor utlzato (see Theorem 20). The secod SC s establshed by a ht () overvaluato of eablg us to check ths expresso o exactly worst-case pots (see Theorem t 21). A thrd ad fourth SC wll establsh upper-bouds o the worst-case respose tmes, based o the sychroous patter of arrval oly (ad ot those defed Secto 3.1.3). More precsely, the thrd SC uses overvaluato o W ( at, ) that eables us to avod the cost of the recursve aalyss (see Theorem 22). The, the fourth SC uses a extra overvaluato that eables us to obta a polyomal computato tme upper boud o the worst-case respose tme of a task (see Theorem 22). Theorem 20 - A geeral task set (wth EDF, f: D = m( D, T ) [ 1, ] ) s feasble, usg 1 U m( D ) 1 D = 1 T C (18) Proof. from the state of the art, a NSC s: t 0 t D ht () = C t D t T As [ 1, ], D T, elmatg the floor fucto ad by the defto of U. t 0 ht () t + T D C t + T D D C t U D t T D t D Therefore a suffcet feasblty codto s to check that t 0, t U C.e T t = 1 1 U As t s suffcet to check the feasblty o the absolute deadles ad as t 1 D C T = s a creasg fucto by t, a least upper boud o the processor utlzato t 1 D C T = 1 s obtaed at t = m( D ). Hece a feasblty codto s to check that T = 1 U m( D ) 1 D C T = 1 T C

8 46 Note that the algorthm s also vald whe preempto s ot allowed. I ths case, however, the equato for the computato of L ( a) s slghtly dfferet, sce we must take to accout the effect of o-preempto, amely, possble prorty versos. I partcular, the equato becomes: L L ( a) B m ( a) a + D , 1 D k = Ck D k a + D T k T a ---- k T C, k ad B = max D j > a + D { C j 1}. If our goal s oly to check the feasblty of the task set (ad ot to do a full worst-case respose tmes aalyss), the value of L computed by the prevous algorthm mght be uecessarly large. Ths s because whe checkg the feasblty, by Lemma 1 we ca focus our atteto oly o sychroous deadle busy perods ( s = 0, ). Ufortuately, ths way we loose the property show Lemma s 10, sce we caot apply the same swappg argumet. For ay task τ, the ew value L s the computed the followg way: a = ( L D ) T T ; whle L () a a a = ( L () a D ) T T ; ed whle s L = L ( a) ; Other detals of the hgher prorty busy perod legth computatos, ether for statc or for dyamc prorty models, are gve the specfc sectos, where the dffereces betwee the preemptve ad the o-preemptve models (actually very few) are also remarked.

9 45 Lemma 11 -, L () a s o-decreasg a. Proof. By defto, L ( a) s the smallest soluto of Equato (17), hece for ay t < L ( a) t < W at, ( ) a ---- C. T Gve a' a, we thus that t < L ( a) t < ( ) a ---- C W ( a', t) a' ---- C, W at, T sce W ( at, ) s o-decreasg a. It follows that L ( a' ) L ( a). T By usg the results of Lemma 8, Lemma 10 ad Lemma 11, we ca compute the values of L the followg way. Let E = { mt + D, m 0} = { e, let be the legth of the = 1 1, e 2, } L sychroous busy perod, ad assume that D D + 1,. The algorthm for the computato of L starts by placg a stace of τ such a way to have ts deadle at the largest e k smaller tha or equal to L + 1 C + D (t s easy to see that these are the scearos whch gve the logest deadle busy perods for τ ). If the resultg deadle- e k busy perod cludes ths last stace of τ we have foud L, otherwse the computato s doe aga by choosg a ew sutable deadle e k', ths tme accordg to the value of L ( e k D ). Note that the algorthm always stops. The pseudo-code follows: L + 1 = L ; for = dowto 1 let k be such that e k L + 1 C + D < e k + 1 ; a = e k D ; whle L ( a) a let k be such that e k L ( a) C + D < e k + 1 ; a = e k D ; ed whle L = L () a ; ed for

10 44 t = W ( at, ) a ---- C. T (17) Wth L we deote the legth of the logest such deadle busy perod for task τ. We have the L = max a < L ( a) { L () a }. I order to speed up the computato of lemma. L, we ca utlze two ce propertes show the followg Lemma 10 - D D j L L j Proof. By defto of L, d = s + mt + D for whch L = L ( d D ): L = = L m d D, k Ck + ( m+ 1)C d k D k T k T k L m d D, k L Ck ( m+ 1)C m d D j + +, C j. d k k j D k T k T k T j T j Sce D, the last s stace wth deadle before or at has release tme smaller tha, 1 D j τ j d L the L = L m d D, k Ck + ( m+ 1)C + d D j C, j D k d k k j T k T k If we cosder ow the scearo whch τ s released sychroously (.e., s becomes 0 ) ad τ j has start tme s j = ( d D j ) ( d D j ) T j T j, so that there s a stace wth deadle d, we have L L m d D, k Ck + d D j C. j d k j D k T k T k The rght quatty of the equalty s smaller tha or equal to the ew deadle- d busy perod, whch tur s by defto smaller tha or equal to L j. The thess follows. T j T j 1. We assume D j d. If ths s ot true, the thess trvally holds.

11 43 have a absolute deadle smaller tha or equal to d. Cosequetly, the umber of τ s staces to be take to accout s m t d D ----, , whch gves a sort of hgher prorty workload. T Also, ths case we are ot merely terested ay deadle- d busy perod, but oly o those whch clude the last stace. More precsely, gve a τ s stace released at tme a, hece wth deadle d = a + D (see fgure 8), we are terested deadle- d busy perods that starts at t = 0 ad cludes ths stace (.e., whe ts legth s bgger tha a 1 ). It s ot dffcult to see that the logest busy perods are obtaed scearos whch all tasks but τ are released sychroously (see Lemma 3). Let L ( a) deotes the legth of such deadle- d busy perod that eds o the completo tme of the τ s stace released at tme a (wth d = a + D ), whle all other tasks are cosdered to be released sychroously ( s j = 0, j ). The deadle busy perods whch we are terested are oly those for whch L ( a) > a. T 0 a τ d=a+d L (a) deadle-d busy perod Fgure 8 L ( a) s the computed by meas of the teratve computato ( 0) ( m+ 1) ( m) L () a = 0, L () a = W( a, L ( a) ) + ( 1 + a T )C, where W ( at, ) m t a + D D, j = C j. D j a + D j T j T j The computato s halted whe two cosecutve values are foud equal. Note that ths way we fd the smallest soluto of the equato 1. Note that f the deadle- d busy perod s shorter tha a, the t s ot terestg ether for the feasblty checkg (accordg to Lemma 1 the deadle d caot be mssed), or for the computato of the worst-case respose tme of τ (see Secto 3.1.3).

12 42 A.2 Hgher Prorty Busy Perods So far, the cocept of busy perod has bee troduced as such, that s, as a perod whch the processor s ot dle. More geerally, t s possble to specalze the cocept by makg t relatve to a gve level of prorty. The dea s to cosder processor busy perods whch oly task staces wth prorty, ether statc or dyamc, at least at a gve level are executed. Ths form of busy perod s schedulg algorthm depedet, ad partcular t s useful for the computato of tasks worst-case respose tmes. I the case of fxed prorty systems, we talk of level- busy perods [LEH90]: DEFINITION 3 - A level- busy perod s a processor busy perod whch oly staces of tasks wth prorty greater tha or equal to that of execute. τ For the computato of worst-case respose tmes t s ecessary to compute the legth of sutable level- busy perods. The approach s very smlar to that see for the computato of the sychroous busy perod legth. I ths case, though, oly the workload of the tasks wth prorty greater tha or equal to that of τ s take to accout. The legth of the logest level- busy perod s deoted by the smallest soluto of the equato L, ad ca be easly computed by fdg L = j hp() {} L T j C j, for the preemptve case, ad L = max j lp() { C j 1} + j hp() {} L C j, T j for the o-preemptve case, respectvely. Note that the latter case, the frst term o the rght-had sze takes to accout the effect of o-preempto, that s, the o-preemptable executo of a lower prorty task stace ca delay the executos of hgher prorty task staces as much as max j lp() { C j 1}. As usual the equatos ca be solved by meas of teratve computatos. Smlarly, for dyamc prorty systems, ad partcular for deadle scheduled oes, we talk of deadle busy perods: DEFINITION 4 - A deadle- d busy perod s a processor busy perod whch oly task staces wth absolute deadle smaller tha or equal to d execute. Aga, the approach for the computato of deadle- d busy perod legths s as usual. We oly eed to be careful takg to accout the rght umber of staces for each task, whch requres slghtly more chages. I fact, ths case gve a terval of tme [ 0t),, the umber of staces of τ released wth t s t T, however oly 1 + ( d D ) T, provded that D d, 0 otherwse,

13 41 the recursvely appled to Wt (), WWt ( ()),, utl we fd a value equal to the prevous oe. Formally, L s the fxed pot of the followg teratve computato: L ( 0) = C L m+ 1 ( ) WL ( m) = ( ). (15) The computato s halted whe two cosecutve values L ( m) ad L ( m+ 1) are foud equal. L s the assged the value L ( m). Note that ths way we fd the smallest soluto of the equato L = W( L). (16) The covergece of Equato (15) s proved the followg lemma. Lemma 9 - If C T 1, Equato (15) coverges a fte umber of steps. Proof. C ---- T 1 WP ( ) = P ---- C = T C T P ---- P. It follows that L P. Furthermore, the workload fucto Wt () s a o-decreasg step-fucto, hece L ( m) s o-decreasg m. Fally, at each step L ( m) s ether creased by at least C m or remas uchaged. Thus the fal value s reached a fte umber of steps. If we have the further hypothess that C T c, where c s a costat smaller tha 1, the the complexty of L s computato becomes pseudo-polyomal [SPU96]. To show ths, we just eed few algebrac mapulatos: L L L = ---- C C = T T C C T + L ---- C + cl. Hece C L c Each step of the teratve formula Equato (15) takes O ( ) tme, thus the whole computato takes O( ( C tme. 1 ) C m ) 1. Note that fdg a full polyomal tme algorthm for the computato of L would mply a full polyomal tme procedure for the feasblty assessmet of a geeral task set (see secto 3.1.2), whch s stll a ope questo [BHR90].

14 40 Aexe A. Busy Perods, Deftos ad Propertes The oto of processor busy perod s very smple, but at the same tme also very powerful, sce the propertes (feasblty ad worst-case respose tmes) of fxed ad dyamc prorty o-dlg schedulers ca be exactly characterzed by usg ths cocept. More precsely, we frst focus o the oto of processor busy perod that does ot deped o the schedulg algorthm, ad the o the oto of hgher prorty busy perod, that s schedulg algorthm depedet. A.1 Processor Busy Perods DEFINITION 1 - A processor busy perod s a terval of tme whch the processor s kept cotually busy by the executo of pedg staces. Note that the defto othg s sad about what delmts the terval at ts sdes. However, uless otherwse stated we wll usually ted a tme terval delmted by two dstct processor dle perods,.e., ay perods such that o outstadg computato exsts. 1 Amog all processor busy perods, we fd partcularly terestg the frst oe obtaed by releasg all tasks sychroously from tme t = 0. DEFINITION 2 - Gve a geeral task set, we call sychroous busy perod the processor busy perod begg at tme t = 0 ad delmted by the frst processor dle perod, whe all tasks are cocretely released from tme t = 0 o at ther maxmum rate. The mportace of the sychroous busy perod s that, ot surprsgly eough, t s the most demadg oe for most of the o-dlg schedulg algorthms. Also, we ca easly prove that s the largest possble busy perod. Lemma 8 - Gve a geeral task set, let L be the legth of ts sychroous busy perod. If L' s the legth of a processor busy perod the schedule of ay derved cocrete task set, the L' L. Proof. The gve processor busy perod must be preceded by a dle tme, ad ts begg must cocde wth the release tme t of a task stace. If all staces of ay task released after t are shfted left as much as possble, possbly up to t, we obta a sychroous busy perod startg at t. Sce the workload betwee t ad t + L' caot decrease wth the shft-left argumet, the legth of the ew busy perod caot dmsh. Hece, L' L. Note that the property establshed by the prevous lemma does ot deped o the schedulg algorthm assumed, ether statc or dyamc, preemptve or o-preemptve. The oly assumpto s that the algorthm s o-dlg. The legth L of the sychroous busy perod ca be computed by meas of a smple procedure. Gve ay terval [0, t[, the dea s to compare the geerated workload Wt () wth the legth t of the terval: f Wt () s greater tha t the the durato of the busy perod s at least Wt (). The argumet s 1. Note that a processor dle perod ca have zero durato, whe a ew task stace s released at the ed of a busy perod.

15 39 [LL73] [LM80] [LS95] [LW82] [MA84] C.L Lu, James W. Laylad, Schedulg Algorthms for multprogrammg a Hard Real Tme Evromet, Joural of the Assocato for Computg Machery, Vol. 20, No 1, Jav J. Y.T.Leug et M.L.Merrl, A ote o preemptve schedulg of perodc, Real Tme Tasks, Iformato processg Letters, Vol. 11, um. 3, Nov L. Leboucher, Jea-Berard Stefa, Admsso cotrol for ed-to-ed dstrbuted bdgs, COST231, Lectures Notes Computer Scece, Vol 1052, pp192,208, Nov J. Leug, J. Whtehead. O the complexty of fxed-prorty schedulg of perodc, real-tme tasks. Performace Evaluato, vol 2, p , P. R. Ma, "A model to solve Tmg-Crtcal Applcato Problems Dstrbuted Computg Systems, IEEE Computer, Vol. 17, pp , Ja [MOK83] A.K. Mok, Fudametal Desg Problems for the Hard Real-Tme Evromets, May 1983, MIT Ph.D. Dssertato. [RCM96] I. Rpoll, A. Crespo, A.K. Mok, Improvemet Feasblty Testg for Real-Tme Tasks, Real-Tme Systems, 11, 1996, pp [SRL90] [SPU95] [SPU96] L. Sha, R. Rajkumar, ad J.P. Lehoczky, Prorty Ihertace Protocols: A Approach to Real-Tme Sychrozato, IEEE Trasactos o Computers, 39(9), M. Spur, Earlest Deadle schedulg real-tme systems, Doctorate dssertato, Scuola Superore S. Aa, Psa, M. Spur, Aalyss of deadle scheduled real-tme systems Research Report 2772, INRIA, Frace, Ja [SPU96-2]M. Spur, Holstc aalyss for deadle scheduled real-tme dstrbuted systems Research Report 2873, INRIA, Frace, Apr [STA95] J.A. Stakovc, M. Spur, M. D Natale, ad G. Buttazzo, Implcatos of Classcal Schedulg Results for Real-Tme Systems, IEEE Computer, Jue [TBW94] K. Tdell, A. Burs, A. J. Wellgs, A extedble approach for aalyzg fxed prorty hard real tme tasks, Real-Tme Systems, 6, 1994, p [TBW95] K. Tdell, A. Burs, A. J. Wellgs, Aalyss of hard real-tme commucatos, Real- Tme Systems, 9, 1995, p [THW94] K. Tdell, H. Hasso, A. J. Wellgs, aalyzg real-tme commucatos: cotroller Area Networks (CAN), Real-Tme Systems, 1994, p [TIN95] K. Tdell, Holstc Schedulablty Aalyss for Dstrbuted Hard Real-Tme Systems, Euromcro Joural, Specal Issue o Embedded Real-Tme Systems, Feb [YUA91] Xaopg Yua, A decomposto approach to No-Preemptve Schedulg o a sgle ressource, Ph.D. thess, Uversty of Marylad, College Park, MD [YUA94] Xaopg Yua, Maas C. Saksea, Ashok K. Agrawala, A decomposto approach to No- Preemptve Real-Tme Schedulg, Real-Tme Systems, 6, 7-35 (1994). [ZRS87] [ZS94] W. Zhao, K. Ramamrtham, J. A. Stakovc. Schedulg Task wth Resource requremets a Hard Real-Tme System, IEEE Tras. o Soft. Eg., Vol. SE-13, No. 5, pp , May Q. Zheg, K.G. Sh, O the Ablty of Establshg Real-Tme Chaels Pot-to-Pot Packet-Swtched Networks, IEEE Trasactos o Commucatos, 42(2/3/4), 1994.

16 38 Refereces [AUD91] N. C. Audsley, Optmal prorty assgmet ad Feasblty of statc prorty tasks wth arbtrary start tmes, Dept. Comp. Scece Report YCS 164, Uversty of York, [BAK91] T.P. Baker, Stack-Based Schedulg of Real-Tme Processes, Real-Tme Systems, 3, pp , [BHR90] S. K. Baruah, R. R. Howell, L. E. Roser, Algorthms ad Complexty Cocerg the Preemptve Schedulg of Perodc Real-Tme tasks o oe processor, Real-Tme Systems, 2, pp , [BHR93] S. Baruah, R. Howell, ad L. Roser. Feasblty Problems for Recurrg Tasks o Oe Processor. Theoret. Comput. Sc. 118 (1993), pp (84 K). [BMR90] S. K. Baruah, A. K. Mok, L. E. Roser, Preemptvely Schedulg Hard-Real-Tme Sporadc Tasks o Oe Processor, Proceedgs of the 11th Real-Tme Systems Symposum, p , [CL90] [COF76] M. Che ad K. L, Dyamc Prorty Celgs: A Cocurrecy Cotrol Protocol for Real- Tme Systems, Real-Tme Systems, 2, pp , E.G. Coffma, Jr., Itroducto to Determstc Schedulg Theory, : E.G. Coffma, Jr., Ed., Computer ad Job-Shop Schedulg Theory, Wley, New York, [DER74] M. Dertouzos, Cotrol Robotcs: the procedural cotrol of physcal processors, Proceedgs of the IFIP cogress, p , [GJ79] M. R. Garey, D. S. Johso, Computer ad Itractablty, a Gude to the Theory of NP-Completeess, W. H. Freema Compay, Sa Fracsco, [GMR95] L.George, P.Muhlethaler, N. Rverre, Optmalty ad No-Preemptve Real-Tme Schedulg Revsted, Rapport de Recherche RR-2516, INRIA, Le Chesay Cedex, Frace, [HLR96] J.F. Hermat, L. Lebouche, N. Rverre, O comparg fxed/dyamc prorty drve schedulg algorthms Rapport de Recherche, INRIA, Le Chesay Cedex, Frace, to appear [HV95] [JP86] [JSM91] [KLS93] [KN80] [LEH90] R. R. Howell, M. K. Vekatrao, O o-preemptve schedulg of recurrg tasks usg serted dle tme, Iformato ad computato Joural, Vol. 117, Number 1, Feb. 15, M. Joseph, P. Padya, Fdg respose tmes a real-tme system, BCS Comp. Jour., 29(5), pp , K. Jeffay, D. F. Staat, C. U. Martel, O No-Preemptve Schedulg of Perodc ad Sporadc Tasks, IEEE Real-Tme Systems Symposum, Sa-Atoo, December 4-6, 1991, pp D. I. Katcher, J. P. Lehoczky, J. K. Strosder, Schedulg models of dyamc prorty schedulers, Research Report CMUCDS-93-4, Carege Mello Uversty, Pttsburgh, Aprl Km, Naghbdadeh, Preveto of task overrus real-tme o-preemptve multprogrammg systems, Proc. of Perf., Assoc. Comp. Mach., 1980, pp , J.P. Lehoczky, Fxed prorty schedulg of perodc task sets wth arbtrary deadles, Proceedgs 11th IEEE Real-Tme Systems Symposum, Lake Buea Vsta, FL, USA, pp , 5-7 Dec

17 37 7. Cocluso I ths paper, we have focused o the schedulg of geeral task sets (.e., o-cocrete perodc or sporadc task set such as [ 1, ], T ad D are ot related) as a cetral fgure for the descrpto of possble processor loads, several cotexts. Although a lot of results were already kow, some ew results have bee establshed ether preemptve or o preemptve cotext. Our hope s that, gve a real-tme problem, ths work mght be helpful to pck a soluto from the plethora of results avalable. I partcular, the optmalty of preemptve/o-preemptve, fxed/dyamc prorty drve schedulg algorthms, the respectve feasblty codtos ad worst-case respose tmes have bee examed (see Secto 6 for a syoptc). Some classc extesos such as jtter ad resource sharg have also bee cosdered. Although ths work s ot oreted toward a comparso of these results, t appears that preemptve ad o-preemptve schedulg are closely related. Ideed, the optmal schedulg algorthms are smlar both cases. The ma dffereces, owg to the absece of preempto, are frst that a task stace wth lower prorty ca possbly cause a prorty verso before a hgher prorty busy perod; ad secod that whe estmatg the respose tme of a task stace, the atteto must be o the hgher prorty busy perod precedg the executo start tme of the stace, ad ot o the hgher prorty busy perod precedg ts completo tme. These dffereces slghtly chage the feasblty codtos ad the worst-case respose tme expressos but the whole aalyss s very smlar. Moreover, fxed ad dyamc schedulg dffer, as already kow, may aspects such as mplemetablty, effcecy, complexty, etc.. Ths s ot surprsg gve that the optmalty property of EDF s more geeral tha wth ay fxed prorty scheduler (the terested reader s referred to [HLR96] for a formal comparso of the effcecy ad the complexty of fxed/dyamc prorty drve schedulg preemptve cotext). However, the aalyss ca be ufed by usg the cocepts of processor busy perod, that are scheduler depedet, as well as hgher prorty busy perod, that are scheduler depedet. Ideed, t appears that these cocepts are geeral ad very useful for the detfcato of the worst possble desty of arrval ad worst-case respose tmes. I partcular, we have troduced the cocept of deadle-d busy perod for dyamc prorty drve schedulg that we cojecture as a terestg parallel of the level- busy perod already used fxed prorty drve schedulg. The ma dffereces we detect are: frst that the mpact of the prorty versos caused by the absece of preempto dsappear swftly usg EDF (after max{ D } ay deadle-d busy perod) whe t perssts throughout the level- busy perod the fxed prorty case. Ths remark s favour of EDF whe preempto s ot allowed, ad s ot surprsg sce ay prorty verso, usg EDF, refers to a absolute deadle (ad ot a fxed prorty level) that s dyamcally maaged. secod that ay geeral task set whch s feasble by EDF o-preemptve cotext s ecessarly feasble wth EDF preemptve cotext. Ths property does t hold whe fxed prorty assgmet are cosdered (e.g., Secto a task set that s feasble o-preemptve cotext but ot feasble preemptve cotext s gve). Hece coversely to EDF prorty assgmet, there s o obvous relatoshp betwee the feasblty of a fxed prorty assgmet preemptve ad o-preemptve cotexts, The ma questo whch stll remas ope s whether there exsts a fully polyomal soluto to the feasblty problem for geeral task sets. Eve f otos lke processor demad, deadle busy perod ad level- busy perod have bee helpful for the mprovemets of the kow solutos, both the dyamc ad the fxed prortes models the state of the art s represeted by pseudo-polyomal algorthms. Whether the problem s NP-hard s also ot kow at preset [BHR90].

18 36 where w, ( q + 1)C B q, + J = + j C j w q j hp() T j (12) Furthermore, the geeral task set s feasble f: [ 1, ], r D No-preemptve case As for the o-preemptve dyamc case, resource sharg s qute smple to maage o-preemptve fxed prorty cotext sce, owg to the absece of preempto, there s stll o eed of ay partcular protocol lke the prorty celg. The oly possble prorty versos are the caused by the absece of preempto (see Theorem 15). O the other had, the worst patters of arrval, cosderg release jtter o-preemptve cotext, are also smlar to those detfy preemptve cotext,.e., whe tasks experece ther shortest ter-release tmes at the begg of the schedule. Therefore, to deal wth the cotext of ths secto, Equato (11) ad Equato (12) oly have to be replaced by: r = max q ( w q, + C + J qt ) (13) where w, qc 1 q, + J = j C j + max k lp() { C k 1}. w q j hp() T j (14) Note that a smlar approach has bee descrbed [TBW95] for the aalyss of real-tme etworks whch packetzed messages have access to the physcal medum accordg to ther fxed prortes. 6. Sythess As stated Secto 2.3, the goal of ths paper was to fll Table 1 for geeral task sets (.e., to put together optmalty propertes, feasblty codto & worst-case respose tmes o-dlg, preemptve/o-preemptve, fxed/dyamc prorty drve cotexts). To that ed, we ca ow summarze the foregog Table 2 where whte cells deote exstg results whe grey cells deote a exteso of exstg results or ew results. TABLE 2. Results for geeral task sets Dyamc prortes Secto 3.1 Preemptve schedulg No-preemptve schedulg Fxed prortes Secto 3.2 Dyamc prortes Secto 4.2 Fxed prortes Secto 4.3 Optmalty Theorem 1 Theorem 7 Theorem 11 Secto Feasblty Theorem 6 Theorem 10 Theorem 14 Theorem 15 codtos Worst-case Respose tmes Secto Theorem 10 Secto Theorem 15

19 35 As doe Secto 3.1 the effcecy of the feasblty aalyss ad the worst-case respose tme computato ca be mproved by usg the cocept of deadle busy perod No-preemptve case The feasblty aalyss of a geeral task set o-preemptve cotext (see Theorem 14) or presece of blockg factor (see Theorem 18) are qute smlar. Ths s ot surprsg sce both refer to prorty versos w.r.t. absolute deadles. It s also terestg to otce that resource sharg s qute smple to maage o-preemptve cotext sce, owg to the absece of preempto, there s o eed of ay partcular protocol. The oly possble prorty versos are caused by the absece of preempto. O the other had, the worst patters of arrval, whe release jtter s cosdered, are smlar to those detfed preemptve cotext,.e., whe tasks experece ther shortest ter-release tmes at the begg of the schedule. Therefore, to deal wth the cotext of ths secto, Equato (10) Theorem 18 oly has to be replaced by: t L, t + J 1 D C T + max D J > t{ C 1} t D t + J wth the coveto that max D > t{ C 1} = 0 f :D J > t. J 5.2 Fxed prorty drve schedulers Preemptve case Takg to accout shared resources ad release jtter presece of fxed prorty drve schedulg leads to the same reasog tha presece of dyamc prorty drve schedulg. Frst, whe T = D, [ 1, ] Sha, Rajkumar ad Lehoczky [SRL90] have exteded the suffcet codto of [LL73] (see Theorem 8) for the Prorty Celg Protocol: C j T j = 1 j B ( ), 1 T where B deotes the logest blockg tme of τ a lower prorty task (see Secto 5.1.1). The same ehacemet ca also be appled to the Lehoczky s busy perod aalyss. Moreover [TBW94], presece of geeral task sets, exteds ths aalyss further by cosderg the oto of release jtter ( J for τ ). Ther aalyss s a exteso of Theorem 10 that results the followg fal codto: Theorem 19 - ([TBW94]) The worst-case respose tme r of a task τ of a geeral task set presece of shared resources ad release jtters s foud a scearo whch all tasks are at ther maxmum rate ad released sychroously at a crtcal stat t=0. r s computed by the followg recursve equato (where hp() deotes the set of tasks of hgher prorty tha task ): τ r = max q ( w q, + J qt ) (11)

20 34 5. Shared resources ad release jtter The above aalyses assume that all tasks do ot share resources. I real operatg systems, however, ths eeds ot be the case. We must therefore exted the aalyss to deal wth prorty verso problems whe dealg wth depedeces. Furthermore, ad for reasos such as tck schedulg or dstrbuted cotext (e.g. the holstc approach troduced by [TIN95] for fxed prorty schedulg, exteded for dyamc prorty schedulg [SPU96-2]), tasks may be allowed to have a release jtter. I ths secto, we gve some hts o how the aalyss descrbed prevously must be modfed order to exted the model accordgly. The terested reader may refer to the gve refereces. 5.1 Dyamc prorty drve schedulers Preemptve case If the tasks are allowed to share resources, the aalyss must take to accout addtoal terms, amely blockg factors, owg to evtable prorty versos. Note that: the maxmum durato of such versos ca be bouded f shared resources are accessed by lockg ad ulockg semaphores accordg to a protocol lke the prorty celg [CL90], [SRL90] or the stack resource polcy [BAK91]. I partcular, for each task τ t s possble to compute the worst-case blockg tme B, the maxmum tme a task τ may be blocked by lower prorty tasks whe accessg a shared resource. the legth L of the processor busy perods s uaffected by the presece of blockg stead. Prorty versos may oly cause the schedule to devate from ts ordary EDF characterstc. The requred modfcatos o the aalyss are oly few. The stace beg checked, or aother oe whch precedes t the schedule, may experece a blockg that has to be clude as a addtoal term. O the other had, f a task τ s delayed for a maxmum tme J (ts release jtter) before beg actually released, the two cosecutve staces of τ may be separated by the terval T J. [SPU96] exames the feasblty of a geeral task sets presece of shared resources ad release jtter. Theorem 18 - ([SPU96]) a geeral task set presece of shared resources ad release jtters s feasble (assumg that tasks are ordered by creasg value of D -J ), usg EDF, f: t L, t + J 1 D C. (10) T + B kt () t D t + J where L s the sze of the sychroous processor busy perod (see aex A) ad kt () = max{ k ( D k J k t) }. The proof geeralzes Theorem 6 showg that the worst processor busy perod s stll the sychroous processor busy perod ad that the worst patter of arrval, cosderg release jtter, s whe tasks experece ther shortest ter-release tmes at the begg of the schedule. Cosderg shared resources, t s show that the worst patter of arrval arses wth the blockg factors of the task wth the largest D k J k value amog those cluded the sum. Smlarly, [SPU96] develops the same argumets for the computato of the worst-case respose tme.

21 33 Suppose ow that τ s feasble at prorty but has a prorty Φ τ ( τ ) <. By Lemma 7, chagg the prorty Φ τ ( τ ) of τ to caot crease the respose tmes of the other tasks, ad by hypothess τ s feasble at prorty. Hece τ s stll feasble whe tasks sb are assged prortes, + 1,,. From the above theorem, we ca derve a optmal prorty assgmet based o the approach descrbed [AUD91], whch s thus also vald o-preemptve cotext. Let τ = { τ 1, τ, } be a geeral task set. I order to determe a optmal prorty assgmet for those tasks, we proceed the followg way. We check f at least oe task s feasble (accordg to Theorem 15) f assged prorty. Two cases are possble: o task s feasble, the clearly o feasble prorty assgmet exsts for τ. at least oe task s feasble. If several tasks are feasble, we ca choose oe at radom. Ideed, by Theorem 17, f a feasble prorty assgmet exsts the oe wll exst wth prorty for the selected task. We the repeat the steps to prorty 1,, 1, uless the task set s foud uschedulable the meawhle. The pseudo-code of the algorthm follows. τ = { τ 1, τ, } beg for j = dowto 1 uassged = TRUE; for all tasks τ k τ f τ k s feasble at prorty j the assg τ k to prorty j ; τ = τ { τ k }; uassged = FALSE; ed f f uassged= TRUE the ext; /* o prorty assgmet exsts for ed f ed for ed for ed τ Clearly, as for the preemptve case [AUD91], the tme complexty of ths procedure s O( 2 ).

22 32 Geeral task sets ( [ 1, ], T ad D are ot related) A optmal prorty assgmet for geeral task sets scheduled preemptve systems has bee descrbed [AUD91]. We wat to prove that the strategy s optmal also o-preemptve systems. I order to do ths, we frst eed to show that decreasg the prorty of a task s harmless for the other tasks. Lemma 7 - Decreasg the prorty of a task ca oly decrease or leave uchaged the respose tmes of the other tasks. Proof. Let τ = { τ 1, τ, } be a set of geeral tasks wth creasg prortes. Let τ k be the task whose prorty s to be decreased, ad let τ' = ( τ, 1 τ,, k 1 τ, k + 1 τ,, m τ, k τ, m + 1 τ, ) be the ew prorty orderg. I τ' we ca dstgush three subsets: A = { τ 1, τ, k 1 }, B = { τ k + 1, τ, m }, ad C = { τ m+ 1, τ, }. The worst-case respose tmes of the tasks A ad C are ot affected by the ew prorty orderg. Ideed, ther prortes do ot chage, whle the ew prorty of task τ k produces the same worst-case scearo (see Theorem 15). Thus the respose tmes of those tasks are uchaged. The tasks of subset B see ther prortes to decrease by 1 (havg more prorty) thus possbly decreasg ther worst-case respose tmes (obvous from the formula of Theorem 15). The followg theorem s spred from [AUD91], where t s prove a preemptve cotext. Let τ be a task set of geeral tasks, τ = { τ 1, τ, }, ad let Φ τ ( ) be a partcular prorty assgmet fucto, such that for ay task τ, = 1, Φ τ ( τ ) s the prorty of the task τ τ. Theorem 17 - Let sb = { τ, τ, } be a subset of τ. Suppose that tasks sb are feasble whe k =, task τ k s assged prorty k. If there exsts a prorty assgmet fucto Φ τ ( ) that eables τ to be feasble the there exsts a prorty assgmet fucto that assgs the tasks sb prorty, + 1,, such that τ s stll feasble. Proof. We prove the theorem by ducto. Suppose τ be feasble at prorty. Suppose that a feasble prorty orderg Φ τ ( ) exsts that assgs τ prorty m<. By Lemma 7, f the prorty of τ s chaged from m to the respose tmes of the other tasks s ot worseed. As τ s feasble at prorty level, the resultg prorty orderg s stll feasble. Suppose the property true for tasks τ + 1, τ, : those tasks reassged prorty + 1,, stll eable τ to be feasble. Let Φ τ ( ) to be updated accordg to the ew prorty assgmet.

23 31 Theorem 16 - DM s a optmal prorty assgemet for perodc or sporadc task sets wth D T,, f D < D j C C j. Proof. We wll show that wheever a vald schedule exsts, a vald DM schedule exsts, too. I that purpose, let τ = { τ 1, τ, } be a set of tasks wth a gve feasble prorty assgmet. Let τ ad τ j be two tasks of adjacet prortes, wth τ j the hghest prorty oe (.e., hp() = hp() j { j} ). Assume that D < D j. By hypothess we also have C C j. As the task set s schedulable, the worst case respose tme of each task s less tha or equal to ts relatve deadle. Furthermore, as, D T, the worst-case respose tme of ay task s foud ts frst stace ( Q = 0 Theorem 15). Thus we have: r j = w j + C j, wth w j = ( 1 + w j T k )C k + max, ad k hp() j k lp() j { C k 1} r = w + C, wth w = ( 1+ w T k )C k + max. k hp() k lp() { C k 1} Note that w < w + C D < D j T j, so 1 + w T j = 1. Let us swap the prortes of τ ad τ j, so as to have a deadle mootoc orderg betwee the two tasks. Sce the prorty of τ has rased, ts ew worst-case respose tme caot crease, that s, the schedule remas vald for τ. Vce versa, the prorty of τ j has lowered, so ts worst-case respose tme may crease. The ew value s r j ' = w j ' + C j, wth w j ' equal to the smallest soluto of the equato w = ( 1 + w T k )C k + max k lp' () j { C k 1}, wth hp' () j = hp() j {}. If k hp' () j we evaluate the rght term of the equato w = w C j + C, we have w 1 C j + C k hp' () j T k Ck + max k lp' () j { C k 1} w k hp() j {} T k Ck + max k lp() j {} { C k 1} = w k hp() j T k Ck + C + max k lp() { C k 1} = w k hp() j T k Ck + C j + max k lp() { C k 1} + C C j = w Ck + max k lp() { C k 1} + C C j = w + C C j. k hp() T k It follows that w j ' w + C C j, hece r j ' = w j ' + C j w + C D < D j, that s, also τ j remas feasble wth the ew prorty assgmet. Sce the worst-case respose tmes of all other tasks are ot affected by the prorty swap, the ew prorty assgmet s globally feasble. A deadle mootoc feasble prorty assgmet ca be fally acheved wth a fte umber of smlar steps.

24 Optmalty Case D T, [ 1, ] Cotrary to the preemptve case, whe preempto s ot allowed DM s o loger a optmal prorty assgmet ths case. However, we frst show that the optmalty remas f slghtly stroger codtos are mposed. To prove that DM s o loger optmal, we oly eed to gve a couter example. Let τ = { τ 1, τ 2, τ 3 } be a perodc task set wth τ 1 ( C 1 =3, T 1 =5, D 1 =5), τ 2 ( C 2 =2, T 2 =10, D 2 =6), ad τ 3 ( C 3 =1, T 3 =10, D 3 =7). Assume the prortes are assged accordg to DM (.e., τ 1, τ 2 ad τ 3 have decreasg prortes). I a sychroous scearo, the frst occurrece of task τ 3 s ot executed by tme D 3 = 7 (see Fgure 7). Its respose tme (see Theorem 15) s r 3 = 2C 1 + C 2 + C 3 > D 3, hece the deadle s mssed. The schedule s ot vald. Yet, t s easy to see that by assgg prortes decreasg order to τ 1, τ 3, ad τ 2, respectvely, the schedule becomes vald, ad the task set feasble. Ideed, we have: r 1 = C 1 + ( C 2 1) D 1, r 3 = C 1 + C 3 + ( C 2 1) D 3, r 2 = C 1 + C 2 + C 3 D 2. τ τ τ 3 0 Task τ 3 msses ts deadle 7 Fgure 7: τ s ot feasble wth DM s prorty assgmet Remark: the schedule produced by the preemptve DM wth the same sychroous patter would have led smlarly to a deadle mss for task τ 3. Sce DM s optmal preemptve cotext whe = 1, D T, we may coclude that τ s ot feasble whe preempto s allowed. Thus we have foud a task set that s feasble o-preemptve cotext wth a fxed prorty assgmet, but ot feasble preemptve cotext. Let us show ow that the optmalty of DM s kept whe deadle ad executo tme orders are smlar.

25 29 The result of the prevous lemma lets us exted the approach developed by [AUD91] ad [LEH90], to fgure out the worst-case respose tmes of a task τ the o-preemptve cotext. Uless stated otherwse, we wll oly exame scearos as descrbed Lemma 6. Theorem 15 - Gve a geeral task set τ = { τ 1, τ, } wth arbtrary fxed prortes, the worst-case respose tme of ay task τ s gve by r = max q = 0,, Q { w q, + C qt }, where, = qc , C j + max k lp() { C k 1}, w q j hp() w q T j (9) ad Q = L T, where L s the legth of the logest level- busy perod o-preemptve cotext (see Aex A.2). Proof. Gve a task τ, cosder ts stace released at tme qt. w, q s the smallest tme such that the workload the terval [ 0w, q, ] due to all task staces whch precede the executo of the τ s stace cosdered s maxmum ad equal to w, q,.e o other task stace ca delay the ( q+ 1) -th stace of τ at tme w, q. I Equato (9), qc stads for the durato of the q staces of τ released before qt. ( 1+ w q, T j )C stads for the maxmum workload of tasks wth j hp() j hgher prorty tha τ the terval [ 0w, q, ] ad max k lp() { C k 1} s the maxmum delay resultg from tasks wth lower prorty tha τ (worst-case accordg to Lemma 6). Oce t has gaed the processor at tme w, q, the ( q+ 1) -th stace of τ completes ts executo by tme w q, + C. Its respose tme s therefore w q, + C qt. L s the maxmum legth of ay level- busy perod (see Secto A.2). Thus, accordg to Lemma 6, we do ot eed to exame staces released after L, that s, the last oe to be cosdered s that released at tme L T T. The worst-case respose tme of τ s fally r = max q = 0,, Q { w q, + C qt }. Note that, smlarly to preemptve case, the computato of worst-case respose tmes has a pseudopolyomal tme complexty, sce L s upper bouded by L, whose legth s pseudo polyomal wheever U c, wth c a postve costat smaller tha 1 (see Aex A).

26 28 tmes. I order to acheve ths goal, we frst show that the oto of level- busy perod, troduced by [LEH90], s also useful the o-preemptve cotext. As for the dyamc case, the ma dffereces wth the preemptve cotext are: Owg to the absece of preempto, a task stace wth later absolute deadle ca possbly cause a prorty verso, whch must be accouted for. Always owg to the o-preemptablty of ay task stace executo, our atteto wll be o the busy perod precedg the executo start tme of the stace, ad ot o the busy perod precedg ts completo tme, as s the case the preemptve model. Let τ = { τ 1, τ, } be a geeral task set wth arbtrary fxed prortes. Lemma 6 - The worst-case respose tme of τ s foud a level- busy perod obtaed by releasg all tasks τ j wth j hp() {} sychroously from tme t = 0, ad by releasg the logest task τ k wth k lp(), f ay, at tme t = 1. Proof. Cosder the schedule produced by the o-preemptve hghest prorty frst algorthm for a gve scearo (see fgure 6). Let t 2 be the completo tme of oe of the τ s staces. Let t 1 be the last tme before t 2 such that there are o pedg staces before t 1 wth prorty hgher or equal to that of τ. By defto, there s o dle tme [ t 1, t 2 ], ad the oly tasks that have staces executed [ t 1, t 2 ] are those wth dexes hp() {}. I addto, the stace of a lower prorty task, f ay, may execute at t 1 owg to the o-preemptablty of executos (ote that ths case the lower prorty stace must have bee released before t 1 ). The terval betwee the completo tme of ths stace ( t 1, f there s o such stace) ad t 2 s a level- busy perod. The respose tme of the τ s stace cosdered ca be possbly worseed the followg ways. If all staces of τ [ t 1, t 2 ] are actually released from t 1 at ther maxmum rate, each executo fshes at the same tme, but has possbly a larger respose tme. Smlarly, f all tasks wth hgher prorty tha τ are released sychroously from t 1, the umber of hgher prorty staces caot decrease, thus gvg a possbly loger respose tme for τ s staces. Fally, f τ k s the task wth the maxmum executo tme amog all tasks wth lower prorty tha τ ( k lp() ), by releasg a stace of τ k at tme t 1 1, the effect of o-preempto s maxmzed, thus possbly worseg the respose tme of τ s staces. By substtutg t 1 wth 0 ad t 2 wth t 2 t 1 we have the thess. τ j, j hp() {} t 1 t 2 Level- busy perod Task τ k, C k = max j lp() { C j } Fgure 6

27 Fxed prorty drve schedulers Ths chapter frst cocetrates o feasblty codtos ad worst-case respose tmes computato for geeral task sets. Some exstg results cotuous schedulg are adapted to the cotext of dscrete schedulg. Optmalty fxed prorty drve schedulers s the studed. We wll otably show that the optmal prorty assgmet algorthm proposed by [AUD91] preemptve schedulg s stll vald whe exteded to the o-preemptve cotext Feasblty Codto ad Worst-Case Respose tmes Cotrary to the preemptve cotext, less results are kow about fxed prortes o-preemptve schedulg. I the cotext of cotuous schedulg, where tasks parameters ad tme are allowed to be o teger, oe ca derve from [THW94] ad [TBW95] the followg codto for the feasblty of a task set wth arbtrary prortes: Let τ = { τ 1, τ, } be a geeral task set wth arbtrary prortes assged by some algorthm. As the preemptve cotext, the feasblty codto s based o the computato of the worst-case respose tme of each task τ, ad by comparg ts value wth the relatve deadle D. The o-preemptablty of the schedule s take to accout by cosderg a blockg factor B = max j lp() { C j }, where lp() s the subset of dexes that detfy the tasks wth lower prorty tha τ. The worst-case respose tme r of τ ca thus be fgured out by meas of the followg recursve equato: r w = max { w q, + C qt } where w q, qc q, + ϒ = res C j + B q = 0 Q j hp() T j Q s the smallest value such that w Q, + C ( Q+ 1)T, ϒ res s the resoluto wth whch tme s measured, ad hp() s the subset of dexes that detfy the tasks wth hgher prorty tha τ. Although cotuous schedulg s more geeral tha dscrete schedulg, [BHR90] argue favor of dscrete schedulg, showg frst that t s reasoable to restrct task parameters to be teger, as ay scheduler s lmted to schedulg multples of some dscrete tme ut, ad as task parameters are expressed that tme ut. Secod, they show that oce the put has bee restrcted to be teger, a vald cotuous schedule exsts f ad oly f a vald dscrete schedule exsts,.e we ca cosder wthout loss of geeralty that tasks are scheduled at teger tmes. If we lmt our atteto to dscrete cotexts, the prevous feasblty codto s stll suffcet but o loger ecessary. For example, let the task set τ = { τ 1 ( C 1 = 2, T 1 = 5, D 1 = 3), τ 2 ( C 2 = 2, T 2 = 10, D 2 = 10) } be scheduled accordg to DM. The worst-case respose tmes computed by usg the prevous formula wth ϒ res = 1 our cotext are r 1 = 4 ad r 2 = 4. The task set s declared ufeasble, although t s easy to verfy that t s deed feasble. Namely, accordg to Theorem 15, whch s later show, r 1 = 3 ad r 2 = 4. Establshg a ecessary ad suffcet feasblty codto for ay geeral task set wth arbtrary fxed prortes, essetally meas to develop a procedure for exactly computg the task worst-case respose

28 26 possbly released at tme t. For ay task τ j, the maxmum umber of staces released [ 0t, ] s 1+ t T j. However, at most 1 + ( a + D D j ) T j amog them ca have a absolute deadle before or at a+ D. It follows that W ( at, ) m 1 t a + D D +, j = C j. j D j a + D Beg W ( a, t) a mootoc o-decreasg step fucto, the smallest soluto of Equato (8) ca be foud by usg the usual fxed pot computato: ( 0) L () a = 0 ( m+ 1) L a T j ( m) () = maxd j > a + D { C j 1} + W ( al, ( a) ) + a ---- C. T j T Accordg to the argumet of Lemma 5, we have defed the respose tme relatve to a, r ( a), as a fucto of the busy perod legth L () a whch s upper bouded by L, the legth of the sychroous busy perod (see Aex A). Hece we coclude that the computato of r ( a) ca be coheretly lmted to values of a smaller tha L. That s, the worst-case respose tme of τ s fally r = max{ r ( a):0 a< L}. The umber of evaluatos of r () a ecessary to compute r ca be further reduced by observg that the rght sde of Equato (8) s a step fucto whose dscotutes a are for values equal to kt j + D j D, for some task τ j ad some teger k. The sgfcat values of a the terval [ 0L, ) ca be reduced accordgly. Moreover, as for the preemptve case, t s possble to restrct the terval where the worst-case respose tme of τ has to be looked for, to [ 0, L ] wth L beg the maxmum legth of a deadle busy perod, for τ o-preemptve cotext (see Aex A for a exact computato of L presece of Lemma 5 s patters of arrval). Oce aga, ote that, cotrary to what happes the feasblty secto, the computato of L mght mprove sgfcatly the worst-case respose tmes aalyss sce t already makes use of recursve expresso ad sce the followg property holds (f the tasks are sorted by creasg relatve deadle): [ 1, 1], L L + 1 (see Aex A). Note that, smlarly to the feasblty codto, the computato of worst-case respose tmes has pseudo-polyomal tme complexty sce L s upper bouded by L, whose legth s pseudo polyomal wheever U c, wth c a postve costat smaller tha 1 (see Aex A).

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ " 1

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ  1 STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS Recall Assumpto E(Y x) η 0 + η x (lear codtoal mea fucto) Data (x, y ), (x 2, y 2 ),, (x, y ) Least squares estmator ˆ E (Y x) ˆ " 0 + ˆ " x, where ˆ

More information

APPENDIX III THE ENVELOPE PROPERTY

APPENDIX III THE ENVELOPE PROPERTY Apped III APPENDIX III THE ENVELOPE PROPERTY Optmzato mposes a very strog structure o the problem cosdered Ths s the reaso why eoclasscal ecoomcs whch assumes optmzg behavour has bee the most successful

More information

Preprocess a planar map S. Given a query point p, report the face of S containing p. Goal: O(n)-size data structure that enables O(log n) query time.

Preprocess a planar map S. Given a query point p, report the face of S containing p. Goal: O(n)-size data structure that enables O(log n) query time. Computatoal Geometry Chapter 6 Pot Locato 1 Problem Defto Preprocess a plaar map S. Gve a query pot p, report the face of S cotag p. S Goal: O()-sze data structure that eables O(log ) query tme. C p E

More information

Online Appendix: Measured Aggregate Gains from International Trade

Online Appendix: Measured Aggregate Gains from International Trade Ole Appedx: Measured Aggregate Gas from Iteratoal Trade Arel Burste UCLA ad NBER Javer Cravo Uversty of Mchga March 3, 2014 I ths ole appedx we derve addtoal results dscussed the paper. I the frst secto,

More information

Real-Time Scheduling Models: an Experimental Approach

Real-Time Scheduling Models: an Experimental Approach Real-Tme Schedulg Models: a Expermetal Approach (Techcal Report - Nov. 2000) Atóo J. Pessoa de Magalhães a.p.magalhaes@fe.up.pt Fax: 22 207 4247 SAI DEMEGI Faculdade de Egehara da Uversdade do Porto -

More information

IDENTIFICATION OF THE DYNAMICS OF THE GOOGLE S RANKING ALGORITHM. A. Khaki Sedigh, Mehdi Roudaki

IDENTIFICATION OF THE DYNAMICS OF THE GOOGLE S RANKING ALGORITHM. A. Khaki Sedigh, Mehdi Roudaki IDENIFICAION OF HE DYNAMICS OF HE GOOGLE S RANKING ALGORIHM A. Khak Sedgh, Mehd Roudak Cotrol Dvso, Departmet of Electrcal Egeerg, K.N.oos Uversty of echology P. O. Box: 16315-1355, ehra, Ira sedgh@eetd.ktu.ac.r,

More information

A New Bayesian Network Method for Computing Bottom Event's Structural Importance Degree using Jointree

A New Bayesian Network Method for Computing Bottom Event's Structural Importance Degree using Jointree , pp.277-288 http://dx.do.org/10.14257/juesst.2015.8.1.25 A New Bayesa Network Method for Computg Bottom Evet's Structural Importace Degree usg Jotree Wag Yao ad Su Q School of Aeroautcs, Northwester Polytechcal

More information

Abraham Zaks. Technion I.I.T. Haifa ISRAEL. and. University of Haifa, Haifa ISRAEL. Abstract

Abraham Zaks. Technion I.I.T. Haifa ISRAEL. and. University of Haifa, Haifa ISRAEL. Abstract Preset Value of Autes Uder Radom Rates of Iterest By Abraham Zas Techo I.I.T. Hafa ISRAEL ad Uversty of Hafa, Hafa ISRAEL Abstract Some attempts were made to evaluate the future value (FV) of the expected

More information

ANOVA Notes Page 1. Analysis of Variance for a One-Way Classification of Data

ANOVA Notes Page 1. Analysis of Variance for a One-Way Classification of Data ANOVA Notes Page Aalss of Varace for a Oe-Wa Classfcato of Data Cosder a sgle factor or treatmet doe at levels (e, there are,, 3, dfferet varatos o the prescrbed treatmet) Wth a gve treatmet level there

More information

SHAPIRO-WILK TEST FOR NORMALITY WITH KNOWN MEAN

SHAPIRO-WILK TEST FOR NORMALITY WITH KNOWN MEAN SHAPIRO-WILK TEST FOR NORMALITY WITH KNOWN MEAN Wojcech Zelńsk Departmet of Ecoometrcs ad Statstcs Warsaw Uversty of Lfe Sceces Nowoursyowska 66, -787 Warszawa e-mal: wojtekzelsk@statystykafo Zofa Hausz,

More information

A Study of Unrelated Parallel-Machine Scheduling with Deteriorating Maintenance Activities to Minimize the Total Completion Time

A Study of Unrelated Parallel-Machine Scheduling with Deteriorating Maintenance Activities to Minimize the Total Completion Time Joural of Na Ka, Vol. 0, No., pp.5-9 (20) 5 A Study of Urelated Parallel-Mache Schedulg wth Deteroratg Mateace Actvtes to Mze the Total Copleto Te Suh-Jeq Yag, Ja-Yuar Guo, Hs-Tao Lee Departet of Idustral

More information

Numerical Methods with MS Excel

Numerical Methods with MS Excel TMME, vol4, o.1, p.84 Numercal Methods wth MS Excel M. El-Gebely & B. Yushau 1 Departmet of Mathematcal Sceces Kg Fahd Uversty of Petroleum & Merals. Dhahra, Saud Araba. Abstract: I ths ote we show how

More information

ADAPTATION OF SHAPIRO-WILK TEST TO THE CASE OF KNOWN MEAN

ADAPTATION OF SHAPIRO-WILK TEST TO THE CASE OF KNOWN MEAN Colloquum Bometrcum 4 ADAPTATION OF SHAPIRO-WILK TEST TO THE CASE OF KNOWN MEAN Zofa Hausz, Joaa Tarasńska Departmet of Appled Mathematcs ad Computer Scece Uversty of Lfe Sceces Lubl Akademcka 3, -95 Lubl

More information

T = 1/freq, T = 2/freq, T = i/freq, T = n (number of cash flows = freq n) are :

T = 1/freq, T = 2/freq, T = i/freq, T = n (number of cash flows = freq n) are : Bullets bods Let s descrbe frst a fxed rate bod wthout amortzg a more geeral way : Let s ote : C the aual fxed rate t s a percetage N the otoal freq ( 2 4 ) the umber of coupo per year R the redempto of

More information

The analysis of annuities relies on the formula for geometric sums: r k = rn+1 1 r 1. (2.1) k=0

The analysis of annuities relies on the formula for geometric sums: r k = rn+1 1 r 1. (2.1) k=0 Chapter 2 Autes ad loas A auty s a sequece of paymets wth fxed frequecy. The term auty orgally referred to aual paymets (hece the ame), but t s ow also used for paymets wth ay frequecy. Autes appear may

More information

Optimal multi-degree reduction of Bézier curves with constraints of endpoints continuity

Optimal multi-degree reduction of Bézier curves with constraints of endpoints continuity Computer Aded Geometrc Desg 19 (2002 365 377 wwwelsevercom/locate/comad Optmal mult-degree reducto of Bézer curves wth costrats of edpots cotuty Guo-Dog Che, Guo-J Wag State Key Laboratory of CAD&CG, Isttute

More information

Chapter 3. AMORTIZATION OF LOAN. SINKING FUNDS R =

Chapter 3. AMORTIZATION OF LOAN. SINKING FUNDS R = Chapter 3. AMORTIZATION OF LOAN. SINKING FUNDS Objectves of the Topc: Beg able to formalse ad solve practcal ad mathematcal problems, whch the subjects of loa amortsato ad maagemet of cumulatve fuds are

More information

1. The Time Value of Money

1. The Time Value of Money Corporate Face [00-0345]. The Tme Value of Moey. Compoudg ad Dscoutg Captalzato (compoudg, fdg future values) s a process of movg a value forward tme. It yelds the future value gve the relevat compoudg

More information

Network dimensioning for elastic traffic based on flow-level QoS

Network dimensioning for elastic traffic based on flow-level QoS Network dmesog for elastc traffc based o flow-level QoS 1(10) Network dmesog for elastc traffc based o flow-level QoS Pas Lassla ad Jorma Vrtamo Networkg Laboratory Helsk Uversty of Techology Itroducto

More information

Green Master based on MapReduce Cluster

Green Master based on MapReduce Cluster Gree Master based o MapReduce Cluster Mg-Zh Wu, Yu-Chag L, We-Tsog Lee, Yu-Su L, Fog-Hao Lu Dept of Electrcal Egeerg Tamkag Uversty, Tawa, ROC Dept of Electrcal Egeerg Tamkag Uversty, Tawa, ROC Dept of

More information

The Gompertz-Makeham distribution. Fredrik Norström. Supervisor: Yuri Belyaev

The Gompertz-Makeham distribution. Fredrik Norström. Supervisor: Yuri Belyaev The Gompertz-Makeham dstrbuto by Fredrk Norström Master s thess Mathematcal Statstcs, Umeå Uversty, 997 Supervsor: Yur Belyaev Abstract Ths work s about the Gompertz-Makeham dstrbuto. The dstrbuto has

More information

Chapter Eight. f : R R

Chapter Eight. f : R R Chapter Eght f : R R 8. Itroducto We shall ow tur our atteto to the very mportat specal case of fuctos that are real, or scalar, valued. These are sometmes called scalar felds. I the very, but mportat,

More information

6.7 Network analysis. 6.7.1 Introduction. References - Network analysis. Topological analysis

6.7 Network analysis. 6.7.1 Introduction. References - Network analysis. Topological analysis 6.7 Network aalyss Le data that explctly store topologcal formato are called etwork data. Besdes spatal operatos, several methods of spatal aalyss are applcable to etwork data. Fgure: Network data Refereces

More information

ECONOMIC CHOICE OF OPTIMUM FEEDER CABLE CONSIDERING RISK ANALYSIS. University of Brasilia (UnB) and The Brazilian Regulatory Agency (ANEEL), Brazil

ECONOMIC CHOICE OF OPTIMUM FEEDER CABLE CONSIDERING RISK ANALYSIS. University of Brasilia (UnB) and The Brazilian Regulatory Agency (ANEEL), Brazil ECONOMIC CHOICE OF OPTIMUM FEEDER CABE CONSIDERING RISK ANAYSIS I Camargo, F Fgueredo, M De Olvera Uversty of Brasla (UB) ad The Brazla Regulatory Agecy (ANEE), Brazl The choce of the approprate cable

More information

Security Analysis of RAPP: An RFID Authentication Protocol based on Permutation

Security Analysis of RAPP: An RFID Authentication Protocol based on Permutation Securty Aalyss of RAPP: A RFID Authetcato Protocol based o Permutato Wag Shao-hu,,, Ha Zhje,, Lu Sujua,, Che Da-we, {College of Computer, Najg Uversty of Posts ad Telecommucatos, Najg 004, Cha Jagsu Hgh

More information

The Analysis of Development of Insurance Contract Premiums of General Liability Insurance in the Business Insurance Risk

The Analysis of Development of Insurance Contract Premiums of General Liability Insurance in the Business Insurance Risk The Aalyss of Developmet of Isurace Cotract Premums of Geeral Lablty Isurace the Busess Isurace Rsk the Frame of the Czech Isurace Market 1998 011 Scetfc Coferece Jue, 10. - 14. 013 Pavla Kubová Departmet

More information

On Savings Accounts in Semimartingale Term Structure Models

On Savings Accounts in Semimartingale Term Structure Models O Savgs Accouts Semmartgale Term Structure Models Frak Döberle Mart Schwezer moeyshelf.com Techsche Uverstät Berl Bockehemer Ladstraße 55 Fachberech Mathematk, MA 7 4 D 6325 Frakfurt am Ma Straße des 17.

More information

Agent-based modeling and simulation of multiproject

Agent-based modeling and simulation of multiproject Aget-based modelg ad smulato of multproject schedulg José Alberto Araúzo, Javer Pajares, Adolfo Lopez- Paredes Socal Systems Egeerg Cetre (INSISOC) Uversty of Valladold Valladold (Spa) {arauzo,pajares,adolfo}ssoc.es

More information

10.5 Future Value and Present Value of a General Annuity Due

10.5 Future Value and Present Value of a General Annuity Due Chapter 10 Autes 371 5. Thomas leases a car worth $4,000 at.99% compouded mothly. He agrees to make 36 lease paymets of $330 each at the begg of every moth. What s the buyout prce (resdual value of the

More information

Three Dimensional Interpolation of Video Signals

Three Dimensional Interpolation of Video Signals Three Dmesoal Iterpolato of Vdeo Sgals Elham Shahfard March 0 th 006 Outle A Bref reve of prevous tals Dgtal Iterpolato Bascs Upsamplg D Flter Desg Issues Ifte Impulse Respose Fte Impulse Respose Desged

More information

Maintenance Scheduling of Distribution System with Optimal Economy and Reliability

Maintenance Scheduling of Distribution System with Optimal Economy and Reliability Egeerg, 203, 5, 4-8 http://dx.do.org/0.4236/eg.203.59b003 Publshed Ole September 203 (http://www.scrp.org/joural/eg) Mateace Schedulg of Dstrbuto System wth Optmal Ecoomy ad Relablty Syua Hog, Hafeg L,

More information

Load Balancing Control for Parallel Systems

Load Balancing Control for Parallel Systems Proc IEEE Med Symposum o New drectos Cotrol ad Automato, Chaa (Grèce),994, pp66-73 Load Balacg Cotrol for Parallel Systems Jea-Claude Heet LAAS-CNRS, 7 aveue du Coloel Roche, 3077 Toulouse, Frace E-mal

More information

Classic Problems at a Glance using the TVM Solver

Classic Problems at a Glance using the TVM Solver C H A P T E R 2 Classc Problems at a Glace usg the TVM Solver The table below llustrates the most commo types of classc face problems. The formulas are gve for each calculato. A bref troducto to usg the

More information

An Effectiveness of Integrated Portfolio in Bancassurance

An Effectiveness of Integrated Portfolio in Bancassurance A Effectveess of Itegrated Portfolo Bacassurace Taea Karya Research Ceter for Facal Egeerg Isttute of Ecoomc Research Kyoto versty Sayouu Kyoto 606-850 Japa arya@eryoto-uacp Itroducto As s well ow the

More information

Chapter 3 0.06 = 3000 ( 1.015 ( 1 ) Present Value of an Annuity. Section 4 Present Value of an Annuity; Amortization

Chapter 3 0.06 = 3000 ( 1.015 ( 1 ) Present Value of an Annuity. Section 4 Present Value of an Annuity; Amortization Chapter 3 Mathematcs of Face Secto 4 Preset Value of a Auty; Amortzato Preset Value of a Auty I ths secto, we wll address the problem of determg the amout that should be deposted to a accout ow at a gve

More information

On formula to compute primes and the n th prime

On formula to compute primes and the n th prime Joural's Ttle, Vol., 00, o., - O formula to compute prmes ad the th prme Issam Kaddoura Lebaese Iteratoal Uversty Faculty of Arts ad ceces, Lebao Emal: ssam.addoura@lu.edu.lb amh Abdul-Nab Lebaese Iteratoal

More information

A Parallel Transmission Remote Backup System

A Parallel Transmission Remote Backup System 2012 2d Iteratoal Coferece o Idustral Techology ad Maagemet (ICITM 2012) IPCSIT vol 49 (2012) (2012) IACSIT Press, Sgapore DOI: 107763/IPCSIT2012V495 2 A Parallel Trasmsso Remote Backup System Che Yu College

More information

of the relationship between time and the value of money.

of the relationship between time and the value of money. TIME AND THE VALUE OF MONEY Most agrbusess maagers are famlar wth the terms compoudg, dscoutg, auty, ad captalzato. That s, most agrbusess maagers have a tutve uderstadg that each term mples some relatoshp

More information

On Error Detection with Block Codes

On Error Detection with Block Codes BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 9, No 3 Sofa 2009 O Error Detecto wth Block Codes Rostza Doduekova Chalmers Uversty of Techology ad the Uversty of Gotheburg,

More information

Average Price Ratios

Average Price Ratios Average Prce Ratos Morgstar Methodology Paper August 3, 2005 2005 Morgstar, Ic. All rghts reserved. The formato ths documet s the property of Morgstar, Ic. Reproducto or trascrpto by ay meas, whole or

More information

How To Make A Supply Chain System Work

How To Make A Supply Chain System Work Iteratoal Joural of Iformato Techology ad Kowledge Maagemet July-December 200, Volume 2, No. 2, pp. 3-35 LATERAL TRANSHIPMENT-A TECHNIQUE FOR INVENTORY CONTROL IN MULTI RETAILER SUPPLY CHAIN SYSTEM Dharamvr

More information

Impact of Interference on the GPRS Multislot Link Level Performance

Impact of Interference on the GPRS Multislot Link Level Performance Impact of Iterferece o the GPRS Multslot Lk Level Performace Javer Gozalvez ad Joh Dulop Uversty of Strathclyde - Departmet of Electroc ad Electrcal Egeerg - George St - Glasgow G-XW- Scotlad Ph.: + 8

More information

CHAPTER 2. Time Value of Money 6-1

CHAPTER 2. Time Value of Money 6-1 CHAPTER 2 Tme Value of Moey 6- Tme Value of Moey (TVM) Tme Les Future value & Preset value Rates of retur Autes & Perpetutes Ueve cash Flow Streams Amortzato 6-2 Tme les 0 2 3 % CF 0 CF CF 2 CF 3 Show

More information

Fractal-Structured Karatsuba`s Algorithm for Binary Field Multiplication: FK

Fractal-Structured Karatsuba`s Algorithm for Binary Field Multiplication: FK Fractal-Structured Karatsuba`s Algorthm for Bary Feld Multplcato: FK *The authors are worg at the Isttute of Mathematcs The Academy of Sceces of DPR Korea. **Address : U Jog dstrct Kwahadog Number Pyogyag

More information

ON SLANT HELICES AND GENERAL HELICES IN EUCLIDEAN n -SPACE. Yusuf YAYLI 1, Evren ZIPLAR 2. yayli@science.ankara.edu.tr. evrenziplar@yahoo.

ON SLANT HELICES AND GENERAL HELICES IN EUCLIDEAN n -SPACE. Yusuf YAYLI 1, Evren ZIPLAR 2. yayli@science.ankara.edu.tr. evrenziplar@yahoo. ON SLANT HELICES AND ENERAL HELICES IN EUCLIDEAN -SPACE Yusuf YAYLI Evre ZIPLAR Departmet of Mathematcs Faculty of Scece Uversty of Akara Tadoğa Akara Turkey yayl@sceceakaraedutr Departmet of Mathematcs

More information

RESEARCH ON PERFORMANCE MODELING OF TRANSACTIONAL CLOUD APPLICATIONS

RESEARCH ON PERFORMANCE MODELING OF TRANSACTIONAL CLOUD APPLICATIONS Joural of Theoretcal ad Appled Iformato Techology 3 st October 22. Vol. 44 No.2 25-22 JATIT & LLS. All rghts reserved. ISSN: 992-8645 www.jatt.org E-ISSN: 87-395 RESEARCH ON PERFORMANCE MODELING OF TRANSACTIONAL

More information

Constrained Cubic Spline Interpolation for Chemical Engineering Applications

Constrained Cubic Spline Interpolation for Chemical Engineering Applications Costraed Cubc Sple Iterpolato or Chemcal Egeerg Applcatos b CJC Kruger Summar Cubc sple terpolato s a useul techque to terpolate betwee kow data pots due to ts stable ad smooth characterstcs. Uortuatel

More information

Dynamic Two-phase Truncated Rayleigh Model for Release Date Prediction of Software

Dynamic Two-phase Truncated Rayleigh Model for Release Date Prediction of Software J. Software Egeerg & Applcatos 3 63-69 do:.436/jsea..367 Publshed Ole Jue (http://www.scrp.org/joural/jsea) Dyamc Two-phase Trucated Raylegh Model for Release Date Predcto of Software Lafe Qa Qgchua Yao

More information

Models for Selecting an ERP System with Intuitionistic Trapezoidal Fuzzy Information

Models for Selecting an ERP System with Intuitionistic Trapezoidal Fuzzy Information JOURNAL OF SOFWARE, VOL 5, NO 3, MARCH 00 75 Models for Selectg a ERP System wth Itutostc rapezodal Fuzzy Iformato Guwu We, Ru L Departmet of Ecoomcs ad Maagemet, Chogqg Uversty of Arts ad Sceces, Yogchua,

More information

Simple Linear Regression

Simple Linear Regression Smple Lear Regresso Regresso equato a equato that descrbes the average relatoshp betwee a respose (depedet) ad a eplaator (depedet) varable. 6 8 Slope-tercept equato for a le m b (,6) slope. (,) 6 6 8

More information

RQM: A new rate-based active queue management algorithm

RQM: A new rate-based active queue management algorithm : A ew rate-based actve queue maagemet algorthm Jeff Edmods, Suprakash Datta, Patrck Dymod, Kashf Al Computer Scece ad Egeerg Departmet, York Uversty, Toroto, Caada Abstract I ths paper, we propose a ew

More information

A Novel Resource Pricing Mechanism based on Multi-Player Gaming Model in Cloud Environments

A Novel Resource Pricing Mechanism based on Multi-Player Gaming Model in Cloud Environments 1574 JOURNAL OF SOFTWARE, VOL. 9, NO. 6, JUNE 2014 A Novel Resource Prcg Mechasm based o Mult-Player Gamg Model Cloud Evromets Tea Zhag, Peg Xao School of Computer ad Commucato, Hua Isttute of Egeerg,

More information

Banking (Early Repayment of Housing Loans) Order, 5762 2002 1

Banking (Early Repayment of Housing Loans) Order, 5762 2002 1 akg (Early Repaymet of Housg Loas) Order, 5762 2002 y vrtue of the power vested me uder Secto 3 of the akg Ordace 94 (hereafter, the Ordace ), followg cosultato wth the Commttee, ad wth the approval of

More information

Applications of Support Vector Machine Based on Boolean Kernel to Spam Filtering

Applications of Support Vector Machine Based on Boolean Kernel to Spam Filtering Moder Appled Scece October, 2009 Applcatos of Support Vector Mache Based o Boolea Kerel to Spam Flterg Shugag Lu & Keb Cu School of Computer scece ad techology, North Cha Electrc Power Uversty Hebe 071003,

More information

The impact of service-oriented architecture on the scheduling algorithm in cloud computing

The impact of service-oriented architecture on the scheduling algorithm in cloud computing Iteratoal Research Joural of Appled ad Basc Sceces 2015 Avalable ole at www.rjabs.com ISSN 2251-838X / Vol, 9 (3): 387-392 Scece Explorer Publcatos The mpact of servce-oreted archtecture o the schedulg

More information

The Digital Signature Scheme MQQ-SIG

The Digital Signature Scheme MQQ-SIG The Dgtal Sgature Scheme MQQ-SIG Itellectual Property Statemet ad Techcal Descrpto Frst publshed: 10 October 2010, Last update: 20 December 2010 Dalo Glgorosk 1 ad Rue Stesmo Ødegård 2 ad Rue Erled Jese

More information

Capacitated Production Planning and Inventory Control when Demand is Unpredictable for Most Items: The No B/C Strategy

Capacitated Production Planning and Inventory Control when Demand is Unpredictable for Most Items: The No B/C Strategy SCHOOL OF OPERATIONS RESEARCH AND INDUSTRIAL ENGINEERING COLLEGE OF ENGINEERING CORNELL UNIVERSITY ITHACA, NY 4853-380 TECHNICAL REPORT Jue 200 Capactated Producto Plag ad Ivetory Cotrol whe Demad s Upredctable

More information

Projection model for Computer Network Security Evaluation with interval-valued intuitionistic fuzzy information. Qingxiang Li

Projection model for Computer Network Security Evaluation with interval-valued intuitionistic fuzzy information. Qingxiang Li Iteratoal Joural of Scece Vol No7 05 ISSN: 83-4890 Proecto model for Computer Network Securty Evaluato wth terval-valued tutostc fuzzy formato Qgxag L School of Software Egeerg Chogqg Uversty of rts ad

More information

Compressive Sensing over Strongly Connected Digraph and Its Application in Traffic Monitoring

Compressive Sensing over Strongly Connected Digraph and Its Application in Traffic Monitoring Compressve Sesg over Strogly Coected Dgraph ad Its Applcato Traffc Motorg Xao Q, Yogca Wag, Yuexua Wag, Lwe Xu Isttute for Iterdscplary Iformato Sceces, Tsghua Uversty, Bejg, Cha {qxao3, kyo.c}@gmal.com,

More information

Rate Monotonic (RM) Disadvantages of cyclic. TDDB47 Real Time Systems. Lecture 2: RM & EDF. Priority-based scheduling. States of a process

Rate Monotonic (RM) Disadvantages of cyclic. TDDB47 Real Time Systems. Lecture 2: RM & EDF. Priority-based scheduling. States of a process Dsadvantages of cyclc TDDB47 Real Tme Systems Manual scheduler constructon Cannot deal wth any runtme changes What happens f we add a task to the set? Real-Tme Systems Laboratory Department of Computer

More information

Approximation Algorithms for Scheduling with Rejection on Two Unrelated Parallel Machines

Approximation Algorithms for Scheduling with Rejection on Two Unrelated Parallel Machines (ICS) Iteratoal oural of dvaced Comuter Scece ad lcatos Vol 6 No 05 romato lgorthms for Schedulg wth eecto o wo Urelated Parallel aches Feg Xahao Zhag Zega Ca College of Scece y Uversty y Shadog Cha 76005

More information

Optimal Packetization Interval for VoIP Applications Over IEEE 802.16 Networks

Optimal Packetization Interval for VoIP Applications Over IEEE 802.16 Networks Optmal Packetzato Iterval for VoIP Applcatos Over IEEE 802.16 Networks Sheha Perera Harsha Srsea Krzysztof Pawlkowsk Departmet of Electrcal & Computer Egeerg Uversty of Caterbury New Zealad sheha@elec.caterbury.ac.z

More information

Optimal replacement and overhaul decisions with imperfect maintenance and warranty contracts

Optimal replacement and overhaul decisions with imperfect maintenance and warranty contracts Optmal replacemet ad overhaul decsos wth mperfect mateace ad warraty cotracts R. Pascual Departmet of Mechacal Egeerg, Uversdad de Chle, Caslla 2777, Satago, Chle Phoe: +56-2-6784591 Fax:+56-2-689657 rpascual@g.uchle.cl

More information

n. We know that the sum of squares of p independent standard normal variables has a chi square distribution with p degrees of freedom.

n. We know that the sum of squares of p independent standard normal variables has a chi square distribution with p degrees of freedom. UMEÅ UNIVERSITET Matematsk-statstska sttutoe Multvarat dataaalys för tekologer MSTB0 PA TENTAMEN 004-0-9 LÖSNINGSFÖRSLAG TILL TENTAMEN I MATEMATISK STATISTIK Multvarat dataaalys för tekologer B, 5 poäg.

More information

Relaxation Methods for Iterative Solution to Linear Systems of Equations

Relaxation Methods for Iterative Solution to Linear Systems of Equations Relaxato Methods for Iteratve Soluto to Lear Systems of Equatos Gerald Recktewald Portlad State Uversty Mechacal Egeerg Departmet gerry@me.pdx.edu Prmary Topcs Basc Cocepts Statoary Methods a.k.a. Relaxato

More information

Efficient Traceback of DoS Attacks using Small Worlds in MANET

Efficient Traceback of DoS Attacks using Small Worlds in MANET Effcet Traceback of DoS Attacks usg Small Worlds MANET Yog Km, Vshal Sakhla, Ahmed Helmy Departmet. of Electrcal Egeerg, Uversty of Souther Calfora, U.S.A {yogkm, sakhla, helmy}@ceg.usc.edu Abstract Moble

More information

A Security-Oriented Task Scheduler for Heterogeneous Distributed Systems

A Security-Oriented Task Scheduler for Heterogeneous Distributed Systems A Securty-Oreted Tas Scheduler for Heterogeeous Dstrbuted Systems Tao Xe 1 ad Xao Q 2 1 Departmet of Computer Scece, Sa Dego State Uversty, Sa Dego, CA 92182, USA xe@cs.sdsu.edu 2 Departmet of Computer

More information

Statistical Pattern Recognition (CE-725) Department of Computer Engineering Sharif University of Technology

Statistical Pattern Recognition (CE-725) Department of Computer Engineering Sharif University of Technology I The Name of God, The Compassoate, The ercful Name: Problems' eys Studet ID#:. Statstcal Patter Recogto (CE-725) Departmet of Computer Egeerg Sharf Uversty of Techology Fal Exam Soluto - Sprg 202 (50

More information

Bayesian Network Representation

Bayesian Network Representation Readgs: K&F 3., 3.2, 3.3, 3.4. Bayesa Network Represetato Lecture 2 Mar 30, 20 CSE 55, Statstcal Methods, Sprg 20 Istructor: Su-I Lee Uversty of Washgto, Seattle Last tme & today Last tme Probablty theory

More information

We present a new approach to pricing American-style derivatives that is applicable to any Markovian setting

We present a new approach to pricing American-style derivatives that is applicable to any Markovian setting MANAGEMENT SCIENCE Vol. 52, No., Jauary 26, pp. 95 ss 25-99 ess 526-55 6 52 95 forms do.287/msc.5.447 26 INFORMS Prcg Amerca-Style Dervatves wth Europea Call Optos Scott B. Laprse BAE Systems, Advaced

More information

Integrating Production Scheduling and Maintenance: Practical Implications

Integrating Production Scheduling and Maintenance: Practical Implications Proceedgs of the 2012 Iteratoal Coferece o Idustral Egeerg ad Operatos Maagemet Istabul, Turkey, uly 3 6, 2012 Itegratg Producto Schedulg ad Mateace: Practcal Implcatos Lath A. Hadd ad Umar M. Al-Turk

More information

Settlement Prediction by Spatial-temporal Random Process

Settlement Prediction by Spatial-temporal Random Process Safety, Relablty ad Rs of Structures, Ifrastructures ad Egeerg Systems Furuta, Fragopol & Shozua (eds Taylor & Fracs Group, Lodo, ISBN 978---77- Settlemet Predcto by Spatal-temporal Radom Process P. Rugbaapha

More information

Speeding up k-means Clustering by Bootstrap Averaging

Speeding up k-means Clustering by Bootstrap Averaging Speedg up -meas Clusterg by Bootstrap Averagg Ia Davdso ad Ashw Satyaarayaa Computer Scece Dept, SUNY Albay, NY, USA,. {davdso, ashw}@cs.albay.edu Abstract K-meas clusterg s oe of the most popular clusterg

More information

RUSSIAN ROULETTE AND PARTICLE SPLITTING

RUSSIAN ROULETTE AND PARTICLE SPLITTING RUSSAN ROULETTE AND PARTCLE SPLTTNG M. Ragheb 3/7/203 NTRODUCTON To stuatos are ecoutered partcle trasport smulatos:. a multplyg medum, a partcle such as a eutro a cosmc ray partcle or a photo may geerate

More information

DECISION MAKING WITH THE OWA OPERATOR IN SPORT MANAGEMENT

DECISION MAKING WITH THE OWA OPERATOR IN SPORT MANAGEMENT ESTYLF08, Cuecas Meras (Meres - Lagreo), 7-9 de Septembre de 2008 DECISION MAKING WITH THE OWA OPERATOR IN SPORT MANAGEMENT José M. Mergó Aa M. Gl-Lafuete Departmet of Busess Admstrato, Uversty of Barceloa

More information

The simple linear Regression Model

The simple linear Regression Model The smple lear Regresso Model Correlato coeffcet s o-parametrc ad just dcates that two varables are assocated wth oe aother, but t does ot gve a deas of the kd of relatoshp. Regresso models help vestgatg

More information

Contention-Free Periodic Message Scheduler Medium Access Control in Wireless Sensor / Actuator Networks

Contention-Free Periodic Message Scheduler Medium Access Control in Wireless Sensor / Actuator Networks Coteto-Free Perodc Message Sceduler Medum Access Cotrol Wreless Sesor / Actuator Networks Tomas W. Carley ECE Departmet Uversty of Marylad tcarley@eg.umd.edu Moussa A. Ba Embedded Researc Solutos mba@embeddedzoe.com

More information

Discrete-Event Simulation of Network Systems Using Distributed Object Computing

Discrete-Event Simulation of Network Systems Using Distributed Object Computing Dscrete-Evet Smulato of Network Systems Usg Dstrbuted Object Computg Welog Hu Arzoa Ceter for Itegratve M&S Computer Scece & Egeerg Dept. Fulto School of Egeerg Arzoa State Uversty, Tempe, Arzoa, 85281-8809

More information

Reinsurance and the distribution of term insurance claims

Reinsurance and the distribution of term insurance claims Resurace ad the dstrbuto of term surace clams By Rchard Bruyel FIAA, FNZSA Preseted to the NZ Socety of Actuares Coferece Queestow - November 006 1 1 Itroducto Ths paper vestgates the effect of resurace

More information

Incorporating demand shifters in the Almost Ideal demand system

Incorporating demand shifters in the Almost Ideal demand system Ecoomcs Letters 70 (2001) 73 78 www.elsever.com/ locate/ ecobase Icorporatg demad shfters the Almost Ideal demad system Jula M. Alsto, James A. Chalfat *, Ncholas E. Pggott a,1 1 a, b a Departmet of Agrcultural

More information

ANALYTICAL MODEL FOR TCP FILE TRANSFERS OVER UMTS. Janne Peisa Ericsson Research 02420 Jorvas, Finland. Michael Meyer Ericsson Research, Germany

ANALYTICAL MODEL FOR TCP FILE TRANSFERS OVER UMTS. Janne Peisa Ericsson Research 02420 Jorvas, Finland. Michael Meyer Ericsson Research, Germany ANALYTICAL MODEL FOR TCP FILE TRANSFERS OVER UMTS Jae Pesa Erco Research 4 Jorvas, Flad Mchael Meyer Erco Research, Germay Abstract Ths paper proposes a farly complex model to aalyze the performace of

More information

Automated Event Registration System in Corporation

Automated Event Registration System in Corporation teratoal Joural of Advaces Computer Scece ad Techology JACST), Vol., No., Pages : 0-0 0) Specal ssue of CACST 0 - Held durg 09-0 May, 0 Malaysa Automated Evet Regstrato System Corporato Zafer Al-Makhadmee

More information

Cyber Journals: Multidisciplinary Journals in Science and Technology, Journal of Selected Areas in Telecommunications (JSAT), January Edition, 2011

Cyber Journals: Multidisciplinary Journals in Science and Technology, Journal of Selected Areas in Telecommunications (JSAT), January Edition, 2011 Cyber Jourals: Multdscplary Jourals cece ad Techology, Joural of elected Areas Telecommucatos (JAT), Jauary dto, 2011 A ovel rtual etwork Mappg Algorthm for Cost Mmzg ZHAG hu-l, QIU Xue-sog tate Key Laboratory

More information

How To Value An Annuity

How To Value An Annuity Future Value of a Auty After payg all your blls, you have $200 left each payday (at the ed of each moth) that you wll put to savgs order to save up a dow paymet for a house. If you vest ths moey at 5%

More information

Curve Fitting and Solution of Equation

Curve Fitting and Solution of Equation UNIT V Curve Fttg ad Soluto of Equato 5. CURVE FITTING I ma braches of appled mathematcs ad egeerg sceces we come across epermets ad problems, whch volve two varables. For eample, t s kow that the speed

More information

Numerical Comparisons of Quality Control Charts for Variables

Numerical Comparisons of Quality Control Charts for Variables Global Vrtual Coferece Aprl, 8. - 2. 203 Nuercal Coparsos of Qualty Cotrol Charts for Varables J.F. Muñoz-Rosas, M.N. Pérez-Aróstegu Uversty of Graada Facultad de Cecas Ecoócas y Epresarales Graada, pa

More information

A DISTRIBUTED REPUTATION BROKER FRAMEWORK FOR WEB SERVICE APPLICATIONS

A DISTRIBUTED REPUTATION BROKER FRAMEWORK FOR WEB SERVICE APPLICATIONS L et al.: A Dstrbuted Reputato Broker Framework for Web Servce Applcatos A DISTRIBUTED REPUTATION BROKER FRAMEWORK FOR WEB SERVICE APPLICATIONS Kwe-Jay L Departmet of Electrcal Egeerg ad Computer Scece

More information

IP Network Topology Link Prediction Based on Improved Local Information Similarity Algorithm

IP Network Topology Link Prediction Based on Improved Local Information Similarity Algorithm Iteratoal Joural of Grd Dstrbuto Computg, pp.141-150 http://dx.do.org/10.14257/jgdc.2015.8.6.14 IP Network Topology Lk Predcto Based o Improved Local Iformato mlarty Algorthm Che Yu* 1, 2 ad Dua Zhem 1

More information

Sequences and Series

Sequences and Series Secto 9. Sequeces d Seres You c thk of sequece s fucto whose dom s the set of postve tegers. f ( ), f (), f (),... f ( ),... Defto of Sequece A fte sequece s fucto whose dom s the set of postve tegers.

More information

A particle swarm optimization to vehicle routing problem with fuzzy demands

A particle swarm optimization to vehicle routing problem with fuzzy demands A partcle swarm optmzato to vehcle routg problem wth fuzzy demads Yag Peg, Ye-me Qa A partcle swarm optmzato to vehcle routg problem wth fuzzy demads Yag Peg 1,Ye-me Qa 1 School of computer ad formato

More information

Mathematics of Finance

Mathematics of Finance CATE Mathematcs of ace.. TODUCTO ths chapter we wll dscuss mathematcal methods ad formulae whch are helpful busess ad persoal face. Oe of the fudametal cocepts the mathematcs of face s the tme value of

More information

On Cheeger-type inequalities for weighted graphs

On Cheeger-type inequalities for weighted graphs O Cheeger-type equaltes for weghted graphs Shmuel Fredlad Uversty of Illos at Chcago Departmet of Mathematcs 851 S. Morga St., Chcago, Illos 60607-7045 USA Rehard Nabbe Fakultät für Mathematk Uverstät

More information

Analysis of Multi-product Break-even with Uncertain Information*

Analysis of Multi-product Break-even with Uncertain Information* Aalyss o Mult-product Break-eve wth Ucerta Iormato* Lazzar Lusa L. - Morñgo María Slva Facultad de Cecas Ecoómcas Uversdad de Bueos Ares 222 Córdoba Ave. 2 d loor C20AAQ Bueos Ares - Argeta lazzar@eco.uba.ar

More information

Fast, Secure Encryption for Indexing in a Column-Oriented DBMS

Fast, Secure Encryption for Indexing in a Column-Oriented DBMS Fast, Secure Ecrypto for Idexg a Colum-Oreted DBMS Tgja Ge, Sta Zdok Brow Uversty {tge, sbz}@cs.brow.edu Abstract Networked formato systems requre strog securty guaratees because of the ew threats that

More information

A Single Machine Scheduling with Periodic Maintenance

A Single Machine Scheduling with Periodic Maintenance A Sgle Mache Schedulg wth Perodc Mateace Fracsco Ágel-Bello Ada Álvarez 2 Joaquí Pacheco 3 Irs Martíez Ceter for Qualty ad Maufacturg, Tecológco de Moterrey, Eugeo Garza Sada 250, 64849 Moterrey, NL, Meco

More information

Software Reliability Index Reasonable Allocation Based on UML

Software Reliability Index Reasonable Allocation Based on UML Sotware Relablty Idex Reasoable Allocato Based o UML esheg Hu, M.Zhao, Jaeg Yag, Guorog Ja Sotware Relablty Idex Reasoable Allocato Based o UML 1 esheg Hu, 2 M.Zhao, 3 Jaeg Yag, 4 Guorog Ja 1, Frst Author

More information

M. Salahi, F. Mehrdoust, F. Piri. CVaR Robust Mean-CVaR Portfolio Optimization

M. Salahi, F. Mehrdoust, F. Piri. CVaR Robust Mean-CVaR Portfolio Optimization M. Salah, F. Mehrdoust, F. Pr Uversty of Gula, Rasht, Ira CVaR Robust Mea-CVaR Portfolo Optmzato Abstract: Oe of the most mportat problems faced by every vestor s asset allocato. A vestor durg makg vestmet

More information

An Approach to Evaluating the Computer Network Security with Hesitant Fuzzy Information

An Approach to Evaluating the Computer Network Security with Hesitant Fuzzy Information A Approach to Evaluatg the Computer Network Securty wth Hestat Fuzzy Iformato Jafeg Dog A Approach to Evaluatg the Computer Network Securty wth Hestat Fuzzy Iformato Jafeg Dog, Frst ad Correspodg Author

More information

An Evaluation of Naïve Bayesian Anti-Spam Filtering Techniques

An Evaluation of Naïve Bayesian Anti-Spam Filtering Techniques Proceedgs of the 2007 IEEE Workshop o Iformato Assurace Uted tates Mltary Academy, West Pot, Y 20-22 Jue 2007 A Evaluato of aïve Bayesa At-pam Flterg Techques Vkas P. Deshpade, Robert F. Erbacher, ad Chrs

More information

STOCHASTIC approximation algorithms have several

STOCHASTIC approximation algorithms have several IEEE TRANSACTIONS ON INFORMATION THEORY, VOL 60, NO 10, OCTOBER 2014 6609 Trackg a Markov-Modulated Statoary Degree Dstrbuto of a Dyamc Radom Graph Mazyar Hamd, Vkram Krshamurthy, Fellow, IEEE, ad George

More information