Modelowanie i analiza systemów informacyjnych Performance evaluation of a software UML design Marek Bazan Kwiecień 2017.

Slides:



Advertisements
Similar presentations
Stereotypes Stereotypes provide the capability to create a new kind of modeling element. –They can be used to classify or mark modeling elements. –A type.
Advertisements

® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
Object-Oriented Analysis and Design
1 © Wolfgang Pelz UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
1 © Wolfgang Pelz UML2 UML Part 3. 2 © Wolfgang Pelz UML2 Chapter Ten State Machine Diagrams.
Modeling State-Dependent Objects Using Colored Petri Nets
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Computer System Lifecycle Chapter 1. Introduction Computer System users, administrators, and designers are all interested in performance evaluation. Whether.
(C) 2009 J. M. Garrido1 Object Oriented Simulation with Java.
Performance analysis and prediction of physically mobile systems Point view: Computational devices including Mobile phones are expanding. Different infrastructure.
Entities and Objects The major components in a model are entities, entity types are implemented as Java classes The active entities have a life of their.
Software Engineering Prof. Ing. Ivo Vondrak, CSc. Dept. of Computer Science Technical University of Ostrava
Performance evaluation of component-based software systems Seminar of Component Engineering course Rofideh hadighi 7 Jan 2010.
L6-S1 UML Overview 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
1 Capturing Requirements As Use Cases To be discussed –Artifacts created in the requirements workflow –Workers participating in the requirements workflow.
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Object Oriented Analysis & Design & UML (Unified Modeling Language)1 Part VI: Design Continuous Activity Diagams State Diagrams.
UML Diagrams for Caradon developers Daniel DG Moth Core Development Group, Research Student University of Brighton, MSc Object Oriented Software Technology.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
UML 1.4 to Core Scenario Model Transformation for PUMA Project Kathleen H. Shen Department of Systems and Computer Engineering Carleton.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
Logical Architecture and UML Package Diagrams. The logical architecture is the large-scale organization of the software classes into packages, subsystems,
Cliquez pour modifier le style du titre Cliquez pour modifier les styles du texte du masque Deuxième niveau Troisième niveau Quatrième niveau Cinquième.
Modeling with UML – Class Diagrams
Modelowanie i analiza systemów informacyjnych Model Driven Architecture Marek Bazan Marzec 2017.
Embedded Systems Software Engineering
Identifying & Creating Use Cases – Part 2
Welcome to M301 P2 Software Systems & their Development
OPERATING SYSTEMS CS 3502 Fall 2017
OPERATING SYSTEMS CS 3502 Fall 2017
UML Diagrams By Daniel Damaris Novarianto S..
State Machine Diagrams
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Object-Oriented Analysis and Design
Simulation.
What is UML? What is UP? [Arlow and Neustadt, 2005] October 5, 2017
Modelowanie i analiza systemów informacyjnych An Incremental Development Method of Modelling Information Systems in UML Driven by Use Case Diagrams Marek.
Unified Modeling Language
Modelowanie i analiza systemów informacyjnych Analysis of other layers of software using UML diagrams Marek Bazan Kwiecień 2017.
Introduction to Unified Modeling Language (UML)
Modelowanie i analiza systemów informacyjnych Model of a Real World to prepare information system requirements with Use Case Diagrams Marek Bazan Marzec.
Modelowanie i analiza systemów informacyjnych Analysis of structural and dynamic features of a business layer of an information system using UML diagrams.
UML Diagrams Jung Woo.
State Machine Diagrams
UML dynamic Modeling (Behavior Diagram)
Transparent Adaptive Resource Management for Middleware Systems
Computer Simulation of Networks
Interactions.
UML Activity Diagrams & State Charts
Module 5: CPU Scheduling
Unified Modeling Language
3: CPU Scheduling Basic Concepts Scheduling Criteria
Chapter 20 Object-Oriented Analysis and Design
More Model Elements.
CIS 375 Bruce R. Maxim UM-Dearborn
Starting Design: Logical Architecture and UML Package Diagrams
BPMN - Business Process Modeling Notations
Chapter 6: CPU Scheduling
Analysis models and design models
Software Design Lecture : 15.
Class Diagrams.
Operating System , Fall 2000 EA101 W 9:00-10:00 F 9:00-11:00
Chapter 22 Object-Oriented Systems Analysis and Design and UML
CIS 375 Bruce R. Maxim UM-Dearborn
Module 5: CPU Scheduling
Module 5: CPU Scheduling
Presentation transcript:

Modelowanie i analiza systemów informacyjnych Performance evaluation of a software UML design Marek Bazan Kwiecień 2017

Bibliography [1] https://pdfs.semanticscholar.org/bb06/0202d9915c9074864bca1f126e942968624c.pdf [2] http://dl.acm.org/citation.cfm?id=1071025 [3] http://www.omg.org/spec/SPTP/1.1/ Marek Bazan Katedra K9/W4

Contents Performance modelling • Capturing performance requirements. • Associating performance-related QoS characteristics with selected elements of a UML model. • Specifying execution parameters that used by modellers to predict performance characteristics. • Presenting performance results computed by modeling tools or found in testing. Marek Bazan Katedra K9/W4

Modelling tools - modellers Typical tools for this kind of model analysis provide two important functions: The first is to estimate the performance of a system instance, using some kind of model. The second function is assistance with determining how the system can be improved, by identifying bottlenecks or critical resources Marek Bazan Katedra K9/W4

Background Scenario - elements of scenarios, and are joined in a sequence, with predecessor-successor relationships that may include forks, joins, and loops. Each step also has a mean execution count, which is the mean number of times it is repeated when it is executed, and a host execution demand for its host device Marek Bazan Katedra K9/W4

Background (2) Resource demands Host execution time Demands of all substeps Resources Modelled as servers Active resources – usual servers with a service times (page 160) Passive resources – holding times – protected by an access mechnaism e.g. semaphore (page 161) Marek Bazan Katedra K9/W4

Background (2.5) Workload – specifies the intensity of demand for the execution of the specific scenario - OpenWorkload – modeled as a stream of requests that arrive at a given rate - ClosedWorkload – fixed number of active users [3] Page 162 Marek Bazan Katedra K9/W4

Background (3) Resource operations Service time = host execution time Steps or sequence of steps which require the resource Service time = host execution time Performance measures Utilization Waiting times Response time Marek Bazan Katedra K9/W4

Background (4) Performance measures are specified as A required value, coming from the system requirements or a performance budget based on them (e.g., a required response time for a scenario). An assumed value, based on experience (e.g., for an execution demand or an external delay). An estimated value, calculated by a performance tool and reported back into the UML model. A measured value. Marek Bazan Katedra K9/W4

Background (5) Performance measures are reported as Further, the reported value is one of several possible statistical properties of the given measure, average, maximum xth percentile (90th percentile meaning that 90% of values are smaller than this). Marek Bazan Katedra K9/W4

Performance analysis methods Queueing models Simulation models Discrete-state models – Petri Nets Marek Bazan Katedra K9/W4

Domain model Performance analysis is always instance-based. Performance context - one or more scenarios that are used to explore various dynamic situations involving a specific set of resources, e.g. „busy hours”/”peak hours” [3] Page 156 Marek Bazan Katedra K9/W4

Domain Concepts into UML Equivalents Collaboration graphs Activity graphs Marek Bazan Katedra K9/W4

Collaboration-based approach Performance context <-> stereotype «Pacontext» Scenario (page 179) <-> any performance attributes of a scenario (such as its workload specs) will be attached to the first (root) model element Step <-> action sterotyped «PAstep» Marek Bazan Katedra K9/W4

Collaboration-based approach (2) Workload <-> sterotype of the first step of the scenario – PAclosedworkload, PAopenedworkload Processing resources <-> sterotype «deploy» - page 175) Passive resources <-> sterotype «PAresource» Marek Bazan Katedra K9/W4

Activity-based approach Performance context <-> stereotype «PAcontext» Scenario <-> single scenario per context Scenarios are modeled by the set of states/activities and transitions of the activity graph. The workload information is attached to this step, which is stereotyped appropriately («PAopenLoad» or «PAclosedLoad»). Step <-> action sterotyped «PAstep» The successor set of a step is identified by the action or subactivity states that are directly linked to thatstep by transitions (or, possibly, via pseudostates). Marek Bazan Katedra K9/W4

Activity-based approach (2) Step <-> action sterotyped «PAstep» - The successor set of a step is identified by the action or subactivity states that are directly linked to thatstep by transitions (or, possibly, via pseudostates). - The initial action or subactivity state may also be stereotyped as a «PAopenLoad» or «PAclosedLoad» as appropriate. Marek Bazan Katedra K9/W4

Activity-based approach (3) Workload <-> action sterotyped «PAstep» - The successor set of a step is identified by the action or subactivity states that are directly linked to thatstep by transitions (or, possibly, via pseudostates). - The initial action or subactivity state may also be stereotyped as a «PAopenLoad» or «PAclosedLoad» as appropriate. Marek Bazan Katedra K9/W4

Activity-based approach (4) Processing resources <-> two ways of modelling 1. Stereotype «PAHost» association with an activity graph partition – when each classifier role is executed on its own host. 2. More common situation is when each partition is executed on different resource – then we use «deploys» relationships to nodes that are stereotyped as hosts (see ProcessingResource section on page 166 an link to exmaple) Marek Bazan Katedra K9/W4

Activity-based approach (5) Passive resources <-> two ways of modelling 1. Partitions stereotyped by «Paresource» visualized as swimlanes 2. Alternatively, they may be modeled indirectly by specifying one or more PAextOp tagged values for the steps that access those resources. (For an example, see the “sendFrame” page 181.) Marek Bazan Katedra K9/W4

Modeling Guidelines and Examples - Just diagrams Web Video Application ([3] page 173) – general structure The deployment of the logical elements across the engineering environment ([3] page 174) Collaboration-based Approach – Sequence diagram ([3] page 174) Activity-based Approach – Hierarchical activity diagram ([3] page 176-177) Marek Bazan Katedra K9/W4

Modeling Guidelines and Examples – Performance anotations Sequence diagram [3] page 179 Activity diagrams [3] page 180-181 Quality of service requirements (QoS) [3] page 181 Marek Bazan Katedra K9/W4

Performance evaluation of a software UML design Thank you for your attention