Synchronization Protocols. Task Allocation Bin-Packing Heuristics: First-Fit Subtasks assigned in arbitrary order To allocate a new subtask T i,j

Size: px
Start display at page:

Download "Synchronization Protocols. Task Allocation Bin-Packing Heuristics: First-Fit Subtasks assigned in arbitrary order To allocate a new subtask T i,j"

Transcription

1 End-to-End Schedulng Framework 1. Tak allocaton: bnd tak to proceor 2. Synchronzaton protocol: enforce precedence contrant 3. Subdeadlne agnment 4. Schedulablty analy Tak Allocaton Bn-Packng eurtc: Frt-Ft Subtak agned n arbtrary order To allocate a new ubtak T,j If T,j can be added to an extng proceor P l (1 l k) wthout exceedng t capacty, allocate T,j to P k Ele add a new proceor P k+1 and allocate T,j to t. Chenyang u CSE 467S 1 Chenyang u CSE 467S 2 Performance lmt of Frt-Ft Number of proceor needed: m/m 0 -> 1.7 a m 0 -> m: number of proceor needed under Frt-Ft m 0 : mnmum number of proceor needed Frt-Ft can alway fnd a feable allocaton on m proceor f total ubtak utlzaton no greater than m(2 1/2-1) = 0.414m Aumng fxed-prorty chedulng, dentcal proceor Tak Allocaton to Mnmze Communcaton Cot Inter-ubtak communcaton can ntroduce overhead and delay E.g., Remote method nvocaton more expenve and lower than local nvocaton Goal: mnmze communcaton cot ubject to proceor capacty contrant Two tep Partton ubtak nto group Allocate group to proceor Chenyang u CSE 467S 3 Chenyang u CSE 467S 4 End-to-End Schedulng Framework 1. Tak allocaton: bnd tak to proceor 2. Synchronzaton protocol: enforce precedence contrant 3. Subdeadlne agnment 4. Schedulablty analy Synchronzaton Protocol Requrement Correct: Enforce precedence contrant Allow accurate chedulablty analy ow wort-cae repone tme ow overhead Reduce jtter ow average repone tme Chenyang u CSE 467S 5 Chenyang u CSE 467S 6

2 Greedy Protocol Releae job J,j;k a oon a J,j-1;k completed Subtak may not be perodc under a greedy protocol Dffcult for chedulablty analy gher-prorty tak arrve early hgh wortcae repone tme for lower-prorty tak Jtter can accumulate over multple hop Crtque on Greedy Protocol Correctne Allow chedulablty analy Wort-cae repone tme Jtter ow average repone tme Chenyang u CSE 467S 7 Chenyang u CSE 467S 8 Phae-Modfcaton Protocol (PMP) Idea: Enforce perodc releae baed on wort-cae repone tme Every job J,j;k releaed at tme + ( k 1) p j + 1 w l= 1, l : tart tme of job J,1;1 w l : wort cae repone tme of T l Aumpton Requre upper bound on the repone tme of all ubtak Requre global clock Crtque on PMP Incorrect f tak have releae jtter or overrun Allow chedulablty analy ow wort-cae repone tme : No explct ynchronzaton Depend on global clock ynchronzaton ow jtter gh average repone tme Chenyang u CSE 467S 9 Chenyang u CSE 467S 10 Modfed PMP Same a PMP except A ubtak cannot be releaed unle t predeceor ha been completed Aumpton Requre upper bound on the repone tme of all ubtak Requre a ync meage from predeceor ndcatng t predeceor ha been completed Doe not requre global clock ynchronzaton Indcate ahead tme n ync meage Crtque on MPMP Correct Allow accurate chedulablty analy ow wort-cae repone tme requre explct ynchronzaton Doe not requre global clock ync ow jtter gh average repone tme Chenyang u CSE 467S 11 Chenyang u CSE 467S 12

3 Releae Guard If proceor never dle nce lat releae tme r,k+1;j-1 releae J,k+1;j ether when t receve a ync meage from J,k;j or at tme r,k+1;j-1 +p, whchever later Ele: releae J,k+1;j when recevng a ync meage or when proceor become dle, whchever later. Improve average repone tme wthout affectng chedulablty at the cot of jtter RG Aumpton Aumpton Doe not requre upper bound on the repone tme of all ubtak Doe not requre global clock ynchronzaton Work bet for looely coupled ytem! Chenyang u CSE 467S 13 Chenyang u CSE 467S 14 Crtque on Releae Guard Correct Allow accurate chedulablty analy ow wort-cae repone tme requre explct ynchronzaton Doe not requre global clock ynchronzaton ow jtter (f rule 2 not ued) Improved average repone tme (f rule 2 ued) Chenyang u CSE 467S 15 Score Board: Sync protocol Greedy PMP MPMP RG Correct N Sched N WCRT Avg RT M/ / Chenyang u CSE 467S 16 Global Info. Jtter Ue MPMP or RG f Informaton about all tak are avalable a pror Sytem ha global clock ync Otherwe only RG can be ued Subdeadlne agnment Subdeadlne prorte under EDF & DM repone tme Optmal ubdeadlne agnment NP-hard Offlne: heurtc earch algorthm Onlne: mpler heurtc Subdeadlne Agnment eurtc Notaton (Relatve) deadlne d of tak T (Relatve) ubdeadlne d j of ubtak T j (1 j ) Slack of ubtak T j : j = d j -e j Ultmate Deadlne (UD): d j = d But ome ubtak mut fnh earler than the end-to-end deadlne! Effectve Deadlne (ED): d j = d Agn all lack to 1 t ubtak j 1 d k = 1 k k = j+ e 1 k Chenyang u CSE 467S 17 Chenyang u CSE 467S 18

4 More eurtc Proportonal Deadlne (PD): ej dj = d e k = 1 k Agn lack proportonally to executon tme Normalzed Proportonal Deadlne d e u( V j, j j = d = ( e ( k 1 ku V, k Agn more lack to ubtak on buer proceor ) )) Schedulng Sngle proceor Perodc tak Fxed prorty v. dynamc prorty Deadlne v. perod Reource contenton Aperodc + perodc tak Dtrbuted ytem Chenyang u CSE 467S 19 Chenyang u CSE 467S 20 Schedulng Aperodc Tak ybrd tak et: perodc tak + aperodc tak Problem: Arrval tme unknown Sporadc tak wth a hard deadlne Inter-arrval tme mut be lower bounded Schedulablty analy: treated a a perodc tak wth perod = mnmum nter-arrval tme Aperodc tak wth a oft deadlne Pobly unbounded nter-arrval tme Goal: mantan hard guarantee on perodc tak Reduce repone tme of aperodc tak Background Schedulng Treat aperodc tak a lowet-prorty tak Advantage Smple Aperodc tak ha no mpact on the chedulablty of perodc tak Dadvantage Aperodc tak have very long repone tme when the utlzaton of perodc tak hgh Acceptable only f Sytem not buy Aperodc tak can tolerate long delay Chenyang u CSE 467S 21 Chenyang u CSE 467S 22 Pollng Server Pollng erver (PS): a perodc tak ued to erve aperodc requet Perod: p Capacty: c Rule Releaed perodcally wth perod p Serve any pendng aperodc requet Supend telf f t ha ued up t capacty, or no aperodc requet pendng Server capacty replenhed to c n the next perod Schedulablty The aperodc requet have the ame mpact on perodc tak a a perodc tak. n tak wth m PS : U p + U U b (n+m) Can have multple PS (wth dfferent perod) for dfferent aperodc requet Dadvantage: If an aperodc requet me the executon of PS, t ha to wat tll the next perod long repone tme. Chenyang u CSE 467S 23 Chenyang u CSE 467S 24

5 Deferrable Server (DS) Unlke PS, DS preerve unued capacty untl the end of the current perod Better repone to aperodc requet owever, DS mpact on perodc tak dfferent from an perodc tak Utlzaton Bound wth DS U + 2 1/ n Under RMS U b = U + n 1 U + 2 A n : U b = U + ln When U = 0.186, mn U b = Sytem chedulable f U p U + 2 ln Chenyang u CSE 467S 25 Chenyang u CSE 467S 26 Ponter Cla hand-out Rate Monotonc A Practtoner' andbook for Real-Tme Analy: Gude to Rate Monotonc Analy for Real-Tme Sytem, Klen et. al. EDF Deadlne Schedulng for Real-Tme Sytem: EDF and Related Algorthm, Stankovc et. al. General ard Real-Tme Computng Sytem, G. Buttazzo. Real-Tme Sytem, Jane u. Chenyang u CSE 467S 27

Embedded Systems. 4. Aperiodic and Periodic Tasks

Embedded Systems. 4. Aperiodic and Periodic Tasks Embedded Systems 4. Aperodc and Perodc Tasks Lothar Thele 4-1 Contents of Course 1. Embedded Systems Introducton 2. Software Introducton 7. System Components 10. Models 3. Real-Tme Models 4. Perodc/Aperodc

More information

Real-Time Systems. Multiprocessor scheduling. Multiprocessor scheduling. Multiprocessor scheduling

Real-Time Systems. Multiprocessor scheduling. Multiprocessor scheduling. Multiprocessor scheduling Real-Tme Systems Multprocessor schedulng Specfcaton Implementaton Verfcaton Multprocessor schedulng -- -- Global schedulng How are tasks assgned to processors? Statc assgnment The processor(s) used for

More information

Last Time. Priority-based scheduling. Schedulable utilization Rate monotonic rule: Keep utilization below 69% Static priorities Dynamic priorities

Last Time. Priority-based scheduling. Schedulable utilization Rate monotonic rule: Keep utilization below 69% Static priorities Dynamic priorities Last Tme Prorty-based schedulng Statc prortes Dynamc prortes Schedulable utlzaton Rate monotonc rule: Keep utlzaton below 69% Today Response tme analyss Blockng terms Prorty nverson And solutons Release

More information

Preemptive scheduling. Disadvantages of preemptions WCET. Preemption indirect costs 19/10/2018. Cache related preemption delay

Preemptive scheduling. Disadvantages of preemptions WCET. Preemption indirect costs 19/10/2018. Cache related preemption delay 19/1/18 Preemptve cedulng Mot o wor on cedulng a been ocued on ully preemptve ytem, becaue tey allow ger reponvene: Preemptve Non Preemptve Dadvantage o preempton However, eac preempton a a cot: ontext

More information

Portioned Static-Priority Scheduling on Multiprocessors

Portioned Static-Priority Scheduling on Multiprocessors Portoned Statc-Prorty Schedulng on Multproceor Shnpe Kato and Nobuyuk Yamaak School of Scence for Open and Envronmental Sytem Keo Unverty, Japan {hnpe,yamaak}@ny.c.keo.ac.jp Abtract Th paper propoe an

More information

Clock-Driven Scheduling (in-depth) Cyclic Schedules: General Structure

Clock-Driven Scheduling (in-depth) Cyclic Schedules: General Structure CPSC-663: Real-me Systems n-depth Precompute statc schedule o-lne e.g. at desgn tme: can aord expensve algorthms. Idle tmes can be used or aperodc jobs. Possble mplementaton: able-drven Schedulng table

More information

Scheduling Motivation

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

More information

Real-Time Operating Systems M. 11. Real-Time: Periodic Task Scheduling

Real-Time Operating Systems M. 11. Real-Time: Periodic Task Scheduling Real-Tme Operatng Systems M 11. Real-Tme: Perodc Task Schedulng Notce The course materal ncludes sldes downloaded from:! http://codex.cs.yale.edu/av/os-book/! and! (sldes by Slberschatz, Galvn, and Gagne,

More information

AN EXTENDIBLE APPROACH FOR ANALYSING FIXED PRIORITY HARD REAL-TIME TASKS

AN EXTENDIBLE APPROACH FOR ANALYSING FIXED PRIORITY HARD REAL-TIME TASKS AN EXENDIBLE APPROACH FOR ANALYSING FIXED PRIORIY HARD REAL-IME ASKS K. W. ndell 1 Department of Computer Scence, Unversty of York, England YO1 5DD ABSRAC As the real-tme computng ndustry moves away from

More information

Resource Sharing. CSCE 990: Real-Time Systems. Steve Goddard. Resources & Resource Access Control (Chapter 8 of Liu)

Resource Sharing. CSCE 990: Real-Time Systems. Steve Goddard. Resources & Resource Access Control (Chapter 8 of Liu) CSCE 990: Real-Tme Systems Resource Sharng Steve Goddard goddard@cse.unl.edu http://www.cse.unl.edu/~goddard/courses/realtmesystems Resources & Resource Access Control (Chapter 8 of Lu) Real-Tme Systems

More information

EDF Scheduling for Identical Multiprocessor Systems

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

More information

Improved Worst-Case Response-Time Calculations by Upper-Bound Conditions

Improved Worst-Case Response-Time Calculations by Upper-Bound Conditions Improved Worst-Case Response-Tme Calculatons by Upper-Bound Condtons Vctor Pollex, Steffen Kollmann, Karsten Albers and Frank Slomka Ulm Unversty Insttute of Embedded Systems/Real-Tme Systems {frstname.lastname}@un-ulm.de

More information

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

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

More information

Quantifying the Sub-optimality of Uniprocessor Fixed Priority Pre-emptive Scheduling for Sporadic Tasksets with Arbitrary Deadlines

Quantifying the Sub-optimality of Uniprocessor Fixed Priority Pre-emptive Scheduling for Sporadic Tasksets with Arbitrary Deadlines Quantfyng the Sub-optmalty of Unprocessor Fxed Prorty Pre-emptve Schedulng for Sporadc Tasksets wth Arbtrary Deadlnes Robert Davs, Sanjoy Baruah, Thomas Rothvoss, Alan Burns To cte ths verson: Robert Davs,

More information

Global EDF Scheduling for Parallel Real-Time Tasks

Global EDF Scheduling for Parallel Real-Time Tasks Washngton Unversty n St. Lous Washngton Unversty Open Scholarshp Engneerng and Appled Scence Theses & Dssertatons Engneerng and Appled Scence Sprng 5-15-2014 Global EDF Schedulng for Parallel Real-Tme

More information

Partitioned Mixed-Criticality Scheduling on Multiprocessor Platforms

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

More information

Two Methods to Release a New Real-time Task

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

More information

Computer Control: Task Synchronisation in Dynamic Priority Scheduling

Computer Control: Task Synchronisation in Dynamic Priority Scheduling Computer Control: Task Synchronsaton n Dynamc Prorty Schedulng Sérgo Adrano Fernandes Lopes Department of Industral Electroncs Engneerng School Unversty of Mnho Campus de Azurém 4800 Gumarães - PORTUGAL

More information

Overhead-Aware Compositional Analysis of Real-Time Systems

Overhead-Aware Compositional Analysis of Real-Time Systems Overhead-Aware ompostonal Analyss of Real-Tme Systems Lnh T.X. Phan, Meng Xu, Jaewoo Lee, nsup Lee, Oleg Sokolsky PRESE enter Department of omputer and nformaton Scence Unversty of Pennsylvana ompostonal

More information

ECE559VV Project Report

ECE559VV Project Report ECE559VV Project Report (Supplementary Notes Loc Xuan Bu I. MAX SUM-RATE SCHEDULING: THE UPLINK CASE We have seen (n the presentaton that, for downlnk (broadcast channels, the strategy maxmzng the sum-rate

More information

Using non-preemptive regions and path modification to improve schedulability of real-time traffic over priority-based NoCs

Using non-preemptive regions and path modification to improve schedulability of real-time traffic over priority-based NoCs Real-Tme Syst (2017) 53:886 915 DOI 10.1007/s11241-017-9276-5 Usng non-preemptve regons and path modfcaton to mprove schedulablty of real-tme traffc over prorty-based NoCs Meng Lu 1 Matthas Becker 1 Mors

More information

Offline Equivalence: A Non-Preemptive Scheduling Technique for Resource-Constrained Embedded Real-Time Systems

Offline Equivalence: A Non-Preemptive Scheduling Technique for Resource-Constrained Embedded Real-Time Systems Offlne Equvalence: A Non-Preemptve Schedulng Technque for Resource-Constraned Embedded Real-Tme Systems Mtra Nasr Björn B. Brandenburg Max Planck Insttute for Software Systems (MPI-SWS) Abstract We consder

More information

Solution Methods for Time-indexed MIP Models for Chemical Production Scheduling

Solution Methods for Time-indexed MIP Models for Chemical Production Scheduling Ian Davd Lockhart Bogle and Mchael Farweather (Edtor), Proceedng of the 22nd European Sympoum on Computer Aded Proce Engneerng, 17-2 June 212, London. 212 Elever B.V. All rght reerved. Soluton Method for

More information

Procrastination Scheduling for Fixed-Priority Tasks with Preemption Thresholds

Procrastination Scheduling for Fixed-Priority Tasks with Preemption Thresholds Procrastnaton Schedulng for Fxed-Prorty Tasks wth Preempton Thresholds XaoChuan He, Yan Ja Insttute of Network Technology and Informaton Securty School of Computer Scence Natonal Unversty of Defense Technology

More information

Additional File 1 - Detailed explanation of the expression level CPD

Additional File 1 - Detailed explanation of the expression level CPD Addtonal Fle - Detaled explanaton of the expreon level CPD A mentoned n the man text, the man CPD for the uterng model cont of two ndvdual factor: P( level gen P( level gen P ( level gen 2 (.).. CPD factor

More information

Parallel Real-Time Scheduling of DAGs

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

More information

An Integrated OR/CP Method for Planning and Scheduling

An Integrated OR/CP Method for Planning and Scheduling An Integrated OR/CP Method for Plannng and Schedulng John Hooer Carnege Mellon Unversty IT Unversty of Copenhagen June 2005 The Problem Allocate tass to facltes. Schedule tass assgned to each faclty. Subect

More information

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming EEL 6266 Power System Operaton and Control Chapter 3 Economc Dspatch Usng Dynamc Programmng Pecewse Lnear Cost Functons Common practce many utltes prefer to represent ther generator cost functons as sngle-

More information

ELG3336: Op Amp-based Active Filters

ELG3336: Op Amp-based Active Filters ELG6: Op Amp-baed Actve Flter Advantage: educed ze and weght, and thereore paratc. Increaed relablty and mproved perormance. Smpler degn than or pave lter and can realze a wder range o uncton a well a

More information

Energy-Efficient Scheduling Fixed-Priority tasks with Preemption Thresholds on Variable Voltage Processors

Energy-Efficient Scheduling Fixed-Priority tasks with Preemption Thresholds on Variable Voltage Processors Energy-Effcent Schedulng Fxed-Prorty tasks wth Preempton Thresholds on Varable Voltage Processors XaoChuan He, Yan Ja Insttute of Network Technology and Informaton Securty School of Computer Scence Natonal

More information

Energy-Efficient Thermal-Aware Scheduling for RT Tasks Using T CP N

Energy-Efficient Thermal-Aware Scheduling for RT Tasks Using T CP N Energy-Effcent Thermal-Aware Schedulng for RT Tasks Usng T CP N L. Rubo-Anguano G. Desrena-López A. Ramírez-Trevño J.L. Brz CINVESTAV-IPN Undad Guadalajara, Av. del Bosque 11, CP 19, Zapopan, Jalsco, Mexco

More information

A Real-Time Multicast Routing Scheme for Multi-Hop Switched Fieldbuses

A Real-Time Multicast Routing Scheme for Multi-Hop Switched Fieldbuses A Real-Tme ultcast Routng Scheme for ult-op Swtched Feldbuses Lxong Chen* Xue Lu Qxn Wang Yufe Wang *Dept. of ECE School of CS cgll Unv. Dept. of Computng The ong Kong Polytechnc Unv. arch 30 2011 Content

More information

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

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

More information

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

Fixed-Priority Multiprocessor Scheduling with Liu & Layland s Utilization Bound Fxed-Prorty Multprocessor Schedulng wth Lu & Layland s Utlzaton Bound Nan Guan, Martn Stgge, Wang Y and Ge Yu Department of Informaton Technology, Uppsala Unversty, Sweden Department of Computer Scence

More information

Hard Real-time Embedded Systems are ubiquitously used today in safety critical commercial applications

Hard Real-time Embedded Systems are ubiquitously used today in safety critical commercial applications Extenble and Scalable Tme Trggered Schedulng or Automotve Applcaton We Zheng Advor: Proeor Alberto Sangovann-Vncentell Che Revew Ma 11 2005 Berele CA Agenda Motvaton Problem Statement Prevou Wor Invetgatve

More information

Queueing Networks II Network Performance

Queueing Networks II Network Performance Queueng Networks II Network Performance Davd Tpper Assocate Professor Graduate Telecommuncatons and Networkng Program Unversty of Pttsburgh Sldes 6 Networks of Queues Many communcaton systems must be modeled

More information

J. Parallel Distrib. Comput.

J. Parallel Distrib. Comput. J. Parallel Dstrb. Comput. 7 (20) 537 555 Contents lsts avalable at ScenceDrect J. Parallel Dstrb. Comput. ournal homepage: www.elsever.com/locate/pdc Game-theoretc statc load balancng for dstrbuted systems

More information

Analysis of Queuing Delay in Multimedia Gateway Call Routing

Analysis of Queuing Delay in Multimedia Gateway Call Routing Analyss of Queung Delay n Multmeda ateway Call Routng Qwe Huang UTtarcom Inc, 33 Wood Ave. outh Iseln, NJ 08830, U..A Errol Lloyd Computer Informaton cences Department, Unv. of Delaware, Newark, DE 976,

More information

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

Fixed-Priority Multiprocessor Scheduling with Liu & Layland s Utilization Bound Fxed-Prorty Multprocessor Schedulng wth Lu & Layland s Utlzaton Bound Nan Guan, Martn Stgge, Wang Y and Ge Yu Department of Informaton Technology, Uppsala Unversty, Sweden Department of Computer Scence

More information

Keynote: RTNS Getting ones priorities right

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

More information

Improving the Quality of Control of Periodic Tasks Scheduled by FP with an Asynchronous Approach

Improving the Quality of Control of Periodic Tasks Scheduled by FP with an Asynchronous Approach Improvng the Qualty of Control of Perodc Tasks Scheduled by FP wth an Asynchronous Approach P. Meumeu Yoms, L. George, Y. Sorel, D. de Rauglaudre AOSTE Project-team INRIA Pars-Rocquencourt Le Chesnay,

More information

Split alignment. Martin C. Frith April 13, 2012

Split alignment. Martin C. Frith April 13, 2012 Splt algnment Martn C. Frth Aprl 13, 2012 1 Introducton Ths document s about algnng a query sequence to a genome, allowng dfferent parts of the query to match dfferent parts of the genome. Here are some

More information

DEADLOCK INDEX ANALYSIS OF MULTI-LEVEL QUEUE SCHEDULING IN OPERATING SYSTEM USING DATA MODEL APPROACH

DEADLOCK INDEX ANALYSIS OF MULTI-LEVEL QUEUE SCHEDULING IN OPERATING SYSTEM USING DATA MODEL APPROACH GESJ: Computer Scence and Telecommuncaton 2 No.(29 ISSN 2-232 DEADLOCK INDEX ANALYSIS OF MULTI-LEVEL QUEUE SCHEDULING IN OPERATING SYSTEM USING DATA MODEL APPROACH D. Shukla, Shweta Ojha 2 Deptt. of Mathematc

More information

Minimisation of the Average Response Time in a Cluster of Servers

Minimisation of the Average Response Time in a Cluster of Servers Mnmsaton of the Average Response Tme n a Cluster of Servers Valery Naumov Abstract: In ths paper, we consder task assgnment problem n a cluster of servers. We show that optmal statc task assgnment s tantamount

More information

The Schedulability Region of Two-Level Mixed-Criticality Systems based on EDF-VD

The Schedulability Region of Two-Level Mixed-Criticality Systems based on EDF-VD The Schedulablty Regon of Two-Level Mxed-Crtcalty Systems based on EDF-VD Drk Müller and Alejandro Masrur Department of Computer Scence TU Chemntz, Germany Abstract The algorthm Earlest Deadlne Frst wth

More information

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition Sngle-Faclty Schedulng over Long Tme Horzons by Logc-based Benders Decomposton Elvn Coban and J. N. Hooker Tepper School of Busness, Carnege Mellon Unversty ecoban@andrew.cmu.edu, john@hooker.tepper.cmu.edu

More information

Two-Phase Low-Energy N-Modular Redundancy for Hard Real-Time Multi-Core Systems

Two-Phase Low-Energy N-Modular Redundancy for Hard Real-Time Multi-Core Systems 1 Two-Phase Low-Energy N-Modular Redundancy for Hard Real-Tme Mult-Core Systems Mohammad Saleh, Alreza Ejlal, and Bashr M. Al-Hashm, Fellow, IEEE Abstract Ths paper proposes an N-modular redundancy (NMR)

More information

Planning and Scheduling to Minimize Makespan & Tardiness. John Hooker Carnegie Mellon University September 2006

Planning and Scheduling to Minimize Makespan & Tardiness. John Hooker Carnegie Mellon University September 2006 Plannng and Schedulng to Mnmze Makespan & ardness John Hooker Carnege Mellon Unversty September 2006 he Problem Gven a set of tasks, each wth a deadlne 2 he Problem Gven a set of tasks, each wth a deadlne

More information

Distributed Auctions for Task Assignment and Scheduling in Mobile Crowdsensing Systems

Distributed Auctions for Task Assignment and Scheduling in Mobile Crowdsensing Systems Dtrbuted Aucton for Tak Agnment and Schedulng n Moble Crowdenng Sytem Zhuojun Duan, We L, Zhpeng Ca Computer Scence, Georga State Unverty, Atlanta, GA, USA Emal: zduan2@tudent.gu.edu, wl28@gu.edu, zca@gu.edu

More information

Scheduling within Temporal Partitions: Response-time Analysis and Server Design

Scheduling within Temporal Partitions: Response-time Analysis and Server Design chedulng wthn Temporal Parttons: Response-tme Analyss and erver Desgn Lus Almeda LE-IEETA/DET Unversdade de Avero Avero, Portugal lda@det.ua.pt Paulo Pedreras LE-IEETA/DET Unversdade de Avero Avero, Portugal

More information

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud Resource Allocaton wth a Budget Constrant for Computng Independent Tasks n the Cloud Wemng Sh and Bo Hong School of Electrcal and Computer Engneerng Georga Insttute of Technology, USA 2nd IEEE Internatonal

More information

Lecture 8: Time & Clocks. CDK: Sections TVS: Sections

Lecture 8: Time & Clocks. CDK: Sections TVS: Sections Lecture 8: Tme & Clocks CDK: Sectons 11.1 11.4 TVS: Sectons 6.1 6.2 Topcs Synchronzaton Logcal tme (Lamport) Vector clocks We assume there are benefts from havng dfferent systems n a network able to agree

More information

Limited Preemptive Scheduling for Real-Time Systems: a Survey

Limited Preemptive Scheduling for Real-Time Systems: a Survey Lmted Preemptve Schedulng for Real-Tme Systems: a Survey Gorgo C. Buttazzo, Fellow Member, IEEE, Marko Bertogna, Senor Member, IEEE, and Gang Yao Abstract The queston whether preemptve algorthms are better

More information

Handling Overload (G. Buttazzo, Hard Real-Time Systems, Ch. 9) Causes for Overload

Handling Overload (G. Buttazzo, Hard Real-Time Systems, Ch. 9) Causes for Overload PS-663: Real-Te Systes Handlng Overloads Handlng Overload (G Buttazzo, Hard Real-Te Systes, h 9) auses for Overload Bad syste desgn eg poor estaton of worst-case executon tes Sultaneous arrval of unexpected

More information

Instantaneous Utilization Based Scheduling Algorithms for Real Time Systems Radhakrishna Naik 1, R.R.Manthalkar 2 Pune University 1, SGGS Nanded 2

Instantaneous Utilization Based Scheduling Algorithms for Real Time Systems Radhakrishna Naik 1, R.R.Manthalkar 2 Pune University 1, SGGS Nanded 2 Radhakrshna Nak et al, / (IJSIT) Internatonal Journal of omputer Scence and Informaton Technologes, Vol. (),, 654-66 Instantaneous tlzaton Based Schedulng Algorthms for Real Tme Systems Radhakrshna Nak,

More information

Distributed and Stochastic Machine Learning on Big Data

Distributed and Stochastic Machine Learning on Big Data Dstrbuted and Stochastc Machne Learnng on Bg Data Department of Computer Scence and Engneerng Hong Kong Unversty of Scence and Technology Hong Kong Introducton Synchronous ADMM Asynchronous ADMM Stochastc

More information

Parametric Utilization Bounds for Fixed-Priority Multiprocessor Scheduling

Parametric Utilization Bounds for Fixed-Priority Multiprocessor Scheduling 2012 IEEE 26th Internatonal Parallel and Dstrbuted Processng Symposum Parametrc Utlzaton Bounds for Fxed-Prorty Multprocessor Schedulng Nan Guan 1,2, Martn Stgge 1, Wang Y 1,2 and Ge Yu 2 1 Uppsala Unversty,

More information

NP-Completeness : Proofs

NP-Completeness : Proofs NP-Completeness : Proofs Proof Methods A method to show a decson problem Π NP-complete s as follows. (1) Show Π NP. (2) Choose an NP-complete problem Π. (3) Show Π Π. A method to show an optmzaton problem

More information

Partitioned Scheduling of Multi-Modal Mixed-Criticality Real-Time Systems on Multiprocessor Platforms

Partitioned Scheduling of Multi-Modal Mixed-Criticality Real-Time Systems on Multiprocessor Platforms Parttoned Schedulng of Mult-Modal Mxed-Crtcalty Real-Tme Systems on Multprocessor Platforms Donso de Nz SEI, Carnege Mellon Unversty Lnh T.X. Phan Unversty of Pennsylvana Abstract Real-tme systems are

More information

Efficient Feasibility Analysis for Real-Time Systems with EDF scheduling*

Efficient Feasibility Analysis for Real-Time Systems with EDF scheduling* Effcent Feasblty Analyss for Real-Tme Systems wth EF schedulng* Karsten Albers, Frank Slomka epartment of omputer Scence Unversty of Oldenburg Ammerländer Heerstraße 114-118 26111 Oldenburg, Germany {albers,

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

Introduction to Continuous-Time Markov Chains and Queueing Theory

Introduction to Continuous-Time Markov Chains and Queueing Theory Introducton to Contnuous-Tme Markov Chans and Queueng Theory From DTMC to CTMC p p 1 p 12 1 2 k-1 k p k-1,k p k-1,k k+1 p 1 p 21 p k,k-1 p k,k-1 DTMC 1. Transtons at dscrete tme steps n=,1,2, 2. Past doesn

More information

Lecture 4: November 17, Part 1 Single Buffer Management

Lecture 4: November 17, Part 1 Single Buffer Management Lecturer: Ad Rosén Algorthms for the anagement of Networs Fall 2003-2004 Lecture 4: November 7, 2003 Scrbe: Guy Grebla Part Sngle Buffer anagement In the prevous lecture we taled about the Combned Input

More information

Problem Set 9 Solutions

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

More information

Chapter Newton s Method

Chapter Newton s Method Chapter 9. Newton s Method After readng ths chapter, you should be able to:. Understand how Newton s method s dfferent from the Golden Secton Search method. Understand how Newton s method works 3. Solve

More information

Hybrid Unicast and Multicast Flow Control: A Linear Optimization Approach

Hybrid Unicast and Multicast Flow Control: A Linear Optimization Approach Hybrd Uncast and Multcast Flow Control: A Lnear Optmzaton Approach Homayoun Youse zadeh Fatemeh Fazel Hamd Jaarhan Department o EECS Unversty o Calorna, Irvne Flow Control Motvaton Content delvery over

More information

arxiv: v3 [cs.os] 12 Mar 2016

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

More information

Task Scheduling with Self-Suspensions in Soft Real-Time Multiprocessor Systems

Task Scheduling with Self-Suspensions in Soft Real-Time Multiprocessor Systems ask Schedulng wth Self-Suspensons n Soft Real-me Multprocessor Systems Cong Lu and James H. Anderson Department of Computer Scence, Unversty of North Carolna at Chapel Hll Abstract Job release Job deadlne

More information

Real-Time Scheduling of Parallel Tasks under a General DAG Model

Real-Time Scheduling of Parallel Tasks under a General DAG Model Washngton Unversty n St. Lous Washngton Unversty Open Scholarshp All Computer Scence and Engneerng Research Computer Scence and Engneerng Report Number: WUCSE-01-14 01 Real-Tme Schedulng of Parallel Tasks

More information

Partitioned Scheduling of Multi-Modal Mixed- Criticality Real-Time Systems on Multiprocessor Platforms

Partitioned Scheduling of Multi-Modal Mixed- Criticality Real-Time Systems on Multiprocessor Platforms Unversty of Pennsylvana ScholarlyCommons Departmental Papers (CIS) Department of Computer & Informaton Scence 4-2014 Parttoned Schedulng of Mult-Modal Mxed- Crtcalty Real-Tme Systems on Multprocessor Platforms

More information

Critical sections. Using semaphores. Using semaphores. Using semaphores. How long is blocking time? 17/10/2016. Problems caused by mutual exclusion

Critical sections. Using semaphores. Using semaphores. Using semaphores. How long is blocking time? 17/10/2016. Problems caused by mutual exclusion rtcal sectons Problems caused by mutual excluson crtcal secton wat(s) x = ; y = 5; sgnal(s) wrte global memory buffer nt x; nt y; read wat(s) a = x+; b = y+; c = x+y; crtcal secton sgnal(s) Usng semaphores

More information

The strict priority scheduler

The strict priority scheduler 6. SP and GPS schedulers Pag. The strct prorty scheduler The strct prorty scheduler s very smple and effcent In the followng, we wll carry out the analyss of ths scheduler to determne the formulas for

More information

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

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

More information

Partitioned EDF Scheduling in Multicore systems with Quality of Service constraints

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

More information

Minimizing Cache Overhead via Loaded Cache Blocks and Preemption Placement

Minimizing Cache Overhead via Loaded Cache Blocks and Preemption Placement Mnmzng Cache Overhead va Loaded Cache Blocks and Preempton Placement John Cavccho, Corey Tessler, and Nathan Fsher Wayne State Unversty {ba6444, corey.tessler, fshern}@wayne.edu Abstract Schedulablty analyss

More information

On Energy-Optimal Voltage Scheduling for Fixed-Priority Hard Real-Time Systems

On Energy-Optimal Voltage Scheduling for Fixed-Priority Hard Real-Time Systems On Energy-Optmal Voltage Schedulng for Fxed-Prorty Hard Real-Tme Systems HAN-SAEM YUN and JIHONG KIM Seoul Natonal Unversty We address the problem of energy-optmal voltage schedulng for fxed-prorty hard

More information

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

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

More information

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence)

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence) /24/27 Prevew Fbonacc Sequence Longest Common Subsequence Dynamc programmng s a method for solvng complex problems by breakng them down nto smpler sub-problems. It s applcable to problems exhbtng the propertes

More information

Resource Reservation for Mixed Criticality Systems

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

More information

Lecture 8: S-modular Games and Power Control

Lecture 8: S-modular Games and Power Control CDS270: Otmzaton Game and Layerng n Commncaton Networ Lectre 8: S-modlar Game and Power Control Ln Chen /22/2006 Otlne S-modlar game Sermodlar game Sbmodlar game Power control Power control va rcng A general

More information

Pythagorean triples. Leen Noordzij.

Pythagorean triples. Leen Noordzij. Pythagorean trple. Leen Noordz Dr.l.noordz@leennoordz.nl www.leennoordz.me Content A Roadmap for generatng Pythagorean Trple.... Pythagorean Trple.... 3 Dcuon Concluon.... 5 A Roadmap for generatng Pythagorean

More information

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

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

More information

Improvements on Waring s Problem

Improvements on Waring s Problem Improvement on Warng Problem L An-Png Bejng, PR Chna apl@nacom Abtract By a new recurve algorthm for the auxlary equaton, n th paper, we wll gve ome mprovement for Warng problem Keyword: Warng Problem,

More information

Analysis of Discrete Time Queues (Section 4.6)

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

More information

Estimating Delays. Gate Delay Model. Gate Delay. Effort Delay. Computing Logical Effort. Logical Effort

Estimating Delays. Gate Delay Model. Gate Delay. Effort Delay. Computing Logical Effort. Logical Effort Estmatng Delas Would be nce to have a back of the envelope method for szng gates for speed Logcal Effort ook b Sutherland, Sproull, Harrs Chapter s on our web page Gate Dela Model Frst, normalze a model

More information

jitter Abstract Output jitter the variation in the inter-completion times of successive jobs of the same

jitter Abstract Output jitter the variation in the inter-completion times of successive jobs of the same Schedulng perodc task systems to mnmze output jtter Sanjoy Baruah Gorgo Buttazzo y Sergey Gornsky z Guseppe Lpar y Abstract Output jtter the varaton n the nter-completon tmes of successve jobs of the same

More information

Research Article On the Modelling of the Mobile WiMAX (IEEE e) Uplink Scheduler

Research Article On the Modelling of the Mobile WiMAX (IEEE e) Uplink Scheduler Modellng and Smulaton n Engneerng Volume 010, Artcle ID 804939, 7 page do:10.1155/010/804939 Reearch Artcle On the Modellng of the Moble WMAX IEEE 80.16e) Uplnk Scheduler Darmawaty Mohd Al 1, and Kaharudn

More information

Utility Based Optimal Task Scheduling Problem in a Multi-agent System

Utility Based Optimal Task Scheduling Problem in a Multi-agent System Internaonal Journal of Dgtal Content Technology and t Applcaon Volume 4, Number 9, December 00 Ulty Baed Opmal Tak Schedulng Problem n a Mul-agent Sytem Xaowe Zhang, Bn L, Junwu Zhu, Jun Wu School of Informaon

More information

Toward Understanding Heterogeneity in Computing

Toward Understanding Heterogeneity in Computing Toward Understandng Heterogenety n Computng Arnold L. Rosenberg Ron C. Chang Department of Electrcal and Computer Engneerng Colorado State Unversty Fort Collns, CO, USA {rsnbrg, ron.chang@colostate.edu}

More information

Start Point and Trajectory Analysis for the Minimal Time System Design Algorithm

Start Point and Trajectory Analysis for the Minimal Time System Design Algorithm Start Pont and Trajectory Analy for the Mnmal Tme Sytem Degn Algorthm ALEXANDER ZEMLIAK, PEDRO MIRANDA Department of Phyc and Mathematc Puebla Autonomou Unverty Av San Claudo /n, Puebla, 757 MEXICO Abtract:

More information

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule: 15-745 Lecture 6 Data Dependence n Loops Copyrght Seth Goldsten, 2008 Based on sldes from Allen&Kennedy Lecture 6 15-745 2005-8 1 Common loop optmzatons Hostng of loop-nvarant computatons pre-compute before

More information

Task Reweighting under Global Scheduling on Multiprocessors

Task Reweighting under Global Scheduling on Multiprocessors Task Reweghtng under Global Schedulng on Multprocessors Aaron Block, James H. Anderson, and UmaMaheswar C. Dev Department of Computer Scence, Unversty of North Carolna at Chapel Hll Abstract We consder

More information

Energy-Aware Fault Tolerance in Fixed-Priority Real-Time Embedded Systems*

Energy-Aware Fault Tolerance in Fixed-Priority Real-Time Embedded Systems* Energy-Aware Fault Tolerance n Fxed-Prorty Real-Tme Embedded Systems Yng Zang, Krsnendu Cakrabarty and Vsnu Swamnatan Department of Electrcal & Computer Engneerng Duke Unversty, Duram, NC 778, USA Abstract

More information

A Bayesian Approach to Arrival Rate Forecasting for Inhomogeneous Poisson Processes for Mobile Calls

A Bayesian Approach to Arrival Rate Forecasting for Inhomogeneous Poisson Processes for Mobile Calls A Bayesan Approach to Arrval Rate Forecastng for Inhomogeneous Posson Processes for Moble Calls Mchael N. Nawar Department of Computer Engneerng Caro Unversty Caro, Egypt mchaelnawar@eee.org Amr F. Atya

More information

Calculation of time complexity (3%)

Calculation of time complexity (3%) Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add

More information

PreDVS: Preemptive Dynamic Voltage Scaling for Real-time Systems using Approximation Scheme

PreDVS: Preemptive Dynamic Voltage Scaling for Real-time Systems using Approximation Scheme PreDVS: Preemptve Dynamc Voltage Scalng for Real-tme Systems usng Approxmaton Scheme Wexun Wang and Prabhat Mshra Department of Computer and Informaton Scence and Engneerng Unversty of Florda, Ganesvlle,

More information

bounds compared to SB and SBB bounds as the former two have an index parameter, while the latter two

bounds compared to SB and SBB bounds as the former two have an index parameter, while the latter two 1 Queung Procee n GPS and PGPS wth LRD Traffc Input Xang Yu, Ian L-Jn Thng, Yumng Jang and Chunmng Qao Department of Computer Scence and Engneerng State Unverty of New York at Buffalo Department of Electrcal

More information

Time Synchronization for Wireless Sensor Networks

Time Synchronization for Wireless Sensor Networks 3 Tme Synchronzaton for Wrele Senor etwork Kyoung-Lae oh Texa A&M Unverty Yk-Chung Wu The Unverty of Hong Kong Khald Qaraqe Texa A&M Unverty Erchn Serpedn Texa A&M Unverty 3. Introducton... 373 3. Sgnal

More information

The optimal delay of the second test is therefore approximately 210 hours earlier than =2.

The optimal delay of the second test is therefore approximately 210 hours earlier than =2. THE IEC 61508 FORMULAS 223 The optmal delay of the second test s therefore approxmately 210 hours earler than =2. 8.4 The IEC 61508 Formulas IEC 61508-6 provdes approxmaton formulas for the PF for smple

More information

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

1 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations Physcs 171/271 -Davd Klenfeld - Fall 2005 (revsed Wnter 2011) 1 Dervaton of Rate Equatons from Sngle-Cell Conductance (Hodgkn-Huxley-lke) Equatons We consder a network of many neurons, each of whch obeys

More information