CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Some practical issues.

Slides:



Advertisements
Similar presentations
CprE 458/558: Real-Time Systems
Advertisements

1 Complete Information Flow Tracking from the Gates Up Tiwari, Wassel, Mazloom, Mysore, Chong, Sherwood, UCSB, ASPLOS 2009 Shimin Chen LBA Reading Group.
Approximating the Worst-Case Execution Time of Soft Real-time Applications Matteo Corti.
Xianfeng Li Tulika Mitra Abhik Roychoudhury
U NIVERSITY OF D ELAWARE C OMPUTER & I NFORMATION S CIENCES D EPARTMENT Optimizing Compilers CISC 673 Spring 2009 Instruction Scheduling John Cavazos University.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Resource Reclaiming (Contd.)
Chapter 3 Pipelining. 3.1 Pipeline Model n Terminology –task –subtask –stage –staging register n Total processing time for each task. –T pl =, where t.
Harini Ramaprasad, Frank Mueller North Carolina State University Center for Embedded Systems Research Tightening the Bounds on Feasible Preemption Points.
Multicore Architecture for Critical Real-Time Embedded Systems Multicores in CRTEs: Critical Real-Time Embedded Systems (CRTESs) are in everyday life CRTESs.
Microarchitectural Approaches to Exceeding the Complexity Barrier © Eric Rotenberg 1 Microarchitectural Approaches to Exceeding the Complexity Barrier.
Timing Predictability - A Must for Avionics Systems - Reinhard Wilhelm Saarland University, Saarbrücken.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Advanced Compilers CMPSCI 710.
Instruction Level Parallelism (ILP) Colin Stevens.
1 Center for Embedded Systems Research (CESR) Department of Computer Science North Carolina State University Frank Mueller Timing Analysis: In Search of.
Chapter 17 Parallel Processing.
Csci4203/ece43631 Review Quiz. 1)It is less expensive 2)It is usually faster 3)Its average CPI is smaller 4)It allows a faster clock rate 5)It has a simpler.
NC STATE UNIVERSITY Anantaraman © 2004RTSS–25 Enforcing Safety of Real-Time Schedules on Contemporary Processors using a Virtual Simple Architecture (VISA)
Part 5 – Superscalar & Dynamic Pipelining - An Extra Kicker! 5/5/04+ Three major directions that simple pipelines of chapter 6 have been extended If you.
Reinder J. Bril, TU/e Informatica, System Architecture and Networking 1 Construction of time lines for FPPS Reinder J. Bril Real-Time Architectures.
CprE 458/558: Real-Time Systems
CprE 458/558: Real-Time Systems
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Best Effort Scheduling.
Chapter 1 Embedded And Real-Time System Department of Computer Science Hsu Hao Chen Professor Hsung-Pin Chang.
Ana-Maria Oprescu, Thilo Kielmann (Vrije University) Presented By Gal Cohen Cloud Computing Seminar CS Technion, Spring 2012.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Combined Scheduling of Periodic and Aperiodic Tasks.
A Modular and Retargetable Framework for Tree-based WCET analysis Antoine Colin Isabelle Puaut IRISA - Solidor Rennes, France.
WCET Analysis for a Java Processor Martin Schoeberl TU Vienna, Austria Rasmus Pedersen CBS, Denmark.
ANTs PI Meeting, Nov. 29, 2000W. Zhang, Washington University1 Flexible Methods for Multi-agent distributed resource Allocation by Exploiting Phase Transitions.
Evaluation and Validation Peter Marwedel TU Dortmund, Informatik 12 Germany 2013 年 12 月 02 日 These slides use Microsoft clip arts. Microsoft copyright.
Real-Time Systems Mark Stanovich. Introduction System with timing constraints (e.g., deadlines) What makes a real-time system different? – Meeting timing.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Distributed Real-Time Systems (contd.)
Ted Pedersen – CS 3011 – Chapter 10 1 A brief history of computer architectures CISC – complex instruction set computing –Intel x86, VAX –Evolved from.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
NC STATE UNIVERSITY Center for Embedded Systems Research (CESR) Department of Electrical & Computer Eng’g North Carolina State University Ali El-Haj-Mahmoud,
Pipelining and Parallelism Mark Staveley
Static WCET Analysis vs. Measurement: What is the Right Way to Assess Real-Time Task Timing? Worst Case Execution Time Prediction by Static Program Analysis.
CSCI1600: Embedded and Real Time Software Lecture 33: Worst Case Execution Time Steven Reiss, Fall 2015.
1 CPRE 585 Term Review Performance evaluation, ISA design, dynamically scheduled pipeline, and memory hierarchy.
CprE 458/558: Real-Time Systems
Hybrid Multi-Core Architecture for Boosting Single-Threaded Performance Presented by: Peyman Nov 2007.
1  1998 Morgan Kaufmann Publishers Chapter Six. 2  1998 Morgan Kaufmann Publishers Pipelining Improve perfomance by increasing instruction throughput.
ECE 720T5 Fall 2011 Cyber-Physical Systems Rodolfo Pellizzoni.
Real-time aspects Bernhard Weirich Real-time Systems Real-time systems need to accomplish their task s before the deadline. – Hard real-time:
Introductory Seminar on Research CIS5935 Fall 2008 Ted Baker.
Lecture 1: Introduction CprE 585 Advanced Computer Architecture, Fall 2004 Zhao Zhang.
Chapter Six.
Topics to be covered Instruction Execution Characteristics
Operating System Overview
Computer Architecture
Part IV Data Path and Control
Part IV Data Path and Control
CSCI1600: Embedded and Real Time Software
Lecture 14 Virtual Memory and the Alpha Memory Hierarchy
Superscalar Processors & VLIW Processors
Lecture 8: ILP and Speculation Contd. Chapter 2, Sections 2. 6, 2
CprE 458/558: Real-Time Systems (G. Manimaran)
Worst-Case Execution Time
Evaluation and Validation
Computer Architecture
Coe818 Advanced Computer Architecture
How to improve (decrease) CPI
Chapter Six.
Chapter Six.
Resource access control -- example
Overview Prof. Eric Rotenberg
Aravindh Anantaraman*, Kiran Seth†, Eric Rotenberg*, Frank Mueller‡
Control Hazards Branches (conditional, unconditional, call-return)
How to improve (decrease) CPI
CSCI1600: Embedded and Real Time Software
Building a “System” Moving from writing a program to building a system. What’s the difference?! Complexity, size, complexity, size complexity Breadth.
Presentation transcript:

CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Some practical issues

CprE 458/558: Real-Time Systems (G. Manimaran)2 Finding WCET Problem: Given a program and an architecture, find the worst-case execution time (WCET) of that program on the given architecture. Fundamental limitation: Given an arbitrary program, the problem of deciding if it will ever stop is un-decidable. This is known Halting Problem (Turing machine). By restricting the programming constructs used, one can get an upper bound in many cases.

CprE 458/558: Real-Time Systems (G. Manimaran)3 WCET Estimation Approaches Program and Architecture analysis –Easy when architecture is simple – no cache, no pipeline, etc. –Difficult in modern architectures because of deep pipeline, multi-level cache, super-scalar feature, speculative execution and branch prediction. Profiling based statistical approaches –Make several profiling runs of the program, get their exec. time to get the estimate of WCET. –Based on experimental results, estimate the confidence associated with some estimate of WCET.

CprE 458/558: Real-Time Systems (G. Manimaran)4 Practical considerations Overruns: ACET > WCET –Abort the overrun job and perform exception handling –Value-based scheduling (drop less critical tasks) –Rescheduling, if possible

CprE 458/558: Real-Time Systems (G. Manimaran)5 Practical consideration – contd. Mode change –Mission has multiple phases of execution –Each phase may have a separate set of periodic/aperiodic tasks –Smooth transition from one phase to another Deleting tasks from old phase Initiating tasks from new phase Executing tasks from old and new phases during transition phase –Schedulability analysis must take into account multiple phases –Eg: flight control system: take-off, cruise, landing.