Schedulability Analysis of the Linux Push and Pull Scheduler with Arbitrary Processor Affinities
|
|
- Poppy Murphy
- 6 years ago
- Views:
Transcription
1 Schedulability Analysis of the Linux Push and Pull Scheduler with Arbitrary Processor Affinities Arpan Gujarati, Felipe Cerqueira, and Björn Brandenburg
2 Multiprocessor real-time scheduling theory Global Unrestricted migration Partitioned No migration 2
3 Multiprocessor real-time scheduling theory Global Unrestricted migration Partitioned No migration Clustered Semi-partitioned Tasks can migrate only to processors within its cluster Only some tasks allowed to migrate 2
4 Meanwhile in practice... CPU affinity interface in Linux (specify the CPUs on which a task can execute) 3
5 Meanwhile in practice... CPU affinity interface in Linux (specify the CPUs on which a task can execute) Fine-grained control over task migrations Arbitrary Processor Affinity (APA) E.g., fault tolerance, security concerns 3
6 Meanwhile in practice... CPU affinity interface in Linux (specify the CPUs on which a task can execute) Understand the CPU affinity interface from a schedulability point of view Fine-grained control over task migrations Arbitrary Processor Affinity (APA) E.g., fault tolerance, security concerns 3
7 Objective Is the APA interface just an implementation detail or does it have interesting theoretical implications? 4
8 Objective Is the APA interface just an implementation detail or does it have interesting theoretical implications? How can we derive schedulability guarantees for APA schedulers? 4
9 Objective Is the APA interface just an implementation detail or does it have interesting theoretical implications? How can we derive schedulability guarantees for APA schedulers? Does APA scheduling help improve schedulability? 4
10 Illustrating CPU affinity interface i Processor i CPU affinity
11 Illustrating CPU affinity interface i Processor i CPU affinity For example, the green rectangle indicates a CPU affinity {1, 2, 5, 6}
12 Illustrating CPU affinity interface i Processor i CPU affinity For example, the green rectangle indicates a CPU affinity {1, 2, 5, 6} Can emulate global, partitioned, clustered scheduling 5
13 Emulating global scheduling All tasks have the same CPU affinity: {1, 2, 3,..., 15, 16}
14 Emulating partitioned scheduling All tasks have singleton CPU affinities For example, a task assigned to this partition has CPU affinity: {5}
15 Emulating clustered scheduling Example: all tasks assigned to this cluster have the same CPU affinity: {1, 2, 5, 6}
16 Distinct CPU affinity for each task No existing schedulability analysis!
17 APA scheduler Reference scheduler } Linux scheduler Source-initiated push migrations Target-initiated pull migrations 10
18 APA scheduler A task is not scheduled only if all processors in its affinity are busy executing higher-priority tasks Reference scheduler } Linux scheduler Source-initiated push migrations Target-initiated pull migrations 10
19 APA scheduler A task is not scheduled only if all processors in its affinity are busy executing higher-priority tasks Reference scheduler } Linux scheduler The Linux scheduler never violates a task s affinity Source-initiated push migrations Target-initiated pull migrations 10
20 APA scheduler A task is not scheduled only if all processors in its affinity are busy executing higher-priority tasks Reference scheduler } Linux scheduler The Linux scheduler never violates a task s affinity Source-initiated push migrations Target-initiated pull migrations A higher-priority process never migrates to schedule a lower-priority process 10
21 Objective Is the APA interface just an implementation detail or does it have interesting theoretical implications? How can we derive schedulability guarantees for APA schedulers? Does APA scheduling help improve schedulability? 11
22 Objective Is the APA interface just an implementation detail or does it have interesting theoretical implications? How can we derive schedulability guarantees for APA schedulers? Does APA scheduling help improve schedulability? 11
23 System model Sporadic task model with arbitrary deadlines 12
24 System model Sporadic task model with arbitrary deadlines Priority assignment This talk and Linux: fixed-priority (FP) In the paper: any job-level fixed priority (JLFP) e.g., earliest deadline first (EDF) 12
25 Is the APA interface just an implementation detail? No. APA scheduling strictly dominates global, clustered, and partitioned JLFP scheduling 13
26 Is the APA interface just an implementation detail? No. APA scheduling strictly dominates global, clustered, and partitioned JLFP scheduling APA scheduling is general (dominance) Workloads that are only schedulable under APA scheduling (and therefore, strict dominance) 13
27 Example Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 T T ,000 1,000 T ,000 1,000 Real-time workload Multiprocessor with 2 CPUs 14
28 Example Relative-deadline Taski Ci Di Pi T ,000 T ,000 T ,000 T4 Worst-case 2 4 1,000 execution T5 51 time T ,000 1,000 T ,000 1,000 Real-time workload Multiprocessor with 2 CPUs Period 14
29 Example } T ,000 T ,000 T ,000 T ,000 T T ,000 T ,000 1,000} Taski Ci Di Pi High density tasks High utilization tasks 15
30 Partitioned scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 Partition tasks T5, T6, and T7 Utilizations of T5, T6, and T7 are 51%, 50.1%, and 50% T ,000 } T ,000 1,000 T T ,000 1,000 High utilization tasks 16
31 Partitioned scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 } T T ,000 1,000 T ,000 1,000 Partition tasks T5, T6, and T7 Utilizations of T5, T6, and T7 are 51%, 50.1%, and 50% The workload cannot be partitioned onto two CPUs High utilization tasks 16
32 Global scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 T T ,000 1,000 T ,000 1,000 FP: T1 > T2 > T3 > T4 High density tasks 17
33 Global scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 T T ,000 1,000 T ,000 1,000 High density tasks FP: T1 > T2 > T3 > T4 T1 T2 T3 T t 17
34 Global scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 T T ,000 1,000 T ,000 1,000 FP: T1 > T2 > T3 > T4 T1 T2 T3 T4 CPU 1 CPU 2 High density tasks t 17
35 Global scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 T T ,000 1,000 T ,000 1,000 FP: T1 > T2 > T3 > T4 T1 T2 T3 T4 CPU 1 CPU 2 Deadline miss High density tasks t 17
36 Global scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 T T ,000 1,000 T ,000 1,000 FP: T1 > T2 > T3 > T4 T1 T2 T3 T4 What if we switch the priority of T3 and T4? CPU 1 CPU 2 Deadline miss High density tasks t 17
37 Global scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 T T ,000 1,000 T ,000 1,000 FP: T1 > T2 > T3 > T4 T1 T2 T3 T4 What if we switch the priority of T3 and T4? CPU 1 CPU 2 Deadline miss High density tasks t 17
38 Global scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 global T3 3 scheduling 4 1,000 with any JLFP assignment T1 T ,000 Deadline miss T T ,000 1,000 T ,000 1,000 FP: T1 > T2 > T3 > T4 The workload is not schedulable under T2 T3 T4 CPU 1 CPU 2 High density tasks t 17
39 APA scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 T T ,000 1,000 T ,000 1,000 18
40 APA scheduling (2 CPUs)? } T ,000 T ,000 T ,000 T ,000 Taski Ci Di Pi T T ,000 1,000 T ,000 1,000 Not schedulable under global scheduling, but can be partitioned 18
41 APA scheduling (2 CPUs)? } T ,000 T ,000 T ,000 T ,000 T } T ,000 1,000 T ,000 1,000 Taski Ci Di Pi Not schedulable under global scheduling, but can be partitioned Any two out of these three tasks can be partitioned 18
42 APA scheduling (2 CPUs)? } T ,000 T ,000 T ,000 T ,000 T } T ,000 1,000 T ,000 1,000 Taski Ci Di Pi Not schedulable under global scheduling, but can be partitioned Partition tasks T1-T6, and assign T7 global-like affinity Any two out of these three tasks can be partitioned 18
43 APA scheduling (2 CPUs)? Partitioned Taski Ci Di Pi T ,000 T ,000 T1 T2 T ,000 T ,000 T3 1 2 T4 T T5 T6 T ,000 1,000 T ,000 1,000 19
44 APA scheduling (2 CPUs)? Partitioned Taski Ci Di Pi T ,000 T ,000 T1 T2 T ,000 T ,000 T3 1 2 T4 T T5 T7 T6 T ,000 1,000 T ,000 1,000 Global-like 19
45 APA scheduling (2 CPUs)? Taski Ci Di Pi T ,000 T ,000 T ,000 T ,000 T T ,000 1,000 T ,000 1,000 T1 T3 Partitioned The workload is schedulable 1 2 under APA JLFP scheduling T5 T7 T2 T4 T6 Global-like 19
46 Objective APA scheduling strictly dominates global, clustered, and partitioned JLFP scheduling. How can we derive schedulability guarantees for APA schedulers? Does APA scheduling help improve schedulability? 20
47 Objective APA scheduling strictly dominates global, clustered, and partitioned JLFP scheduling. How can we derive schedulability guarantees for APA schedulers? Does APA scheduling help improve schedulability? 20
48 Schedulability Analysis (simple)
49 Schedulability Analysis (simple) T3 T T2 FP: T1 > T2 > T
50 Schedulability Analysis (simple) T3 T T2 FP: T1 > T2 > T Is T3 schedulable? 21
51 Schedulability Analysis (simple) T3 T T2 FP: T1 > T2 > T Reduction to globallike sub-problem Is T3 schedulable? T1 T2 T3 21
52 Schedulability Analysis (simple) T3 T T2 FP: T1 > T2 > T Reduction to globallike sub-problem Is T3 schedulable? T1 T2 T3 Global analysis 21 Analyze the sub-problem
53 Schedulability Analysis (simple) T3 T T2 FP: T1 > T2 > T Reduction to globallike sub-problem If the sub-problem is schedulable, T3 is schedulable [Lemma 2] Is T3 schedulable? Global analysis T1 T2 T3 Analyze the sub-problem
54 } Schedulability Analysis (simple) Why does the approach work? Reduction to global-like sub-problems Considers the worst-case scenario All potentially interfering tasks included Pessimism? 22
55 Schedulability Analysis (exhaustive) T1 T2 T3 FP: T1 > T2 > T
56 Schedulability Analysis (exhaustive) T1 T2 T3 FP: T1 > T2 > T3 Is T3 schedulable?
57 Schedulability Analysis (exhaustive) T1 T2 T3 FP: T1 > T2 > T3 Is T3 schedulable? T3 T2 T1
58 Schedulability Analysis (exhaustive) T1 T2 T3 FP: T1 > T2 > T3 Is T3 schedulable? T3 T2 T1 T3 T2 T3 T1
59 Schedulability Analysis (exhaustive) T1 T2 T3 FP: T1 > T2 > T3 Is T3 schedulable? If at least one sub-problem is schedulable, T3 is schedulable [Lemma 4, 5] T1 5 T T2 T T3 T2 T1
60 Schedulability Analysis (exhaustive) Problem? Number of sub-problems grows exponentially Works only for multiprocessors with up to 8 CPUs 24
61 Schedulability Analysis (heuristic-based) Need a pruning strategy For a task-affinity of size K, analyze at most K subproblems per task, not 2 K 25
62 Schedulability Analysis (heuristic-based) Need a pruning strategy For a task-affinity of size K, analyze at most K subproblems per task, not 2 K while (not schedulable AND affinity is not empty) identify CPU that contributes most interference remove this CPU from affinity re- test with shrunk affinity 25
63 Isn t the reduction approach inherently pessimistic? 26
64 Isn t the reduction approach inherently pessimistic? Analysis limited by Linux scheduler design A higher-priority process never migrates to schedule a lower-priority process global-like worst-case scenarios possible 26
65 Objective APA scheduling strictly dominates global, clustered, and partitioned JLFP scheduling. We can derive schedulability guarantees for APA schedulers by reduction to global subproblems (can reuse any global analysis). Does APA scheduling help improve schedulability? 27
66 Objective APA scheduling strictly dominates global, clustered, and partitioned JLFP scheduling. Does APA scheduling help improve schedulability? We can derive schedulability guarantees for APA schedulers by reduction to global subproblems (can reuse any global analysis). 27
67 Evaluation Two sets of experiments: Exhaustive vs. heuristic-based analysis Global vs. partitioned vs. APA scheduling 28
68 Evaluation Emberson et al. task set generator [1] (task sets with implicit deadlines) Log-uniform distribution of periods [10ms,100ms] Number of CPUs (m) varied from 3 to 8 Number of tasks ranging from m+1 to 2.5m [1] P. Emberson, R. Stafford, and R. Davis, Techniques for the synthesis of multiprocessor tasksets, 1st Workshop on Analysis Tools and Methodologies for Embedded and Real-time Systems,
69 Schedulability experiment graph Fraction of task sets schedulable (0 to 1) The higher, the better Utilization (0 to m) 30
70 Experiment 1: exhaustive vs. heuristic-based analysis 31
71 Experiment 1: exhaustive vs. heuristic-based analysis 5 processors 31
72 Experiment 1: exhaustive vs. heuristic-based analysis 5 processors Similar schedulability 31
73 Experiment 2: partitioned vs. global vs. APA scheduling 32
74 Experiment 2: partitioned vs. global vs. APA scheduling 8 processors with m=8, and n=20 (2.5m) fraction of schedulable task sets Partitioned P-FP G-FP-RTA Global G-FP-APA utilization of the task set 32
75 Experiment 2: partitioned vs. global vs. APA scheduling APA performs slightly better fraction of schedulable task sets processors with m=8, and n=20 (2.5m) Partitioned P-FP G-FP-RTA Global G-FP-APA utilization of the task set 32
76 Are bigger gains possible? 33
77 Are bigger gains possible? Workloads that benefit from APA scheduling Low-utilization tasks with constrained deadlines High-utilization tasks with implicit deadlines 33
78 Are bigger gains possible? Workloads that benefit from APA scheduling Low-utilization tasks with constrained deadlines High-utilization tasks with implicit deadlines Under Linux scheduler design Higher-priority tasks never make room for lowerpriority tasks Can we have better migration rules? 33
79 Open questions APA feasibility analysis Optimal APA assignment versus (or with) optimal priority assignment Dynamic APAs (APAs vary over time) Generalize semi-partitioning as well 34
80 Summary APA scheduling strictly dominates global, clustered, and partitioned JLFP scheduling. We can derive schedulability guarantees for APA schedulers by reduction to global sub-problems (can reuse any global analysis). APA scheduling helps improve schedulability. We can do much better, many of open questions. 35
81 Thank you. Questions? 36
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 informationA Fully Preemptive Multiprocessor Semaphore Protocol for Latency-Sensitive Real-Time Applications
A Fully Preemptive Multiprocessor Semaphore Protocol for Latency-Sensitive Real-Time Applications ECRTS 13 July 12, 2013 Björn B. bbb@mpi-sws.org A Rhetorical Question On uniprocessors, why do we use the
More informationBlocking Analysis of FIFO, Unordered, and Priority-Ordered Spin Locks
On Spin Locks in AUTOSAR: Blocking Analysis of FIFO, Unordered, and Priority-Ordered Spin Locks Alexander Wieder and Björn Brandenburg MPI-SWS RTSS 2013 12/04/2013 Vancouver, Canada Motivation: AUTOSAR:
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 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 informationAdaptive Clustered EDF in LITMUS RT
Adaptive Clustered EDF in LITMUS RT Aaron Block,. Sherman, Texas William Kelley, BAE Systems. Ft. Worth, Texas Adaptable System: Whisper Whisper is a motion tracking system Speakers are placed on users
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 informationTime-triggered Scheduling for Multiprocessor Mixed-criticality Systems
Time-triggered Scheduling for Multiprocessor Mixed-criticality Systems Lalatendu Behera and Purandar Bhaduri Indian Institute of Technology Guwahati 781039, India {lalatendu,pbhaduri}@iitg.ernet.in Abstract.
More informationA Comparison of Scheduling Latency in Linux, PREEMPT_RT, and LITMUS RT. Felipe Cerqueira and Björn Brandenburg
A Comparison of Scheduling Latency in Linux, PREEMPT_RT, and LITMUS RT Felipe Cerqueira and Björn Brandenburg July 9th, 2013 1 Linux as a Real-Time OS 2 Linux as a Real-Time OS Optimizing system responsiveness
More informationARTIST-Relevant Research from Linköping
ARTIST-Relevant Research from Linköping Department of Computer and Information Science (IDA) Linköping University http://www.ida.liu.se/~eslab/ 1 Outline Communication-Intensive Real-Time Systems Timing
More informationCompositional multiprocessor scheduling: the GMPR interface
Compositional multiprocessor scheduling: the GMPR interface Artem Burmyakov Enrico Bini Eduardo Tovar Abstract Composition is a practice of key importance in software engineering. When real-time applications
More informationMulti-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 informationOverhead-Aware Compositional Analysis of Real- Time Systems
University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science 4-203 Overhead-Aware Compositional Analysis of Real- Time Systems Linh T.X. Phan University
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 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 informationRT- Xen: Real- Time Virtualiza2on. Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering
RT- Xen: Real- Time Virtualiza2on Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering Embedded Systems Ø Consolidate 100 ECUs à ~10 multicore processors. Ø Integrate
More informationRT#Xen:(Real#Time( Virtualiza2on(for(the(Cloud( Chenyang(Lu( Cyber-Physical(Systems(Laboratory( Department(of(Computer(Science(and(Engineering(
RT#Xen:(Real#Time( Virtualiza2on(for(the(Cloud( Chenyang(Lu( Cyber-Physical(Systems(Laboratory( Department(of(Computer(Science(and(Engineering( Real#Time(Virtualiza2on(! Cars are becoming real-time mini-clouds!!
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 informationAnalysis and Implementation of Global Preemptive Fixed-Priority Scheduling with Dynamic Cache Allocation
Analysis and Implementation of Global Preemptive Fixed-Priority Scheduling with Dynamic Cache Allocation Meng Xu Linh Thi Xuan Phan Hyon-Young Choi Insup Lee Department of Computer and Information Science
More informationOverhead-Aware Compositional Analysis of Real-Time Systems
Overhead-Aware Compositional Analysis of Real-Time Systems Linh T.X. Phan Meng Xu Jaewoo Lee Insup Lee Oleg Sokolsky Department of Computer and Information Sciences, University of Pennsylvania Email: {linhphan,mengxu,jaewoo,lee,sokolsky}@cis.upenn.edu
More informationFixed-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 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 informationFixed-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 informationOn Optimal Priority Assignment for Response Time Analysis of Global Fixed Priority Pre-emptive Scheduling in Multiprocessor Hard Real-Time Systems
On Optimal Priority Assignment for Response Time Analysis of Global Fixed Priority Preemptive Scheduling in Multiprocessor Hard RealTime Systems Robert I. Davis and Alan Burns RealTime Systems Research
More informationOff-line (Optimal) Multiprocessor Scheduling of Dependent Periodic Tasks
Off-line (Optimal) Multiprocessor Scheduling of Dependent Periodic Tasks Julie Barot, Frédéric Boniol, Mikel Cordovilla, Eric Noulard, Claire Pagetti ONERA, Toulouse, France SAC 2012 March, 27th 2012 1
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 informationAperiodic Task Scheduling
Aperiodic Task Scheduling Radek Pelánek Preemptive Scheduling: The Problem 1 processor arbitrary arrival times of tasks preemption performance measure: maximum lateness no resources, no precedence constraints
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 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 informationConstructing and Verifying Cyber Physical Systems
Constructing and Verifying Cyber Physical Systems Mixed Criticality Scheduling and Real-Time Operating Systems Marcus Völp Overview Introduction Mathematical Foundations (Differential Equations and Laplace
More informationReal-Time Cache Management for Multi-Core Virtualization
Real-Time Cache Management for Multi-Core Virtualization Hyoseung Kim 1,2 Raj Rajkumar 2 1 University of Riverside, California 2 Carnegie Mellon University Benefits of Multi-Core Processors Consolidation
More informationDepartment of Computer Science Institute for System Architecture, Operating Systems Group REAL-TIME MICHAEL ROITZSCH OVERVIEW
Department of Computer Science Institute for System Architecture, Operating Systems Group REAL-TIME MICHAEL ROITZSCH OVERVIEW 2 SO FAR talked about in-kernel building blocks: threads memory IPC drivers
More informationTime Triggered and Event Triggered; Off-line Scheduling
Time Triggered and Event Triggered; Off-line Scheduling Real-Time Architectures -TUe Gerhard Fohler 2004 Mälardalen University, Sweden gerhard.fohler@mdh.se Real-time: TT and ET Gerhard Fohler 2004 1 Activation
More informationImplementing Scheduling Algorithms. Real-Time and Embedded Systems (M) Lecture 9
Implementing Scheduling Algorithms Real-Time and Embedded Systems (M) Lecture 9 Lecture Outline Implementing real time systems Key concepts and constraints System architectures: Cyclic executive Microkernel
More informationReservation-Based Scheduling for IRQ Threads
Reservation-Based Scheduling for IRQ Threads Luca Abeni, Nicola Manica, Luigi Palopoli luca.abeni@unitn.it, nicola.manica@gmail.com, palopoli@dit.unitn.it University of Trento, Trento - Italy Reservation-Based
More informationEmpirical Approximation and Impact on Schedulability
Cache-Related Preemption and Migration Delays: Empirical Approximation and Impact on Schedulability OSPERT 2010, Brussels July 6, 2010 Andrea Bastoni University of Rome Tor Vergata Björn B. Brandenburg
More informationFoundations of Computing
Foundations of Computing Darmstadt University of Technology Dept. Computer Science Winter Term 2005 / 2006 Copyright c 2004 by Matthias Müller-Hannemann and Karsten Weihe All rights reserved http://www.algo.informatik.tu-darmstadt.de/
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 informationExtensions of Daedalus Todor Stefanov
Extensions of Daedalus Todor Stefanov Leiden Embedded Research Center, Leiden Institute of Advanced Computer Science Leiden University, The Netherlands Overview of Extensions in Daedalus DSE limited to
More informationSporadic Server Scheduling in Linux Theory vs. Practice. Mark Stanovich Theodore Baker Andy Wang
Sporadic Server Scheduling in Linux Theory vs. Practice Mark Stanovich Theodore Baker Andy Wang Real-Time Scheduling Theory Analysis techniques to design a system to meet timing constraints Schedulability
More informationReference Model and Scheduling Policies for Real-Time Systems
ESG Seminar p.1/42 Reference Model and Scheduling Policies for Real-Time Systems Mayank Agarwal and Ankit Mathur Dept. of Computer Science and Engineering, Indian Institute of Technology Delhi ESG Seminar
More informationA Simulation Methodology for Worst-Case Response Time Estimation of Distributed Real-Time Systems
A Simulation Methodology for Worst-Case Response Time Estimation of Distributed Real-Time Systems Soheil Samii, Sergiu Rafiliu, Petru Eles, Zebo Peng Department of Computer and Information Science Linköpings
More informationState-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 informationNon-Uniform Memory Access (NUMA) Architecture and Multicomputers
Non-Uniform Memory Access (NUMA) Architecture and Multicomputers Parallel and Distributed Computing Department of Computer Science and Engineering (DEI) Instituto Superior Técnico February 29, 2016 CPD
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 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 informationQoS support for Intelligent Storage Devices
QoS support for Intelligent Storage Devices Joel Wu Scott Brandt Department of Computer Science University of California Santa Cruz ISW 04 UC Santa Cruz Mixed-Workload Requirement General purpose systems
More informationNon-Uniform Memory Access (NUMA) Architecture and Multicomputers
Non-Uniform Memory Access (NUMA) Architecture and Multicomputers Parallel and Distributed Computing Department of Computer Science and Engineering (DEI) Instituto Superior Técnico September 26, 2011 CPD
More informationA 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 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 informationScheduling Algorithms in Large Scale Distributed Systems
Scheduling Algorithms in Large Scale Distributed Systems Prof.dr.ing. Florin Pop University Politehnica of Bucharest, Faculty of Automatic Control and Computers (ACS-UPB) National Institute for Research
More informationScaling Global Scheduling with Message Passing
Scaling Global Scheduling with Message Passing Felipe Cerqueira Manohar Vanga Björn B. Brandenburg Max Planck Institute for Software Systems (MPI-SWS) Abstract Global real-time schedulers have earned the
More informationAnalysis of a Window-Constrained Scheduler for Real-Time and Best- Effort Packet Streams
Analysis of a Window-Constrained Scheduler for Real-Time and Best- Effort Packet Streams Richard West & Christian Poellabauer Boston University & Georgia Institute of Technology Introduction Certain distributed,
More informationTIERS: Topology IndependEnt Pipelined Routing and Scheduling for VirtualWire TM Compilation
TIERS: Topology IndependEnt Pipelined Routing and Scheduling for VirtualWire TM Compilation Charles Selvidge, Anant Agarwal, Matt Dahl, Jonathan Babb Virtual Machine Works, Inc. 1 Kendall Sq. Building
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 informationdata parallelism Chris Olston Yahoo! Research
data parallelism Chris Olston Yahoo! Research set-oriented computation data management operations tend to be set-oriented, e.g.: apply f() to each member of a set compute intersection of two sets easy
More informationSubject Name: OPERATING SYSTEMS. Subject Code: 10EC65. Prepared By: Kala H S and Remya R. Department: ECE. Date:
Subject Name: OPERATING SYSTEMS Subject Code: 10EC65 Prepared By: Kala H S and Remya R Department: ECE Date: Unit 7 SCHEDULING TOPICS TO BE COVERED Preliminaries Non-preemptive scheduling policies Preemptive
More informationCPSC/ECE 3220 Summer 2018 Exam 2 No Electronics.
CPSC/ECE 3220 Summer 2018 Exam 2 No Electronics. Name: Write one of the words or terms from the following list into the blank appearing to the left of the appropriate definition. Note that there are more
More informationSoftware LEIC/LETI. Lecture 20
Software Engineering @ LEIC/LETI Lecture 20 Last Lecture Profiler and Debugger tools Offline concurrency patterns Presentation logic Services Domain logic Remote access Data access Remote Service Database
More informationScheduling Real Time Parallel Structure on Cluster Computing with Possible Processor failures
Scheduling Real Time Parallel Structure on Cluster Computing with Possible Processor failures Alaa Amin and Reda Ammar Computer Science and Eng. Dept. University of Connecticut Ayman El Dessouly Electronics
More informationPartitioned Fixed-Priority Scheduling of Parallel Tasks Without Preemptions
Partitioned Fixed-Priority Scheduling of Parallel Tasks Without Preemptions *, Alessandro Biondi *, Geoffrey Nelissen, and Giorgio Buttazzo * * ReTiS Lab, Scuola Superiore Sant Anna, Pisa, Italy CISTER,
More informationCS Computer Systems. Lecture 6: Process Scheduling
CS 5600 Computer Systems Lecture 6: Process Scheduling Scheduling Basics Simple Schedulers Priority Schedulers Fair Share Schedulers Multi-CPU Scheduling Case Study: The Linux Kernel 2 Setting the Stage
More informationNon-Uniform Memory Access (NUMA) Architecture and Multicomputers
Non-Uniform Memory Access (NUMA) Architecture and Multicomputers Parallel and Distributed Computing MSc in Information Systems and Computer Engineering DEA in Computational Engineering Department of Computer
More informationIntegrating Apache Mesos with Science Gateways via Apache Airavata
Integrating Apache Mesos with Science Gateways via Apache Airavata Organization: Apache Software Foundation Abstract: Science Gateways federate resources from multiple organizations. Most gateways solve
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 informationIntroduction to Real-time Systems. Advanced Operating Systems (M) Lecture 2
Introduction to Real-time Systems Advanced Operating Systems (M) Lecture 2 Introduction to Real-time Systems Real-time systems deliver services while meeting some timing constraints Not necessarily fast,
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 informationOptimal 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 informationA Byzantine Fault-Tolerant Key-Value Store for Safety-Critical Distributed Real-Time Systems
Work in progress A Byzantine Fault-Tolerant Key-Value Store for Safety-Critical Distributed Real-Time Systems December 5, 2017 CERTS 2017 Malte Appel, Arpan Gujarati and Björn B. Brandenburg Distributed
More informationProbabilistic Worst-Case Response-Time Analysis for the Controller Area Network
Probabilistic Worst-Case Response-Time Analysis for the Controller Area Network Thomas Nolte, Hans Hansson, and Christer Norström Mälardalen Real-Time Research Centre Department of Computer Engineering
More informationUnit 2: High-Level Synthesis
Course contents Unit 2: High-Level Synthesis Hardware modeling Data flow Scheduling/allocation/assignment Reading Chapter 11 Unit 2 1 High-Level Synthesis (HLS) Hardware-description language (HDL) synthesis
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 informationDesigning a Compositional Real-Time Operating System. Christoph Kirsch Universität Salzburg
Designing a Compositional Real-Time Operating System Christoph Kirsch Universität Salzburg ARTIST Summer School Shanghai July 2008 tiptoe.cs.uni-salzburg.at # Silviu Craciunas* (Programming Model) Hannes
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 informationChapter 5: Distributed Process Scheduling. Ju Wang, 2003 Fall Virginia Commonwealth University
Chapter 5: Distributed Process Scheduling CMSC 602 Advanced Operating Systems Static Process Scheduling Dynamic Load Sharing and Balancing Real-Time Scheduling Section 5.2, 5.3, and 5.5 Additional reading:
More informationOn Hierarchical Scheduling in VxWorks
On Hierarchical Scheduling in VxWorks by Mikael Åsberg (mag04002@student.mdh.se) Master thesis Supervisor: Moris Behnam Examiner: Thomas Nolte Mälardalen University Department of Computer Science and Electronics
More informationStart of Lecture: February 10, Chapter 6: Scheduling
Start of Lecture: February 10, 2014 1 Reminders Exercise 2 due this Wednesday before class Any questions or comments? 2 Scheduling so far First-Come-First Serve FIFO scheduling in queue without preempting
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 informationScheduling in Multiprocessor System Using Genetic Algorithms
Scheduling in Multiprocessor System Using Genetic Algorithms Keshav Dahal 1, Alamgir Hossain 1, Benzy Varghese 1, Ajith Abraham 2, Fatos Xhafa 3, Atanasi Daradoumis 4 1 University of Bradford, UK, {k.p.dahal;
More informationScheduling in Xen: Present and Near Future
Scheduling in Xen: Present and Near Future Dario Faggioli dario.faggioli@citrix.com Cambridge 27th of May, 2015 Introduction Cambridge 27th of May, 2015 Scheduling in Xen: Present and Near Future 2 / 33
More informationHigh Performance Computing
The Need for Parallelism High Performance Computing David McCaughan, HPC Analyst SHARCNET, University of Guelph dbm@sharcnet.ca Scientific investigation traditionally takes two forms theoretical empirical
More informationA Cool Scheduler for Multi-Core Systems Exploiting Program Phases
IEEE TRANSACTIONS ON COMPUTERS, VOL. 63, NO. 5, MAY 2014 1061 A Cool Scheduler for Multi-Core Systems Exploiting Program Phases Zhiming Zhang and J. Morris Chang, Senior Member, IEEE Abstract Rapid growth
More informationReal-Time Systems and Programming Languages
Real-Time Systems and Programming Languages Ada, Real-Time Java and C/Real-Time POSIX Fourth Edition Alan Burns and Andy Wellings University of York * ADDISON-WESLEY An imprint of Pearson Education Harlow,
More informationOptimizing Preemption-Overhead Accounting in Multiprocessor Real-Time Systems
Optimizing Preemption-Overhead Accounting in Multiprocessor Real-Time Systems Bryan C. Ward Dept. of Computer Science University of North Carolina at Chapel Hill Abhilash Thekkilakattil Div. of Software
More informationOVERHEADS ENHANCEMENT IN MUTIPLE PROCESSING SYSTEMS BY ANURAG REDDY GANKAT KARTHIK REDDY AKKATI
CMPE 655- MULTIPLE PROCESSOR SYSTEMS OVERHEADS ENHANCEMENT IN MUTIPLE PROCESSING SYSTEMS BY ANURAG REDDY GANKAT KARTHIK REDDY AKKATI What is MULTI PROCESSING?? Multiprocessing is the coordinated processing
More informationLinux (Fedora or Slackware) CPU Scheduling
Linux (Fedora or Slackware) CPU Scheduling DHEYAULDEEN MAHMOOD Student no. 163104411 Department: IT Submit to Prof.Dr.Hassan Huseyin Balik Outline Introduction Linux Fedora CPU scheduler in Linux fedora
More informationBuffered Co-scheduling: A New Methodology for Multitasking Parallel Jobs on Distributed Systems
National Alamos Los Laboratory Buffered Co-scheduling: A New Methodology for Multitasking Parallel Jobs on Distributed Systems Fabrizio Petrini and Wu-chun Feng {fabrizio,feng}@lanl.gov Los Alamos National
More informationVirtual Memory Demand Paging. Virtual Memory Working Set Model
Virtual Memory Demand Paging When a reference is made to an address on a page not present in main memory, it is called a page fault. The operating system must read in the required page from the disk, enter
More informationRT- Xen: Real- Time Virtualiza2on from embedded to cloud compu2ng
RT- Xen: Real- Time Virtualiza2on from embedded to cloud compu2ng Chenyang Lu Cyber- Physical Systems Laboratory Department of Computer Science and Engineering Real- Time Virtualiza2on for Cars Ø Consolidate
More informationDesign and Implementation of the Multiprocessor Bandwidth Inheritance Protocol on Linux
Design and Implementation of the Multiprocessor Bandwidth Inheritance Protocol on Linux Andrea Parri (a) a.parri@sssup.it Juri Lelli (a) j.lelli@sssup.it Mauro Marinoni (a) m.marinoni@sssup.it Giuseppe
More informationPARLGRAN: Parallelism granularity selection for scheduling task chains on dynamically reconfigurable architectures *
PARLGRAN: Parallelism granularity selection for scheduling task chains on dynamically reconfigurable architectures * Sudarshan Banerjee, Elaheh Bozorgzadeh, Nikil Dutt Center for Embedded Computer Systems
More informationHardware/Software Partitioning and Scheduling of Embedded Systems
Hardware/Software Partitioning and Scheduling of Embedded Systems Andrew Morton PhD Thesis Defence Electrical and Computer Engineering University of Waterloo January 13, 2005 Outline 1. Thesis Statement
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 informationAnalysis and Implementation of Global Preemptive Fixed-Priority Scheduling with Dynamic Cache Allocation
University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science 4-2016 Analysis and Implementation of Global Preemptive Fixed-Priority Scheduling with
More informationMulticore CPU Reclaiming: Parallel or Sequential?
Multicore CPU Reclaiming: Parallel or Sequential? Luca Abeni, Giuseppe Lipari, Andrea Parri, Youcheng Sun To cite this version: Luca Abeni, Giuseppe Lipari, Andrea Parri, Youcheng Sun. Multicore CPU Reclaiming:
More informationInteger Programming ISE 418. Lecture 7. Dr. Ted Ralphs
Integer Programming ISE 418 Lecture 7 Dr. Ted Ralphs ISE 418 Lecture 7 1 Reading for This Lecture Nemhauser and Wolsey Sections II.3.1, II.3.6, II.4.1, II.4.2, II.5.4 Wolsey Chapter 7 CCZ Chapter 1 Constraint
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 informationResource Reservation & Resource Servers
Resource Reservation & Resource Servers Resource Reservation Application Hard real-time, Soft real-time, Others? Platform Hardware Resources: CPU cycles, memory blocks 1 Applications Hard-deadline tasks
More informationCode generation for modern processors
Code generation for modern processors Definitions (1 of 2) What are the dominant performance issues for a superscalar RISC processor? Refs: AS&U, Chapter 9 + Notes. Optional: Muchnick, 16.3 & 17.1 Instruction
More informationCode generation for modern processors
Code generation for modern processors What are the dominant performance issues for a superscalar RISC processor? Refs: AS&U, Chapter 9 + Notes. Optional: Muchnick, 16.3 & 17.1 Strategy il il il il asm
More information