MAST: A Timing Behavior Model for Embedded Systems Design Processes



Similar documents
Model based schedulability analysis with MAST and the UML Profile for MARTE

Predictable response times in event-driven real-time systems

Integrating real-time analysis into design flows

Modelling real-time applications based on resource reservation

Real-time Extensions to the OMG s Deployment and Configuration of Component-based Distributed Applications Specification

Predictable response times in eventdriven real-time systems

Schedulability analysis of distributed real-time systems

AFDX networks. Computers and Real-Time Group, University of Cantabria

Experience with the integration of distribution middleware into partitioned systems

Presentation of the AADL: Architecture Analysis and Design Language

A hypervisor approach with real-time support to the MIPS M5150 processor

Multiprocessor System-on-Chip

Notes and terms of conditions. Vendor shall note the following terms and conditions/ information before they submit their quote.

Implementing and Using Execution Time Clocks in Ada Hard Real-Time Applications

Oracle Data Integrator: Administration and Development

Lecture Outline Overview of real-time scheduling algorithms Outline relative strengths, weaknesses

Trends in Embedded Software Engineering

Web Application Testing. Web Performance Testing

Business Process Management

Decomposition into Parts. Software Engineering, Lecture 4. Data and Function Cohesion. Allocation of Functions and Data. Component Interfaces

Fault-Tolerant Framework for Load Balancing System

AndroLIFT: A Tool for Android Application Life Cycles

Introduction to Operating Systems. Perspective of the Computer. System Software. Indiana University Chen Yu

Chapter 2 System Structures

How To Develop An Iterio Data Acquisition System For A Frustreo (Farc) (Iterio) (Fcfc) (For Aterio (Fpc) (Orterio).Org) (Ater

TASTE Tutorial 01/02/2012

TASTE: A Real-Time Software Engineering Tool-Chain Overview, Status, and Future

XMailer Reference Guide

This presentation introduces you to the Decision Governance Framework that is new in IBM Operational Decision Manager version 8.5 Decision Center.

PART OF THE PICTURE: The TCP/IP Communications Architecture

REAL-TIME STREAMING ANALYTICS DATA IN, ACTION OUT

Digital Library for Multimedia Content Management

Serving Media with NGINX Plus

4. H.323 Components. VOIP, Version 1.6e T.O.P. BusinessInteractive GmbH Page 1 of 19

Multicast monitoring and visualization tools. A. Binczewski R. Krzywania R. apacz

174: Scheduling Systems. Emil Michta University of Zielona Gora, Zielona Gora, Poland 1 TIMING ANALYSIS IN NETWORKED MEASUREMENT CONTROL SYSTEMS

SCADA/HMI MOVICON TRAINING COURSE PROGRAM

How To Write A Windows Operating System (Windows) (For Linux) (Windows 2) (Programming) (Operating System) (Permanent) (Powerbook) (Unix) (Amd64) (Win2) (X

EnduraData Cross Platform File Replication and Content Distribution (November 2010) A. A. El Haddi, Member IEEE, Zack Baani, MSU University

Real Time Programming: Concepts

Stock Trader System. Architecture Description

Modular Real-Time Linux

White Paper ClearSCADA Architecture

Designing Real-Time and Embedded Systems with the COMET/UML method

SOFTWARE TESTING TRAINING COURSES CONTENTS

Using the TASKING Software Platform for AURIX

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems

The CVS-Server Case Study: A Formalized Security Architecture

University of Cantabria Electronics and Computers Department. Integrating a Real-Time Model in Configurable Middleware for Distributed Systems

OPC COMMUNICATION IN REAL TIME

Applications > Robotics research and education > Assistant robot at home > Surveillance > Tele-presence > Entertainment/Education > Cleaning

Operating System Software

Online Transaction Processing in SQL Server 2008

Research of PROFIBUS PA s integration in PROFINET IO

How To Understand The Difference Between Business Process And Process Model In Java.Java.Org (Programming)

Developing SOA solutions using IBM SOA Foundation

Enterprise Integration: operational models of business processes and workflow systems *

CheckPoint FireWall-1 Version 3.0 Highlights Contents

EXPERIENCES PARALLELIZING A COMMERCIAL NETWORK SIMULATOR

for Lync Interaction Recording

Figure 1. perfsonar architecture. 1 This work was supported by the EC IST-EMANICS Network of Excellence (#26854).

Connect your Control Desk to the SIP world

Programming real-time systems with C/C++ and POSIX

Multi-core Curriculum Development at Georgia Tech: Experience and Future Steps

Power Monitoring for Modern Data Centers

AFDX Emulator for an ARINC-based Training Platform. Jesús Fernández Héctor Pérez J. Javier Gutiérrez Michael González Harbour

IBM WebSphere ESB V6.0.1 Technical Product Overview

Architecture and Mode of Operation

TaskWare A New Tool for Task Scheduling for Distributed System Design

Straton and Zenon for Advantech ADAM Copalp integrates the straton runtime into the ADAM-5550 device from Advantech

UML Profile for Schedulability, Performance and Time (UML-SPT)

Web Traffic Capture Butler Street, Suite 200 Pittsburgh, PA (412)

Oracle Fusion Middleware

How To Compare Real Time Scheduling To A Scheduled Scheduler On Linux On A Computer System With A Visualization System

Semarchy Convergence for Data Integration The Data Integration Platform for Evolutionary MDM

What is a workflow? Workflows are a series of actions that correspond to a work process

Object Oriented Programming. Risk Management

NetFlow Collection and Processing Cartridge Pack User Guide Release 6.0

2015 IBM Continuous Engineering Open Labs Target to better LEARNING

Implementing a Data Warehouse with Microsoft SQL Server

Software design (Cont.)

IndustrialIT System 800xA AC 870P/Melody Engineering

Kernel comparison of OpenSolaris, Windows Vista and. Linux 2.6

Methods and Tools For Embedded Distributed System Scheduling and Schedulability Analysis

A Case Study of Application Development and Production Code Generation for a Telematics ECU with Full Unified Diagnostics Services

Data Logging and Realtime Visualization

Web Analytics Understand your web visitors without web logs or page tags and keep all your data inside your firewall.

Transcription:

MAST: A Timing Behavior Model for Embedded Systems Design Processes By: Michael González Harbour, José Javier Gutiérrez, José Carlos Palencia, José María Drake, Julio Medina, Patricia López Universidad de Cantabria, Spain http://mast.unican.es/ ARTIST workshop on Models of Computation and Communication MoCC, Zurich, November 2006 GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 1

1. Introduction: Background Many real-time systems are now distributed Cyclic executives being replaced by run-time schedulers Fixed priority and EDF scheduling are most popular among the run-time scheduling policies Schedulability analysis techniques have evolved a lot in the last decade Originally RM and DM priority assignment techniques, together with response-time analysis Extended to distributed systems (holistic analysis, HOPA) Offset-based analysis introduced (FP and EDF) Multiple-event synchronization handled GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 2

Motivation The latest schedulability analysis techniques are difficult to apply by hand Need for a rich and flexible model of the real-time system: distributed, multiprocessor, or single processor composable software modules separation of architecture, platform, and software modules rich set of event-driven patterns; e.g.: e 1 t 1 m 2 t 5 e 7 + t 7 m 8 t 3 m 4 + t 6 GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 3

Objectives Develop a model for describing the timing behavior of eventdriven distributed real-time systems Open model that may evolve to include new characteristics or points of view of the system Develop a set of tools for analyzing the timing behavior of the application: - Schedulability analysis (hard real-time requirements) - Synchronization blocking calculation - Discrete-event simulation (soft real-time) - Priority assignment - Sensitivity analysis GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 4

MAST: A timing behavior model 1. Introduction: Background, Motivation and Objectives 2. Overview of the Real-Time Model 3. Elements of the MAST Model 4. Integration into design processes 5. The MAST tool suite 6. Conclusions and Future Work GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 5

2. Real-Time Model: Overview Software Modules Processing Resource Shared Resources Scheduler Operation Scheduling Server Platform Event Activity Event Scheduling Parameters Real-time situation Event Handler Timing Requirement Event Reference GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 6

Real-Time Situation Transaction External Event Activity Activity Multicast Internal Event Event Handler Transaction Event Handler Timing Requirement... Event Handler Event Handlers GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 7

3. Elements of the MAST model: Example RMT: Teleoperated Robot Command Message Ethernet Network Status Message Remote Station Local Controller 1sec GUI 50ms Trajectory Planner Command Manager 5ms Servo Control Reporter Data Sender GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 8

Processing resources, schedulers, drivers, and timers packet driver ethernet packet-based network packet driver remote_station primary scheduler remote_station regular processor ethernet primary scheduler local_controller regular processor local_controller primary scheduler GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 9

Scheduling servers priority trajectory planner data sender reporter gui command manager servo control ethernet driver1 message stream ethernet driver2 remote_station primary scheduler ethernet primary scheduler local_controller primary scheduler GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 10

Shared resources Name Shared_Resource Immediate_Ceiling_Resource Priority_Inheritance_Resource Ceiling Preassigned SRP_Resource Preemption_Level Preassigned GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 11

Logical Operations Model Overridden_- Sched_Parameters 0..1 Overridden_Sched_Parameters Name Operation Composite_Operations_List 1..* Composite_Operation Simple_Operation Execution_Times 0..* 0..* To_Lock To_Unlock Shared_Resource Message_Transmission Transmission_Times Enclosing_Operation Execution_Times GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 12

GUI operation in the example includes set_command simple operation gui enclosing operation includes read_status simple operation command uses uses status immediate ceiling resource immediate ceiling resource GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 13

Transactions: Distributed transaction in the example timed activity activity activity e1 event pattern timing reqs. o1 Op: tr_planning Srv: tr_planning activity Op: reporter Srv: reporter e2 e6 Op: command Srv: msg_stream activity Op: status Srv: msg_stream e3 e5 Op: Comm_mgmt Srv: Comm_mgmt activity e4 Op: data_sender Srv: data_sender GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 14

External Events External_Event Periodic_Event Period Max_Jitter Phase Aperiodic_Event Avg_Interarrival Distribution Singular_Event Phase Sporadic_Event Min_Interarrival Unbounded_Event Bursty_Event Bound_Interval Max_Arrivals GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 15

Event Handlers Activity / Rate Divisor / Delay / Offset Concentrator (Merge) Barrier (Join)... +.... Delivery Server (Branch) Multicast (Fork) +....... GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 16

Timing requirements Timing_Requirement Composite_Timing_Requirement Simple_Timing_Requirement 1..* Requirements_List Deadline_Timing_Requirement Deadline Event 1 Referenced_Event Max_Output_Jitter_Req Max_Output_Jitter GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 17

4. Integration into the design process Components built with their own timing behavior model passive components: operations and shared resources active components: single or multithreaded, distributed,... The model is parameterized i.e., actual data for WCETS Deployment tool instantiates the parameterized component models provides the platform model integrates them with the real time situation model Automatic schedulability analysis is then made GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 18

Integration into the design process Architectural real-time models Scheduling policies WCET evaluation Translation Design Detailed Design Mechanism Design Coding Architectural Design Unit Testing Concurrency patterns Synchronization patterns Generation of detailed realtime models Object analysis Integration and Test Testing Validation System Engineering Party Requirements Analysis Analysis Mapping real-time properties to subsystems High-level real-time analysis Schedulability analysis Priority Assignment Sensitivity analysis Identification of realtime situations: - Transactions - Timing requirements - Work loads GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 19

5. The MAST Environment Model Building Tools Component Profile Ada Profile UML Profile Data handling Tools Results viewer Graphical editor XML converter RT Model Data Model description Results description Trace log Tool launcher Tools Simulator Sensitivity Prio. assignment Schedulability analysis GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 20

6. Conclusions MAST defines a model for describing real-time systems distributed and multiprocessor complex synchronization and event-driven schemes composable software modules independence of architecture, platform and modules MAST provides an open set of tools hard and soft real-time analysis automatic blocking times, priority assignment, sensitivity analysis... XML specification language allows easy integration with other tools (i.e., UML tools) GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 21

Future Work Finish current tools: graphical editor integrate simulator Implement missing tools: Multiple-Event Analysis Full support for EDF Speed up the response time analysis GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 22

URL http://mast.unican.es GRUPO DE COMPUTADORES Y TIEMPO REAL Michael González Harbour 23