Top Banner
Budapest University of Technology and Economics Fault-tolerant Systems Research Group Quality-of-Service Modeling and Analysis of Dependable Aplication Models András Balogh András Pataricza BUTE-DMIS-FTSRG http://www.decos.at/
23

Quality-of-Service Modeling and Analysis of Dependable ...

Nov 06, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Quality-of-Service Modeling and Analysis of Dependable ...

Budapest University of Technology and Economics

Fault-tolerant Systems Research Group

Quality-of-Service Modeling and Analysisof Dependable Aplication Models

András BaloghAndrás Pataricza

BUTE-DMIS-FTSRG

http://www.decos.at/

Page 2: Quality-of-Service Modeling and Analysis of Dependable ...

2Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Outline

IntroductionTarget application domainsApplication modelsQoS modeling in PIMPlatform modelsModel integrationAnalysis of PSMsConclusions

Page 3: Quality-of-Service Modeling and Analysis of Dependable ...

3Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

IntroductionSoftware Engineering− Paradigm evolution (object-oriented)− Improve quality− Maintain the gap between software and problem

domainsCurrent effort− Model-driven development

●Higher abstraction level●Reduced manual coding

Problem− QoS aspects are not handled systematically

Page 4: Quality-of-Service Modeling and Analysis of Dependable ...

4Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Target application domains

Business systems− Large, distributed multi-tier software− Heterogeneous platforms− Rapid evolution of requirements− Service-Oriented Architecture

●Components as loosely coupled web services●Process orchestration components

− Business-critical functions●Performance, security, availability is a key aspect

Page 5: Quality-of-Service Modeling and Analysis of Dependable ...

5Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Target application domains

Embedded systems− focus: automotive, aerospace− Distributed, networked systems− Heterogeneous hardware

●32 bit embedded processor boards with rich set of resources

●Small, intelligent sensor/actuator nodes− Safety critical functions

●X-by-wire●Timeliness, availability is a key aspect

Page 6: Quality-of-Service Modeling and Analysis of Dependable ...

6Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Modeling of applications

Properties of applications− Loosely coupled,− Communicating components− Distributed to a set of computing nodes

Main modeling concepts− Components (jobs) – UML interfaces

● Internal structure – Matlab simulink/Scade/UML− Messages – UML classes− Sensors/actuators – UML classes

Page 7: Quality-of-Service Modeling and Analysis of Dependable ...

7Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

QoS modeling of PIM componentsAn extension to standard UML needed− Profile for modeling QoS and FT characteristics− Profile for schedulability, performance and time

Compact form− Selected attributes in stereotypized classes

● Job: period, deadline, WCET● Message: period, validity span● sensor/actuator: maximum latency

− Two main aspects● Performance, dependability

− Requirements as complex expressions● From the atomic values● E.g. end-to-end reaction time

Page 8: Quality-of-Service Modeling and Analysis of Dependable ...

8Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Platform modeling

HW element types− Computing nodes – UML node− Peripherials – UML artifacts− QoS values: stereotypized classes

HW element instances− Nodes: UML node instances− Peripherials: UML artifact instances− Network links

Page 9: Quality-of-Service Modeling and Analysis of Dependable ...

9Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

HW-SW Integration (PIM-PSM mapping)

Traditional MDA− Inputs: PIM, platform model− Concept: highly automated process

Embedded systems− Several additional constraints− Designer wants to take manual decisions− PIM marking is needed

●Additional information from the system designerjob-node pre-allocationLogical-physical resource pairing…

Page 10: Quality-of-Service Modeling and Analysis of Dependable ...

10Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

HW-SW Integration (PIM-PSM mapping)

Complex PIM-PSM− Manual marking− Automatic mapping

●Job allocation●Comunication schedule●Job schedule

− Approach: integration of existing tools by model transformations

− Problem:●QoS analysis needs to be completed

Page 11: Quality-of-Service Modeling and Analysis of Dependable ...

11Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

HW-SW integration workflow

Model transformation system

SW-HW Integration framework

marking mapping

Analysis toolset

Tool A Tool B Tool C

Input models

Page 12: Quality-of-Service Modeling and Analysis of Dependable ...

12Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

HW-SW integration workflow

Model transformation system

SW-HW Integration framework

marking mapping

Analysis toolset

Tool A Tool B Tool C

Marking (custom UI)

Page 13: Quality-of-Service Modeling and Analysis of Dependable ...

13Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

HW-SW integration workflow

Model transformation system

SW-HW Integration framework

marking mapping

Analysis toolset

Tool A Tool B Tool C

Set of transformations and scheduling tools

Page 14: Quality-of-Service Modeling and Analysis of Dependable ...

14Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

HW-SW integration workflow

Model transformation system

SW-HW Integration framework

marking mapping

Analysis toolset

Tool A Tool B Tool C

Continuous QoSevaluation using the pool of analysis tools

Page 15: Quality-of-Service Modeling and Analysis of Dependable ...

15Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Contiuous QoS evaluation

Advantage− Early feedback to the designer

●During marking●During the automatic mapping

Technique− Static analysis of the intermediate models

●Analyze completed aspects (eg. Availability after allocation)

●Using constraint solvers to solve constraints with open variables

Page 16: Quality-of-Service Modeling and Analysis of Dependable ...

16Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Model analysis

Most important aspects− Timeliness− Performance (end-to-end)− Availability− Error propagation/ error containment

Page 17: Quality-of-Service Modeling and Analysis of Dependable ...

17Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Timeliness/performance analysis

Hypothesis− Jobs are black boxes

● Internal behavior modeled and generated by other tools− worst-case values are calculated− The developer is interested in an end-to-end value

●ES: sensor to actuator●BS: high level request to response

− Platform parameters are known

Page 18: Quality-of-Service Modeling and Analysis of Dependable ...

18Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Timeliness/performance analysis 2.

Steps− Transformation from UML to stochastic queuing

networks− Calculating the values using a mathematical tool

●Java Modeling Tools – Politecnico di Milano− Results are compared to PIM requirements

● If a constraint is violated the system generates an error message

− Results can also be imported to the model

Page 19: Quality-of-Service Modeling and Analysis of Dependable ...

19Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

From UML to queuing networks

Delay nodeActuator

Sink elementResponse/output data

Processor nodeNetwork link

Processor nodeJob

Delay nodeSensor

Source elementUser request/input data

QN ElementUML Element

Page 20: Quality-of-Service Modeling and Analysis of Dependable ...

20Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Availability analysis

Hypothesis− The availability of a given service is interesting

●ES: The availability of the actuator output●BS: The availability of response message to the user

− The availability of platform is known (measurements)

− The implementation of the jobs is correct●Automatic code generation and model verification

Page 21: Quality-of-Service Modeling and Analysis of Dependable ...

21Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Availability analysis 2.

A tree is created− nodes: hw and sw components− Edges: dependencies

●Job runs on node●JobA sends message to jobB

Evaluation: simple model transformation− Calculates transitive depdendencies for all nodes− Availability of a node equals the production of

availabilities of hardware nodes connected to it

Page 22: Quality-of-Service Modeling and Analysis of Dependable ...

22Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Implementation results

Business systems− Automatic QoS-driven allocation of web services to

servers (ISAS 2005 paper)Embedded systems− DECOS HW-SW Integration Framework

●EU FW 6 Integrated Project●Our framework contains the concepts introduced here

Page 23: Quality-of-Service Modeling and Analysis of Dependable ...

23Budapest University of Technology and Economics

Fault-tolerant Systems Research Group CSDUML 2006 / Genova, Italy

Conclusions

Our approach− Integrates MDA with analysis methods− Supports early recognition of design problems− Works in several application domains

Limitations− Platform parameters must be known− Jobs are handled as black boxes