Modelling real-time applications based on resource reservation



Similar documents
Integrating real-time analysis into design flows

MAST: A Timing Behavior Model for Embedded Systems Design Processes

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

How To Extend The Frescor Distributed Transaction Manager (Dtm) With A Multi-Node Transaction Manager

Modelling and analysing real-time systems with MAST: Overview and future extensions

Predictable response times in event-driven real-time systems

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

A POSIX-Ada Interface for Application-Defined Scheduling

Schedulability analysis of distributed real-time systems

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

A Periodic Events - For the Non- Scheduling Server

Microsoft SQL Server 2012 Virtualization Licensing Guide. June 2012

Execution-Time Clocks and Ravenscar Kernels

Production and Maintenance of Content-Intensive Videogames: A Document-Oriented Approach

A Case Study in Performance Evaluation of Real-Time Teleoperation Software Architecture using UML-MAST

Advanced Operating Systems (M) Dr Colin Perkins School of Computing Science University of Glasgow

South East of Process Main Building / 1F. North East of Process Main Building / 1F. At 14:05 April 16, Sample not collected

Supporting Interactive Application Requirements in a Grid Environment

Predictable response times in eventdriven real-time systems

BizTalk Server 2013 Licensing Datasheet and FAQ Published: March, 2013

Universidad Pontificia Comillas. ICADE Faculty of Economics. & Business Administration FACT SHEET

Future Internet for New Century Cities. Open place-making: A New Paradigm for Citizen Enablement. Conference. Workshop.

Trends in Embedded Software Engineering

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

Dynamic Memory Management for Embedded Real-Time Systems

Efficient and Faster PLC Software Development Process for Automotive industry. Demetrio Cortese IVECO Embedded Software Design

Step-by-step Guide for Configuring Cisco ACS server as the Radius with an External Windows Database

Event Management Proposal for Distribution Data Service Standard

This Deployment Guide is intended for administrators in charge of planning, implementing and

Microsoft SQL Server 2014 Virtualization Licensing Guide

Antonio Kung, Trialog. HIJA technical coordinator. Scott Hansen, The Open Group. HIJA coordinator

UNIVERSITY CONTACT DATA AVDA. UNIVERSIDADES BILBAO INTERNATIONAL RELATIONS OFFICE CONTACT DATA. Phone /

Multiagent Control of Traffic Signals Vision Document 2.0. Vision Document. For Multiagent Control of Traffic Signals. Version 2.0

Licensing Quick Reference Guide. Microsoft Internal Edition - Do Not Distribute Exter-

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


Building Test-Sites with Simware

OPERATING SYSTEMS SCHEDULING

Real-Time (Paradigms) (51)

Pikko Server. Scalability when using Erlang on the server side for massive multiplayer game servers. David Almroth CTO, PikkoTekk

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

Linux Plumbers API for Real-Time Scheduling with Temporal Isolation on Linux

CHAPTER 3 REAL TIME SCHEDULER SIMULATOR

CONTROL CODE GENERATOR USED FOR CONTROL EXPERIMENTS IN SHIP SCALE MODEL

QoS and Communication Performance Management

Workflow based performance testing. Suresh Srinivasan

4. Fixed-Priority Scheduling

Hands-On Microsoft Windows Server 2008

Comparison between scheduling algorithms in RTLinux and VxWorks

Parametric Analysis of Mobile Cloud Computing using Simulation Modeling

BizTalk Server 2013 R2 Licensing Datasheet and FAQ Published: May, 2014

Experience with the integration of distribution middleware into partitioned systems

Framework for Validation, Test and Analysis of Real-time Scheduling Algorithms and Scheduler Implementations

INNOVATIVE METHODS AND TECHNIQUES FOR HIGH-PERFORMANCE AND - RELIABILITY MODELING AND SIMULATION (M&S)

ANNEX. to the. Commission Delegated Regulation

Multi-objective Design Space Exploration based on UML

9/26/2011. What is Virtualization? What are the different types of virtualization.

Bringing Value to the Organization with Performance Testing

Introducing EEMBC Cloud and Big Data Server Benchmarks

BizTalk Server 2013 R2 Licensing Datasheet and FAQ Published: July, 2014

TEST REPORT SUMMARY MAY 2010 Symantec Backup Exec 2010: Source deduplication advantages in database server, file server, and mail server scenarios

Performance Issues of a Web Database

Dragon Medical Enterprise Network Edition Technical Note: Requirements for DMENE Networks with virtual servers

Converting Models from Floating Point to Fixed Point for Production Code Generation

Performance Analysis of webmethods Integrations using Apache JMeter Information Guide for JMeter Adoption

How To Monitor A Grid With A Gs-Enabled System For Performance Analysis

Lua as a business logic language in high load application. Ilya Martynov ilya@iponweb.net CTO at IPONWEB

Timing Analysis of Real-Time Software

PERFORMANCE ANALYSIS OF KERNEL-BASED VIRTUAL MACHINE

Technical TesT MeThodology JANUAry 2015

Connecting to Manage Your MS SQL Database

Overview of the Linux Scheduler Framework

SANTANDER GROUP ERASMUS PROGRAMME FOR THE ADMINISTRATIVE STAFF- 2nd CALL FOR APPLICANTS

Vendor briefing Business Intelligence and Analytics Platforms Gartner 15 capabilities

Monday, April 8, 13. Creating Successful Magento ERP Integrations

Open Source Implementation of Hierarchical Scheduling for Integrated Modular Avionics

Unit 9: License Management

Networks Services People 1

Pedraforca: ARM + GPU prototype

Real-time Operating Systems. VO Embedded Systems Engineering Armin Wasicek

An Oracle White Paper March Load Testing Best Practices for Oracle E- Business Suite using Oracle Application Testing Suite

SERVICE ORIENTED AND MODEL-DRIVEN DEVELOPMENT METHODS OF INFORMATION SYSTEMS

SOFT 437. Software Performance Analysis. Ch 5:Web Applications and Other Distributed Systems

Deciding which process to run. (Deciding which thread to run) Deciding how long the chosen process can run

Principles of Software Construction: Objects, Design, and Concurrency. Course Introduction. toad. toad Fall School of Computer Science

Chapter 7: Distributed Systems: Warehouse-Scale Computing. Fall 2011 Jussi Kangasharju

Desktop and Professional Editions

SQL Server 2012 Licensing Datasheet

Move to Usability SOA Arquitecture: Undo Process Implementation

Delivering Quality in Software Performance and Scalability Testing

White Paper. Scalability Results. Select the hardware configuration that s right for your organization to optimize performance

PORT SOCIETIES OF ATLANTIC EUROPE IN THE MIDDLE AGES

Switch board datasheet EB

Compositional hardware virtualization. Raphael kena Poss University of Amsterdam January 11th, 2014

How To Test For Performance

Question Question Question EdTech 552: Lab 3 Answer Sheet

VII COACHING SEMINAR FUENGIROLA 2015

DDS-Enabled Cloud Management Support for Fast Task Offloading

APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS

Transcription:

Modelling real-time applications based on resource reservation Laura Barros, César Cuevas, Patricia López Martínez, José M. Drake and Michael González Harbour Grupo de Computadores y Tiempo Real Universidad de Cantabria, Spain {barrosl, cuevasce, lopezpa, drakej, mgh @unican.es} 2 1 nd International Workshop on Analysis Tools and Methodologies for Embedded and Real-time Systems Porto, July 5th, 2011 Santander, 25/09/2010 Funded by the EU under contracts FP7/NoE/214373, and by the Spanish Government under grant TIN2008-06766-C03-03

Introduction Resource Reservation (RR) Executing each system thread or communication session in a server Server: it has assigned a fraction of the processor capacity or the communication network. Advantages: System robustness Design simplicity Reusability of software components MAST Open source set of tools to design and analysis of RT applications MAST model extended =>MAST 2 MAST 2 tools under development: Possibility of usage of MAST 1 tools transforming models by MDA 2

Modelling elements for the resource reservation paradigm I e2efa triggera stepa1 ea1 stepa2 ea2 stepa3 tr1 Reactive model e2efb triggerb stepb1 tr2 eb1 stepb2 3

Modelling elements for the resource reservation paradigm I e2efa triggera stepa1 ea1 stepa2 ea2 stepa3 Reactive model e2efb triggerb mutexu thread3 stepb1 thread1 tr2 stepb2 processorx primaryscheduler eb1 thread4 thread2 tr1 Resource model 4

Modelling elements for the resource reservation paradigm II e2efa triggera stepa1 ea1 stepa2 ea2 stepa3 tr1 Reactive model virtualrsrc 1 virtualrsrc 2 virtualrsrc 3 virtualrsrc 4 Virtual platform e2efb triggerb stepb1 tr2 eb1 stepb2 5

New classes in resource reservation MAST models I

New classes in resource reservation MAST models II Contract: it represents the capacity required by the application to be executed. VirtualRsrc Attributes of the contract: Budget (t B ) Replenishment period (t R ) Access Deadline (t D ) 7

Real-time application development Application Description Timing requirements Application Workload «Mast2» RR-model Application Virtual Platform Design «Mast1» RT_Analysis Model «Mast1» RT_Simulation Model Analysis «Mast2» RR-model & constr. (a) 4d b1 +4d d1 11.8 4d b2 +4d d2 +2d a2 101.8 (b) d b1 =3.1, d d1 =8.8, d b2 =9.54,d d2 =7.2,d a2 =1.2 (c)... RR tool MAST tools MAST Simulation tools Negotiate Resource Reservation service Execution platform «Mast2» Exec-model «Mast2» Platform Description Execution Execution platform Application code Asigment VR tool

Reactive model of ServoControl example controltrans: EndToEndFlow «PeriodicEvent» period=0.01 virtualplatform T1 clockevent a1 readgoal e1 «Step» SimplOp(wcet=4.0E-4) «Step» message(maxsize=64) Vr_Central (vr1) B = a1 + a5 T = T1 a2 transmitreq e2 «Step» SimplOp(wcet=7.5E-5) a3 readsensorposition e3 a4 returnposition e4 «Step» Message(maxSize=256) «Step» SimplOp(wcet=0.8E-3) Vr_Bus (vr2) B = a2 + a4+a6 T = T1 a5 evaluatecontrol e5 a6 transmitcontrol e6 «Step» Message(maxSize=256) «Step» SimplOp(wcet=5.0E-5) Vr_Remote (vr3) B = a3 + a7 T = T1 a7 setservoinputs end «HardGlobalDeadline» deadline=5.0e-3 refevent= clockevent 9

Virtual Platform assignment tool Virtual Platform Period Budget Deadline Vr_Central(vr1) T1 a1+ a5? Vr_Bus(vr2) T1 a2+a4+a6? Vr_Remote(vr3) T1 a3+a7? 2 vr1.t D+ 3 vr2.t D+ 2 vr3.t D 9.182 ms wrt (a x ) < vr.t D (vr.t B a x ) It is possible to calculate the wrt (t X ) of an activity (t a ) in a VirtualRsrc. vr1.t D -(vr1.t B -a1)+ vr1.t D -(vr1.t B -a5)+ + vr2.t D -(vr2.t B -a2)+ vr2.t D -(vr2.t B -a4)+ vr2.t D -(vr2.t B -a6)+ + vr3.t D -(vr3.t B -a3)+vr3.t D -(vr3.t B -a7) < t GD 10

Negotiation tool Negotiation tool Virtual Platform adjustment Iterative search of a set of deadline values that: makes the application schedulable verifies the specified restrictions Virtual Resources generation MAST Schedulability analysis Tool Vr/SchedRsrc Period Priority Budget Deadline vr1/centrthr T1 14 1.2 ms 2.51 ms Vr2/commChannel T1 146 576 bits 0.83 ms Vr3/remoteThr T1 22 0.125 ms 0.5 ms 11

Complex application: No restrictions. Virtual schedulability analysis Model transformation MAST 2 RR-Model Results of analysis using MAST tools vrx:virtualschedulableresource budget=t B replenismentperiod=t R deadline=t D MAST 2 vrxproc:regularprocessor (Default attributes) vrx:thread vrxthload:thread Analyzable-Model Scheduler=vrxSchParam=Fixed PriorityParam(priority=1) Scheduler=vrxSch Param=FixedPriorityParam( priority=2) ATL vrxsch:primaryscheduler Host=vrxProc Policy=FixedPriorityPolicy vrxproc:endtoendflow trg:periodicevent Period=t D act:step Thread=vrxLoad Operation= vrxop vrxop:simpleoperation Wcet= t D -t B

Model Transformation for the MAST 1 compatibility Design MAST 2 MAST 2 RR-Model MAST 2 Schedulability VirtualTool Analysis Result-Model MAST 2 Analyzable-Model ATL MAST 1 MAST-Results MAST 1 Analyzable-Model MAST Schedulability analysis Tool 13

Conclusions Modelling elements based on RR paradigm with MAST: Scenario: The application can be analysed independently of the current workload The programmers do not require any knowledge about the underlying platform Solution: MAST tools cover the different phases in the development and execution of applications based on resource reservation Relying in the availability of a resource reservation middleware installed in the platform Currently working on: Updating the MAST tools in order to support the new advanced paradigms for real time systems covered by MAST2 Other : Implementation of the virtual platform assignment tool Implementation of the resource reservation service based on Rt-linux 14