Carnegie Mellon University. Hard Real-Time Multiprocessor Scheduling (Part II) Marcus Völp
|
|
- Alvin Lucas
- 6 years ago
- Views:
Transcription
1 Hard eal-time Multiprocessor Scheduling (Part II) Marcus Völp
2 Lessons Learned from UP two concepts to counteract priority inversion priority inheritance priority ceiling priority ceiling priority inheritance L L L U L U 12/11/2013 Dr.-Ing. Marcus Völp 45
3 Locking Protocols Where to execute the critical section? local vs. remote [Brandenburg 10, Brandenburg 13] How to order conflicting critical sections? FIFO vs. priorities How unrelated tasks affect the lock holders? Whether and how unrelated tasks are affected? 12/11/2013 Dr.-Ing. Marcus Völp 46
4 Where to execute? local vs. remote [Brandenburg 10, Brandenburg 13] 12/11/2013 Dr.-Ing. Marcus Völp 47
5 Where to execute? local vs. remote [Brandenburg 10, Brandenburg 13] 12/11/2013 Dr.-Ing. Marcus Völp 48
6 Where to execute? local vs. remote [Brandenburg 10, Brandenburg 13] 12/11/2013 Dr.-Ing. Marcus Völp 50
7 How to order conflicts? FIFO vs. priorities [Brandenburg 10, Brandenburg 13] L L FIFO: O(n) Priorities: O(higher prioritized on other CPUs) O(1)? O(m)? 12/11/2013 Dr.-Ing. Marcus Völp 51
8 Unrelated tasks affect the lock Block local vs. remote [Brandenburg 10, Brandenburg 13] ( ) C 12/11/2013 Dr.-Ing. Marcus Völp 52
9 Unrelated tasks affect the lock Block local vs. remote [Brandenburg 10, Brandenburg 13] ( ) C 12/11/2013 Dr.-Ing. Marcus Völp 53
10 How unrelated threads are affected Block local vs. remote [Brandenburg 10, Brandenburg 13] ( ) C 12/11/2013 Dr.-Ing. Marcus Völp 54
11 How unrelated threads are affected Block local vs. remote [Brandenburg 10, Brandenburg 13] ( ) C 12/11/2013 Dr.-Ing. Marcus Völp 55
12 T-Locking Terminology schedulability analysis suspension-aware suspension-oblivious blocking priority-inversion blocking deferral blocking 12/11/2013 Dr.-Ing. Marcus Völp 57
13 T-Locking Terminology schedulability analysis suspension-aware suspension-oblivious blocking priority-inversion blocking deferral blocking 12/11/2013 Dr.-Ing. Marcus Völp 58
14 euse UP Protocols? Distributed Priority-Ceiling Protocol (DPCP) [ajkuma, Sha, Lehocky 88] 12/11/2013 Dr.-Ing. Marcus Völp 59
15 euse UP Protocols? Distributed Priority-Ceiling Protocol (DPCP) [ajkuma, Sha, Lehocky 88] 12/11/2013 Dr.-Ing. Marcus Völp 60
16 euse UP Protocols? Distributed Priority-Ceiling Protocol (DPCP) [ajkuma, Sha, Lehocky 88] synchronization processor DPCP = BPCP m+1 12/11/2013 Dr.-Ing. Marcus Völp 61
17 euse UP Protocols? Multiprocessor Stack esource Protocol (MSP) [Gai, Lipari, Natale 01] synchronization processor MSP = MSP m+1 12/11/2013 Dr.-Ing. Marcus Völp 62
18 Björn Brandenburg Improved Analysis and Evaluation of eal-time Semaphore Protocols for Partitioned Fixed Priority Scheduling 13 MPCP [ajkumar 90, Lakshmanan 09] FMLP [Brandenburg 11] DPCP [ajkumar 88] DFLP [Brandenburg 11] hdwallpaperscool.com wait queue priority FIFO priority FIFO protocol type shared mem. (local) shared mem. (local) distributed (sync. CPU) distributed (sync. CPU) asymptotically optimal (wrt. maximal blocking) No Yes No Yes 12/11/2013 Dr.-Ing. Marcus Völp 63
19 Björn Brandenburg Improved Analysis and Evaluation of eal-time Semaphore Protocols for Partitioned Fixed Priority Scheduling 13 hdwallpaperscool.com 12/11/2013 Dr.-Ing. Marcus Völp 64
20 Caches QPI QPI hdwallpaperscool.com L3 L3 AM AM 12/11/2013 Dr.-Ing. Marcus Völp 65
21 Caches 201 cycles [y: OSDI 08] 3 cycles QPI L3 Snoop filter 50 cycles reduce coherent traffic by keeping track of cached lines inclusive L3: line, => line L3 snoop filter: AM keep address not data 12/11/2013 Dr.-Ing. Marcus Völp 66
22 Caches [y: OSDI 08] reduce coherent traffic by keeping track of cached lines inclusive L3: line, => line L3 snoop filter: keep address not data 12/11/2013 Dr.-Ing. Marcus Völp 67
23 T - Locks for Clusters eal-time esource-sharing under Clustered Scheduling: Mutex, eader-writer, and k-exclusion Locks Björn Brandenburg, Jim Anderson 11 hdwallpaperscool.com What if every task helps out a little bit when it is released? only the n-highest prioritized tasks may acquire locks? 12/11/2013 Dr.-Ing. Marcus Völp 68
24 T - Locks for Clusters J 1 eal-time esource-sharing under Clustered Scheduling: Mutex, eader-writer, and k-exclusion Locks Björn Brandenburg, Jim Anderson 11 L hdwallpaperscool.com J 2 J 3 L J 4 J 5 J 6 L 12/11/2013 Dr.-Ing. Marcus Völp 69
25 T - Locks for Clusters eal-time esource-sharing under Clustered Scheduling: Mutex, eader-writer, and k-exclusion Locks Björn Brandenburg, Jim Anderson 11 hdwallpaperscool.com D1. J i may issue a request only if it among the n = CPU highest prioritized jobs D2. When released at time ta, Jd becomes Ji s priority donor if a) J i was the c = Cluster highestpriority pending job released prior to J d, b) J d has one of the c highest base priorities, and c) J i has issued a request that is incomplete D3. J i inherits J d s priority D4. If J d ceases to be among the c highest-priority jobs in its cluster, the newly released job takes over the donor role D5. / D6. schedule either J i or its donor J d D7. a priority donor may not issue requests (J d suspends in this case while being a priority donor) D8. If J d finishes execution while being a donor, J d remains the donor but is suspended D9. J d stops being a donor if a) J i completes its request, b) J i becomes one of the c highest prioritized jobs c) another job takes over being the donor of J i 12/11/2013 Dr.-Ing. Marcus Völp 70
26 Outline Last Week: Terminology and Notations Anomalies and Impossibility esults Partitioned Scheduling Global Scheduling Optimal MP Scheduling Practical Matters Today: Exercise: UP esource Protocols esources Caches / Memories One More esource Dynamic Tasks Peek and Poke into other Bleeding Edge esearch 12/11/2013 Dr.-Ing. Marcus Völp 71
27 Caches A Coordinated Approach for Practical OS-Level Cache Management in Multi- eal-time Systems Hyoseung Kim, Arvind Kandhalu, agunathan (aj) ajkumar (ECTS 13) hdwallpaperscool.com L3 L3 40% slowdown 27% slowdown PASEC on i7 12/11/2013 Dr.-Ing. Marcus Völp 72
28 Caches A Coordinated Approach for Practical OS-Level Cache Management in Multi- eal-time Systems Hyoseung Kim, Arvind Kandhalu, agunathan (aj) ajkumar (ECTS 13) hdwallpaperscool.com L3 AM 12/11/2013 Dr.-Ing. Marcus Völp 73
29 Dynamic Tasks Algorithm and complexity for the global scheduling of sporadic tasks on multiprocessors with work-limited parallelism S. Collette, L. Cucu, J. Goossens [eal-time and Network Systems, 07] hdwallpaperscool.com J (C, P, Γ ) Γ (γ,, γ,,, γ, ) Job J i with j CPUs completes in i,j C i 12/11/2013 Dr.-Ing. Marcus Völp 74
30 Dynamic Tasks / untime Threads Threadpools Apple s Grand Central Dispatch, C++ Futures, Scala Actors, hdwallpaperscool.com 12/11/2013 Dr.-Ing. Marcus Völp 75
31 Outline Last Week: Terminology and Notations Anomalies and Impossibility esults Partitioned Scheduling Global Scheduling Optimal MP Scheduling Practical Matters Today: Exercise: UP esource Protocols esources Caches / Memories One More esource Dynamic Tasks Peek and Poke into other Bleeding Edge esearch 12/11/2013 Dr.-Ing. Marcus Völp 76
32 eferences [Burns '09]. Davis, A. Burns, A Survey of Hard eal-time Scheduling Algorithms and Schedulability Analysis Techniques for Multiprocessor Systems, 2009 [Colette] S. Collette, L. Cucu, J. Goossens, Algorithm and complexity for the global scheduling of sporadic tasks on multiprocessors with worklimited parallelism, Int. Conf. On eal-time and Network Systems, 2007 [Levin '10] G. Levin, S. Funk, C.Sadowski, I. Pye, S. Brandt, DP-Fair: A Simple Model for Understanding Optimal Multiprocessor Scheduling, 2010 [Hong '88] K. Hong, J. Leung, On-line scheduling of real-time tasks, TSS, 1988 [Anderson '01] B. Anderson, S. Baruah, J. Jonsson, Static-priority scheduling on multiprocessors, TSS, 2001 [Lakshmanan '09] [Edmonds] K. Lakshmanan,. ajkumar, J. Lehoczky, Partitioned Fixed-Priority J. Edmonds, K. Pruhs, Scalably scheduling processes with arbitrary Preemptive Scheduling for Multi- Processors, ECTS, 2009 speedup curves, Symp. On Discrete Algorithms, /11/2013 Dr.-Ing. Marcus Völp 77
33 eferences [Fischer '07] N. Fischer, The multiprocessor real-time scheduling of general task systems, PhD. Thesis, of North Carolina at Chapel Hill, 2007 [Dertouzos '89] M. Dertouzos, A. Mok, Multiprocessor scheduling in a hard real-time environment, IEEE Trans. on Software Engineering, 1989 [Dhall] S. Dhall, C, Liu, On a eal-time Scheduling Problem, Operations esearch, 1978 [Baruah '06] S. Baruah, A. Burns, Sustainable Scheduling Analysis, TSS, 2006 [y '08] S. Boyd-Wickizer, H. Chen,. Chen, Y. Mao, F. Kaashoek,. Morris, A. Pesterev, L. Stein, M. Wu, Y. Dai, Y. Zhang, Z. Zhang, y: An Operating System for Many s, OSDI 2008 [Carpenter '04] J. Carpenter, S. Funk, P. Holman, A. Srinivasan, J. Anderson, S. Baruah, A categorization of real-time multiprocessor scheduling problems and algorithms, Handbook of Scheduling: Algorithms, Models, and Performance Analysis, 2004 [Whitehead] J. Leung, J. Whitehead, On the Complexity of Fixed-Priority Scheduling of Periodic, eal-time Tasks,1982 [Brandenburg '08] B. Brandenburg, J. Calandrino, A. Block, H. Leontyev, J. Anderson, eal-time Synchronization on Multiprocessors: To Block or Not to Block, to Suspend or Spin, TAS, /11/2013 Dr.-Ing. Marcus Völp 78
34 eferences [Gai '03] P. Gai, M. Natale, G. Lipari, A. Ferrari, C. Gabellini, P. Marceca, A comparison of MPCP and MSP when sharing resources in the Janus multiple-processor on a chip platform, TAS, 2003 [Lauzac '98] S. Lauzac,. Melhem, D. Mosse, Comparison of global and partitioning schemes for scheduling rate monotonic tasks on a multiprocessor, EuroMicro, 1998 [Block] [Baruah '96] A. Block, H. Leontyev, B. Brandenburg, J. Anderson, A Flexible eal- S. Baruah, N. Cohen, G. Plaxton, D. Varvel, Proportionate progress: A Time Locking Protocol for Multiprocessors, TCSA, 2007 notion of fairness in resource allocation, Algorithmica 15, 1996 [MSP] P. Gai, G. Lipari, M. Natale, Minimizing memory utilization of realtime task sets in single and multi-processor systems-on-a-chip, TSS, 2001 [Brandenburg'11] B.Brandenburg, J. Anderson, eal-time esource-sharing under Clustered Scheduling: Mutex, eader-writer, and k-exclusion Locks, ESOICS 2011 [MPCP]. ajkumar, L. Sha, J. Lehoczky, eal-time synchronization protocols for multiprocessors, TSS, /11/2013 Dr.-Ing. Marcus Völp 79
35 eferences [Brandenburg '13] B. Brandenburg, Improved Analysis and Evaluation of eal-time Semaphore Protocols for Partitioned Fixed Priority Scheduling, TAS, 2013 [Lauzac '98] S. Lauzac,. Melhem, D. Mosse, Comparison of global and [Brandenburg 10] B. Brandenburg, J. Anderson, Optimality esults for Multiprocessor eal-time Locking, TSS, /11/2013 Dr.-Ing. Marcus Völp 80
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 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 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 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 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 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 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 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 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 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 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 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 Resource-Sharing under Clustered Scheduling: Mutex, Reader-Writer, and k-exclusion Locks
Real-Time Resource-Sharing under Clustered Scheduling: Mutex, Reader-Writer, and k-exclusion Locks Björn B. Brandenburg Department of Computer Science University of North Carolina at Chapel Hill bbb@cs.unc.edu
More informationAn Optimal k-exclusion Real-Time Locking Protocol Motivated by Multi-GPU Systems
An Optimal k-exclusion Real-Time Locking Protocol Motivated by Multi-GPU Systems Glenn A. Elliott and James H. Anderson Department of Computer Science, University of North Carolina at Chapel Hill Abstract
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 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 informationAn Implementation of the PCP, SRP, D-PCP, M-PCP, and FMLP Real-Time Synchronization Protocols in LITMUS RT
An Implementation of the PCP, SRP, D-PCP, M-PCP, and FMLP Real-Time Synchronization Protocols in LITMUS RT Björn B. Brandenburg and James H. Anderson The University of North Carolina at Chapel Hill Abstract
More informationReal-Time Systems Resource Access Protocols
Real-Time Systems Resource Access Protocols WS 2016/17 Problems: Priority Inversion Assumptions: Jobs use resources in a mutually exclusive manner Preemptive priority-driven scheduling Fixed task priorities
More informationAn implementation of the flexible spin-lock model in ERIKA Enterprise on a multi-core platform
An implementation of the flexible spin-lock model in ERIKA Enterprise on a multi-core platform Sara Afshar 1, Maikel P.W. Verwielen 2, Paolo Gai 3, Moris Behnam 1, Reinder J. Bril 1,2 1 Mälardalen University,
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 informationAn Evaluation of the Dynamic and Static Multiprocessor Priority Ceiling Protocol and the Multiprocessor Stack Resource Policy in an SMP System
An Evaluation of the Dynamic and Static Multiprocessor Priority Ceiling Protocol and the Multiprocessor Stack Resource Policy in an SMP System Jim Ras and Albert Mo Kim Cheng Outline Handling shared resources
More informationDistributed Operating Systems Memory Consistency
Faculty of Computer Science Institute for System Architecture, Operating Systems Group Distributed Operating Systems Memory Consistency Marcus Völp (slides Julian Stecklina, Marcus Völp) SS2014 Concurrent
More informationReal-Time Resource-Sharing under Clustered Scheduling: Mutex, Reader-Writer, and k-exclusion Locks
Real-Time Resource-Sharing under Clustered Scheduling: Mutex, Reader-Writer, and k-exclusion Locks Björn B. Brandenburg and James H. Anderson Department of Computer Science, University of North Carolina
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 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 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 informationDistributed Operating Systems
Distributed Operating Systems Synchronization in Parallel Systems Marcus Völp 203 Topics Synchronization Locks Performance Distributed Operating Systems 203 Marcus Völp 2 Overview Introduction Hardware
More informationREPORT DOCUMENTATION PAGE Form Approved OMB NO
REPORT DOCUMENTATION PAGE Form Approved OMB NO. 0704-0188 The public reporting burden for this collection of information is estimated to average 1 hour per response, including the time for reviewing instructions,
More informationAn FPGA Implementation of Wait-Free Data Synchronization Protocols
An FPGA Implementation of Wait-Free Data Synchronization Protocols Benjamin Nahill 1, Ari Ramdial 1, Haibo Zeng 1, Marco Di Natale 2, Zeljko Zilic 1 1 McGill University, email: {benjaminnahill, ariramdial}@mailmcgillca,
More informationRobust Partitioned Scheduling for Static-Priority Real-Time Multiprocessor Systems with Shared Resources
Robust Partitioned Scheduling for Static-Priority Real-Time Multiprocessor Systems with Shared Resources Frédéric Fauberteau, Serge Midonnet To cite this version: Frédéric Fauberteau, Serge Midonnet. Robust
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 informationSupporting Nested Locking in Multiprocessor Real-Time Systems
Supporting Nested Locking in Multiprocessor Real-Time Systems Bryan C. Ward and James H. Anderson Department of Computer Science, University of North Carolina at Chapel Hill Abstract This paper presents
More informationMulti-Resource Real-Time Reader/Writer Locks for Multiprocessors
Multi-Resource Real-Time Reader/Writer Locks for Multiprocessors Bryan C. Ward and James H. Anderson Dept. of Computer Science, The University of North Carolina at Chapel Hill Abstract A fine-grained locking
More informationA Comparison of the M-PCP, D-PCP, and FMLP on LITMUS RT
A Comparison of the M-PCP, D-PCP, and FMLP on LITMUS RT Björn B. Brandenburg and James H. Anderson The University of North Carolina at Chapel Hill Dept. of Computer Science Chapel Hill, NC 27599-375 USA
More informationOPERATING SYSTEM CONCEPTS UNDERSTAND!!! IMPLEMENT!!! ANALYZE!!!
OPERATING SYSTEM CONCEPTS UNDERSTAND!!! IMPLEMENT!!! Processor Management Memory Management IO Management File Management Multiprogramming Protection and Security Network Management UNDERSTAND!!! IMPLEMENT!!!
More informationSupporting Nested Locking in Multiprocessor Real-Time Systems
Supporting Nested Locking in Multiprocessor Real-Time Systems Bryan C. Ward and James H. Anderson Department of Computer Science, University of North Carolina at Chapel Hill Abstract This paper presents
More informationMechanisms for Guaranteeing Data Consistency and Flow Preservation in AUTOSAR Software on Multi-core Platforms
Mechanisms for Guaranteeing Data Consistency and Flow Preservation in AUTOSAR Software on Multi-core Platforms Haibo Zeng General Motors R&D, haibo.zeng@gm.com Marco Di Natale Scuola Superiore S. Anna,
More informationOn-line Scheduling on Uniform Multiprocessors
On-line Scheduling on Uniform Multiprocessors Shelby Funk Ý Joël Goossens Þ Sanjoy Baruah Ý Ý University of North Carolina Chapel Hill, North Carolina funk,baruah@cs.unc.edu Þ Université Libre de Bruxelles
More informationA 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 informationCS377P Programming for Performance Multicore Performance Synchronization
CS377P Programming for Performance Multicore Performance Synchronization Sreepathi Pai UTCS October 21, 2015 Outline 1 Synchronization Primitives 2 Blocking, Lock-free and Wait-free Algorithms 3 Transactional
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 informationIntroduction to Embedded Systems
Introduction to Embedded Systems Edward A. Lee & Sanjit Seshia UC Berkeley EECS Spring 008 Copyright 008, Edward A. Lee & Sanjit Seshia, All rights reserved Lecture 0: Scheduling Anomalies Source This
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 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 informationCSL373: Lecture 5 Deadlocks (no process runnable) + Scheduling (> 1 process runnable)
CSL373: Lecture 5 Deadlocks (no process runnable) + Scheduling (> 1 process runnable) Past & Present Have looked at two constraints: Mutual exclusion constraint between two events is a requirement that
More informationIntegrating Real-Time Synchronization Schemes into Preemption Threshold Scheduling
Integrating Real-Time Synchronization Schemes into Preemption Threshold Scheduling Saehwa Kim, Seongsoo Hong and Tae-Hyung Kim {ksaehwa, sshong}@redwood.snu.ac.kr, tkim@cse.hanyang.ac.kr Abstract Preemption
More informationReal-Time Mixed-Criticality Wormhole Networks
eal-time Mixed-Criticality Wormhole Networks Leandro Soares Indrusiak eal-time Systems Group Department of Computer Science University of York United Kingdom eal-time Systems Group 1 Outline Wormhole Networks
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 informationA Server-based Approach for Predictable GPU Access with Improved Analysis
A Server-based Approach for Predictable GPU Access with Improved Analysis Hyoseung Kim 1, Pratyush Patel 2, Shige Wang 3, and Ragunathan (Raj) Rajkumar 4 1 University of California, Riverside, hyoseung@ucr.edu
More informationECE519 Advanced Operating Systems
IT 540 Operating Systems ECE519 Advanced Operating Systems Prof. Dr. Hasan Hüseyin BALIK (10 th Week) (Advanced) Operating Systems 10. Multiprocessor, Multicore and Real-Time Scheduling 10. Outline Multiprocessor
More informationAdvance Operating Systems (CS202) Locks Discussion
Advance Operating Systems (CS202) Locks Discussion Threads Locks Spin Locks Array-based Locks MCS Locks Sequential Locks Road Map Threads Global variables and static objects are shared Stored in the static
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 informationReal-Time Scalability of Nested Spin Locks. Hiroaki Takada and Ken Sakamura. Faculty of Science, University of Tokyo
Real-Time Scalability of Nested Spin Locks Hiroaki Takada and Ken Sakamura Department of Information Science, Faculty of Science, University of Tokyo 7-3-1, Hongo, Bunkyo-ku, Tokyo 113, Japan Abstract
More informationVerification of Real-Time Systems Resource Sharing
Verification of Real-Time Systems Resource Sharing Jan Reineke Advanced Lecture, Summer 2015 Resource Sharing So far, we have assumed sets of independent tasks. However, tasks may share resources to communicate
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 informationEE458 - Embedded Systems Lecture 8 Semaphores
EE458 - Embedded Systems Lecture 8 Semaphores Outline Introduction to Semaphores Binary and Counting Semaphores Mutexes Typical Applications RTEMS Semaphores References RTC: Chapter 6 CUG: Chapter 9 1
More informationMulticore for safety-critical embedded systems: challenges andmarch opportunities 15, / 28
Multicore for safety-critical embedded systems: challenges and opportunities Giuseppe Lipari CRItAL - Émeraude March 15, 2016 Multicore for safety-critical embedded systems: challenges andmarch opportunities
More informationReview. Preview. Three Level Scheduler. Scheduler. Process behavior. Effective CPU Scheduler is essential. Process Scheduling
Review Preview Mutual Exclusion Solutions with Busy Waiting Test and Set Lock Priority Inversion problem with busy waiting Mutual Exclusion with Sleep and Wakeup The Producer-Consumer Problem Race Condition
More informationA Flexible Multiprocessor Resource Sharing Framework for Ada
A Flexible Multiprocessor Resource Sharing Framework for Ada Shiyao Lin Submitted for the Degree of Doctor of Philosophy University of York Department of Computer Science September 2013 Abstract Lock-based
More informationBachelor Thesis. Analyzing and Implementing Resource Synchronization Protocols on RTEMS in Multi-core Systems. Nadzeya Liabiodka Juni, 2017
Bachelor Thesis Analyzing and Implementing Resource Synchronization Protocols on RTEMS in Multi-core Systems Nadzeya Liabiodka Juni, 2017 Advisors: Prof. Dr. Jian-Jia Chen M.Sc. Kuan-Hsun Chen Faculty
More information1 An Experimental Evaluation of the Scalability of Real-Time Scheduling Algorithms on Large-Scale Multicore Platforms
An Experimental Evaluation of the Scalability of Real-Time Scheduling Algorithms on Large-Scale Multicore Platforms Matthew Dellinger, Virginia Tech Aaron Lindsay, Virginia Tech Binoy Ravindran, Virginia
More informationCSE Traditional Operating Systems deal with typical system software designed to be:
CSE 6431 Traditional Operating Systems deal with typical system software designed to be: general purpose running on single processor machines Advanced Operating Systems are designed for either a special
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 informationIntroduction to Real-Time Operating Systems
Introduction to Real-Time Operating Systems GPOS vs RTOS General purpose operating systems Real-time operating systems GPOS vs RTOS: Similarities Multitasking Resource management OS services to applications
More informationPreemptive Scheduling and Mutual Exclusion with Hardware Support
Preemptive Scheduling and Mutual Exclusion with Hardware Support Thomas Plagemann With slides from Otto J. Anshus & Tore Larsen (University of Tromsø) and Kai Li (Princeton University) Preemptive Scheduling
More informationOperating System: Chap13 I/O Systems. National Tsing-Hua University 2016, Fall Semester
Operating System: Chap13 I/O Systems National Tsing-Hua University 2016, Fall Semester Outline Overview I/O Hardware I/O Methods Kernel I/O Subsystem Performance Application Interface Operating System
More informationWhat s An OS? Cyclic Executive. Interrupts. Advantages Simple implementation Low overhead Very predictable
What s An OS? Provides environment for executing programs Process abstraction for multitasking/concurrency scheduling Hardware abstraction layer (device drivers) File systems Communication Do we need an
More informationJournal of Computer and System Sciences
Journal of Computer and System Sciences 76 (2010) 741 750 Contents lists available at ScienceDirect Journal of Computer and System Sciences www.elsevier.com/locate/jcss Dual ceiling protocol for real-time
More informationMidterm Exam. October 20th, Thursday NSC
CSE 421/521 - Operating Systems Fall 2011 Lecture - XIV Midterm Review Tevfik Koşar University at Buffalo October 18 th, 2011 1 Midterm Exam October 20th, Thursday 9:30am-10:50am @215 NSC Chapters included
More informationQUESTION BANK UNIT I
QUESTION BANK Subject Name: Operating Systems UNIT I 1) Differentiate between tightly coupled systems and loosely coupled systems. 2) Define OS 3) What are the differences between Batch OS and Multiprogramming?
More informationLecture Topics. Announcements. Today: Advanced Scheduling (Stallings, chapter ) Next: Deadlock (Stallings, chapter
Lecture Topics Today: Advanced Scheduling (Stallings, chapter 10.1-10.4) Next: Deadlock (Stallings, chapter 6.1-6.6) 1 Announcements Exam #2 returned today Self-Study Exercise #10 Project #8 (due 11/16)
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 informationEnergy Aware EDF Scheduling with Task Synchronization for Embedded Real Time Systems
Energy Aware EDF Scheduling with Task Synchronization for Embedded Real Time Systems Ravindra Jejurikar Rajesh K. Gupta Center for Embedded Computer Systems, Department of Information and Computer Science,
More informationCS A320 Operating Systems for Engineers
CS A320 Operating Systems for Engineers Lecture 4 Conclusion of MOS Chapter 2 September 18, 2013 Sam Siewert Many Ways to Schedule a CPU Core We ve Come a Long way Since Batch Scheduling Sam Siewert 2
More informationMultiprocessors II: CC-NUMA DSM. CC-NUMA for Large Systems
Multiprocessors II: CC-NUMA DSM DSM cache coherence the hardware stuff Today s topics: what happens when we lose snooping new issues: global vs. local cache line state enter the directory issues of increasing
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 informationResource Partitioning among Real-Time Applications
Resource Partitioning among Real-Time Applications Giuseppe Lipari nrico Bini Scuola Superiore S Anna Pisa Italy -mail: lipari@sssupit ebini@sssupit Abstract When executing different real-time applications
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 informationCS3733: Operating Systems
CS3733: Operating Systems Topics: Process (CPU) Scheduling (SGG 5.1-5.3, 6.7 and web notes) Instructor: Dr. Dakai Zhu 1 Updates and Q&A Homework-02: late submission allowed until Friday!! Submit on Blackboard
More informationPROCESSES & THREADS. Charles Abzug, Ph.D. Department of Computer Science James Madison University Harrisonburg, VA Charles Abzug
PROCESSES & THREADS Charles Abzug, Ph.D. Department of Computer Science James Madison University Harrisonburg, VA 22807 Voice Phone: 540-568-8746; Cell Phone: 443-956-9424 E-mail: abzugcx@jmu.edu OR CharlesAbzug@ACM.org
More informationMultiprocessor Systems. Chapter 8, 8.1
Multiprocessor Systems Chapter 8, 8.1 1 Learning Outcomes An understanding of the structure and limits of multiprocessor hardware. An appreciation of approaches to operating system support for multiprocessor
More informationPriority Inversion in Multi Processor Systems due to Protected Actions
Priority Inversion in Multi Processor Systems due to Protected Actions Gustaf Naeser Department of Computer Science and Engineering, Mälardalen University, Sweden gustaf.naeser@mdh.se The use of multiple
More informationA Predictable RTOS. Mantis Cheng Department of Computer Science University of Victoria
A Predictable RTOS Mantis Cheng Department of Computer Science University of Victoria Outline I. Analysis of Timeliness Requirements II. Analysis of IO Requirements III. Time in Scheduling IV. IO in Scheduling
More informationCS 571 Operating Systems. Midterm Review. Angelos Stavrou, George Mason University
CS 571 Operating Systems Midterm Review Angelos Stavrou, George Mason University Class Midterm: Grading 2 Grading Midterm: 25% Theory Part 60% (1h 30m) Programming Part 40% (1h) Theory Part (Closed Books):
More informationCS A331 Programming Language Concepts
CS A331 Programming Language Concepts Lecture 12 Alternative Language Examples (General Concurrency Issues and Concepts) March 30, 2014 Sam Siewert Major Concepts Concurrent Processing Processes, Tasks,
More informationResource Access Control in Real-Time Systems. Resource Access Control in Real-Time Systems
CPSC663: RealTime Systems Resource Access Control in RealTime Systems Resources, Resource Access, and How Things Can Go Wrong: The Mars Pathfinder Incident Resources, Critical Sections, Blocking Priority
More informationHardware Locks for a Real-Time Java Chip-Multiprocessor
CONCURRENCY AND COMPUTATION: PRACTICE AND EXPERIENCE Concurrency Computat.: Pract. Exper. 0000; 00:1 22 Published online in Wiley InterScience (www.interscience.wiley.com). Hardware Locks for a Real-Time
More informationCSE 4/521 Introduction to Operating Systems
CSE 4/521 Introduction to Operating Systems Lecture 7 Process Synchronization II (Classic Problems of Synchronization, Synchronization Examples) Summer 2018 Overview Objective: 1. To examine several classical
More informationSystemy RT i embedded Wykład 11 Systemy RTOS
Systemy RT i embedded Wykład 11 Systemy RTOS Wrocław 2013 Plan Introduction Tasks Queues Interrupts Resources Memory management Multiprocessor operation Introduction What s an Operating System? Provides
More informationOperating Systems. Designed and Presented by Dr. Ayman Elshenawy Elsefy
Operating Systems Designed and Presented by Dr. Ayman Elshenawy Elsefy Dept. of Systems & Computer Eng.. AL-AZHAR University Website : eaymanelshenawy.wordpress.com Email : eaymanelshenawy@yahoo.com Reference
More informationFinal Exam Preparation Questions
EECS 678 Spring 2013 Final Exam Preparation Questions 1 Chapter 6 1. What is a critical section? What are the three conditions to be ensured by any solution to the critical section problem? 2. The following
More informationOperating systems and concurrency (B10)
Operating systems and concurrency (B10) David Kendall Northumbria University David Kendall (Northumbria University) Operating systems and concurrency (B10) 1 / 26 Introduction This lecture looks at Some
More informationUNIT -3 PROCESS AND OPERATING SYSTEMS 2marks 1. Define Process? Process is a computational unit that processes on a CPU under the control of a scheduling kernel of an OS. It has a process structure, called
More informationMultiprocessor System. Multiprocessor Systems. Bus Based UMA. Types of Multiprocessors (MPs) Cache Consistency. Bus Based UMA. Chapter 8, 8.
Multiprocessor System Multiprocessor Systems Chapter 8, 8.1 We will look at shared-memory multiprocessors More than one processor sharing the same memory A single CPU can only go so fast Use more than
More informationGPUSync: Architecture-Aware Management of GPUs for Predictable Multi-GPU Real-Time Systems
GPUSync: Architecture-Aware Management of GPUs for Predictable Multi-GPU Real-Time Systems Glenn A. Elliott, Bryan C. Ward, and James H. Anderson Department of Computer Science, University of North Carolina
More informationCPSC/ECE 3220 Summer 2017 Exam 2
CPSC/ECE 3220 Summer 2017 Exam 2 Name: Part 1: Word Bank 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 informationNon-Preemptive Access to Shared Resources in Hierarchical Real-Time Systems
Non-Preemptive Access to Shared Resources in Hierarchical Real-Time Systems Marko Bertogna, Fabio Checconi, Dario Faggioli November 4, 2008 Abstract This paper presents a new strategy to arbitrate the
More informationTasks. Task Implementation and management
Tasks Task Implementation and management Tasks Vocab Absolute time - real world time Relative time - time referenced to some event Interval - any slice of time characterized by start & end times Duration
More informationReal-Time Internet of Things
Real-Time Internet of Things Chenyang Lu Cyber-Physical Systems Laboratory h7p://www.cse.wustl.edu/~lu/ Internet of Things Ø Convergence of q Miniaturized devices: integrate processor, sensors and radios.
More informationMultiprocessor Systems. COMP s1
Multiprocessor Systems 1 Multiprocessor System We will look at shared-memory multiprocessors More than one processor sharing the same memory A single CPU can only go so fast Use more than one CPU to improve
More information