Real-time aspects Bernhard Weirich 0126357. Real-time Systems Real-time systems need to accomplish their task s before the deadline. – Hard real-time:

Slides:



Advertisements
Similar presentations
© 2004 Wayne Wolf Topics Task-level partitioning. Hardware/software partitioning.  Bus-based systems.
Advertisements

Modern Processor Architectures Make WCET Analysis for HUME Challenging Christian Ferdinand AbsInt Angewandte Informatik GmbH.
Approximating the Worst-Case Execution Time of Soft Real-time Applications Matteo Corti.
Modeling shared cache and bus in multi-core platforms for timing analysis Sudipta Chattopadhyay Abhik Roychoudhury Tulika Mitra.
Multicore Architecture for Critical Real-Time Embedded Systems Multicores in CRTEs: Critical Real-Time Embedded Systems (CRTESs) are in everyday life CRTESs.
Constraint Systems used in Worst-Case Execution Time Analysis Andreas Ermedahl Dept. of Information Technology Uppsala University.
Microarchitectural Approaches to Exceeding the Complexity Barrier © Eric Rotenberg 1 Microarchitectural Approaches to Exceeding the Complexity Barrier.
Basic Real Time Concepts Systems Concepts Real-Time Definitions Events and Determinism CPU Utilization Real-Time System Design Issues Example Real-Time.
Timing Predictability - A Must for Avionics Systems - Reinhard Wilhelm Saarland University, Saarbrücken.
© Andy Wellings, 2004 Concurrent and Real-Time Programming in Java  Electronic copies of course foils available via 
Instruction Level Parallelism (ILP) Colin Stevens.
1 of 14 1/15 Schedulability Analysis and Optimization for the Synthesis of Multi-Cluster Distributed Embedded Systems Paul Pop, Petru Eles, Zebo Peng Embedded.
Embedded and Real Time Systems Lecture #4 David Andrews
The Case for Precision Timed (PRET) Machines Edward A. Lee Professor, Chair of EECS UC Berkeley With thanks to Stephen Edwards, Columbia University. National.
1 Center for Embedded Systems Research (CESR) Department of Computer Science North Carolina State University Frank Mueller Timing Analysis: In Search of.
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Cyber-Physical Systems: A Vision of the Future Edward A. Lee Robert S. Pepper Distinguished.
NC STATE UNIVERSITY Anantaraman © 2004RTSS–25 Enforcing Safety of Real-Time Schedules on Contemporary Processors using a Virtual Simple Architecture (VISA)
February 21, 2008 Center for Hybrid and Embedded Software Systems Mapping A Timed Functional Specification to a Precision.
Real-Time Kernels and Operating Systems. Operating System: Software that coordinates multiple tasks in processor, including peripheral interfacing Types.
Mahapatra-A&M-Sprong'021 Co-design Finite State Machines Many slides of this lecture are borrowed from Margarida Jacome.
7/2/ _23 1 Pipelining ECE-445 Computer Organization Dr. Ron Hayne Electrical and Computer Engineering.
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.
COM181 Computer Hardware Ian McCrumRoom 5B18,
Computer Science 12 Design Automation for Embedded Systems ECRTS 2011 Bus-Aware Multicore WCET Analysis through TDMA Offset Bounds Timon Kelter, Heiko.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 11 Slide 1 Architectural Design.
Course Outline DayContents Day 1 Introduction Motivation, definitions, properties of embedded systems, outline of the current course How to specify embedded.
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
Computer Architecture ECE 4801 Berk Sunar Erkay Savas.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
WCET Analysis for a Java Processor Martin Schoeberl TU Vienna, Austria Rasmus Pedersen CBS, Denmark.
1. Introduction 1.1 Background 1.2 Real-time applications 1.3 Misconceptions 1.4 Issues in real-time computing 1.5 Structure of a real-time system.
Real-Time Java on JOP Martin Schöberl. Real-Time Java on JOP2 Overview RTSJ – why not Simple RT profile Scheduler implementation User defined scheduling.
EEL Software development for real-time engineering systems.
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Real-Time Operating Systems for Embedded Computing 李姿宜 R ,06,10.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Some practical issues.
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.
Reference: Ian Sommerville, Chap 15  Systems which monitor and control their environment.  Sometimes associated with hardware devices ◦ Sensors: Collect.
Mahapatra-A&M-Fall'001 Co-design Finite State Machines Many slides of this lecture are borrowed from Margarida Jacome.
1 Estimating the Worst-Case Energy Consumption of Embedded Software Ramkumar Jayaseelan Tulika Mitra Xianfeng Li School of Computing National University.
Lecture 13: Logic Emulation October 25, 2004 ECE 697F Reconfigurable Computing Lecture 13 Logic Emulation.
Real Time Operating Systems Introduction to Real-Time Operating Systems (Part I) Course originally developed by Maj Ron Smith.
Computer Orgnization Rabie A. Ramadan Lecture 6. DataPath.
System-level power analysis and estimation September 20, 2006 Chong-Min Kyung.
Processor Architecture
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  1998 Morgan Kaufmann Publishers Where we are headed Performance issues (Chapter 2) vocabulary and motivation A specific instruction set architecture.
ECE 720T5 Fall 2011 Cyber-Physical Systems Rodolfo Pellizzoni.
Harini Ramaprasad, Frank Mueller North Carolina State University Center for Embedded Systems Research Bounding Preemption Delay within Data Cache Reference.
1 of 14 1/15 Schedulability-Driven Frame Packing for Multi-Cluster Distributed Embedded Systems Paul Pop, Petru Eles, Zebo Peng Embedded Systems Lab (ESLAB)
CS244-Introduction to Embedded Systems and Ubiquitous Computing Instructor: Eli Bozorgzadeh Computer Science Department UC Irvine Winter 2012.
ECE 720T5 Winter 2014 Cyber-Physical Systems Rodolfo Pellizzoni.
CHaRy Software Synthesis for Hard Real-Time Systems
ESE532: System-on-a-Chip Architecture
REAL-TIME OPERATING SYSTEMS
ESE532: System-on-a-Chip Architecture
Real-time Software Design
A Review of Processor Design Flow
CSCI1600: Embedded and Real Time Software
Worst-Case Execution Time
Evaluation and Validation
COMS 361 Computer Organization
Timing analysis research
Computer Architecture
CSCI1600: Embedded and Real Time Software
Time Zoya Yeprem.
Performance Evaluation of Real-Time Systems
Presentation transcript:

Real-time aspects Bernhard Weirich

Real-time Systems Real-time systems need to accomplish their task s before the deadline. – Hard real-time: violation of the deadline can lead to a total system failure – Soft real-time: violation of the deadline degrades the service quality To be able to guarantee all deadlines to be met, the worstcase execution time (WCET) has to be known.

Hardware In synchronous designs the worst case gate level delays and propagation time must be considered in any case. They are provided by the Timing analyzer. The response time of a circuit to a certain input in terms of clock ticks is easy to calculate But: – Information flow can be very difficult to predict. It often depends on history

Problematic Hardware DRAM: access can be delayed by refresh cycles Computer Architecture: – Caches – Pipelining – Branch Prediction Network Harddisk …

Problems with Software Software depends on the hardware But knowledge of the software can be used to better predict hardware behavior Additional problems: – Multitasking, conditional execution – Multiprocessing – Virtual Memory

WCET is more than SW or HW Development WCET analysis requires knowledge of software and hardware at the same time Abstraction to simple hardware interfaces is not possible

Approaches Real-time operating systems Real-time programming languages (e.g. Ada) Increase predictability: – Cache-locking – Function cache Predictable network protocols (TT-ethernet, TTP)

WCET estimation WCET analysis during program compilation Static WCET analysis of source code or compiled executables – DFA (data-flow analysis) cache modelling – Pipeline modelling – Branch prediction modelling – Model DRAM refreshs as periodic interrupts Measure ET

Static WCET analyzer Software Bound – T aiT RapiTime Calc WCET

Resources case_execution_time case_execution_time Modeling the Function Cache for Worst-Case Execution (Raimund Kirner, Martin Schoeberl) Experimental Assessment of Worst-case Program Execution Times (Pavel Atanassov)