• Keine Ergebnisse gefunden

Family-based performance analysis of variant-rich software systems

N/A
N/A
Protected

Academic year: 2022

Aktie "Family-based performance analysis of variant-rich software systems"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Family-Based Performance Analysis of Variant-Rich Software Systems

Matthias Kowal1, Ina Schaefer1, Mirco Tribastone2

Institut f¨ur Softwaretechnik und Fahrzeuginformatik1, Electronics and Computer Science2 TU Braunschweig1, University of Southampton2

M¨uhlenpfordtstr. 23, Highfield Campus D-38106 Braunschweig, UK-SO17 1BJ Southampton

{m.kowal, i.schaefer}@tu-bs.de m.tribastone@soton.ac.uk

Abstract:The analysis is meant for behavioral models of workflow-type software sys- tems such as data centers or automation systems. We model these systems as a UML activity diagram with performance annotations to compute a performance prediction.

A product-based (PB) analysis is not always viable, since we can have several vari- ants, and each variant has its own performance model, which is why we cannot reuse the results of a single variant. Hence, we propose a family-based (FB) performance analysis relying on symbolic computation. The FB analysis can be significantly faster than PB analysis, especially for large-scale workflow model, thus enabling efficient calculation of large parameter spaces.

1 PAADs and PB-Evaluation

Workflow-type software systems can be visualized as Activity Diagrams (AD). Fig. 1 shows a sample and its representation as Performance-Annotated AD (PAAD). Nodes that are not supported, e.g. initial and decision nodes, are removed and the edges appropriately redirected. Each node has two additional values with arrival rate (top-left) and service rate (top-right) and edges are labeled with a probability depicting how likely it is that a job takes a certain path in the system. Such a PAAD is interpreted as continuous-time Markov chain that underlies a Jackson-type queuing network [Jac63]. The product-based evaluation is given by the following system of linear equations.

(I−PT)γ=λ, (1)

P is the routing matrix, defining with which probability a job moves from one node to another after it is processed at the present node. Once the system is solved forγ, we have fully characterized the steady-state behavior of the network and we can compute e.g. the throughput and average queue length (AQL). The steady-state behavior for Fig. 1 is given by

γ=

0.50 0.15 0.35 0.60T

.

61

(2)

2 1

3

4

(a) Sample Activity Diagram

2

1

3

4 0.0

1.5

0.0 2.0

3.0

0.1

0.5 1.0

0.7 1.0 0.3

0.2 3.5

(b) Annotated PAAD

Figure 1: Running example

Solving the above system must be done for each variant separately in PB evaluation, which is time consuming.

2 Variability and FB-Evaluation

A FB approach requires that variability is included into the PAADs. As a solution, we apply the principle of delta modeling (DM) to the modeling process to manage variabil- ity [Sch10]. In DM, a system has a core variant and several deltas. Each delta contains information about adding, removing or modifying PAAD elements. A new variant of the system can be generated by applying a single delta or delta sequence, containing all ele- ments to get to the desired variant, to the core variant. The following delta removes node 2 in Fig. 1 as well as the connected transitions.

δ={rem(1,0.3,2), rem(2,1.0,4), rem2, mod(1,0.7,3)by1.0}

DM enables us to construct a 150%-model by merging all deltas and the core. This su- per variant is not necessarily a valid configuration of the system. Each element that is changed by a delta is represented with a parameter instead of the concrete values in the 150%-model. The FB-evaluation solely relies on the 150%-model. Analogous to(1), we can solve the system of linear equations, but this time it is done symbolically and just once. The AQL for single variants is now computed by plugging the specific values into the parametrized expression. Thus, enabling us to skip the step of solving the system numerous times as in PB-evaluation leading to speed-ups of up to 2000%.

References

[Jac63] James R. Jackson. Jobshop-like Queueing Systems.Management Science, 10(1):131–142, 1963.

[Sch10] Ina Schaefer. Variability Modelling for Model-Driven Development of Software Product Lines. pages 85–92, 2010.

62

Referenzen

ÄHNLICHE DOKUMENTE

Although humans and model check a similar number of the table targets, the model differs from humans in its percentage of duplicate checks; i.e., the proportion of

To accomplish this, three different approaches have been developed: One approach incorpo- rates additional a-priori knowledge in the form of expert knowledge; the second assumes

Support for Edwards curves in the RELIC toolkit would provide access to faster elliptic curve operations not only for ID-based schemes like vBNN-IBS, but also for general stan-

This project was part of a qualitative research methods course where doctoral students learned to collect and analyze visual data as well as what happens when they engage in a

If model-based analysis methods are used during the system design time, they can give very early and very precise feedback about the system safety and thus assist the design

Approaches to performance prediction at design and deployment time (e.g., [BKR09, SLC + 05, Obj]) are mostly based on architecture-level models that are annotated with de- scriptions

The processing of a UserRequest is abstracted as a sequence of AtomicTasks. The AtomicTasks are related to each other in a predecessor/successor relationship. Each AtomicTask is

Also, experimental investigation results of a single pass solar air heater with and without using fins showed that the thermal efficiency affected significantly by changing the