ECEN 4623/5623 RT Embedded Systems Mid-Term Review Lecture.

Slides:



Advertisements
Similar presentations
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Advertisements

Introduction to Embedded Systems Resource Management - III Lecture 19.
1 EE5900 Advanced Embedded System For Smart Infrastructure RMS and EDF Scheduling.
CS5270 Lecture 31 Uppaal, and Scheduling, and Resource Access Protocols CS 5270 Lecture 3.
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
Real-time concepts Lin Zhong ELEC424, Fall Real time Correctness – Logical correctness – Timing Hard vs. Soft – Hard: lateness is intolerable Pass/Fail.
1 Tornado: An Embedded System Development Tool Maung Wynn Aung Han CIS 642, Spring 2001 Prof. Insup Lee.
Is It Time Yet? Wing On Chan. Distributed Systems – Chapter 18 - Scheduling Hermann Kopetz.
Task Allocation and Scheduling n Problem: How to assign tasks to processors and to schedule them in such a way that deadlines are met n Our initial focus:
The Real-Time Execution Performance Agent Sam Siewert An Hard/Soft Real-Time Digital Control and Continuous Media Experiment.
Embedded Systems Exercise 3: Scheduling Real-Time Periodic and Mixed Task Sets 18. May 2005 Alexander Maxiaguine.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
CprE 458/558: Real-Time Systems
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
Real-Time Operating System Chapter – 8 Embedded System: An integrated approach.
HARDWARE SUPPORT FOR REAL TIME OPERATING SYSTEMS A presentation by: Jake Swart.
Technische Universität Dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2007/12/14.
MM Process Management Karrie Karahalios Spring 2007 (based off slides created by Brian Bailey)
1 Previous lecture review n Out of basic scheduling techniques none is a clear winner: u FCFS - simple but unfair u RR - more overhead than FCFS may not.
Real Time Operating Systems Lecture 10 David Andrews
Real-Time Systems Design1 Priority Inversion When a low-priority task blocks a higher-priority one, a priority inversion is said to occur Assume that priorities:
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Real-Time Operating Systems for Embedded Computing 李姿宜 R ,06,10.
Real-Time Systems Mark Stanovich. Introduction System with timing constraints (e.g., deadlines) What makes a real-time system different? – Meeting timing.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 31 – Multimedia OS (Part 1) Klara Nahrstedt Spring 2011.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Real-Time Scheduling CS 3204 – Operating Systems Lecture 20 3/3/2006 Shahrooz Feizabadi.
Scheduling Lecture 6. What is Scheduling? An O/S often has many pending tasks. –Threads, async callbacks, device input. The order may matter. –Policy,
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 2006 Universität Dortmund Periodic scheduling For periodic scheduling, the best that we can do is to.
Lab 3 Real-Time Control of a Hot Air Plant using RTOS µC/OSII Due Date: Week of Nov. 2 nd, 2010.
Real Time Operating Systems Michael Thomas Date: Rev. 1.00Date.
1 VxWorks 5.4 Group A3: Wafa’ Jaffal Kathryn Bean.
CSE 522 Real-Time Scheduling (2)
Real-Time Scheduling CS 3204 – Operating Systems Lecture 13 10/3/2006 Shahrooz Feizabadi.
1 Real-Time Scheduling. 2Today Operating System task scheduling –Traditional (non-real-time) scheduling –Real-time scheduling.
Rate Monotonic Analysis Rob Oshana Southern Methodist University.
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
Chapter 3: Real-Time Scheduling and Schedulability Analysis Albert M. K. Cheng.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
Lecture 2, CS52701 The Real Time Computing Environment I CS 5270 Lecture 2.
Chapter 19: Real-Time Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 19: Real-Time Systems System Characteristics.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 31 – Process Management (Part 1) Klara Nahrstedt Spring 2009.
Sandtids systemer 2.modul el. Henriks 1. forsøg m. Power Point.
For a good summary, visit:
1.  System Characteristics  Features of Real-Time Systems  Implementing Real-Time Operating Systems  Real-Time CPU Scheduling  An Example: VxWorks5.x.
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Low Overhead Real-Time Computing General Purpose OS’s can be highly unpredictable Linux response times seen in the 100’s of milliseconds Work around this.
Unit - I Real Time Operating System. Content : Operating System Concepts Real-Time Tasks Real-Time Systems Types of Real-Time Tasks Real-Time Operating.
Embedded Real-Time Systems Introduction to embedded software development Lecturer Department University.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
1 Module 3: Processes Reading: Chapter Next Module: –Inter-process Communication –Process Scheduling –Reading: Chapter 4.5, 6.1 – 6.3.
Real-Time Operating Systems RTOS For Embedded systems.
Introduction to Real-Time Operating Systems
REAL-TIME OPERATING SYSTEMS
Chapter 19: Real-Time Systems
EMERALDS Landon Cox March 22, 2017.
Topics Covered What is Real Time Operating System (RTOS)
Scheduling and Resource Access Protocols: Basic Aspects
Unit OS9: Real-Time and Embedded Systems
EEE 6494 Embedded Systems Design
Real-time Software Design
Real-Time Operating Systems
CSCI1600: Embedded and Real Time Software
Chapter 19: Real-Time Systems
CSCI1600: Embedded and Real Time Software
Processes and operating systems
Real-Time Process Scheduling Concepts, Design and Implementations
RTOS Modelling Naren Bala.
Ch 4. Periodic Task Scheduling
Real-Time Process Scheduling Concepts, Design and Implementations
Presentation transcript:

ECEN 4623/5623 RT Embedded Systems Mid-Term Review Lecture

MT Review Fundamentals of RT Analysis –RT Correctness – Before Deadline and Correct Result –Best Effort, Hard RT, Isochronal RT, and Soft RT –Utility Curves for each of the above –CPU, I/O, and memory resource space (CPU-bound, I/O-bound, memory/CPU trade-offs) –Basic Timing Diagrams –Theorem 1 – RM Least Upper Bound –Theorem 2 (Lehoczky, Shah, Ding) – If deadline(s) are met over longest period from C.I., then system is feasible –Fixed priority, preemptive, run-to-completion scheduling –Services and interference (interrupts and higher prio services) –Necessary and Sufficient feasibility means?

MT Review Deadline Monotonic Theory –DM priority assignment policy –Simple sufficient feasibility test –Improved (more necessary) feasibility test –Differences between RM and DM theory T not equal to D Priority assignment policy Iterative feasibility test

MT Review Rate Monotonic Theory –RM priority assignment policy (optimality is ?) –Liu and Layland Assumptions C = WCET T=D Critical Instant Others? –RM Feasibility test is ? –Derivation of 2 task RM sufficient LUB LUB is O(C) complexity – equation Sufficient, but not Necessary and Sufficient Dynamic Priority Theories –EDF –Least Laxity

MT Review Tornado / VxWorks –Diagram of Host-Target IDE –Cross compilation –Target agent (WDB) –Target server (tgtsvr) –Target-Host communication (ethernet, serial, JTAG/BDM) –Dynamic linking and loading Downloadable ELF modules Module manager, loader/unloader built-in target symbol table? Host-based symbol table? Host-and-target symbol table with synchronization? –logMsg versus printf Printf I/O delays caller and can’t be called in kernel/ISR context logMsg performs output in slack time via tlogTask and message queue interface

MT Review Interval timer Host Link X-window system Target server Windview Target agent Wind Kernel X-interface Control Callback {time-stamp read} Link Data Relay WTX-App-Cmd WTX-Data WTX-Cmd WTX-App-Data{wvOn, wvOff} WDB-CmdWDB-Data Trace-data {time-stamp} X-display update Target Link

MT Review RT Synchronization –Priority Inversion –Unbounded Priority Inversion –Priority Inheritence –Priority Ceiling –Necessary 3 Conditions for Unbounded Prio Inversion 3 or more tasks (H, M, L priority) H and L tasks involved in mutex 1 or more M tasks not involved in mutex cause interference –Mars Pathfinder Story What went wrong? Why? How was it fixed?

MT Review VxWorks Kernel Mechanisms –Basic Task Control – taskLib VxWorks task states (see Programmer’s Guide) Creation, Deletion, and Control –Basic Synchronization – semLib –POSIX RT Extensions Message queues –Priority enqueue and dequeue –Same priority? –Blocking vs. non-blocking send and receive Real-time signals –Signals that queue – why? –Passing data – how? Real-Time interval timers and clocks –Systems tick and interval timer jiffy –Hardware interval timer operation –Virtual timers built on hardware interval timer(s)

MT Review Estimating and Measuring C (WCET) –Windview analysis Kernel instrumentation (store event ID and time-tag in trace buffer at key locations – e.g. context switch) Dump trace-buffer in slack time to host Post-analyze –Estimating C on RISC architectures Pipelining and superscalar processing CPI Cache hit/miss ratio (I-cache and D-cache) Pipeline stalls Page faults –WCET