The Control Server: A Computational Model for Real Time Control Tasks
|
|
- Anis Campbell
- 5 years ago
- Views:
Transcription
1 5th Euromcro Conference on Real Tme Systems, Porto, Portugal, July The Control Server: A Computatonal Model for Real Tme Control Tasks Anton Cervn Department of Automatc Control Lund nsttute of Technology Box 8, SE Lund, Sweden anton@control.lth.se Johan Eker Research Department Ercsson Moble Platforms AB SE Lund, Sweden johan.eker@emp.ercsson.se Abstract The paper presents a computatonal model for realtme control tasks, wth the prmary goal of smplfyng the control and schedulng codesgn problem. The model combnes tme trggered / and nter task communcaton wth dynamc, reservaton based task schedulng. To facltate short nput output latences, a task may be dvded nto several segments. Jtter s reduced by allowng communcaton onlyatthebegnnngandattheendofasegment. Akeypropertyofthemodelsthatbothschedulablty and control performance of a control task wll depend on the reserved utlzaton factor only. Ths enables controllers to be treated as scalable realtme components. The model has been mplemented n a real tme kernel and valdated n a real tme control applcaton.. ntroducton Tradtonal schedulng models gve poor support for codesgn of mult threaded real tme control systems. ne dffculty les n the nonlnearty n schedulng mechansms such as rate monotonc (RM) or earlest deadlne frst (EDF) schedulng: a small change n a task parameter e.g., perod, executon tme, deadlne, or prorty may gve rse to unpredctable results n terms of nput output latency (n short, latency) and jtter. Ths s crucal, snce the performance of a controller depends not only on ts samplngperod,butalsoonthelatencyandthejtter. n the control desgn, t s straght forward to account for a constant latency, whle t s dffcult to address varyng or unknown delays. nthesemnalluandlaylandpaper [Luand Layland, 973], t s assumed that / s performed perodcally by hardware functons, ntroducng a one sample delay n all control loops closed over the computer. Ths scheme does provde a qute nce separaton between schedulng and control desgn. From a schedulng perspectve, the controller can be descrbed by a perodc task wth a perod T, a computaton tme C, and a deadlne D = T. From a control perspectve, the controller wll have a samplngperodoftandaconstantlatencyl =T. Ths allows the control desgn and the real tme desgn to be carred out n relatve solaton. However, the one sample latency degrades the control performance and s ultmately a waste of resources (more on ths later). A common alternatve mplementaton s therefore to perform the / requests wthn the task loop and output the control sgnal as soon as possble n each perod (e.g., [Klen et al., 993; Åström and Wttenmark, 997]). At ths pont, however, the desgn problem becomes very complcated. The / jtter and latency of a controller are now affected by varatons n ts own executon tme as well as nterference from hgher prorty tasks (whch n turn depend on the varatons n the task executon tmes, the phasng of the perodc tasks, the arrval pattern of sporadc tasks, etc.). n the best case, t may be possble to derve formulas for the worst case and bestcase response tmes of the tasks (e.g., [Audsley et al., 993; Redell and Sanfrdson, 2002]), but ths nformaton s stll not suffcent to accurately predct the performance of the controllers. Furthermore, as argued n [Jeffay and Goddard, 200], wth standard RMandEDFschedulngtcanbedffculttomap task mportance nto prortes and/or deadlnes. These algorthms also perform poorly f tasks devate fromtherassumedbehavororfthecpushould become overloaded.. Model vervew The computatonal model we propose combnes elements from the synchronzed / model of Gotto [Henznger et al., 200] wth the CPU resource reservaton model of the constant bandwdth server (CBS) [Aben and Buttazzo, 998]. The prmary goal of the model s to facltate smple codesgn of flexble realtme control systems. n partcular, the model should provde (R) solaton between unrelated tasks, (R2) short nput output latences,
2 (R3) mnmal samplng jtter and nput output jtter, (R4) a smple nterface between the control desgn and the real tme desgn, (R5) predctable control and real tme behavor, also nthecaseofoverruns,and (R6) the possblty to combne several tasks (components) nto a new task (component) wth predctable control and real tme behavor. Requrement (R)sfulflledbytheuseofconstant bandwdth servers. The servers make each taskappearasftwasrunnngonadedcatedcpu wthagvenfractonoftheorgnalcpuspeed.to facltate short latences (requrement (R2)), a task maybedvdedntoanumberof segments,whch are scheduled ndvdually. A task may only read nputs (from the envronment or from other tasks) at thebegnnngofasegmentandwrteoutputs (tothe envronmentortoothertasks)attheendofasegment. All communcaton s handled by the kernel and s hence not prone to jtter (requrement (R3)). Requrements (R4) (R6) are addressed by the combnaton of bandwdth servers and statcally scheduled communcaton ponts. For perodc tasks wth constant executon tmes, the model creates the lluson of a perfect dvson of the CPU, equvalent to the Generalzed Processor Sharng (GPS) algorthm [Parekh and Gallager, 993]. The model makes t possble to analyze each task n solaton, from both schedulng and control ponts of vew. Lke ordnary EDF, schedulablty of the task set s smply determned by the total CPU utlzaton (gnorng context swtches and the / operatons performed by the kernel). The performance of a controller can alsobevewedasafunctonoftsallotedcpushare. These propertes make the model very sutable for feedback schedulng applcatons. Furthermore, the model makes t possble to combne two or several communcatng tasks nto a new task.thenewtaskwllconsumeafractonofthe CPUequaltothesumoftheutlzatonoftheconsttutng tasks. The new task wll have a predctable / pattern, and, hence, also predctable control performance. Control tasks may thus be treated as realtme components, whch can be combned nto new components. n the end, we beleve that the model wll be a sutable platform for adaptaton to varyng task sets and CPU loads,.e., feedback schedulng. As new control tasks are actvated or old controllers change mode, the computng resources should be redstrbuted to provde optmal control performance fortheoverallsystem.thstopcwllbetreatedn subsequent papers..2 Related Work Gotto [Henznger et al., 200] s an abstract programmng model for the mplementaton of embedded control systems. Smlar to our model, / and communcaton are tme trggered and assumed to take zero tme, whle the computatons nbetween are assumed to be scheduled n real tme. A serous drawbackwththemodelsthatamnmumofone sample nput output latency s ntroduced n all control loops. Also, Gotto does not address the schedulng problem. Wthn the Ptolemy project, a computatonal doman called Tmed Multtaskng (TM) has been developed [LuandLee,2003].nthemodel,tasks (or actors n the termnology of Ptolemy) may be trggered by both perodc and aperodc events. nputs arereadwhenthetaskstrggeredandoutputsare wrtten at the specfed task deadlne. The computatons nbetween are assumed to be scheduled by a fxed prorty dspatcher. n the case of a deadlne overrun, an overrun handler may be called. Agan, the schedulng problem s not explctly addressed by the model. The Constant Bandwdth Server [Aben and Buttazzo, 998] was orgnally proposed as a means to bound the utlzaton of soft real tme tasks wth varyng or unknown computatonal demands. A varant calledcbs hd was ntroduced to schedulecontrol tasks wth varyng executon tmes n [Caccamo etal.,2000b].thedeawastoextendthesamplng perod of the controller by addng small chunks of budgettothetaskntheeventofanoverrun.the problems of / jtter and latency were not consdered, however. The dea of reducng jtter usng dedcated, hghprorty tasks or nterrupts handlers for nput and output operatons has been proposed many tmes before, e.g., [Locke, 992; Klen et al., 993; Cervn, 999; Albertos et al., 2000]..3 utlne Therestofthspapersoutlnedasfollows.nthe next secton, the model s stated n more formal terms. Secton 3 deals wth the control and schedulng codesgn problem. Secton 4 dscusses the possblty of vewng control tasks as real tme components.themodelhasbeenmplementednarealtmekernelandthssreportednsecton5.the results of some experments on a control applcaton aregvennsecton6.fnally,secton7gvesthe conclusons and suggestons for future work. 2. TheModel The Control Server (CS) model assumes preemptve deadlne schedulng of tasks n a unprocessor system. To guarantee solaton, all tasks n the system
3 must belong to ether one of two categores: CS tasks, sutable for control loops and other perodc actvtes wth hgh demands for nput/output tmng accuracy. Tasks served by ordnary CBS servers, ncludng aperodc, soft, and non real tme tasks. 2. CSTasks ACStask τ sdescrbedby acpushareu, aperodt, areleaseoffset φ, a set of n segments S,S2,...,Sn of lengthsl,l2,...,ln suchthat n j= lj =T, a set of nputs (assocated wth physcal nputs or shared varables), and asetofoutputs (assocatedwthphyscal outputs or shared varables). AssocatedwtheachsegmentS j are asubsetofthetasknputs, j, acodefunctonf j,and asubsetofthetaskoutputs, j, Thesegmentscanbethoughtof asastatccyclc schedule for the readng of nputs, the wrtng of outputs,andthereleaseofjobs.atthebegnnngofa segments j,.e.,whent = φ + j k= lk (modt ),the nputs j arereadandajobexecutngf j s released. Attheendofthesegment,.e.,whent= φ + j k= lk (modt ),theoutputs j arewrtten. ThejobsproducedbyaCStask τ areservedona frst come, frst served bass by a dedcated, slghtly modfed CBS wth the followng attrbutes: aserverbandwdthequaltothecpushareu, adynamcdeadlned, aserverbudgetc,and asegmentcounterm. Theserversntalzedwthc =m =0andd = φ. The rules for updatng the server are as follows: Durngtheexecutonofajob,thebudgetc s decreased at unt rate. f,atanytme,c =0,or,fanewjobarrves attmerandd =r,then thecountersupdated,m :=mod(m,n ) +, thedeadlnesmoved,d :=d +l m,and thebudgetsrechargedtoc :=U l m. Segments Job executon CBS budget 2 S S 2 S S 2 f f 2 f f t Fgure ExampleofaCStaskexecutngalone.Theup arrows ndcate job releases and the down arrows ndcate deadlnes.theoverrunatt=7causesthedeadlnetobe postponedtotheendofthenextsegment. The rules are somewhat smplfed compared to the orgnal CBS rules [Aben and Buttazzo, 998] due to the predctable pattern of release tmes and deadlnes. The only real dfference from an ordnary CBSsthatherea dynamcserverperod,equalto thecurrentsegmentlength,l m,sused. Fgure shows an example of a CS task wth two segments executng alone. Ths s a typcal model of a control algorthm, whch has been splt nto two parts: Calculate utput and Update State. The lengths of the segments are 2 and 4 unts respectvely,andthetaskcpushares U = 0.5. At thebegnnngofthefrstsegment,annputs read,andattheendofthefrstsegment,anoutput swrtten.thetwofrstjobsconsumelessthanther budgets (whch are and 2 unts respectvely), whle thethrdjobhasanoverrunattme7.thscauses the deadlne to be moved to the end of the next segmentandthebudgettoberechargedto2unts (hence borrowng budget from the fourth job). n ths example, the latency s constant and equal to 2unts (thelengthofthefrstsegment)desptethe varaton n the job executon tmes. Note that CS rules allow for budget rechargng across the task perod. The server deadlne of a task that has constant overruns wll be postponed repeatedly and eventually approach nfnty. 2.2 Communcaton and Synchronzaton The communcaton between tasks and the envronment requres some amount of bufferng. When an nputsreadatthebegnnngofasegment,thevalue sstorednabuffer.thevaluenthebuffersthen read from user code usng a real tme prmtve. The read operaton s non blockng and non consumng,.e.,avaluewllalwaysbepresentnthebufferand the same value can be read several tmes. Smlarly, another real tme prmtve s used to wrte a new outputvalue.thevaluesstorednabufferands wrttentotheoutputattheendoftherelevantsegment. The wrte operaton s non blockng and any t t
4 old value n the buffer wll be overwrtten. Communcaton between tasks s handled va shared varables. f an nput s assocated wth a shared varable, the value of the varable s coped tothenputbufferatthebegnnngoftherelevant segment. Smlarly, f an output s assocated wth a shared varable, the value n the output buffer scoped tothesharedvarableattheendofthe relevant segment. f two tasks shouldwrte to thesame physcal output or shared varable at the same tme, the actual wrte order s undefned. More mportantly, fonetaskwrtestoasharedvarableandanother taskreadsfromthesamevarableatthesametme, the wrte operaton takes place frst. The offsets can hencebeusedtolneuptaskssuchthattheoutput from one task s mmedately read by another task, mnmzng the end to end latency. The use of buffers and non blockng read and wrte operatons allow tasks wth dfferent perods to communcate. The perods of two communcatng tasks need not be harmonc, even f ths makes most sense n typcal applcatons. However, for the kerneltobeabletoaccuratelydetermnefaread and wrte operaton really occurs smultaneously, theoffsets,perods,andsegmentlengthsofasetof communcatng tasks need to be nteger multples of a common tck sze. For ths purpose, communcatng tasks are gathered nto task groups. Ths s descrbed further n the mplementaton secton. 2.3 Schedulng Propertes Fromaschedulabltypontofvew,aCStaskwth thecpushareu sequvalenttoacbsserverwth thebandwdthu.bypostponngthedeadlnewhen the budget s exhausted, the loadng factor of the jobs servedbythecbscanneverexceedu.thesame argumentholdsforthemodfedcbsusednthecs model.asetofcbsandcstaskssthusschedulable fandonlyf U. () fthesegmentlengthsofacstask τ arechosen such that l j =Cj /U, (2) where C j denotes the worst case executon tme (WCET)ofthecodefunctonf j,overrunswllnever occur (.e., the budget wll never be exhausted before theendof thesegment),andalllatenceswllbe constant. For tasks wth large varaton n ther executon tme, t can sometmes be advantageous to assgn segment lengths that are shorter than those gvenbyeq. (2).Thsmeansthatsomedeadlnes wllbepostponedandthatthetaskmaynotalways produce a new output n tme, delayng the output oneormoreperods.anexampleofwhenthscan actually gve better control performance (for a gven valueofu )sgvenlater. 3. Control and Schedulng Codesgn The control and schedulng codesgn problem can benformallystatedasfollows:gvenasetofprocesses to be controlled and a computer wth lmted resources, desgn a set of controllers and schedule them as real tme tasks such that the overall control performance s optmzed. Wth dynamc schedulng algorthms such as EDF and RM, the general desgn problem s extremely dffcult due to the complex nteracton between task parameters, control parameters, schedulablty, and control performance. Wth our model, the lnk between the schedulng desgnandthecontroldesgnsthecpushareu. Schedulablty of a task set s smply determned by the total CPU utlzaton. The performance (or cost) J of a controller executng n a real tme system can roughly speakng be expressed as a functon of the samplng perod T, the nput output latency L,andthejtterj: J =J(T,L,j). (3) Assumng that the frst segment contans the Calculate utput part of the control algorthm, and that the segment lengths are chosen accordng to Eq. (2), executon under the Control Server mples T = l k = C k /U, L =l =C /U, j =0. (4) The only ndependent varable n the expressons above s U. The control performance can thus be expressedasafunctonofuonly: J =J(U). (5) Assumng a lnear controller, a lnear plant, and a quadratc cost functon, the performance of the controller for dfferent values of U can easly be computed usng, e.g., the Jtterbug toolbox [Lncoln and Cervn, 2002]. The elmnaton of the jtter has several advantages. Frst,t s easy to desgn a controller that compensates for a constant delay. Second, the performance degradaton assocated wth the jtter s removed. Thrd, t becomes possble to accurately predct the performance of the controller. The dsadvantage of elmnatng the jtter s that the latency may ncrease, and latency also has a negatve mpact on the control performance. ur model, however, allows a control algorthm to be splt ntosegments,andthscanbeusedtoreducethe latency. The mportance of ths feature s llustrated n the frst example below.
5 3. Example : mportance of Reducng Latency Consder optmal control of the ntegrator process dx(t) dt =u(t) +v c (t). (6) Here,xsthestate (whchshouldbecontrolledto zero),usthecontrolsgnal,andv c sacontnuoustme whte nose dsturbance wth zero mean and unt varance. A dscrete tme controller s desgned to mnmze the contnuous tme cost functon J =lm t t t 0 x 2 (s)ds. (7) Dvdng the control computatons nto two segments and choosng the segment lengths n proporton to WCET of theparts, thecontrol server model wll generate equdstant samplng wth the nterval T andaconstantlatencyl.thecostfortheoptmal, delay compensatng controller can be shown to be J(T,L) = T +L( 0.79T +L). (8) 6 (For detals, see [Cervn, 2003].) t can be noted that, nthscase,thecostgrowslnearlywthboththe samplng nterval and the latency. Furthermore, for afxedvalueof J (.e.,aspecfedlevelofperformance), T s determned by L. Ths mples that acontrollerwthashortlatencywllbelesscpudemandng than a controller wth a long latency. n Table, the relatve CPU demand of the ntegrator controller has been computed for dfferent values of therelatvelatencyl/t.thecasel/t =corresponds to a Lu and Layland mplementaton wth aonesampledelay.asthelatencysreduced (by, e.g., a sutable dvson of the control algorthm nto a Calculate utput segment and an Update State segment), the CPU demand of the controller can be decreased. Table Relatve CPU demand of the ntegrator controller for dfferent relatve latences (assumng a fxed level of control performance). L/T CPU demand Example 2: ptmal Perod Selecton n ths example we study the problem of optmal perod selecton for a set of control loops. Ths type of codesgn problem frst appeared n [Seto et al., 996]. n that paper, however, the schedulngnduced latency and jtter was gnored. Suppose for nstance that we want to control three dentcal ntegrator processes (6). The assumed desgngoalstoselectsamplngperodst,t 2,T 3 suchthataweghtedsumofthecostfunctons,e.g., J tot =J(T,L ) +2J(T 2,L 2 ) +3J(T 3,L 3 ), (9) s mnmzed subject to the utlzaton constrant U = C T + C T 2 + C T 3. (0) Here, C s the (constant) executon tme of the control algorthm. Dvdng the algorthm nto two segments, our model wll mply the same relatve latencya=l /T forallcontrollers.usng (8)the objectve functon (9) can be wrtten ( J tot = 6 ) +a (T +2T 2 +3T 3 ), () and the soluton to the optmzaton problem s T =b, T 2 =b/ 2, T 3 =b/ 3 (2) whereb =C( ). (Formoregeneralproblems numercal optmzaton must be performed.) Contraryto [Setoetal.,996] (wherermoredf schedulng s assumed), our model allows for the latency and the (non exstent) jtter to be accounted for n the optmzaton. 3.3 Example 3: Allowng verruns For controllers wth large varatons n ther executon tme, t can sometmes be pessmstc to select task perods (and segment lengths) accordng to thewcets.thentutonsthat,gvenataskcpu share,tmaybebettertosampleoftenandoccasonallymssanoutput,thantosampleseldomandalways produce an output. Wth our model, t becomes easy to predct the worst case effects (.e., assumng thattherestofthecpusfullyutlzed)ofsuchtask overruns. Agan consder the ntegrator controller. For smplcty, t s assumed that the controller s mplementedasasnglesegment,.e.,wehavel=tf no overrun occurs, and that the assgned CPU share su =.Nowassumethattheexecutontmeofthe controller s gven by the probablty densty functon nfgure2.choosngaperodlessthanthewcet meansthatsomeoutputswll bemssedandthat the actual latency wll vary randomly between T, 2T,3T,etc.,accordngtoaMarkovchan.Theresultng control performance for such a model can be computed usng the Jtterbug toolbox [Lncoln and
6 Probablty Densty Executon Tme Fgure 2 Assumed executon tme probablty densty functon of the ntegrator controller. Cost J Task perod T Fgure3 Costasafunctonofthetaskperodforthe ntegrator controller wth varyng executon tme. Cervn,2002].nFgure3thecost (7)hasbeencomputedfordfferentvaluesofthetaskperod.Theoptmalcost J =.67sobtanedforT =0.76.For thatperod,overrunswlloccurn9%oftheperods (ntroducng a latency of 2T or more). The example showsthatourmodelcanbeusedto cutthetal off executon tme dstrbutons wth safe and predctable results. 4. CS Tasks as Real Tme Components As argued n the prevous secton, gven a control algorthm wth known executon tme C (dvded nto one or several segments), the samplng perod T, the latency L, and the control performance J canbeexpressedasfunctonsofthecpushareu. The predctable control and schedulng propertes allowsacstasktobevewedasascalablereal tme component. Consder for nstance the PD (proportonalntegral dervatve) controller component n Fgure 4. The controller has two nputs: the reference valuerandthemeasurementsgnaly,andoneoutput:thecontrolsgnalu.theuknobdetermnesthe CPU share. An ordnary software component would only specfy the functonal behavor,.e., the PD algorthm. The specfcaton for our real tme component ncludes the resource usage and the tmely behavor and could for nstance look lke ths: Algorthm:u=K (r y) +... Parameters:U,K,... C =ms (onagvenprocessor) T =C/U L =T/4 J =J(U) (gvenasfunctonordagram) Also remember that our model guarantees that the controller wll have the specfed behavor, regardless ofothertasksnthesystem. Next, consder the composton of two PD controllers n a cascaded controller structure, see Fgure5.nthsverycommonstructure,thennercontroller s responsble for controllng the (typcally) fastprocessdynamcsg 2,whletheoutercontroller handles theslower dynamcs G. A cascadedcontroller component can be bult from two PD componentsasshownnfgure6.nthscase,tsassumed that the nner controller should have twce the samplng frequency of the outer controller (reflectng the speed of the processes). Ths s acheved byassgnngthesharesu/3topdand2u/3to PD2,UbengtheCPUshareofthecompostecontroller. The end to end latency n the controller can be mnmzed by a sutable segment layout, see Fgure7. The schedulablty and performance of the cascaded controller wll, agan, only depend on the totalassgnedcpushareu.thecontrollerwllhave a predctable nput output pattern, and ts performance can be computed usng the Jtterbug toolbox [Lncoln and Cervn, 2002; Cervn, 2003]. Note that such composton s not possble wth ordnary threads,.e., two communcatng threads cannot be treated as one, nether from schedulablty nor control perspectves. 5. mplementaton ThetaskmodelhasbeenmplementedntheSTRK real tme kernel [Andersson and Blomdell, 99], developed at the Department of Automatc Control, Lund nsttute of Technology. The orgnal kernel s a standard prorty preemptve real tme kernel wrtten n Modula 2, runnng on multple platforms. r y U PD Fgure 4 A PD controller component. The U knob determnes both the schedulablty and the control performance. u
7 Computer Process Ctrl Ctrl2 G 2 G Tmer expry: Tme handler: (*)(vod) EDFTask release: Tme deadlne: Tme process: (*)(vod)..* r y y 2 Fgure 5 Cascaded controller structure. r y U/3 PD u U m CascPD r y 2U/3 PD2 Fgure 6 A cascaded PD controller component. For ths project, the Motorola PowerPC was chosen becauseoftshghclockresoluton (40nsona00 MHz processor). ThekernelwasmodfedtouseEDFasthebasc schedulng polcy, and hgh resoluton tmers (hardware clock nterrupts that trgger user defned handlers) were ntroduced. A number of data structures for CBS servers, CS tasks, segments, nputs, and outputs, etc., were ntroduced, see Fgure 8. For synchronzaton reasons, communcatng CS tasks must shareacommontmebaseandaregatheredntask groups. 5. Task Group Tmng Eachtaskgroupusesatmertotrggerthereadng of nputs, wrtng of outputs, and release of segments oftaskswthnthegroup.thestructureofthetask group tmer nterrupt handler s shown n Lstng. The average executon tme of the handler was about 5 µs n the mplementaton. AssocatedwtheachCStasksasemaphorethat susedtohandlethereleaseofthesegmentjobs. nternally, every CS task s mplemented as a smple loop, see Lstng 2. τ τ 2 0 S S 2 S S 2 φ 2 S2 S2 2 S2 S2 2 S2 S2 2 S2 Fgure 7 Segment layout n the cascaded PD controller.task τ 2 sgvenaphase φ 2 = l suchthatthe valuewrttenbys smmedatelyreadbys 2. u u TaskGroup tcksze: Duraton SharedVarn data: vod* sze: nt CSTask..* offset: nt codefcn: (*)(nt, vod*) currentsegment: nt Analogut channel: nt value: double 0.. CBS bandwdth: double deadlne: Tme budget: Duraton perod: Duraton..* 0..* 0..* Segment nput utput length: nt nputs: nt[] outputs: nt[] Analogn channel: nt value: double SharedVarut data: vod* sze: nt Fgure 8 The varous data structures n the mplementaton. Lstng Pseudocode of task group tmng. for (each task n the task group) { f (current segment s fnshed) { Wrte outputs (f any); ncrease segment counter; } } for (each task n the task group) { f (new segment should begn) { Read nputs (f any); Release segment job (sgnal semaphore); } } Determne next wakeup tme; Set up tmer; 5.2 AP The kernel provdes a number of prmtves for defnng task groups, EDF tasks, CS tasks, etc. The codeofacstaskswrttenaccordngtoaspecal format llustrated wth a PD controller n Lstng 3. The kernel prmtves Readnput and Wrteutput are used to access the nputs and outputs assocated wth the segment. Lstng 2 nternal mplementaton of CS task. whle (true) { ncrease segment counter; Wat on semaphore; Call codefcn(segment,data); }
8 Lstng 3 PD controller wrtten n Modula 2. PRCEDURE PDTask(segment: CARDNAL; data: PDData); VAR r, y, u: LNGREAL; BEGN CASE segment F : r := Readnput(); y := Readnput(2); u := PD.Calculateutput(data, r, y); Wrteutput(, u); 2: PD.UpdateState(data); END; END PDTask; (a) (b) Poston Dst Ctrl Tme Tme Fgure 0 Control experment under EDF schedulng: (a) control performance, and (b) close up of executon traceatt =20. (a) Poston Tme Fgure 9 The ball and beam process. (b) Dst 6. Control Experments Some control experments were performed on the ball and beam process, see Fgure 9. The objectve stomovetheballtoagvenpostononthebeam. Thenputtotheprocesssthebeammotorvoltage, and the outputs are voltages representng the beam angle and the ball poston. The process s regulated wth a cascaded PD controller, mplemented as a sngle task (n order to keep the example smple). The controller s desgned wth the samplng nterval T =40msandhastheexecutontmeC =20ms, thusconsumngu =0.5oftheCPU. (Togenerate ahghcpuload,busycycleswerensertednthe task code). The code s dvded nto two segments: Calculate utput (5 ms) and Update State (5 ms). Alsoexecutngnthesystemsasporadctask wth amnmumnterarrvaltmeof T 2 = 20ms andanassumedwcetofc 2 =0ms.Betweentme 0 and 20, the actual executon tme vares randomly between5and0ms.attmet=20,thedsturbance task starts to msbehave and has an executon tme thatvaresrandomlybetween5and50ms. The behavor of the real tme control system under ordnary EDF schedulng and under CS schedulng was compared n dfferent experments. n each experment, the executon trace (.e, the task schedule) was logged, together wth the measurements from the process. Ctrl Tme Fgure Control experment under CS schedulng: (a) control performance, and (b) close up of executon trace att =20. The result of a control experment under EDF schedulng s shown n Fgure 0. The performance ssatsfactoryuptot =20,whenthesporadctask starts to consume a large part of the CPU tme, whch dsturbs the control task. n a second experment, runnng the tasks under CS schedulng, both tasks were assgned a CPU share of 50%. The expermental results are shown n Fgure. The controller executon s no longer dsturbed by the msbehavng sporadc task, and (not vsble n the trace) there s no longer any / jtter. The control performance s dentcal both before and aftertmet = Concluson We have presented the Control Server, sutable for the mplementaton of control tasks n flexble realtme systems. Features of the model nclude small latency and jtter, and solaton between unrelated
9 tasks. The present work may be extended n several drectons. The CBS servers used could be modfed to use a slack stealng algorthm such as CASH [Caccamo et al., 2000a] or GRUB [Lpar and Baruah, 2000]. Ths could mprove the performance further when the system s under utlzed. We do not account for the nterrupt tme (ncludng the / operaton) n the schedulng analyss. Possbltes for more detaled analyss are found n [Lu and Layland, 973] ( mxed schedulng ) and n [Jeffay and Stone, 993]. Another topc that needs further nvestgaton s the overrun handlng. How should a controller be desgned n order to cope wth postponed outputs? Should segments sometmes be aborted? Also, we would lke to explot the codesgn propertes of the model n feedback schedulng applcatons where the goal s to dynamcally dstrbute the avalable computng resources such that the overall control performance s optmzed. n our prevous work [Cervnetal.,2002]weddnotaccountforthelatency and the jtter n the on lne optmzaton. References Aben, L. and G. Buttazzo (998): ntegratng multmeda applcatons n hard real tme systems. n Proc. 9th EEE Real Tme Systems Symposum. Madrd, Span. Albertos, P., A. Crespo,. Rpoll, M. Vallés, and P. Balbastre (2000): RT control schedulng to reduce control performance degradng. n Proc. 39th EEE Conference on Decson and Control. Sydney, Australa. Andersson, L. and A. Blomdell (99): A real tme programmng envronment and a real tme kernel. n Asplund, Ed., Natonal Swedsh Symposum on Real Tme Systems, Techncal Report No Dept. of Computer Systems, Uppsala Unversty, Uppsala, Sweden. Åström, K. J. and B. Wttenmark (997): Computer Controlled Systems. Prentce Hall. Audsley, N., K. Tndell, and A. Burns (993): The end of the lne for statc cyclc schedulng. n Proc. 5th Euromcro Workshop on Real Tme Systems. Caccamo, M., G. Buttazzo, and L. Sha (2000a): Capacty sharng for overrun control. n Proc. EEE Real Tme Systems Symposum. rlando, Florda. Caccamo, M., G. Buttazzo, and L. Sha (2000b): Elastc feedback control. n Proc. 2th Euromcro Conference on Real Tme Systems, pp Stockholm, Sweden. Cervn, A. (999): mproved schedulng of control tasks. n Proceedngs of the th Euromcro Conference on Real Tme Systems, pp York, UK. Cervn, A. (2003): ntegrated Control and Real Tme Schedulng. PhD thess SRN LUTFD2/TFRT 065 SE, Department of Automatc Control, Lund nsttute of Technology, Sweden. Cervn, A., J. Eker, B. Bernhardsson, and K. E. Årzén (2002): Feedback feedforward schedulng of control tasks. Real Tme Systems, 23:. Henznger, T. A., B. Horowtz, and C. M. Krsch (200): Gotto: A tme trggered language for embedded programmng. n Proc. Frst nternatonal Workshop on Embedded Software. Jeffay, K. and S. Goddard (200): Rate based resource allocaton models for embedded systems. n Proc. Frst nternatonal Workshop on Embedded Software. Jeffay, K. and D. L. Stone (993): Accountng for nterrupt handlng costs n dynamc prorty systems. n Proc. 4th EEE Real Tme Systems Symposum. Klen, M. H., T. Ralya, B. Pollak, R. benza, and M. Gonzalez Härbour (993): A Practtoner s Handbook for Real Tme Analyss: Gude to Rate Monotonc Analyss for Real Tme Systems. Kluwer Academc Publsher. Lncoln, B. and A. Cervn (2002): Jtterbug: A tool for analyss of real tme control performance. n Proceedngs of the 4st EEE Conference on Decson and Control. Las Vegas, NV. Lpar, G. and S. Baruah (2000): Greedy reclamaton of unused bandwdth n constant bandwdth servers. n Proc. Euromcro Conference on Real Tme Systems. Stockholm, Sweden. Lu, C. L. andj. W.Layland (973): Schedulng algorthms for multprogrammng n a hard realtme envronment. Journal of the ACM, 20:, pp Lu, J. and E. Lee (2003): Tmed multtaskng for real tme embedded software. EEE Control Systems Magazne, 23:. Locke, C. D. (992): Software archtecture for hard real tme applcatons: Cyclc vs. fxed prorty executves. Real Tme Systems, 4, pp Parekh, A. and R. Gallager (993): A generalzed processor sharng approach to flow control n ntegrated servces networks: the sngle node case. EEE/ACM Transactons on Networkng, :3, pp
10 Redell,. and M. Sanfrdson (2002): Exact bestcase response tme analyss of fxed prorty scheduled tasks. n Proc. 4th Euromcro Conference on Real Tme Systems. Venna, Austra. Seto, D., J. P. Lehoczky, L. Sha, and K. G. Shn (996): n task schedulablty n real tme control systems. n Proc. 7th EEE Real Tme Systems Symposum, pp Washngton, DC.
AADL : about scheduling analysis
AADL : about schedulng analyss Schedulng analyss, what s t? Embedded real-tme crtcal systems have temporal constrants to meet (e.g. deadlne). Many systems are bult wth operatng systems provdng multtaskng
More informationAn Investigation into Server Parameter Selection for Hierarchical Fixed Priority Pre-emptive Systems
An Investgaton nto Server Parameter Selecton for Herarchcal Fxed Prorty Pre-emptve Systems R.I. Davs and A. Burns Real-Tme Systems Research Group, Department of omputer Scence, Unversty of York, YO10 5DD,
More informationAdaptive Resource Allocation Control with On-Line Search for Fair QoS Level
Adaptve Resource Allocaton Control wth On-Lne Search for Far QoS Level Fumko Harada, Toshmtsu Usho, Graduate School of Engneerng Scence Osaka Unversty {harada@hopf, usho@}sysesosaka-uacjp Yukkazu akamoto
More informationReal-time Scheduling
Real-tme Schedulng COE718: Embedded System Desgn http://www.ee.ryerson.ca/~courses/coe718/ Dr. Gul N. Khan http://www.ee.ryerson.ca/~gnkhan Electrcal and Computer Engneerng Ryerson Unversty Overvew RTX
More informationParallelism for Nested Loops with Non-uniform and Flow Dependences
Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr
More informationVerification by testing
Real-Tme Systems Specfcaton Implementaton System models Executon-tme analyss Verfcaton Verfcaton by testng Dad? How do they know how much weght a brdge can handle? They drve bgger and bgger trucks over
More informationMaintaining temporal validity of real-time data on non-continuously executing resources
Mantanng temporal valdty of real-tme data on non-contnuously executng resources Tan Ba, Hong Lu and Juan Yang Hunan Insttute of Scence and Technology, College of Computer Scence, 44, Yueyang, Chna Wuhan
More informationReal-Time Systems. Real-Time Systems. Verification by testing. Verification by testing
EDA222/DIT161 Real-Tme Systems, Chalmers/GU, 2014/2015 Lecture #8 Real-Tme Systems Real-Tme Systems Lecture #8 Specfcaton Professor Jan Jonsson Implementaton System models Executon-tme analyss Department
More informationLecture 7 Real Time Task Scheduling. Forrest Brewer
Lecture 7 Real Tme Task Schedulng Forrest Brewer Real Tme ANSI defnes real tme as A Real tme process s a process whch delvers the results of processng n a gven tme span A data may requre processng at a
More informationSimulation Based Analysis of FAST TCP using OMNET++
Smulaton Based Analyss of FAST TCP usng OMNET++ Umar ul Hassan 04030038@lums.edu.pk Md Term Report CS678 Topcs n Internet Research Sprng, 2006 Introducton Internet traffc s doublng roughly every 3 months
More informationParallel matrix-vector multiplication
Appendx A Parallel matrx-vector multplcaton The reduced transton matrx of the three-dmensonal cage model for gel electrophoress, descrbed n secton 3.2, becomes excessvely large for polymer lengths more
More informationThe Codesign Challenge
ECE 4530 Codesgn Challenge Fall 2007 Hardware/Software Codesgn The Codesgn Challenge Objectves In the codesgn challenge, your task s to accelerate a gven software reference mplementaton as fast as possble.
More informationCompiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz
Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster
More informationMultitasking and Real-time Scheduling
Multtaskng and Real-tme Schedulng EE8205: Embedded Computer Systems http://www.ee.ryerson.ca/~courses/ee8205/ Dr. Gul N. Khan http://www.ee.ryerson.ca/~gnkhan Electrcal and Computer Engneerng Ryerson Unversty
More informationWishing you all a Total Quality New Year!
Total Qualty Management and Sx Sgma Post Graduate Program 214-15 Sesson 4 Vnay Kumar Kalakband Assstant Professor Operatons & Systems Area 1 Wshng you all a Total Qualty New Year! Hope you acheve Sx sgma
More informationSupport Vector Machines
/9/207 MIST.6060 Busness Intellgence and Data Mnng What are Support Vector Machnes? Support Vector Machnes Support Vector Machnes (SVMs) are supervsed learnng technques that analyze data and recognze patterns.
More informationComplex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.
Complex Numbers The last topc n ths secton s not really related to most of what we ve done n ths chapter, although t s somewhat related to the radcals secton as we wll see. We also won t need the materal
More informationMixed-Criticality Scheduling on Multiprocessors using Task Grouping
Mxed-Crtcalty Schedulng on Multprocessors usng Task Groupng Jankang Ren Lnh Th Xuan Phan School of Software Technology, Dalan Unversty of Technology, Chna Computer and Informaton Scence Department, Unversty
More informationA Binarization Algorithm specialized on Document Images and Photos
A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a
More informationLecture 5: Multilayer Perceptrons
Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented
More informationVirtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory
Background EECS. Operatng System Fundamentals No. Vrtual Memory Prof. Hu Jang Department of Electrcal Engneerng and Computer Scence, York Unversty Memory-management methods normally requres the entre process
More informationELEC 377 Operating Systems. Week 6 Class 3
ELEC 377 Operatng Systems Week 6 Class 3 Last Class Memory Management Memory Pagng Pagng Structure ELEC 377 Operatng Systems Today Pagng Szes Vrtual Memory Concept Demand Pagng ELEC 377 Operatng Systems
More informationA comparison of MPCP and MSRP when sharing resources in the Janus multiple-processor on a chip platform
A comparson of MPCP and MSRP when sharng resources n the Janus multple-processor on a chp platform Paolo Ga, Marco D Natale, Guseppe Lpar, Scuola Superore Sant Anna, Psa, Italy {pj,marco,lpar}@sssup.t
More informationA mathematical programming approach to the analysis, design and scheduling of offshore oilfields
17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 A mathematcal programmng approach to the analyss, desgn and
More informationCache Performance 3/28/17. Agenda. Cache Abstraction and Metrics. Direct-Mapped Cache: Placement and Access
Agenda Cache Performance Samra Khan March 28, 217 Revew from last lecture Cache access Assocatvty Replacement Cache Performance Cache Abstracton and Metrcs Address Tag Store (s the address n the cache?
More informationCHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION
24 CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION The present chapter proposes an IPSO approach for multprocessor task schedulng problem wth two classfcatons, namely, statc ndependent tasks and
More informationA Fast Content-Based Multimedia Retrieval Technique Using Compressed Data
A Fast Content-Based Multmeda Retreval Technque Usng Compressed Data Borko Furht and Pornvt Saksobhavvat NSF Multmeda Laboratory Florda Atlantc Unversty, Boca Raton, Florda 3343 ABSTRACT In ths paper,
More informationMathematics 256 a course in differential equations for engineering students
Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the
More information3. CR parameters and Multi-Objective Fitness Function
3 CR parameters and Mult-objectve Ftness Functon 41 3. CR parameters and Mult-Objectve Ftness Functon 3.1. Introducton Cogntve rados dynamcally confgure the wreless communcaton system, whch takes beneft
More informationA MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS
Proceedngs of the Wnter Smulaton Conference M E Kuhl, N M Steger, F B Armstrong, and J A Jones, eds A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Mark W Brantley Chun-Hung
More informationSpace-Optimal, Wait-Free Real-Time Synchronization
1 Space-Optmal, Wat-Free Real-Tme Synchronzaton Hyeonjoong Cho, Bnoy Ravndran ECE Dept., Vrgna Tech Blacksburg, VA 24061, USA {hjcho,bnoy}@vt.edu E. Douglas Jensen The MITRE Corporaton Bedford, MA 01730,
More informationSmoothing Spline ANOVA for variable screening
Smoothng Splne ANOVA for varable screenng a useful tool for metamodels tranng and mult-objectve optmzaton L. Rcco, E. Rgon, A. Turco Outlne RSM Introducton Possble couplng Test case MOO MOO wth Game Theory
More information2x x l. Module 3: Element Properties Lecture 4: Lagrange and Serendipity Elements
Module 3: Element Propertes Lecture : Lagrange and Serendpty Elements 5 In last lecture note, the nterpolaton functons are derved on the bass of assumed polynomal from Pascal s trangle for the fled varable.
More informationDistributed Resource Scheduling in Grid Computing Using Fuzzy Approach
Dstrbuted Resource Schedulng n Grd Computng Usng Fuzzy Approach Shahram Amn, Mohammad Ahmad Computer Engneerng Department Islamc Azad Unversty branch Mahallat, Iran Islamc Azad Unversty branch khomen,
More informationAn Iterative Solution Approach to Process Plant Layout using Mixed Integer Optimisation
17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 An Iteratve Soluton Approach to Process Plant Layout usng Mxed
More informationLoad-Balanced Anycast Routing
Load-Balanced Anycast Routng Chng-Yu Ln, Jung-Hua Lo, and Sy-Yen Kuo Department of Electrcal Engneerng atonal Tawan Unversty, Tape, Tawan sykuo@cc.ee.ntu.edu.tw Abstract For fault-tolerance and load-balance
More informationScheduling. In general, a scheduling scheme provides two features: An algorithm for ordering the use of system resources (in particular the CPUs)
Schedulng Goal To understand the role that schedulng and schedulablty analyss plays n predctng that real-tme applcatons meet ther deadlnes Topcs Smple process model The cyclc executve approach Process-based
More informationPolyhedral Compilation Foundations
Polyhedral Complaton Foundatons Lous-Noël Pouchet pouchet@cse.oho-state.edu Dept. of Computer Scence and Engneerng, the Oho State Unversty Feb 8, 200 888., Class # Introducton: Polyhedral Complaton Foundatons
More informationCMPS 10 Introduction to Computer Science Lecture Notes
CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not
More informationResource and Virtual Function Status Monitoring in Network Function Virtualization Environment
Journal of Physcs: Conference Seres PAPER OPEN ACCESS Resource and Vrtual Functon Status Montorng n Network Functon Vrtualzaton Envronment To cte ths artcle: MS Ha et al 2018 J. Phys.: Conf. Ser. 1087
More informationRAP. Speed/RAP/CODA. Real-time Systems. Modeling the sensor networks. Real-time Systems. Modeling the sensor networks. Real-time systems:
Speed/RAP/CODA Presented by Octav Chpara Real-tme Systems Many wreless sensor network applcatons requre real-tme support Survellance and trackng Border patrol Fre fghtng Real-tme systems: Hard real-tme:
More informationResponse-Time Guarantees in ATM Networks
Response-Tme Guarantees n ATM Networks Andreas Ermedahl Hans Hansson Mkael Sjödn Department of Computer Systems Uppsala Unversty Sweden E-mal: febbe,hansh,mcg@docs.uu.se Abstract We present a method for
More informationClassification / Regression Support Vector Machines
Classfcaton / Regresson Support Vector Machnes Jeff Howbert Introducton to Machne Learnng Wnter 04 Topcs SVM classfers for lnearly separable classes SVM classfers for non-lnearly separable classes SVM
More informationTolerating Transient Faults in Statically Scheduled Safety-Critical Embedded Systems
Toleratng Transent Faults n Statcally Scheduled Safety-Crtcal Embedded Systems Nagaraan Kandasamy *, John P. Hayes *, and Bran T. Murray ** * Department of Electrcal Engneerng ** Delph Automotve Systems
More informationARTICLE IN PRESS. Signal Processing: Image Communication
Sgnal Processng: Image Communcaton 23 (2008) 754 768 Contents lsts avalable at ScenceDrect Sgnal Processng: Image Communcaton journal homepage: www.elsever.com/locate/mage Dstrbuted meda rate allocaton
More informationAnalysis of Collaborative Distributed Admission Control in x Networks
1 Analyss of Collaboratve Dstrbuted Admsson Control n 82.11x Networks Thnh Nguyen, Member, IEEE, Ken Nguyen, Member, IEEE, Lnha He, Member, IEEE, Abstract Wth the recent surge of wreless home networks,
More informationA Generic and Compositional Framework for Multicore Response Time Analysis
A Generc and Compostonal Framework for Multcore Response Tme Analyss Sebastan Altmeyer Unversty of Luxembourg Unversty of Amsterdam Clare Maza Grenoble INP Vermag Robert I. Davs Unversty of York INRIA,
More informationS1 Note. Basis functions.
S1 Note. Bass functons. Contents Types of bass functons...1 The Fourer bass...2 B-splne bass...3 Power and type I error rates wth dfferent numbers of bass functons...4 Table S1. Smulaton results of type
More informationConfiguration Management in Multi-Context Reconfigurable Systems for Simultaneous Performance and Power Optimizations*
Confguraton Management n Mult-Context Reconfgurable Systems for Smultaneous Performance and Power Optmzatons* Rafael Maestre, Mlagros Fernandez Departamento de Arqutectura de Computadores y Automátca Unversdad
More informationBurst Round Robin as a Proportional-Share Scheduling Algorithm
Burst Round Robn as a Proportonal-Share Schedulng Algorthm Tarek Helmy * Abdelkader Dekdouk ** * College of Computer Scence & Engneerng, Kng Fahd Unversty of Petroleum and Mnerals, Dhahran 31261, Saud
More informationOptimal Workload-based Weighted Wavelet Synopses
Optmal Workload-based Weghted Wavelet Synopses Yoss Matas School of Computer Scence Tel Avv Unversty Tel Avv 69978, Israel matas@tau.ac.l Danel Urel School of Computer Scence Tel Avv Unversty Tel Avv 69978,
More informationAssembler. Building a Modern Computer From First Principles.
Assembler Buldng a Modern Computer From Frst Prncples www.nand2tetrs.org Elements of Computng Systems, Nsan & Schocken, MIT Press, www.nand2tetrs.org, Chapter 6: Assembler slde Where we are at: Human Thought
More informationStorage Binding in RTL synthesis
Storage Bndng n RTL synthess Pe Zhang Danel D. Gajsk Techncal Report ICS-0-37 August 0th, 200 Center for Embedded Computer Systems Department of Informaton and Computer Scence Unersty of Calforna, Irne
More informationVideo Proxy System for a Large-scale VOD System (DINA)
Vdeo Proxy System for a Large-scale VOD System (DINA) KWUN-CHUNG CHAN #, KWOK-WAI CHEUNG *# #Department of Informaton Engneerng *Centre of Innovaton and Technology The Chnese Unversty of Hong Kong SHATIN,
More informationMultitasking and Real-time Scheduling
Multtaskng and Real-tme Schedulng EE8205: Embedded Computer Systems http://www.ee.ryerson.ca/~courses/ee8205/ Dr. Gul N. Khan http://www.ee.ryerson.ca/~gnkhan Electrcal and Computer Engneerng Ryerson Unversty
More informationR s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes
SPH3UW Unt 7.3 Sphercal Concave Mrrors Page 1 of 1 Notes Physcs Tool box Concave Mrror If the reflectng surface takes place on the nner surface of the sphercal shape so that the centre of the mrror bulges
More informationA Frame Packing Mechanism Using PDO Communication Service within CANopen
28 A Frame Packng Mechansm Usng PDO Communcaton Servce wthn CANopen Mnkoo Kang and Kejn Park Dvson of Industral & Informaton Systems Engneerng, Ajou Unversty, Suwon, Gyeongg-do, South Korea Summary The
More informationDESIGNING TRANSMISSION SCHEDULES FOR WIRELESS AD HOC NETWORKS TO MAXIMIZE NETWORK THROUGHPUT
DESIGNING TRANSMISSION SCHEDULES FOR WIRELESS AD HOC NETWORKS TO MAXIMIZE NETWORK THROUGHPUT Bran J. Wolf, Joseph L. Hammond, and Harlan B. Russell Dept. of Electrcal and Computer Engneerng, Clemson Unversty,
More informationAn Optimal Algorithm for Prufer Codes *
J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,
More informationA Predictable Execution Model for COTS-based Embedded Systems
2011 17th IEEE Real-Tme and Embedded Technology and Applcatons Symposum A Predctable Executon Model for COTS-based Embedded Systems Rodolfo Pellzzon, Emlano Bett, Stanley Bak, Gang Yao, John Crswell, Marco
More informationAssignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.
Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton
More informationSome material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from Hennessy & Patterson / 2003 Elsevier
Some materal adapted from Mohamed Youns, UMBC CMSC 611 Spr 2003 course sldes Some materal adapted from Hennessy & Patterson / 2003 Elsever Scence Performance = 1 Executon tme Speedup = Performance (B)
More informationMachine Learning: Algorithms and Applications
14/05/1 Machne Learnng: Algorthms and Applcatons Florano Zn Free Unversty of Bozen-Bolzano Faculty of Computer Scence Academc Year 011-01 Lecture 10: 14 May 01 Unsupervsed Learnng cont Sldes courtesy of
More informationPerformance Evaluation of Information Retrieval Systems
Why System Evaluaton? Performance Evaluaton of Informaton Retreval Systems Many sldes n ths secton are adapted from Prof. Joydeep Ghosh (UT ECE) who n turn adapted them from Prof. Dk Lee (Unv. of Scence
More informationPetri Net Based Software Dependability Engineering
Proc. RELECTRONIC 95, Budapest, pp. 181-186; October 1995 Petr Net Based Software Dependablty Engneerng Monka Hener Brandenburg Unversty of Technology Cottbus Computer Scence Insttute Postbox 101344 D-03013
More informationFast Retransmission of Real-Time Traffic in HIPERLAN/2 Systems
Fast Retransmsson of Real-Tme Traffc n HIPERLAN/ Systems José A Afonso and Joaqum E Neves Department of Industral Electroncs Unversty of Mnho, Campus de Azurém 4800-058 Gumarães, Portugal {joseafonso,
More informationCS 268: Lecture 8 Router Support for Congestion Control
CS 268: Lecture 8 Router Support for Congeston Control Ion Stoca Computer Scence Dvson Department of Electrcal Engneerng and Computer Scences Unversty of Calforna, Berkeley Berkeley, CA 9472-1776 Router
More informationLecture 5: Probability Distributions. Random Variables
Lecture 5: Probablty Dstrbutons Random Varables Probablty Dstrbutons Dscrete Random Varables Contnuous Random Varables and ther Dstrbutons Dscrete Jont Dstrbutons Contnuous Jont Dstrbutons Independent
More informationUser Authentication Based On Behavioral Mouse Dynamics Biometrics
User Authentcaton Based On Behavoral Mouse Dynamcs Bometrcs Chee-Hyung Yoon Danel Donghyun Km Department of Computer Scence Department of Computer Scence Stanford Unversty Stanford Unversty Stanford, CA
More informationBrave New World Pseudocode Reference
Brave New World Pseudocode Reference Pseudocode s a way to descrbe how to accomplsh tasks usng basc steps lke those a computer mght perform. In ths week s lab, you'll see how a form of pseudocode can be
More informationSome Advanced SPC Tools 1. Cumulative Sum Control (Cusum) Chart For the data shown in Table 9-1, the x chart can be generated.
Some Advanced SP Tools 1. umulatve Sum ontrol (usum) hart For the data shown n Table 9-1, the x chart can be generated. However, the shft taken place at sample #21 s not apparent. 92 For ths set samples,
More informationPrivate Information Retrieval (PIR)
2 Levente Buttyán Problem formulaton Alce wants to obtan nformaton from a database, but she does not want the database to learn whch nformaton she wanted e.g., Alce s an nvestor queryng a stock-market
More informationA Novel Fault Tolerant Scheduling Technique In Real-Time Heterogeneous Distributed Systems Using Distributed Recovery Block
Proceedngs of Natonal Conference VISION 07 on Hgh Performance Computng 2 nd Aprl 07 Government College of Engneerng, Department of CSE, Trunelvel, Taml Nadu, INDIA A Novel Fault Tolerant Schedulng Technque
More informationDesign and implementation of priority and timewindow based traffic scheduling and routingspectrum allocation mechanism in elastic optical networks
Journal of Physcs: Conference Seres PAPER OPEN ACCESS Desgn and mplementaton of prorty and tmewndow based traffc schedulng and routngspectrum allocaton mechansm n elastc optcal networks To cte ths artcle:
More informationCluster Analysis of Electrical Behavior
Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School
More information6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour
6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the
More informationA QoS-aware Scheduling Scheme for Software-Defined Storage Oriented iscsi Target
A QoS-aware Schedulng Scheme for Software-Defned Storage Orented SCSI Target Xanghu Meng 1,2, Xuewen Zeng 1, Xao Chen 1, Xaozhou Ye 1,* 1 Natonal Network New Meda Engneerng Research Center, Insttute of
More informationAn Entropy-Based Approach to Integrated Information Needs Assessment
Dstrbuton Statement A: Approved for publc release; dstrbuton s unlmted. An Entropy-Based Approach to ntegrated nformaton Needs Assessment June 8, 2004 Wllam J. Farrell Lockheed Martn Advanced Technology
More informationConvolutional interleaver for unequal error protection of turbo codes
Convolutonal nterleaver for unequal error protecton of turbo codes Sna Vaf, Tadeusz Wysock, Ian Burnett Unversty of Wollongong, SW 2522, Australa E-mal:{sv39,wysock,an_burnett}@uow.edu.au Abstract: Ths
More informationThe Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique
//00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy
More informationCourse Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms
Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques
More informationMotivation. EE 457 Unit 4. Throughput vs. Latency. Performance Depends on View Point?! Computer System Performance. An individual user wants to:
4.1 4.2 Motvaton EE 457 Unt 4 Computer System Performance An ndvdual user wants to: Mnmze sngle program executon tme A datacenter owner wants to: Maxmze number of Mnmze ( ) http://e-tellgentnternetmarketng.com/webste/frustrated-computer-user-2/
More informationVirtual Machine Migration based on Trust Measurement of Computer Node
Appled Mechancs and Materals Onlne: 2014-04-04 ISSN: 1662-7482, Vols. 536-537, pp 678-682 do:10.4028/www.scentfc.net/amm.536-537.678 2014 Trans Tech Publcatons, Swtzerland Vrtual Machne Mgraton based on
More informationGSLM Operations Research II Fall 13/14
GSLM 58 Operatons Research II Fall /4 6. Separable Programmng Consder a general NLP mn f(x) s.t. g j (x) b j j =. m. Defnton 6.. The NLP s a separable program f ts objectve functon and all constrants are
More informationA New Transaction Processing Model Based on Optimistic Concurrency Control
A New Transacton Processng Model Based on Optmstc Concurrency Control Wang Pedong,Duan Xpng,Jr. Abstract-- In ths paper, to support moblty and dsconnecton of moble clents effectvely n moble computng envronment,
More informationUtilization vs. SLO-Based Control for Dynamic Sizing of Resource Partitions
Utlzaton vs. SLO-Based Control for Dynamc Szng of Resource Parttons Zhku Wang, Xaoyun Zhu, Sharad Snghal HP Laboratores Palo Alto HPL-5-6(R.) January 3, 6* server vrtualzaton, resource partton, system
More informationAgenda & Reading. Simple If. Decision-Making Statements. COMPSCI 280 S1C Applications Programming. Programming Fundamentals
Agenda & Readng COMPSCI 8 SC Applcatons Programmng Programmng Fundamentals Control Flow Agenda: Decsonmakng statements: Smple If, Ifelse, nested felse, Select Case s Whle, DoWhle/Untl, For, For Each, Nested
More informationA Genetic Algorithm Based Dynamic Load Balancing Scheme for Heterogeneous Distributed Systems
Proceedngs of the Internatonal Conference on Parallel and Dstrbuted Processng Technques and Applcatons, PDPTA 2008, Las Vegas, Nevada, USA, July 14-17, 2008, 2 Volumes. CSREA Press 2008, ISBN 1-60132-084-1
More informationReal-Time Guarantees. Traffic Characteristics. Flow Control
Real-Tme Guarantees Requrements on RT communcaton protocols: delay (response s) small jtter small throughput hgh error detecton at recever (and sender) small error detecton latency no thrashng under peak
More informationEfficient Distributed File System (EDFS)
Effcent Dstrbuted Fle System (EDFS) (Sem-Centralzed) Debessay(Debsh) Fesehaye, Rahul Malk & Klara Naherstedt Unversty of Illnos-Urbana Champagn Contents Problem Statement, Related Work, EDFS Desgn Rate
More informationPerformance Study of Parallel Programming on Cloud Computing Environments Using MapReduce
Performance Study of Parallel Programmng on Cloud Computng Envronments Usng MapReduce Wen-Chung Shh, Shan-Shyong Tseng Department of Informaton Scence and Applcatons Asa Unversty Tachung, 41354, Tawan
More informationNAG Fortran Library Chapter Introduction. G10 Smoothing in Statistics
Introducton G10 NAG Fortran Lbrary Chapter Introducton G10 Smoothng n Statstcs Contents 1 Scope of the Chapter... 2 2 Background to the Problems... 2 2.1 Smoothng Methods... 2 2.2 Smoothng Splnes and Regresson
More informationChapter 1. Introduction
Chapter 1 Introducton 1.1 Parallel Processng There s a contnual demand for greater computatonal speed from a computer system than s currently possble (.e. sequental systems). Areas need great computatonal
More informationA SYSTOLIC APPROACH TO LOOP PARTITIONING AND MAPPING INTO FIXED SIZE DISTRIBUTED MEMORY ARCHITECTURES
A SYSOLIC APPROACH O LOOP PARIIONING AND MAPPING INO FIXED SIZE DISRIBUED MEMORY ARCHIECURES Ioanns Drosts, Nektaros Kozrs, George Papakonstantnou and Panayots sanakas Natonal echncal Unversty of Athens
More informationA Sub-Critical Deficit Round-Robin Scheduler
A Sub-Crtcal Defct ound-obn Scheduler Anton Kos, Sašo Tomažč Unversty of Ljubljana, Faculty of Electrcal Engneerng, Ljubljana, Slovena E-mal: anton.kos@fe.un-lj.s Abstract - A scheduler s an essental element
More informationOn the Exact Analysis of Bluetooth Scheduling Algorithms
On the Exact Analyss of Bluetooth Schedulng Algorth Gl Zussman Dept. of Electrcal Engneerng Technon IIT Hafa 3000, Israel glz@tx.technon.ac.l Ur Yechal Dept. of Statstcs and Operatons Research School of
More informationReliability and Energy-aware Cache Reconfiguration for Embedded Systems
Relablty and Energy-aware Cache Reconfguraton for Embedded Systems Yuanwen Huang and Prabhat Mshra Department of Computer and Informaton Scence and Engneerng Unversty of Florda, Ganesvlle FL 326-62, USA
More informationReview of approximation techniques
CHAPTER 2 Revew of appromaton technques 2. Introducton Optmzaton problems n engneerng desgn are characterzed by the followng assocated features: the objectve functon and constrants are mplct functons evaluated
More informationFibre-Optic AWG-based Real-Time Networks
Fbre-Optc AWG-based Real-Tme Networks Krstna Kunert, Annette Böhm, Magnus Jonsson, School of Informaton Scence, Computer and Electrcal Engneerng, Halmstad Unversty {Magnus.Jonsson, Krstna.Kunert}@de.hh.se
More informationCognitive Radio Resource Management Using Multi-Agent Systems
Cogntve Rado Resource Management Usng Mult- Systems Jang Xe, Ivan Howtt, and Anta Raja Department of Electrcal and Computer Engneerng Department of Software and Informaton Systems The Unversty of North
More information