efficient dependability analysis Fumio Machida University of - - PowerPoint PPT Presentation

efficient dependability analysis
SMART_READER_LITE
LIVE PREVIEW

efficient dependability analysis Fumio Machida University of - - PowerPoint PPT Presentation

Practices in model component reuse for efficient dependability analysis Fumio Machida University of Tsukuba April 8, 2019 In the 2nd Workshop on Education and Practice of Performance Engineering Outline Dependability analysis in practice


slide-1
SLIDE 1

Practices in model component reuse for efficient dependability analysis

Fumio Machida

University of Tsukuba April 8, 2019 In the 2nd Workshop on Education and Practice

  • f Performance Engineering
slide-2
SLIDE 2

Outline

◼ Dependability analysis in practice ◼ Reusing dependability models ◼ Asset-based dependability analysis ◼ Discussion and future challenges

2019/4/8 2

slide-3
SLIDE 3

Dependability for social infrastructure

2019/4/8 3

IT systems as a social infrastructure requires dependability

degraded system performance has critical social impact

Business Infrastructure Society IT systems

slide-4
SLIDE 4

Dependability model and analysis

◼ Model-based analysis enables to

Compute estimated reliability and availability Find out SPOF and potential hazard conditions

2019/4/8 4

Mathematical models abstract system configurations and behaviors to analyze the system dependability

slide-5
SLIDE 5

Issue: Model composition

◼ In practice,

System engineers are not familiar with formal models Even for experts, modeling a complex large system is troublesome

2019/4/8 5

Composition of comprehensive and correct model is a big challenge

slide-6
SLIDE 6

Approach: Reuse model components

◼ Model component is a part of dependability model

May correspond to a system component (e.g., CPU) May represent a specific component behavior about failure and recovery

◼ Reusing model component enables efficient model composition

Repetitive modeling process can be omitted Past experiences and knowledge can be leveraged Modeling errors can be reduced

2019/4/8 6

Reuse of model components is a clue to efficient dependability modeling

slide-7
SLIDE 7

Outline

◼ Dependability models in practice ◼ Reusing dependability models ◼ Asset-based dependability analysis ◼ Discussion and future challenges

2019/4/8 7

slide-8
SLIDE 8

Dependability

◼ Dependability attributes

Availability Reliability Maintainability Safety

◼ Dependability models

Abstracting system configurations, functions, and behaviors Used to analyze the quality or quantity of the dependability attributes

2019/4/8 8

[A. Avizienis et al. 2004]

slide-9
SLIDE 9

Reliability analysis

◼ The probability of failure or reliability can be computed from reliability model ◼ The composition of these (non-state-space) models is relatively easy

2019/4/8 9

Reliability models are used to represent the logical structure of system components

Fault trees Reliability block diagram

slide-10
SLIDE 10

Reuse of reliability models

◼ Component fault-trees

Reusing sub-trees of a fault tree to construct a new

  • ne efficiently

◼ Hierarchical models

Integrating sub-models in a hierarchical manner with combinatorial logics Sub-models are not necessarily fault trees

2019/4/8 10

A part of reliability model can be reused repeatedly wherever the corresponding system component is used

[B. Kaiser et al. 2003] [W. E. Smith et al. 2008]

slide-11
SLIDE 11

Availability analysis

◼ Reusing the parts of state-space models is hard ◼ Careful treatment of dependencies among components are required

2019/4/8 11

Availability and maintainability analysis

  • ften require state-space models to capture

the state transitions of the system

Markov chain Stochastic Petri Nets

slide-12
SLIDE 12

Reuse of availability models

◼ Candy: component-based availability modeling framework

A semi-formal language SysML is used to specify the system configuration Parts of SysML models are translated into SRN subnets Dependencies among SRN subnets are resolved according to the annotations in SysML model

2019/4/8 12

Semi-formal models can help specify the dependencies among model components

[F . Machida et al. 2011]

SRN: Stochastic reward net

slide-13
SLIDE 13

Safety analysis

◼ Either FMEA or HAZOP do not need mathematical models, rather use tables and guide words

2019/4/8 13

Safety models help to find out SPOF and potential hazard situations

HZAOP

Component Failure mode Causes Effects A Failure Hardware failure Performance degradation B Error output Software bugs C Link failure Cable cut Unreachable

FMEA

slide-14
SLIDE 14

Reuse of safety models

◼ Automated generation of FMEA

SysML models can specify the system functions with their failure modes FMEA can be generated automatically from the SysML models

◼ Case-based reasoning in HAZOP

Previous experiences of conducting HAZOP can be reused as knowledge for assisting other HAZOP analysis

2019/4/8 14

Artifacts generated through safety analysis can be reused in other projects

[P . David et al. 2010] [O. Daramola et al. 2011]

slide-15
SLIDE 15

Outline

◼ Dependability models in practice ◼ Reusing dependability models ◼ Asset-based dependability analysis ◼ Discussion and future challenges

2019/4/8 15

slide-16
SLIDE 16

Difficulty of model component reuse

◼ Development process is a significant factor to determine the success of reuse approach ◼ Contextual information is necessary

Clarify the conditions and assumptions where the model component is created Without contextual information, model component reuse is likely to fail Development process helps to figure

  • ut the contextual information

2019/4/8 16

Dependability analysis in practice cannot be separated from the development process

slide-17
SLIDE 17

Asset-based development process

2019/4/8 17

To encourage software component reuse, any artifacts created in system development processes are packaged to an asset

slide-18
SLIDE 18

Asset-based dependability analysis

◼ Asset-based dependability analysis

2019/4/8 18

The process to help reuse dependability model in association with the project assets

Any model components for dependability analysis are included in the asset Model components are associated with contextual information in the repository

[F . Machida et al. 2015]

slide-19
SLIDE 19

Benefits and cautions

◼ Benefits

✓ Efficiency improvement ✓ Improved quality of dependability evaluation ✓ Higher confidence of reliability or availability estimation

◼ Cautions

  • Risk of potential omission of systems thinking
  • Uncertainty of prospect for similar projects
  • Additional costs for asset maintenance

2019/4/8 19

slide-20
SLIDE 20

Outline

◼ Dependability models in practice ◼ Reusing dependability models ◼ Asset-based dependability analysis ◼ Discussion and future challenges

2019/4/8 20

slide-21
SLIDE 21

Dependability of IoT systems

◼ IoT systems

Monitor real world data Make decisions to control the world using data analytics

➢ e.g., smart transportation, power grid, surveillance system, etc.

2019/4/8 21

Malfunctions or unavailability of software systems directly impact on the real world

Dependability needs to be carefully assessed in view of real world impacts

monitor control

physical cyber

slide-22
SLIDE 22

Qualitative aspect

◼ Safety analysis generally considers the real impacts of system failure, which is necessary for IoT system as well ◼ Since IoT system may have multiple and continuous interaction to real world, more advanced methodology might be necessary

E.g., System theoretic process analysis (STPA)

2019/4/8 22

Safety analysis methods are capable to analyze the impacts of IoT system failure

[N. Leveson. 2012]

slide-23
SLIDE 23

Quantitative aspect

◼ Application-level dependability measures

Performability, service availability, defects per millions

◼ Measures of social impacts

Practitioners really concerns more higher-level measure like Crime risk, safety level, traffic congestion, customer satisfaction

2019/4/8 23

To quantify real-world impacts, application- level or service-specific dependability measures are required

slide-24
SLIDE 24

Emerging challenges

◼ Social impacts analysis with dependability analysis can be done manually by experts ◼ However, such an approach does not scale ◼ How to reuse models for social impact analysis is an emerging important challenge

2019/4/8 24

Development of model component reuse approach for social impact analysis

slide-25
SLIDE 25

Summary

◼ Reuse of dependability model is promising to efficient dependability analysis of complex IT systems ◼ Reusable models and techniques should be adopted to system development process (only model components are not enough) ◼ A new challenge is the development of model component reuse approach for social impact analysis

2019/4/8 25

slide-26
SLIDE 26

Q & A

2019/4/8 26