Modular Performance Analysis

Similar documents
3.5: Multimedia Operating Systems Resource Management. Resource Management Synchronization. Process Management Multimedia

5. Process and thread scheduling

FIFO WITH OFFSETS HIGH SCHEDULABILITY WITH LOW OVERHEADS. RTAS 18 April 13, Björn Brandenburg

Introduction to Real-Time Systems

Optimized Schedule Synthesis under Real-Time Constraints for the Dynamic Segment of FlexRay

CIS 480/899 Embedded and Cyber Physical Systems Spring 2009 Introduction to Real-Time Scheduling. Examples of real-time applications

Exact Response Time of FlexRay Communication Protocol

15 CAN Performance Distributed Embedded Systems Philip Koopman October 21, Copyright , Philip Koopman

On the Timing Analysis of the Dynamic Segment of FlexRay

Deadline scheduling: can your mobile device last longer?

Scheduling and Communication Synthesis for Distributed Real-Time Systems

Contents. Basic Concepts. Histogram of CPU-burst Times. Diagram of Process State CHAPTER 5 CPU SCHEDULING. Alternating Sequence of CPU And I/O Bursts

Efficiency of Dynamic Arbitration in TDMA Protocols

Viden: Attacker Identification on In-Vehicle Networks

CT-Bus : A Heterogeneous CDMA/TDMA Bus for Future SOC

VLSI System Testing. Outline

Compositional Analysis Framework using EDP Resource Models

AN IMPLEMENTATION OF MULTI-DSP SYSTEM ARCHITECTURE FOR PROCESSING VARIANT LENGTH FRAME FOR WEATHER RADAR

Wireless replacement for cables in CAN Network Pros and Cons. by Derek Sum

Energy Efficient Scheduling Techniques For Real-Time Embedded Systems

A Virtual Deadline Scheduler for Window-Constrained Service Guarantees

Energy Efficient Soft Real-Time Computing through Cross-Layer Predictive Control

SiTime University Turbo Seminar Series

Dependable Wireless Control

The Case for Feedback Control Real-Time Scheduling. Abstract

COMET DISTRIBUTED ELEVATOR CONTROLLER CASE STUDY

Multiple Access (3) Required reading: Garcia 6.3, 6.4.1, CSE 3213, Fall 2010 Instructor: N. Vlajic

Route Selection of Mobile Sensors for Air Quality Monitoring

The Evolution of Real-Time Programming

The CPAL programming language. Lean Model-Driven Development through Model-Interpretation

NSF. Hybrid Systems: From Models to Code. Tom Henzinger. UC Berkeley. French Guyana, June 4, 1996 $800 million embedded software failure

SW simulation and Performance Analysis

COSC 3213: Computer Networks I Instructor: Dr. Amir Asif Department of Computer Science York University Section B

Hello, and welcome to this presentation of the STM32G0 digital-to-analog converter. This block is used to convert digital signals to analog voltages

Bricken Technologies Corporation Presentations: Bricken Technologies Corporation Corporate: Bricken Technologies Corporation Marketing:

Object-oriented Analysis and Design

Timing Analysis of the FlexRay Communication Protocol

Data Flow Modelling. Fault Tolerant Systems Research Group. Budapest University of Technology and Economics

CS 354R: Computer Game Technology

SCHED_DEADLINE. Ongoing development and new features. Juri Lelli ARM Ltd. Linaro Connect BUD17, Budapest (Hungary) 08/03/2017 ARM 2017

Event-Driven Scheduling. (closely following Jane Liu s Book)

Comparing Performance Analysis Methods on an Industrial Case Study

Modular Scheduling of Distributed Heterogeneous Time-Triggered Automotive Systems

Mathematical Problems in Networked Embedded Systems

GFT1012 2/4 Channel Precise Slave Generator

Chapter 6: CPU Scheduling

CANopen Programmer s Manual Part Number Version 1.0 October All rights reserved

Chapter 3: Alarm correlation

WirelessHART Modeling and Performance Evaluation

MSC-235. Design and Deploy for MOTOTRBO Connect Plus Solutions BETA. Exam.

Multiple Access Methods

Opportunistic network communications

PDH Switches. Switching Technology S P. Raatikainen Switching Technology / 2004.

Vampir Getting Started. Holger Brunst March 4th 2008

Scheduling broadcasts with deadlines

Time Matters How Power Meters Measure Fast Signals

Introduction: TAS PowerTek Ltd. MAVROS

Lecture #20 Analog Inputs Embedded System Engineering Philip Koopman Wednesday, 30-March-2016

Slot Multiplexing Optimization for Minimizing the Operating Frequency of a FlexRay Bus under Hard Real-time Constraints

Computer Aided Design of Electronics

Real Time Operating Systems Lecture 29.1

BBS: Lian et An al. Energy Efficient Localized Routing Scheme. Scheme for Query Processing in Wireless Sensor Networks

Software verification

A Quantifying Notions of Extensibility in FlexRay Schedule Synthesis 1

Exploiting Synchronous and Asynchronous DVS

Time Iteration Protocol for TOD Clock Synchronization. Eric E. Johnson. January 23, 1992

CSE 237A Winter 2018 Homework 1

Dipartimento di Elettronica Informazione e Bioingegneria Robotics

Hardware-Software Codesign. 0. Organization

UNIT-III LIFE-CYCLE PHASES

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes

Embedded Systems. 9. Power and Energy. Lothar Thiele. Computer Engineering and Networks Laboratory

ETSI TS V1.1.1 ( ) Technical Specification

PACS codes: Qx, Nc, Kv, v Keywords: Digital data acquisition, segmented HPGe detectors, clock and trigger distribution

CAN for time-triggered systems

Service Differentiation in Multi-Rate Wireless Networks with Weighted Round-Robin Scheduling and ARQ-Based Error Control

instabus EIB product documentation

AutoBench 1.1. software benchmark data book.

The Disappearing Computer. Information Document, IST Call for proposals, February 2000.

LSI Design Flow Development for Advanced Technology

ZODIAC AIRCRAFT SYSTEMS ZODIAC DATA SYSTEMS

UTILIZATION OF AN IEEE 1588 TIMING REFERENCE SOURCE IN THE inet RF TRANSCEIVER

Sno Projects List IEEE. High - Throughput Finite Field Multipliers Using Redundant Basis For FPGA And ASIC Implementations

10. BSY-1 Trainer Case Study

Beam Stabilization at

Experimental Evaluation of the MSP430 Microcontroller Power Requirements

Inter-Device Synchronous Control Technology for IoT Systems Using Wireless LAN Modules

Chapter 16 - Instruction-Level Parallelism and Superscalar Processors

Dynamically Optimizing FPGA Applications by Monitoring Temperature and Workloads

Increasing Buffer-Locality for Multiple Index Based Scans through Intelligent Placement and Index Scan Speed Control

Some results on optimal estimation and control for lossy NCS. Luca Schenato

ASX CHESS Replacement Project Webinar

Pre-Deployment Testing, Augmentation and Calibration of Cross-Sensitive Sensors

An Enhanced Fast Multi-Radio Rendezvous Algorithm in Heterogeneous Cognitive Radio Networks

Scheduling. Radek Mařík. April 28, 2015 FEE CTU, K Radek Mařík Scheduling April 28, / 48

Compact system for wideband interception and technical analysis

Modeling load balancing in carrier aggregation mobile networks

On Multi-Server Coded Caching in the Low Memory Regime

Dynamic MIPS Rate Stabilization in Out-of-Order Processors

FTSP Power Characterization

Transcription:

Modular Performance Analysis Lothar Thiele Simon Perathoner, Ernesto Wandeler ETH Zurich, Switzerland 1

Embedded Systems Computation/Communication Resource Interaction 2

Models of Computation How can we classify and compare them? stepwise refinement concurrency hierarchy incremental design beauty modular simple safe accuracy expressive tools formal compositional easy to use efficient executable scope implementation scalable 3

Why is it difficult? Many aspects can not be quantified. Models cover different scenarios: B A C D 4

Intention Compare models and methods that analyze the timing properties of distributed systems. MAST SymTA TIMES MPA 5

Approach Define a set of benchmark examples that cover common area (obligatory) Define benchmark examples that show the power of each method (free style) Leiden Workshop on Distributed Embedded Systems: http://www.tik.ee.ethz.ch/~leiden05/ 6

MAST Wait another 20 minutes... 7

SymTA/S Based on classical RT analysis (periodic, jitter). Simplified relations and adaptors in order to achieve modularity. Computation and Communication 8

SymTA/S Based on classical RT analysis (periodic, jitter). Simplified relations and adaptors in order to achieve modularity. 9

TIMES/UPPAAL Models are based on Timed Automata. periodic stream fixed priority scheduling 10

Modular Performance Analysis (MPA) Processor Input Stream Concrete Instance Abstract Representation Task Service Model t D Load Model Abstract Component Model 11

Abstract Stream Model Event Stream events number of events in in t=[0.. 2.5] ms 2.5 t [ms] t Arrival Curves D events a maximum / minimum arriving events in any interval of length 2.5 ms a 2.5 D [ms] 12

Load Model - Examples periodic periodic w/ jitter periodic w/ burst complex 13

Process Abstraction Formal Specification Program Analysis Data Sheets... b Task Cach e [b] [] e Functional Unit Automaton triggering event b/[15,15]/e * a/[10,10]/d min/max resource demand b/[5,5]/e b/[15,15]/e a/[5,5]/d produced event c/[3,20]/d a/[10,10]/d c/[3,20]/d 14

Service Model (Resources) Resource Availability availability available service in t=[0.. 2.5] ms 2.5 t [ms] t Service Curves maximum/minimum available service in any interval of length 2.5 ms service b b D 15 2.5 D [ms]

Service Model - Examples Load Model Service Model abstract component full resource bounded delay TDMA resource periodic resource 16

What kind of resources can be modeled? Memory (buffer space) Delay (end-to-end delay / processing and waiting) Computation Communication Energy 17

Processing Model (HW/SW) HW/SW Components Processing semantics and functionality of HW/SW tasks Abstract Components a HW/SW Task RTC b a t D 18 Predicate Ψ

Scheduling and Arbitration Components FP/RM EDF RR GPC EDF RR GPC GPS TDMA share TDMA GPC GPC GPC sum GPC 19

What kind of resource usage can be modeled? Different resource sharing strategies EDF TDMA Fixed Priority GPS Different processing semantics Greedy Processing Greedy Shaper Blocking 20

Complete System Composition CPU BUS DSP RM TDMA TDMA GPC GPC GSC GPC GPC GPC 21

Basic Concepts for Describing Activations AND OR 22

Free Style S1 S2 S3 S6 ECU1 CC1 BUS CC3 ECU3 6 Real-Time Input Streams - with jitter - with bursts - deadline > period 3 ECU s with own CC s S4 S5 ECU2 CC2 13 Tasks & 7 Messages - with different WCED 2 Scheduling Policies - Earliest Deadline First (ECU s) - Fixed Priority (ECU s & CC s) Total Utilization: - ECU1 59 % - ECU2 87 % - ECU3 67 % - BUS 56 % 23 Hierarchical Scheduling - Static & Dynamic Polling Servers Bus with TDMA - 4 time slots with different lengths (#1,#3 for and CC1, Networks #2 for Laboratory CC3, #4 for CC3

... and its Abstract Component Model CPU ECU1 BUS PS S1 T1.1 C1.1 TDMA CC1 ECU3 T1.2 PS CPU T1.3 C1.2 S2 S3 T2.1 T3.1 C2.1 C3.1 CC3 PS T2.2 T3.3 C3.2 T3.2 S6 T6.1 EDF S4 CPU T4.1 ECU2 C4.1 CC2 T4.2 S5 T5.1 24 C5.1 T5.2

Buffer Requirements S1 S2 S3 S4 S5 CPU T2.1 T3.1 T3.3 CPU T4.1 T5.1 PS 3 T1.1 ECU1 C1.1 5 T1.3 5 4.1 2 6 ECU2 TDMA C2.1 C3.1 1 5 BUS CC1 1.3 4.5 1 4 25 C4.1 C5.1 C1.2 C3.2 CC2 3 CC3 2 1.8 ECU3 T1.2 T3.2 5 PS PS CPU T2.2 EDF T4.2 T5.2

Delay Guarantees CPU PS ECU1 BUS TDMA ECU3 PS CPU S1 6250 T1.1 T1.3 C1.1 1190 CC1 C1.2 T1.2 1500 S2 S3 S4 T2.1 T3.1 5830 T3.3 CPU T4.1 ECU2 90 154 C2.1 C3.1 C4.1 CC3 C3.2 CC2 T3.2 300 300 PS T2.2 EDF T4.2 S5 T5.1 26 C5.1 T5.2

Interface-Based Design MPA is suited for interface-based design Stepwise refinement Inverse relations because of min-+ algebra Assume/Guarantee by means of partial order 27

Intention Compare models and methods that analyze the timing properties of distributed systems. MAST SymTA TIMES MPA 28

Benchmarks Pay Burst Only Once Cyclic Dependencies Variable Feedback AND/OR task activation Intra-context information Workload Correlation Data Dependencies 29

Benchmark 1 Pay Bursts Only Once 0 J 70ms 30

Benchmark 1 100s < 1s simulation (10000 events) 31

Benchmark 2 Cyclic Dependencies 0 J 50ms T3 T3 32

Benchmark 2-1 : T1 high β 1 β 2 T1 T2 T3 33

Benchmark 2-2 : T3 high β 1 β 2 T3 T2 T1 34

Benchmark 3 Variable Feedback 4 J 30ms 35

Benchmark 3 : T1 high for each step in binary search: 50 minutes 36

(Expected) Results Understand the modeling power of different models and the relation between models and analysis accuracy. Improve methods by combining ideas and abstractions. Not: competition.... 37

In models for timed systems abstraction matters Knowledge about MoCCs that (also) talk about resource usage are far less understood 38