Fixed-Priority Multiprocessor Scheduling. Real-time Systems. N periodic tasks (of different rates/periods) i Ji C J. 2 i. ij 3

Size: px
Start display at page:

Download "Fixed-Priority Multiprocessor Scheduling. Real-time Systems. N periodic tasks (of different rates/periods) i Ji C J. 2 i. ij 3"

Transcription

1 0//0 Fixed-Priority Multiprocessor Scheduling Real-time Systems N periodic tasks (of different rates/periods) r i T i C i T i C C J i Ji i ij i r i r i r i Utilization/workload: How to schedule the jobs to avoid deadline miss? T i

2 0//0 On Single-processors Liu and Layland s Utilization Bound [9] (the 9 th most cited paper in computer science) number of tasks Scheduled by RMS (Rate Monotonic Scheduling) Quetion (since 9) Find a multiprocessor scheduling algorithm that can achieve Liu and Layland s utilization bound? number of processors

3 0//0 Multiprocessor Scheduling Global Scheduling Partitioned Scheduling Partitioned Scheduling with Task Splitting new task waiting queue 9 cpu cpu cpu cpu cpu cpu cpu cpu cpu Best Known Results % [OPODIS 0] From Uppsala RTAS [TPDS 0] [ECRTS 0] [RTSS 0] Liu and Layland s Utilization Bound 9. [RTCSA 0] Fixed Priority Dynamic Priority Fixed Priority Dynamic Priority Fixed Priority Dynamic Priority Task Splitting Global Partitioned Multiprocessor Scheduling

4 0//0 Multiprocessor Scheduling Global Scheduling new task Would fixed-priority scheduling e.g. RMS work? waiting queue cpu cpu cpu Multiprocessor Scheduling Global Scheduling new task waiting queue Would fixed-priority scheduling e.g. RMS work? Unfortunately RMS suffers from the Dhall s anomali Utilization may be 0% cpu cpu cpu

5 0//0 Dhall s anomali Task Task Task 0 ε + ε Dhall s anomali CPU CPU Deadline miss 0 ε + ε Schedule the tasks on CPUs using RMS

6 0//0 Dhall s anomali (M+ tasks and M processors) /(ε+) ε/ ε/ ε/ # # #M #M+ P P P M U M*ε + /(+ ε) M 0 Multiprocessor Scheduling Partitioned Scheduling 9 cpu cpu cpu

7 0//0 Multiprocessor Scheduling Partitioned Scheduling Resource utilization may be limited to 0% 9 cpu cpu cpu Partitioning Partitioned Scheduling 9 P P P

8 0//0 Partitioned Scheduling Partitioning P P P 9 Partitioned Scheduling Scheduling reduced to single-processor scheduling on each processor P 00%.9% Yes, schedulable! P P P 9

9 0//0 Partitioned Scheduling The Partitioning Problem is similar to Bin-packing Problem (NP-hard) Limited Resource Usage, 0% necessary condition to guarantee schedulability # # #M #M+ 0%+ ε P P P M Partitioned Scheduling The Partitioning Problem is similar to Bin-packing Problem (NP-hard) Limited Resource Usage necessary condition to guarantee schedulability #M+ 0%+ ε P P P M # # #M 9

10 0//0 Partitioned Scheduling The Partitioning Problem is similar to Bin-packing Problem (NP-hard) Limited Resource Usage necessary condition to guarantee schedulability #M+, 0%+ ε #M+, P P P M # # #M Partitioned Scheduling The Partitioning Problem is similar to Bin-packing Problem (NP-hard) Limited Resource Usage necessary condition to guarantee schedulability 0%+ ε P P P M #M+, #M+, # # #M 0

11 0//0 Multiprocessor Scheduling Partitioned Scheduling with Task Splitting cpu cpu cpu Partitioning Partitioned Scheduling 9 P P P

12 0//0 Bin-Packing with Item Splitting Resource can be fully (better) utilized Bin Bin Bin Depth-First Partitioning Algorithms [Kato et al. IPDPS 0] [Kato et al. RTAS 09] [Lakshmanan et al. ECRTS 09] Sort the tasks e.g. in increasing priority order Select a processor, and assign as many tasks as possible P

13 0//0 Lakshmanan s Algorithm [ECRTS 09] Sort all tasks in decreasing order of utilization highest util. lowest util. Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. lowest util. P

14 0//0 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P lowest util. Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P lowest util.

15 0//0 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. lowest util. P Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. lowest util. P P

16 0//0 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util. Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util.

17 0//0 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util. Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util.

18 0//0 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util. Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P P lowest util.

19 0//0 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P P lowest util. Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P P lowest util. key feature: depth-first partitioning with decreasing utilization order 9

20 0//0 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P P Utilization Bound: lowest util. % Breadth-First Partitioning Algorithms [RTAS 00] Sort all tasks in increasing priority order 0

21 0//0 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P

22 0//0 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P

23 0//0 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P

24 0//0 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P

25 0//0 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P

26 0//0 Comparison Why is the breadth algorithm better? P breadth-first & increasing priority order P P depth-first & decreasing utilization order P P P Fact for Light Tasks whose utilization less than 0. For a task set in which each task satisfies we have

27 0//0 Solution for Heavy Tasks whose utilization larger than 0. Pre-assigning the heavy tasks (that may have low priorities) 9 P P P Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) 9 P P P

28 0//0 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9

29 0//0 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9 9

30 0//0 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9 0

31 0//0 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9

32 0//0 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) P P P 9 avoid to split heavy tasks (that may have low priorities)

33 0//0 FACT By introducing the pre-assignment mechanism, we have Liu and Layland s utilization bound for all task sets! Overhead In both previous algorithms and ours The number of task splitting is at most M- task splitting -> extra migration/preemption Our algorithm on average has less task splitting Ours: width-first P P P depth-first P P P

34 0//0 Implementation Easy! One timer for each split task Implemented as task migration P P as being preempted i C i as being resumed i until finished higher prio tasks task i lower prio tasks Further Improvement P P P Schedulable? 9 00%

35 0//0 Uisng Liu and Layland s Utilization Bound P P P 00% Yes, schedulable by our algorithm Utilization Bound is Pessimistic The Liu and Layland utilization bound is sufficient but not necessary many task sets are actually schedulable even if the total utilization is larger than the bound P (, ) 0.9 (, ) (, ) (, )

36 0//0 Exact Analysis Exact Analysis: Response Time Analysis [Lehoczky_9] pseudo-polynomial (, ) (, ) (, ) (, ) R k task k is schedulable iff R k <= T k Utilization Bound v.s. Exact Analysis On single processors Utilization bound Test for RMS P Exact Analysis for RMS P 00% 00% % [Lehoczky_9]

37 0//0 On Multiprocessors Can we do something similar on multiprocessors? Utilization bound Test the algorithm introduced above? P P P P P P 00% 00% An Improved Algorithm Based on the similar idea RMS priority assignment worst-fit partitioning increasing priority order Employ Response Time Analysis to determine the maximal workload on each processor more flexible behavior (more difficult to prove ) Same utilization bound Liu and Layland s utilization bound Much better performance Pseudo-polynomial

38 0//0 Summary Real-time Systems infinite, multi-task, multi-rate Summary Real-time Systems infinite, multi-task, multi-rate On Single-processors Liu and Layland s Utilization bound % Liu and Layland s Utilization Bound

39 0//0 Summary Real-time Systems infinite, multi-task, multi-rate On Single-processors Liu and Layland s Utilization bound On Multiprocessors % 0 0 Liu and Layland s Utilization Bound Multiprocessor Scheduling Summary Real-time Systems infinite, multi-task, multi-rate On Single-processors Liu and Layland s Utilization bound On Multiprocessors Global Scheduling Dhall s Effect % 0 0 Liu and Layland s Utilization Bound 0 P 0 0 P P deadline miss [OPODIS 0] Global 0 ε + ε Multiprocessor Scheduling 9

40 0//0 Summary Real-time Systems infinite, multi-task, multi-rate On Single-processors Liu and Layland s Utilization bound On Multiprocessors Global Scheduling Dhall s Effect Partitioned Scheduling Bin-packing % Liu and Layland s Utilization Bound [OPODIS 0] 0 [ECRTS 0] 0 Global Partitioned Multiprocessor Scheduling Summary Real-time Systems infinite, multi-task, multi-rate On Single-processors Liu and Layland s Utilization bound On Multiprocessors Global Scheduling Dhall s Effect Partitioned Scheduling Bin-packing Our Recent Work Partitioned with Task Splitting split tasks with high priorities Liu and Layland s utilization bound % [OPODIS 0] Global Multiprocessor Scheduling 0 [ECRTS 0] Partitioned Liu and Layland s Utilization Bound [Our Work] Splitting 0

41 0//0 References [Liu9] C.L. Liu and James Layland, Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment [Andersson0ECRTS] Bjorn Andersson, Jan Jonsson: The Utilization Bounds of partitioned and Pfair Static-Priority Scheduling on multiprocessors are 0%. ECRTS 00 [Andersson0OPODIS] Bjorn Andersson: Global Static-Priority Preemptive Multiprocessor Scheduling with Utilization Bound %. OPODIS 00 [Andersson0RTCSA] Bjorn Andersson, Eduardo Tovar: Multiprocessor Scheduling with Few preemption. RTCSA 00 [Andersson0RTSS] Bjorn Andersson, Sanjoy K. Baruah, Jan Jonsson: Static-Priority Scheduling on multiprocessors. RTSS 00 [Baker0TPDS] Theodore P. Baker: An Analysis of EDF Schedulability on a Multiprocessor. IEEE Trans. Parallel Distrib. Syst. (): 0- (00) [Lakshmanan09ECRTS] Karthik Lakshmanan, Ragunathan Rajkumar, John Lehoczky Partitioned Fixed-Priority Preemptive Scheduling for Multi-core Processors. ECRTS 000 [Lopez0RTSS] J. M. Lopez, J. L. Diaz, and D. F. Garcia, Utilization Bounds for EDF Scheduling on Real-Time Multiprocessor Systems, RTSS 00. [Oh9] D. Oh and T. P. Baker. Utilization bounds for n-processor Rate Monotone scheduling with static processor assignment. In Real-Time Systems, 99. [Kato0IPDPS] Shinpei Kato, Nobuyuki Yamasaki: Portioned static-priority scheduling on multiprocessors. IPDPS 00 [Kato09RTAS] Shinpei Kato, Nobuyuki Yamasaki: Semi-partitioned Fixed-Priority Scheduling on Multiprocessors. RTAS 009. [Guan et al0rtas] Fixed-Priority Multiprocessor Scheduling with Liu & Layland's Utilization Bound. Nan Guan, Martin Stigge, Wang Yi and Ge Yu. In the proc. of RTAS0, the th IEEE Real-Time and Embedded Technology and Applications Symposium Stockholm, Sweden, April -, 00.

Fixed-Priority Multiprocessor Scheduling

Fixed-Priority Multiprocessor Scheduling Fixed-Priority Multiprocessor Scheduling Real-time Systems N periodic tasks (of different rates/periods) r i T i C i T i C C J i Ji i ij i r i r i r i Utilization/workload: How to schedule the jobs to

More information

Comparison of Empirical Success Rates of Global vs. Partitioned Fixed-Priority and EDF Scheduling for Hard Real Time TR

Comparison of Empirical Success Rates of Global vs. Partitioned Fixed-Priority and EDF Scheduling for Hard Real Time TR Comparison of Empirical Success Rates of Global vs. Partitioned Fixed-Priority and EDF Scheduling for Hard Real Time TR-05060 Theodore P. Baker Department of Computer Science Florida State University Tallahassee,

More information

Partitioned EDF Scheduling for Multiprocessors using a C=D Scheme

Partitioned EDF Scheduling for Multiprocessors using a C=D Scheme Partitioned EDF Scheduling for Multiprocessors using a C=D Scheme Alan Burns, Robert Davis, P. Wang, Fengxiang Zhang To cite this version: Alan Burns, Robert Davis, P. Wang, Fengxiang Zhang. Partitioned

More information

Cluster scheduling for real-time systems: utilization bounds and run-time overhead

Cluster scheduling for real-time systems: utilization bounds and run-time overhead Real-Time Syst (2011) 47: 253 284 DOI 10.1007/s11241-011-9121-1 Cluster scheduling for real-time systems: utilization bounds and run-time overhead Xuan Qi Dakai Zhu Hakan Aydin Published online: 24 March

More information

A Categorization of Real-time Multiprocessor. Scheduling Problems and Algorithms

A Categorization of Real-time Multiprocessor. Scheduling Problems and Algorithms A Categorization of Real-time Multiprocessor Scheduling Problems and Algorithms John Carpenter, Shelby Funk, Philip Holman, Anand Srinivasan, James Anderson, and Sanjoy Baruah Department of Computer Science,

More information

Document downloaded from: http://hdl.handle.net/10251/38978 This paper must be cited as: Sáez Barona, S.; Crespo, A. (2013). Deferred setting of scheduling attributes in Ada 2012. Ada Letters. 33(1):93-100.

More information

Technical Report. On the Processor Utilisation Bound of the C=D Scheduling Algorithm. José Augusto Santos-Jr George Lima Konstantinos Bletsas*

Technical Report. On the Processor Utilisation Bound of the C=D Scheduling Algorithm. José Augusto Santos-Jr George Lima Konstantinos Bletsas* Technical Report On the Processor Utilisation Bound of the C=D Scheduling Algorithm José Augusto Santos-Jr George Lima Konstantinos Bletsas* *CISTER Research Center CISTER-TR-141208 2013/03/13 Technical

More information

Real-Time Systems. Hard Real-Time Multiprocessor Scheduling

Real-Time Systems. Hard Real-Time Multiprocessor Scheduling Real-Time Systems Hard Real-Time Multiprocessor Scheduling Marcus Völp WS 2015/16 Outline Introduction Terminology, Notation and Assumptions Anomalies + Impossibility Results Partitioned Scheduling (no

More information

A Fuzzy-based Multi-criteria Scheduler for Uniform Multiprocessor Real-time Systems

A Fuzzy-based Multi-criteria Scheduler for Uniform Multiprocessor Real-time Systems 10th International Conference on Information Technology A Fuzzy-based Multi-criteria Scheduler for Uniform Multiprocessor Real-time Systems Vahid Salmani Engineering, Ferdowsi University of salmani@um.ac.ir

More information

Robust Partitioned Scheduling for Real-Time Multiprocessor Systems

Robust Partitioned Scheduling for Real-Time Multiprocessor Systems Robust Partitioned Scheduling for Real-Time Multiprocessor Systems Frédéric Fauberteau 1, Serge Midonnet 1, and Laurent George 2 1 Université Paris-Est LIGM, UMR CNRS 8049 5, bd Descartes, Champs-sur-Marne,

More information

Multiprocessor Synchronization and Hierarchical Scheduling

Multiprocessor Synchronization and Hierarchical Scheduling Multiprocessor Synchronization and Hierarchical Scheduling Farhang Nemati, Moris Behnam, Thomas Nolte Mälardalen Real-Time Research Centre P.O. Box 883, SE-721 23 Västerås, Sweden farhang.nemati@mdh.se

More information

Parallel Scheduling for Cyber-Physical Systems: Analysis and Case Study on a Self-Driving Car

Parallel Scheduling for Cyber-Physical Systems: Analysis and Case Study on a Self-Driving Car Parallel Scheduling for Cyber-Physical Systems: Analysis and Case Study on a Self-Driving Car Junsung Kim, Hyoseung Kim, Karthik Lakshmanan and Raj Rajkumar Carnegie Mellon University Google 2 CMU s Autonomous

More information

arxiv: v1 [cs.os] 14 Jun 2010

arxiv: v1 [cs.os] 14 Jun 2010 Semi-Partitioned Hard Real-Time Scheduling with Restricted Migrations upon Identical Multiprocessor Platforms François Dorin dorinfr@ensma.fr Patrick Meumeu Yomsi 2 patrick.meumeu.yomsi@ulb.ac.be Pascal

More information

Event-Driven Scheduling. (closely following Jane Liu s Book)

Event-Driven Scheduling. (closely following Jane Liu s Book) Event-Driven Scheduling (closely following Jane Liu s Book) Real-Time Systems, 2006 Event-Driven Systems, 1 Principles Assign priorities to Jobs At events, jobs are scheduled according to their priorities

More information

Global Scheduling in Multiprocessor Real-Time Systems

Global Scheduling in Multiprocessor Real-Time Systems Global Scheduling in Multiprocessor Real-Time Systems Alessandra Melani 1 Global vs Partitioned scheduling Single shared queue instead of multiple dedicated queues Global scheduling Partitioned scheduling

More information

Microkernel/OS and Real-Time Scheduling

Microkernel/OS and Real-Time Scheduling Chapter 12 Microkernel/OS and Real-Time Scheduling Hongwei Zhang http://www.cs.wayne.edu/~hzhang/ Ack.: this lecture is prepared in part based on slides of Lee, Sangiovanni-Vincentelli, Seshia. Outline

More information

Scheduling Aperiodic Tasks using Total Bandwidth Server on Multiprocessors

Scheduling Aperiodic Tasks using Total Bandwidth Server on Multiprocessors Scheduling Aperiodic Tasks using Total Bandwidth Server on Multiprocessors Shinpei Kato and Nobuyuki Yamasaki Department of Information and Computer Science Keio University, Yokohama, Japan {shinpei,yamasaki}@ny.ics.keio.ac.jp

More information

Towards Partitioned Hierarchical Real-Time Scheduling on Multi-core Processors

Towards Partitioned Hierarchical Real-Time Scheduling on Multi-core Processors Towards Partitioned Hierarchical Real-Time Scheduling on Multi-core Processors Mikael Åsberg Mälardalen Real-Time Research Center Mälardalen University Västerås, Sweden mikael.asberg@mdh.se Thomas Nolte

More information

International Journal of Advanced Research in Computer Science and Software Engineering

International Journal of Advanced Research in Computer Science and Software Engineering Volume 3, Issue 4, April 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Reducing the Number

More information

Partitioned Scheduling of P-FRP in Symmetric Homogenous Multiprocessors *

Partitioned Scheduling of P-FRP in Symmetric Homogenous Multiprocessors * Partitioned Scheduling of P-FRP in Symmetric Homogenous Multiprocessors * Chaitanya Belwal, Albert M.K. Cheng Computer Science Department University of Houston Houston, TX, 77, USA http://www.cs.uh.edu

More information

The federated scheduling of constrained-deadline sporadic DAG task systems

The federated scheduling of constrained-deadline sporadic DAG task systems The federated scheduling of constrained-deadline sporadic DAG task systems Sanjoy Baruah The University of North Carolina at Chapel Hill baruah@cs.unc.edu Abstract In the federated approach to multiprocessor

More information

AUTOSAR Extensions for Predictable Task Synchronization in Multi- Core ECUs

AUTOSAR Extensions for Predictable Task Synchronization in Multi- Core ECUs 11AE-0089 AUTOSAR Extensions for Predictable Task Synchronization in Multi- Core ECUs Copyright 2011 SAE International Karthik Lakshmanan, Gaurav Bhatia, Ragunathan (Raj) Rajkumar Carnegie Mellon University

More information

Virtual Clustered-based Multiprocessor Scheduling in Linux Kernel

Virtual Clustered-based Multiprocessor Scheduling in Linux Kernel Virtual Clustered-based Multiprocessor Scheduling in Linux Kernel Master Thesis Author: Syed Md Jakaria Abdullah sah11001@student.mdh.se Supervisor: Nima Moghaddami Khalilzad Examiner: Moris Behnam School

More information

Virtual Clustered-based Multiprocessor Scheduling in Linux Kernel

Virtual Clustered-based Multiprocessor Scheduling in Linux Kernel Virtual Clustered-based Multiprocessor Scheduling in Linux Kernel Master Thesis Author: Syed Md Jakaria Abdullah sah11001@student.mdh.se Supervisor: Nima Moghaddami Khalilzad Examiner: Moris Behnam School

More information

A Modified Maximum Urgency First Scheduling Algorithm for Real-Time Tasks

A Modified Maximum Urgency First Scheduling Algorithm for Real-Time Tasks Vol:, o:9, 2007 A Modified Maximum Urgency irst Scheduling Algorithm for Real-Time Tasks Vahid Salmani, Saman Taghavi Zargar, and Mahmoud aghibzadeh International Science Index, Computer and Information

More information

A Server-based Approach for Predictable GPU Access Control

A Server-based Approach for Predictable GPU Access Control A Server-based Approach for Predictable GPU Access Control Hyoseung Kim * Pratyush Patel Shige Wang Raj Rajkumar * University of California, Riverside Carnegie Mellon University General Motors R&D Benefits

More information

Worst-Case Utilization Bound for EDF Scheduling on Real-Time Multiprocessor Systems

Worst-Case Utilization Bound for EDF Scheduling on Real-Time Multiprocessor Systems Worst-Case Utilization Bound for EDF Scheduling on Real-Time Multiprocessor Systems J.M. López, M. García, J.L. Díaz, D.F. García University of Oviedo Department of Computer Science Campus de Viesques,

More information

CS4514 Real Time Scheduling

CS4514 Real Time Scheduling CS4514 Real Time Scheduling Jose M. Garrido Fall 2015 Department of Computer Science 1 Periodic Tasks Typical real-time application has many tasks that need to be executed periodically Reading sensor data

More information

Schedulability with resource sharing. Priority inheritance protocol Priority ceiling protocol Stack resource policy

Schedulability with resource sharing. Priority inheritance protocol Priority ceiling protocol Stack resource policy Schedulability with resource sharing Priority inheritance protocol Priority ceiling protocol Stack resource policy 1 Lecture overview We have discussed the occurrence of unbounded priority inversion We

More information

Embedded Systems: OS. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Embedded Systems: OS. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Embedded Systems: OS Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Standalone Applications Often no OS involved One large loop Microcontroller-based

More information

Real-Time Architectures 2004/2005

Real-Time Architectures 2004/2005 Real-Time Architectures 2004/2005 Scheduling Analysis I Introduction & Basic scheduling analysis Reinder J. Bril 08-04-2005 1 Overview Algorithm and problem classes Simple, periodic taskset problem statement

More information

A Loadable Real-Time Scheduler Framework for Multicore Platforms

A Loadable Real-Time Scheduler Framework for Multicore Platforms A Loadable Real-Time Scheduler Framework for Multicore Platforms Shinpei Kato, Ragunathan (Raj) Rajkumar, and Yutaka Ishikawa Department of Electrical and Computer Engineering, Carnegie Mellon University

More information

Simulation of Priority Driven Algorithms to Schedule Real-Time Systems T.S.M.Priyanka a*, S.M.K.Chaitanya b

Simulation of Priority Driven Algorithms to Schedule Real-Time Systems T.S.M.Priyanka a*, S.M.K.Chaitanya b International Journal of Current Science, Engineering & Technology Original Research Article Open Access Simulation of Priority Driven Algorithms to Schedule Real-Time Systems T.S.M.Priyanka a*, S.M.K.Chaitanya

More information

Introduction to Embedded Systems

Introduction to Embedded Systems Introduction to Embedded Systems Sanjit A. Seshia UC Berkeley EECS 9/9A Fall 0 008-0: E. A. Lee, A. L. Sangiovanni-Vincentelli, S. A. Seshia. All rights reserved. Chapter : Operating Systems, Microkernels,

More information

A Server-based Approach for Predictable GPU Access Control

A Server-based Approach for Predictable GPU Access Control A Server-based Approach for Predictable GPU Access Control Hyoseung Kim 1, Pratyush Patel 2, Shige Wang 3, and Ragunathan (Raj) Rajkumar 2 1 University of California, Riverside 2 Carnegie Mellon University

More information

Embedded Systems: OS

Embedded Systems: OS Embedded Systems: OS Jinkyu Jeong (Jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) Standalone

More information

PROCESS SCHEDULING II. CS124 Operating Systems Fall , Lecture 13

PROCESS SCHEDULING II. CS124 Operating Systems Fall , Lecture 13 PROCESS SCHEDULING II CS124 Operating Systems Fall 2017-2018, Lecture 13 2 Real-Time Systems Increasingly common to have systems with real-time scheduling requirements Real-time systems are driven by specific

More information

A Schedulability Analysis for Weakly Hard Real- Time Tasks in Partitioning Scheduling on Multiprocessor Systems

A Schedulability Analysis for Weakly Hard Real- Time Tasks in Partitioning Scheduling on Multiprocessor Systems 2014 8th Malaysian Software Engineering Conference (MySEC) A Schedulability Analysis for Weakly Hard Real- Time Tasks in Partitioning Scheduling on Multiprocessor Systems Habibah Ismail, Dayang N. A. Jawawi

More information

Fault tolerant scheduling in real time systems

Fault tolerant scheduling in real time systems tolerant scheduling in real time systems Afrin Shafiuddin Department of Electrical and Computer Engineering University of Wisconsin-Madison shafiuddin@wisc.edu Swetha Srinivasan Department of Electrical

More information

OPERATING SYSTEMS CS3502 Spring Processor Scheduling. Chapter 5

OPERATING SYSTEMS CS3502 Spring Processor Scheduling. Chapter 5 OPERATING SYSTEMS CS3502 Spring 2018 Processor Scheduling Chapter 5 Goals of Processor Scheduling Scheduling is the sharing of the CPU among the processes in the ready queue The critical activities are:

More information

Scheduling of Parallel Real-time DAG Tasks on Multiprocessor Systems

Scheduling of Parallel Real-time DAG Tasks on Multiprocessor Systems Scheduling of Parallel Real-time DAG Tasks on Multiprocessor Systems Laurent George ESIEE Paris Journée du groupe de travail OVSTR - 23 mai 2016 Université Paris-Est, LRT Team at LIGM 1/53 CONTEXT: REAL-TIME

More information

Multiprocessor Real-Time Locking Protocols: from Homogeneous to Heterogeneous

Multiprocessor Real-Time Locking Protocols: from Homogeneous to Heterogeneous Multiprocessor Real-Time Locking Protocols: from Homogeneous to Heterogeneous Kecheng Yang Department of Computer Science, University of North Carolina at Chapel Hill Abstract In this project, we focus

More information

Real-Time and Concurrent Programming Lecture 6 (F6): Scheduling and bounded response times

Real-Time and Concurrent Programming Lecture 6 (F6): Scheduling and bounded response times http://cs.lth.se/eda040 Real-Time and Concurrent Programming Lecture 6 (F6): Scheduling and bounded response times Klas Nilsson 2015-10-06 http://cs.lth.se/eda040 F6: Scheduling and bounded response times

More information

Overview of real-time scheduling problems

Overview of real-time scheduling problems Overview of real-time scheduling problems 1 J. Goossens 1 and P. Richard 2 Université Libre de Bruxelles e-mail: joel.goossens@ulb.ac.be 2 Laboratoire d Informatique Scientifique et Industrielle ENSMA

More information

REAL-TIME SCHEDULING OF SOFT PERIODIC TASKS ON MULTIPROCESSOR SYSTEMS: A FUZZY MODEL

REAL-TIME SCHEDULING OF SOFT PERIODIC TASKS ON MULTIPROCESSOR SYSTEMS: A FUZZY MODEL Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 3, Issue. 6, June 2014, pg.348

More information

Authors Abugchem, F. (Fathi); Short, M. (Michael); Xu, D. (Donglai)

Authors Abugchem, F. (Fathi); Short, M. (Michael); Xu, D. (Donglai) TeesRep - Teesside's Research Repository A Note on the Suboptimality of Nonpreemptive Real-time Scheduling Item type Article Authors Abugchem, F. (Fathi); Short, M. (Michael); Xu, D. (Donglai) Citation

More information

THE integration of multiple functionalities on a single

THE integration of multiple functionalities on a single Scheduling Mixed-Criticality Real-Time Tasks with Fault Tolerance Jian (Denny) Lin 1, Albert M. K. Cheng 2, Douglas Steel 1, Michael Yu-Chi Wu 1 1 Department of Management Information Systems, University

More information

Exam Review TexPoint fonts used in EMF.

Exam Review TexPoint fonts used in EMF. Exam Review Generics Definitions: hard & soft real-time Task/message classification based on criticality and invocation behavior Why special performance measures for RTES? What s deadline and where is

More information

Optimal Priority and Threshold Assignment for Fixed-priority Preemption Threshold Scheduling

Optimal Priority and Threshold Assignment for Fixed-priority Preemption Threshold Scheduling Optimal Priority and Threshold Assignment for Fixed-priority Preemption Threshold Scheduling Leo Hatvani Technische Universiteit Eindhoven (TU/e) The Netherlands l.hatvani@tue.nl Sara Afshar Mälardalen

More information

Scheduling Algorithms for Real-Time Systems

Scheduling Algorithms for Real-Time Systems Scheduling Algorithms for Real-Time Systems Fredrik Lindh Master Program in Computer Engineering Mälardalens University, Sweden flh07001@student.mdh.se Thomas Otnes Jessica Wennerström Master Program in

More information

Global Semi-Fixed-Priority Scheduling on Multiprocessors

Global Semi-Fixed-Priority Scheduling on Multiprocessors Global Semi-Fixed-Priority Scheduling on Multiprocessors Hiroyui Chishiro and Nobuyui Yamasai School of Science and Technology Keio University, Yoohama, Japan Email: {chishiro,yamasai}@ny.ics.eio.ac.jp

More information

Reducing Stack with Intra-Task Threshold Priorities in Real-Time Systems

Reducing Stack with Intra-Task Threshold Priorities in Real-Time Systems Reducing Stack with Intra-Task Threshold Priorities in Real-Time Systems Gang Yao Scuola Superiore Sant Anna Pisa, Italy g.yao@sssup.it Giorgio Buttazzo Scuola Superiore Sant Anna Pisa, Italy g.buttazzo@sssup.it

More information

What to Make of Multicore Processors for Reliable Real-Time Systems?

What to Make of Multicore Processors for Reliable Real-Time Systems? What to Make of Multicore Processors for Reliable Real-Time Systems? Technical Report TR-100401 Theodore P. Baker Dept. of Computer Science Florida State University Tallahassee FL 32306-4530, USA e-mail:

More information

An Integration of Imprecise Computation Model and Real-Time Voltage and Frequency Scaling

An Integration of Imprecise Computation Model and Real-Time Voltage and Frequency Scaling An Integration of Imprecise Computation Model and Real-Time Voltage and Frequency Scaling Keigo Mizotani, Yusuke Hatori, Yusuke Kumura, Masayoshi Takasu, Hiroyuki Chishiro, and Nobuyuki Yamasaki Graduate

More information

Comparative evaluation of limited preemptive methods

Comparative evaluation of limited preemptive methods Comparative evaluation of limited preemptive methods Gang Yao, Giorgio Buttazzo and Marko Bertogna Scuola Superiore Sant Anna, Pisa, Italy, {g.yao, g.buttazzo, m.bertogna}@sssup.it Abstract Schedulability

More information

Improved Analysis and Evaluation of Real-Time Semaphore Protocols for P-FP Scheduling

Improved Analysis and Evaluation of Real-Time Semaphore Protocols for P-FP Scheduling Improved Analysis and Evaluation of Real-Time Semaphore Protocols for P-FP Scheduling RTAS 13 April 10, 2013 Björn B. bbb@mpi-sws.org Semaphores + P-FP Scheduling Used in practice: VxWorks, QNX, ThreadX,

More information

Approximate Response Time Analysis of Real-Time Task Graphs

Approximate Response Time Analysis of Real-Time Task Graphs 01 IEEE Real-Time Systems Symposium Approximate Response Time Analysis of Real-Time Tas Graphs Nan Guan 1,, Chuancai Gu 1, Martin Stigge, Qingxu Deng 1 and Wang Yi 1 Northeastern University, China Uppsala

More information

REcent real-time systems are required to deal with not

REcent real-time systems are required to deal with not Feedback-Controlled Server for Scheduling Aperiodic Tasks Shinpei Kato and Nobuyuki Yamasaki Abstract This paper proposes a scheduling scheme using feedback control to reduce the response time of aperiodic

More information

Search Algorithms. IE 496 Lecture 17

Search Algorithms. IE 496 Lecture 17 Search Algorithms IE 496 Lecture 17 Reading for This Lecture Primary Horowitz and Sahni, Chapter 8 Basic Search Algorithms Search Algorithms Search algorithms are fundamental techniques applied to solve

More information

Overhead-Aware Schedulability Analysis on Responsive Multithreaded Processor

Overhead-Aware Schedulability Analysis on Responsive Multithreaded Processor Overhead-Aware Schedulability Analysis on Responsive Multithreaded Processor Yusuke Kumura, Keigo Mizotani, Masayoshi Takasu, Hiroyuki Chishiro, and Nobuyuki Yamasaki Graduate School of Science and Technology,

More information

Controlled duplication for scheduling real-time precedence tasks on heterogeneous multiprocessors

Controlled duplication for scheduling real-time precedence tasks on heterogeneous multiprocessors Controlled duplication for scheduling real-time precedence tasks on heterogeneous multiprocessors Jagpreet Singh* and Nitin Auluck Department of Computer Science & Engineering Indian Institute of Technology,

More information

1.1 CPU I/O Burst Cycle

1.1 CPU I/O Burst Cycle PROCESS SCHEDULING ALGORITHMS As discussed earlier, in multiprogramming systems, there are many processes in the memory simultaneously. In these systems there may be one or more processors (CPUs) but the

More information

State-Based Mode Switching with Applications to Mixed-Criticality Systems

State-Based Mode Switching with Applications to Mixed-Criticality Systems State-Based Mode Switching with Applications to Mixed-Criticality Systems Pontus Ekberg, Martin Stigge, Nan Guan and Wang Yi Uppsala University, Sweden Email: {pontus.ekberg martin.stigge nan.guan yi}@it.uu.se

More information

Go-RealTime: A Lightweight Framework for Multiprocessor Real-Time System in User Space

Go-RealTime: A Lightweight Framework for Multiprocessor Real-Time System in User Space Go-RealTime: A Lightweight Framework for Multiprocessor Real-Time System in User Space Zhou Fang Hao Zhuang Mulong Luo Rajesh K. Gupta Fatima M. Anwar Los Angeles ABSTRACT We present the design of Go-RealTime,

More information

A Loadable Real-Time Scheduler Suite for Multicore Platforms

A Loadable Real-Time Scheduler Suite for Multicore Platforms A Loadable Real-Time Scheduler Suite for Multicore Platforms Shinpei Kato, Ragunathan (Raj) Rajkumar, and Yutaka Ishikawa Department of Electrical and Computer Engineering, Carnegie Mellon University Department

More information

Real-Time Scheduling in Distributed Environments

Real-Time Scheduling in Distributed Environments Real-Time Scheduling in Distributed Environments Arnab Sarkar Dept. of Computer Sc. & Engg. IIT Guwahati STC Networks & Distrib. Comput., IITG 1 Setting the Stage Real-time Systems A system whose specification

More information

Transforming Distributed Acyclic Systems into Equivalent Uniprocessors Under Preemptive and Non-Preemptive Scheduling

Transforming Distributed Acyclic Systems into Equivalent Uniprocessors Under Preemptive and Non-Preemptive Scheduling Euromicro Conference on Real-Time Systems Transforming Distributed Acyclic Systems into Equivalent Uniprocessors Under Preemptive and Non-Preemptive Scheduling Praveen Jayachandran and Tarek Abdelzaher

More information

Overview of Scheduling a Mix of Periodic and Aperiodic Tasks

Overview of Scheduling a Mix of Periodic and Aperiodic Tasks Overview of Scheduling a Mix of Periodic and Aperiodic Tasks Minsoo Ryu Department of Computer Science and Engineering 2 Naive approach Background scheduling Algorithms Under static priority policy (RM)

More information

Real-time scheduling of transactions in multicore systems

Real-time scheduling of transactions in multicore systems Real-time scheduling of transactions in multicore systems Toufik Sarni, Audrey Queudet, Patrick Valduriez To cite this version: Toufik Sarni, Audrey Queudet, Patrick Valduriez. Real-time scheduling of

More information

Multi-Criteria Evaluation of Partitioned EDF-VD for Mixed-Criticality Systems Upon Identical Processors

Multi-Criteria Evaluation of Partitioned EDF-VD for Mixed-Criticality Systems Upon Identical Processors Multi-Criteria Evaluation of Partitioned EDF-VD for Mixed-Criticality Systems Upon Identical Processors Paul Rodriguez Université Libre de Bruxelles ECE Paris paurodri@ulb.ac.be Laurent George University

More information

Resource Sharing among Prioritized Real-Time Applications on Multiprocessors

Resource Sharing among Prioritized Real-Time Applications on Multiprocessors Resource Sharing among Prioritized Real-Time Applications on Multiprocessors Sara Afshar, Nima Khalilzad, Farhang Nemati, Thomas Nolte Email: sara.afshar@mdh.se MRTC, Mälardalen University, Sweden ABSTRACT

More information

Semi-Federated Scheduling of Parallel Real-Time Tasks on Multiprocessors

Semi-Federated Scheduling of Parallel Real-Time Tasks on Multiprocessors Semi-Federated Scheduling of Parallel Real-Time Tasks on Multiprocessors Xu Jiang1,2, Nan Guan1, Xiang Long2, Wang Yi3 arxiv:175.3245v1 [cs.dc] 9 May 217 1 The Hong Kong Polytechnic University, Hong Kong

More information

The Case for Fair Multiprocessor Scheduling

The Case for Fair Multiprocessor Scheduling The Case for Fair Multiprocessor Scheduling Anand Srinivasan, Philip Holman, James H. Anderson, and Sanjoy Baruah Department of Computer Science University of North Carolina at Chapel Hill E-mail: {anands,holman,anderson,baruah}@cs.unc.edu

More information

Schedulability Analysis of the Linux Push and Pull Scheduler with Arbitrary Processor Affinities

Schedulability Analysis of the Linux Push and Pull Scheduler with Arbitrary Processor Affinities Schedulability Analysis of the Linux Push and Pull Scheduler with Arbitrary Processor Affinities Arpan Gujarati, Felipe Cerqueira, and Björn Brandenburg Multiprocessor real-time scheduling theory Global

More information

Real-Time Scheduling for Parallel Task Models on Multi-core Processors - A critical review"

Real-Time Scheduling for Parallel Task Models on Multi-core Processors - A critical review Real-Time Scheduling for Parallel Task Models on Multi-core Processors - A critical review" Mahesh Lokhande 1, Dr. Mohd. Atique 2 Research Scholar, Dept. of CS and Engg. 1, Associate Professor, Dept. of

More information

Graph-Based Models for Real-Time Workload: A Survey

Graph-Based Models for Real-Time Workload: A Survey This paper is published in Real-Time Systems. The final publication is available at http://link.springer.com. Graph-Based Models for Real-Time Workload: A Survey Martin Stigge Wang Yi Abstract This paper

More information

ExSched: An External CPU Scheduler Framework for Real-Time Systems

ExSched: An External CPU Scheduler Framework for Real-Time Systems ExSched: An External CPU Scheduler Framework for Real-Time Systems Mikael Åsberg and Thomas Nolte Mälardalen Real-Time Research Center Mälardalen University (Sweden) Ragunathan Rajkumar Department of Electrical

More information

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition Chapter 6: CPU Scheduling Silberschatz, Galvin and Gagne 2013 Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Real-Time

More information

Lecture 12: An Overview of Scheduling Theory

Lecture 12: An Overview of Scheduling Theory Lecture 12: An Overview of Scheduling Theory [RTCS Ch 8] Introduction Execution Time Estimation Basic Scheduling Approaches Static Cyclic Scheduling Fixed Priority Scheduling Rate Monotonic Analysis Earliest

More information

THE DELAY COMPOSITION THEOREM ON PIPELINE SYSTEMS WITH NON-PREEMPTIVE PRIORITY VARYING SCHEDULING ALGORITHMS YI LU THESIS

THE DELAY COMPOSITION THEOREM ON PIPELINE SYSTEMS WITH NON-PREEMPTIVE PRIORITY VARYING SCHEDULING ALGORITHMS YI LU THESIS THE DELAY COMPOSITION THEOREM ON PIPELINE SYSTEMS WITH NON-PREEMPTIVE PRIORITY VARYING SCHEDULING ALGORITHMS BY YI LU THESIS Submitted in partial fulfillment of the requirements for the degree of Master

More information

Scheduling Hard-Real-Time Tasks with Backup Phasing Delay

Scheduling Hard-Real-Time Tasks with Backup Phasing Delay Scheduling Hard-Real-Time Tasks with Backup Phasing Delay Alan A. Bertossi 1 Luigi V. Mancini 2 Alessandra Menapace 1 Dipartimento di Scienze dell Informazione Università di Bologna, Bologna, Italy bertossi@cs.unibo.it

More information

Practical Imprecise Computation Model: Theory and Practice

Practical Imprecise Computation Model: Theory and Practice Practical Imprecise Computation Model: Theory and Practice Hiroyuki Chishiro and Nobuyuki Yamasaki Department of Information and Computer Science, Keio University, Yokohama, Japan chishiro,yamasaki@ny.ics.keio.ac.jp

More information

CPU Scheduling. Daniel Mosse. (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013)

CPU Scheduling. Daniel Mosse. (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013) CPU Scheduling Daniel Mosse (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013) Basic Concepts Maximum CPU utilization obtained with multiprogramming CPU I/O Burst Cycle Process

More information

-- the Timing Problem & Possible Solutions

-- the Timing Problem & Possible Solutions ARTIST Summer School in Europe 2010 Autrans (near Grenoble), France September 5-10, 2010 Towards Real-Time Applications on Multicore -- the Timing Problem & Possible Solutions Wang Yi Uppsala University,

More information

Analyzing Real-Time Systems

Analyzing Real-Time Systems Analyzing Real-Time Systems Reference: Burns and Wellings, Real-Time Systems and Programming Languages 17-654/17-754: Analysis of Software Artifacts Jonathan Aldrich Real-Time Systems Definition Any system

More information

Survey of different Task Scheduling Algorithm

Survey of different Task Scheduling Algorithm 2014 IJEDR Volume 2, Issue 1 ISSN: 2321-9939 Survey of different Task Scheduling Algorithm 1 Viral Patel, 2 Milin Patel 1 Student, 2 Assistant Professor 1 Master in Computer Engineering, Parul Institute

More information

Fault-tolerant techniques

Fault-tolerant techniques What are the effects if the hardware or software is not fault-free in a real-time system? What causes component faults? Specification or design faults: Incomplete or erroneous models Lack of techniques

More information

A Multiprocessor Real-Time Scheduling Simulation Tool

A Multiprocessor Real-Time Scheduling Simulation Tool A Multiprocessor Real-Time Scheduling Simulation Tool Arnoldo Díaz-Ramírez, Dulce K. Orduño Department of Computer Systems Instituto Tecnológico de Mexicali Av. Tecnológico s/n Col. Elías Calles Mexicali,

More information

On the Tractability of Digraph-Based Task Models

On the Tractability of Digraph-Based Task Models On the Tractability of Digraph-Based Task Models Martin Stigge, Pontus Ekberg, Nan Guan, and Wang Yi Uppsala University, Sweden Email: {martin.stigge pontus.ekberg nan.guan yi}@it.uu.se Abstract In formal

More information

4/6/2011. Informally, scheduling is. Informally, scheduling is. More precisely, Periodic and Aperiodic. Periodic Task. Periodic Task (Contd.

4/6/2011. Informally, scheduling is. Informally, scheduling is. More precisely, Periodic and Aperiodic. Periodic Task. Periodic Task (Contd. So far in CS4271 Functionality analysis Modeling, Model Checking Timing Analysis Software level WCET analysis System level Scheduling methods Today! erformance Validation Systems CS 4271 Lecture 10 Abhik

More information

Chapter 5: CPU Scheduling

Chapter 5: CPU Scheduling Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Operating Systems Examples Algorithm Evaluation Chapter 5: CPU Scheduling

More information

Carnegie Mellon University. Hard Real-Time Multiprocessor Scheduling (Part II) Marcus Völp

Carnegie Mellon University. Hard Real-Time Multiprocessor Scheduling (Part II) Marcus Völp Hard eal-time Multiprocessor Scheduling (Part II) Marcus Völp Lessons Learned from UP two concepts to counteract priority inversion priority inheritance priority ceiling priority ceiling priority inheritance

More information

Uniprocessor Scheduling. Basic Concepts Scheduling Criteria Scheduling Algorithms. Three level scheduling

Uniprocessor Scheduling. Basic Concepts Scheduling Criteria Scheduling Algorithms. Three level scheduling Uniprocessor Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Three level scheduling 2 1 Types of Scheduling 3 Long- and Medium-Term Schedulers Long-term scheduler Determines which programs

More information

郭大維教授 嵌入式系統暨無線網路實驗室 國立臺灣大學資訊工程學系

郭大維教授 嵌入式系統暨無線網路實驗室 國立臺灣大學資訊工程學系 Introduction to Real- Process Scheduling 郭大維教授 ktw@csie.ntu.edu.tw 嵌入式系統暨無線網路實驗室 (Embedded Systems and Wireless Networking Laboratory) 國立臺灣大學資訊工程學系 Introduction to Real- Process Scheduling Q: Many theories

More information

Recap. Run to completion in order of arrival Pros: simple, low overhead, good for batch jobs Cons: short jobs can stuck behind the long ones

Recap. Run to completion in order of arrival Pros: simple, low overhead, good for batch jobs Cons: short jobs can stuck behind the long ones Recap First-Come, First-Served (FCFS) Run to completion in order of arrival Pros: simple, low overhead, good for batch jobs Cons: short jobs can stuck behind the long ones Round-Robin (RR) FCFS with preemption.

More information

An Approach for Multi-Core Real Time Parallel Processing

An Approach for Multi-Core Real Time Parallel Processing An Approach for Multi-Core Real Time Parallel Processing Shyamal G. Mundada Department of Computer Science Engineering Ramdeobaba College Of Engineering and Management Nagpur, India M.B.Chandak Head &

More information

CPU Scheduling. Schedulers. CPSC 313: Intro to Computer Systems. Intro to Scheduling. Schedulers in the OS

CPU Scheduling. Schedulers. CPSC 313: Intro to Computer Systems. Intro to Scheduling. Schedulers in the OS Schedulers in the OS Scheduling Structure of a Scheduler Scheduling = Selection + Dispatching Criteria for scheduling Scheduling Algorithms FIFO/FCFS SPF / SRTF Priority - Based Schedulers start long-term

More information

A Binary Integer Linear Programming-Based Approach for Solving the Allocation Problem in Multiprocessor Partitioned Scheduling

A Binary Integer Linear Programming-Based Approach for Solving the Allocation Problem in Multiprocessor Partitioned Scheduling A Binary Integer Linear Programming-Based Approach for Solving the Allocation Problem in Multiprocessor Partitioned Scheduling L. Puente-Maury, P. Mejía-Alvarez, L. E. Leyva-del-Foyo Department of Computer

More information

This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and

This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and education use, including for instruction at the authors institution

More information

SIRAP: A Synchronization Protocol for Hierarchical Resource Sharing in Real-Time Open Systems

SIRAP: A Synchronization Protocol for Hierarchical Resource Sharing in Real-Time Open Systems SIRAP: A Synchronization Protocol for Hierarchical Resource Sharing in Real-Time Open Systems Moris Behnam, Insik Shin, Thomas Nolte, Mikael Nolin Mälardalen Real-Time Research Centre (MRTC) Västerås,

More information