Fixed-Priority Multiprocessor Scheduling
|
|
- Myra Leonard
- 5 years ago
- Views:
Transcription
1 Fixed-Priority Multiprocessor Scheduling
2 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
3 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)
4 Rate Monotonic Scheduling Priority assignment: shorter period higher prio. Run-time schedule: the highest priority first high priority mediate priority low priority Run-time schedule How to check whether all deadlines are met?
5 Liu and Layland s Utilization Bound Schedulability Analysis P Schedulable? 00%.9% U i U i = C i / T i Liu and Layland s bound:
6 Liu and Layland s Utilization Bound Schedulability Analysis CPU 00%.9% Yes, schedulable! Liu and Layland s bound:
7 Multiprocessor (multicore) Scheduling Significantly more difficult: Timing anomalies Hard to identify the worst-case scenario Bin-packing/NP-hard problems Multiple resources e.g. caches, bandwidth
8 Quetion (since 9) Find a multiprocessor scheduling algorithm that can achieve Liu and Layland s utilization bound? number of processors
9 Multiprocessor Scheduling Global Scheduling Partitioned Scheduling Partitioned Scheduling with Task Splitting new task waiting queue cpu cpu cpu cpu cpu cpu cpu cpu cpu
10 Best Known Results 80 0 % From Uppsala RTAS 00 Liu and Layland s Utilization Bound [OPODIS 08] [TPDS 0] [ECRTS 0] [RTSS 0] 6 66 [RTCSA 06] Fixed Priority Dynamic Priority Fixed Priority Dynamic Priority Fixed Priority Dynamic Priority Task Splitting Global Partitioned Multiprocessor Scheduling
11 Multiprocessor Scheduling Global Scheduling new task Would fixed-priority scheduling e.g. RMS work? waiting queue 8 6 cpu cpu cpu
12 Multiprocessor Scheduling Global Scheduling new task waiting queue 8 Would fixed-priority scheduling e.g. RMS work? Unfortunately RMS suffers from the Dhall s anomali Utilization may be 0% 6 cpu cpu cpu
13 Dhall s anomali CPU CPU CPU 0 ε + ε
14 Dhall s anomali CPU CPU Deadline miss 0 ε + ε Schedule the tasks on CPUs using RMS
15 Dhall s anomali (M+ tasks and M processors) /(ε+) ε/ ε/ ε/ # # #M #M+ P P P M U M*ε + /(+ ε) M 0
16 Multiprocessor Scheduling Partitioned Scheduling cpu cpu cpu
17 Multiprocessor Scheduling Partitioned Scheduling Resource utilization may be limited to 0% cpu cpu cpu
18 Partitioning Partitioned Scheduling P P P
19 Partitioning Partitioned Scheduling P P P 6 8 9
20 Scheduling Partitioned Scheduling reduced to single-processor scheduling on each processor P 00%.9% Yes, schedulable! P P P 6 8 9
21 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
22 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
23 Partitioned Scheduling The Partitioning Problem is similar to Bin-packing Problem (NP-hard) Limited Resource Usage necessary condition to guarantee schedulability #M+, #M+, 0%+ ε P P P M # # #M
24 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
25 Multiprocessor Scheduling Partitioned Scheduling with Task Splitting 6 cpu cpu cpu
26 Partitioning Partitioned Scheduling P P P
27 Bin-Packing with Item Splitting Resource can be fully (better) utilized Bin Bin Bin 8 6 8
28 Depth-First Partitioning Algorithms [Kato et al. IPDPS 08] [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 lowest priority 8 P highest priority 6
29 Lakshmanan s Algorithm [ECRTS 09] Sort all tasks in decreasing order of utilization highest util. 8 6 lowest util.
30 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. lowest util. 8 6 P
31 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P 6 8 lowest util.
32 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P 6 8 lowest util.
33 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. 6 P 6 8 lowest util.
34 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util.
35 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util.
36 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util.
37 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util.
38 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util.
39 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P lowest util.
40 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P P lowest util.
41 Lakshmanan s Algorithm [ECRTS 09] Pick up one processor, and assign as many tasks as possible highest util. P P P lowest util.
42 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
43 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. 6%
44 Breadth-First Partitioning Algorithms [RTAS 00] Sort all tasks in increasing priority order lowest priority 6 highest priority
45 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest lowest priority highest priority 6 P P P
46 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest lowest priority 6 P P P highest priority
47 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest lowest priority P P P 6 highest priority
48 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest lowest priority P P P 6 highest priority
49 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest lowest priority P P P 6 highest priority
50 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest lowest priority P P P 6 highest priority
51 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest lowest priority P P P highest priority 6
52 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest lowest priority P P P 6 highest priority
53 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest lowest priority P P P 6 highest priority
54 Breadth-First Partitioning Algorithms Select the processor on which the assigned utilization is the lowest P P P 6
55 Comparison Why is the breadth algorithm better? 8 P breadth-first & increasing priority order P P 6 depth-first & decreasing utilization order P P P 6 8 6
56 Split Task Consider an extreme scenario: suppose each subtask has the highest priority schedulable anyway, we do not need to worry about their deadlines 8 6 The difficult case is when the tail task is not on the top the key point is to ensure the tail task is schedulable
57 Why the tail task is schedulable? The typical case: two CPUs and task is split to two sub-tasks U Y U As we always select the CPU with the lowest load assigned, we know X X Y + U <= U Y <= U - U That is, the blocking factor for the tail task is bounded.
58 Theorem For a task set in which each task satisfies we have
59 Theorem For a task set in which each task satisfies get rid of this constraint we have
60 Problem of Heavy Tasks lowest priority P P P highest priority
61 Problem of Heavy Tasks lowest priority 8 6 P P P highest priority 9
62 Problem of Heavy Tasks lowest priority P P P highest priority 6 9 8
63 Problem of Heavy Tasks lowest priority 6 P P P highest priority 9 8
64 Problem of Heavy Tasks lowest priority P P P highest priority
65 Problem of Heavy Tasks lowest priority P P P highest priority
66 Problem of Heavy Tasks lowest priority P P P highest priority
67 Problem of Heavy Tasks lowest priority P P P highest priority
68 Problem of Heavy Tasks lowest priority P P P highest priority
69 Problem of Heavy Tasks lowest priority P P P highest priority
70 Problem of Heavy Tasks 6 9 P P P 6 8
71 Problem of Heavy Tasks the heavy tasks tail task may have too low priority level 6 9 P P P 6 8
72 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority P P P highest priority
73 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority 9 8 P P P highest priority 6
74 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority 8 P P P highest priority 6 9
75 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority P P P highest priority
76 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority P P P highest priority
77 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority P P P highest priority
78 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority P P P highest priority
79 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority P P P highest priority
80 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority P P P highest priority
81 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) lowest priority 6 P P P 9 8 highest priority
82 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) 6 P P P 9 8
83 Solution for Heavy Tasks Pre-assigning the heavy tasks (that may have low priorities) 6 P P P 9 8 avoid to split heavy tasks (that may have low priorities)
84 Theorem By introducing the pre-assignment mechanism, we have Liu and Layland s utilization bound for all task sets!
85 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
86 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
87 Further Improvement P P P Schedulable? % 8
88 Uisng Liu and Layland s Utilization Bound P P P 00% Yes, schedulable by our algorithm
89 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.69 (, ) (, 8) (, )
90 Exact Analysis Exact Analysis: Response Time Analysis [Lehoczky_89] pseudo-polynomial (, ) (, ) (, 8) (, ) R k task k is schedulable iff R k <= T k
91 Utilization Bound v.s. Exact Analysis On single processors Utilization bound Test for RMS P Exact Analysis for RMS P 00% 00% 88% [Lehoczky_89]
92 On Multiprocessors Can we do something similar on multiprocessors? Utilization bound Test? the algorithm introduced above P P P P P P 00% 00%
93 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
94 Summary Real-time Systems infinite, multi-task, multi-rate
95 Summary Real-time Systems infinite, multi-task, multi-rate On Single-processors Liu and Layland s Utilization bound % Liu and Layland s Utilization Bound
96 Summary Real-time Systems infinite, multi-task, multi-rate On Single-processors Liu and Layland s Utilization bound On Multiprocessors % Liu and Layland s Utilization Bound Multiprocessor Scheduling
97 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 % 80 0 Liu and Layland s Utilization Bound 60 P 0 0 P P deadline miss [OPODIS 08] 0 ε + ε Global Multiprocessor Scheduling
98 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 08] 0 [ECRTS 0] 0 Global Partitioned Multiprocessor Scheduling
99 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 0 Our Recent Work Partitioned with Task Splitting split tasks with high priorities Liu and Layland s utilization bound [OPODIS 08] Global 0 [ECRTS 0] Partitioned [Our Work] Splitting Multiprocessor Scheduling
100 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 [Andersson08OPODIS] Bjorn Andersson: Global Static-Priority Preemptive Multiprocessor Scheduling with Utilization Bound 8%. OPODIS 008 [Andersson06RTCSA] Bjorn Andersson, Eduardo Tovar: Multiprocessor Scheduling with Few preemption. RTCSA 006 [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. 6(8): (00) [Lakshmanan09ECRTS] Karthik Lakshmanan, Ragunathan Rajkumar, John Lehoczky Partitioned Fixed-Priority Preemptive Scheduling for Multi-core Processors. ECRTS 0006 [Lopez0RTSS] J. M. Lopez, J. L. Diaz, and D. F. Garcia, Utilization Bounds for EDF Scheduling on Real-Time Multiprocessor Systems, RTSS 00. [Oh98] D. Oh and T. P. Baker. Utilization bounds for n-processor Rate Monotone scheduling with static processor assignment. In Real-Time Systems, 998. [Kato08IPDPS] Shinpei Kato, Nobuyuki Yamasaki: Portioned static-priority scheduling on multiprocessors. IPDPS 008 [Kato09RTAS] Shinpei Kato, Nobuyuki Yamasaki: Semi-partitioned Fixed- Priority Scheduling on Multiprocessors. RTAS 009.
Fixed-Priority Multiprocessor Scheduling. Real-time Systems. N periodic tasks (of different rates/periods) i Ji C J. 2 i. ij 3
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
More informationCluster 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 informationComparison 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 informationA 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 informationDocument 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 informationReal-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 informationPartitioned 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 informationParallel 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 informationGlobal 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 informationEvent-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 informationarxiv: 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 informationTechnical 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 informationMicrokernel/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 informationMultiprocessor 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 informationScheduling 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 informationA 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 informationRobust 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 informationCS4514 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 informationPartitioned 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 informationWorst-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 informationReal-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 informationIntroduction 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 informationTowards 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 informationAUTOSAR 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 informationVirtual 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 informationVirtual 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 informationScheduling 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 informationEmbedded 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 informationEmbedded 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 informationPROCESS 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 informationInternational 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 informationLecture 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 informationOPERATING 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 informationExam 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 informationSchedulability 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 informationThe 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 informationFault 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 informationSimulation 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 informationA 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 informationReal-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 informationMultiprocessor 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 informationOverview 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 informationRecap. 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 informationCPU 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 informationReal-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 informationChapter 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 information1.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 informationA 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 informationA 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 informationA 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 informationChapter 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 informationA 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 informationWhat 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 informationCPU Scheduling. Operating Systems (Fall/Winter 2018) Yajin Zhou ( Zhejiang University
Operating Systems (Fall/Winter 2018) CPU Scheduling Yajin Zhou (http://yajin.org) Zhejiang University Acknowledgement: some pages are based on the slides from Zhi Wang(fsu). Review Motivation to use threads
More informationOverview 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 informationGo-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 informationImproved 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 informationControlled 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 informationTransforming 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 informationCS370 Operating Systems
CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 10 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 Chapter 6: CPU Scheduling Basic Concepts
More informationCPU Scheduling: Objectives
CPU Scheduling: Objectives CPU scheduling, the basis for multiprogrammed operating systems CPU-scheduling algorithms Evaluation criteria for selecting a CPU-scheduling algorithm for a particular system
More informationTHE 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 informationTHE 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 informationResource 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 informationScheduling 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 informationSimplified design flow for embedded systems
Simplified design flow for embedded systems 2005/12/02-1- Reuse of standard software components Knowledge from previous designs to be made available in the form of intellectual property (IP, for SW & HW).
More informationOverhead-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 informationPractice Exercises 305
Practice Exercises 305 The FCFS algorithm is nonpreemptive; the RR algorithm is preemptive. The SJF and priority algorithms may be either preemptive or nonpreemptive. Multilevel queue algorithms allow
More informationReal-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 informationREAL-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 informationAn 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 informationAnalyzing 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 informationSemi-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 information4/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 informationLecture Topics. Announcements. Today: Uniprocessor Scheduling (Stallings, chapter ) Next: Advanced Scheduling (Stallings, chapter
Lecture Topics Today: Uniprocessor Scheduling (Stallings, chapter 9.1-9.3) Next: Advanced Scheduling (Stallings, chapter 10.1-10.4) 1 Announcements Self-Study Exercise #10 Project #8 (due 11/16) Project
More informationarxiv: v2 [cs.ds] 22 Jun 2016
Federated Scheduling Admits No Constant Speedup Factors for Constrained-Deadline DAG Task Systems Jian-Jia Chen Department of Informatics, TU Dortmund University, Germany arxiv:1510.07254v2 [cs.ds] 22
More informationA Synchronous IPC Protocol for Predictable Access to Shared Resources in Mixed-Criticality Systems
A Synchronous IPC Protocol for Predictable Access to Shared Resources in Mixed-Criticality Systems RTSS 14 December 4, 2014 Björn B. bbb@mpi-sws.org Linux Testbed for Multiprocessor Scheduling in Real-Time
More informationChapter 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 informationAperiodic Servers (Issues)
Aperiodic Servers (Issues) Interference Causes more interference than simple periodic tasks Increased context switching Cache interference Accounting Context switch time Again, possibly more context switches
More informationThe 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 informationREcent 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 informationSearch 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 informationAn 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 informationMultiprocessor and Real- Time Scheduling. Chapter 10
Multiprocessor and Real- Time Scheduling Chapter 10 Classifications of Multiprocessor Loosely coupled multiprocessor each processor has its own memory and I/O channels Functionally specialized processors
More informationUniprocessor 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 informationMultimedia-Systems. Operating Systems. Prof. Dr.-Ing. Ralf Steinmetz Prof. Dr. rer. nat. Max Mühlhäuser Prof. Dr.-Ing. Wolfgang Effelsberg
Multimedia-Systems Operating Systems Prof. Dr.-Ing. Ralf Steinmetz Prof. Dr. rer. nat. Max Mühlhäuser Prof. Dr.-Ing. Wolfgang Effelsberg WE: University of Mannheim, Dept. of Computer Science Praktische
More informationAuthors 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 informationReal-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 informationScheduling. The Basics
The Basics refers to a set of policies and mechanisms to control the order of work to be performed by a computer system. Of all the resources in a computer system that are scheduled before use, the CPU
More informationA 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 informationExSched: 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 informationNested Multiprocessor Real-Time Locking with Improved Blocking
Nested Multiprocessor Real-Time Locking with Improved Blocking Bryan C. Ward and James H. Anderson Department of Computer Science, University of North Carolina at Chapel Hill Abstract Existing multiprocessor
More informationCPU 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 informationReplica-Request Priority Donation: A Real-Time Progress Mechanism for Global Locking Protocols
Replica-Request Priority Donation: A Real-Time Progress Mechanism for Global Locking Protocols Bryan C. Ward, Glenn A. Elliott, and James H. Anderson Department of Computer Science, University of North
More informationConcurrent activities in daily life. Real world exposed programs. Scheduling of programs. Tasks in engine system. Engine system
Real world exposed programs Programs written to interact with the real world, outside the computer Programs handle input and output of data in pace matching the real world processes Necessitates ability
More informationScheduling Sporadic and Aperiodic Events in a Hard Real-Time System
Technical Report CMU/SEI-89-TR-11 ESD-TR-89-19 Scheduling Sporadic and Aperiodic Events in a Hard Real-Time System Brinkley Sprunt Lui Sha John Lehoczky April 1989 Technical Report CMU/SEI-89-TR-11 ESD-TR-89-19
More informationSurvey 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 information7. Multimedia Operating System. Contents. 7.3 Resource Management. 7.4 Process Management. 7.2 Real Time Systems. 7.5 Prototype Systems. 7.
Contents 7. Overview 7.2 Real Time Systems 7.3 Resource Management Dimensions in Resource Design Reservation Strategies 7.4 Process Management Classification of Real-Time Scheduling Strategies Schedulability
More informationComparative 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 informationFault-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