SlideShare a Scribd company logo
Fundamental Approaches to Software Engineering (FASE 2010, Paphos, Cyprus) Performance Modeling & AnalysisofContext-aware Mobile Software Systems
motivation Pervasiveness of software systems running on resource constrained, portable devices Providing the best user experience despite limited and variable amount/types of hw resources physical mobility of nomadic users logical mobility of software components Need to analyze context-aware software systems from a non-functional viewpoint 24/03/2010 Performance Analysis of Mobile Context-Aware Sw Systems 2 Providing methodologies, techniques and tools to develop and analyze software systems that need to be adaptable to provide the best user experience.
Introduction: Context, Mobility and Context-Awareness Our framework:  Awareness Managers,  Adaptation driven by “if context is” conditions,  Context Manager Performance Analysis Conclusions and Future Work 24/03/2010 Performance Analysis of Mobile Context-Aware Sw Systems 3 Outline
Context… for us is a combination of information about  ,[object Object]
Logical Locationof software components(i.e. the current deployment of sw components on execution hosts)
Hardware PlatformConfiguration of resources  (i.e. BATTERY charge level, CPU frequency…)24/03/2010 Performance Analysis of Mobile Context-Aware Sw Systems 4 introduction: context & mobility may rapidly change: ,[object Object]
Logical Mobility: software components are redeployed on different execution hosts
Hardware Configuration Change: BATTERY charge level decreases,[object Object]
Logical Location Awareness:                                                                                                 capability to “sense” the current Logical Location
Hardware Platform Awareness:                                                                                       capability to “sense” the current Hardware Platform Configuration3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 5 This is a context definition that fits our purposes ,[object Object]
 It can be restricted for those cases where only few context attributes are necessary (e.g. logical mobility not allowed)Without modifying the framework structure
UML-based Modeling of  Users and Services Software Architecture,  Behaviors,  Hardware Platform Performance parameters 24/03/2010 Performance Analysis of Mobile Context-Aware Sw Systems 6 The framework Mobile Mobile Adaptable Configurable Context-specific Context, a cross cutting concern
A leading example: E-health system  The eHealth System supports the doctor’s everyday activities providing distributed services, such as the retrieval of information about patients. The doctor invokes the service using a resource-constrained PDA. He can move across different locations: his home, the surgery, the patient’s home. The system performance can be affected by the doctor’s physical location and by the hardware configuration of the doctor’s PDA. The system performance is affected by the context 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 7
E-Health: UML design Model at a glance Software Architecture (Component Diagram) Services (Use Case Diagram) Service Behavior (Sequence Diagram) hw configurations Static <<deployment>> The doctor can display  the medical  history of a patients  (text and images) Hardware Platform (Deployment Diagram) 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 8
The framework: context modeling The proposed framework introduces statecharts to manage the context evolution Awareness MANAGER: ,[object Object]
Is a stochastic statechart where
A state represents the (set of) attribute(s) value(s) of the context-related model element
Transitions represent the events triggering changes in attribute values
Probabilities are associated to transitions
Is able to interact with other managers through remote firing
Defines a Variable that indicates                                                                                                                  its current state                                                                                                                                                (e.g. $manager = ‘A’ , $manager = ‘B’)3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 9 MANAGER 1-p B A p

More Related Content

Similar to Context-aware Performance Modeling and Analysis

Patient-Like-Mine
Patient-Like-MinePatient-Like-Mine
Patient-Like-Mine
Simon Yates
 
A survey on context aware system & intelligent Middleware’s
A survey on context aware system & intelligent Middleware’sA survey on context aware system & intelligent Middleware’s
A survey on context aware system & intelligent Middleware’s
IOSR Journals
 
xAPI-Enabled Mobile Health System with Context Awareness Recommendation Engin...
xAPI-Enabled Mobile Health System with Context Awareness Recommendation Engin...xAPI-Enabled Mobile Health System with Context Awareness Recommendation Engin...
xAPI-Enabled Mobile Health System with Context Awareness Recommendation Engin...
Megan Bowe
 
Draft activity recognition from accelerometer data
Draft activity recognition from accelerometer dataDraft activity recognition from accelerometer data
Draft activity recognition from accelerometer data
Raghu Palakodety
 
Image-Based Multi-Sensor Data Representation and Fusion Via 2D Non-Linear Con...
Image-Based Multi-Sensor Data Representation and Fusion Via 2D Non-Linear Con...Image-Based Multi-Sensor Data Representation and Fusion Via 2D Non-Linear Con...
Image-Based Multi-Sensor Data Representation and Fusion Via 2D Non-Linear Con...
CSCJournals
 
Xapi enabled mobile health system with context-awareness & recommendation eng...
Xapi enabled mobile health system with context-awareness & recommendation eng...Xapi enabled mobile health system with context-awareness & recommendation eng...
Xapi enabled mobile health system with context-awareness & recommendation eng...
Jessie Chuang
 
Self-Tuning and Managing Services
Self-Tuning and Managing ServicesSelf-Tuning and Managing Services
Self-Tuning and Managing Services
Reza Rahimi
 
a data mining approach for location production in mobile environments
a data mining approach for location production in mobile environments a data mining approach for location production in mobile environments
a data mining approach for location production in mobile environments
marwaeng
 
SenSocial
SenSocialSenSocial
SenSocial
Abhinav Mehrotra
 
SenSocial
SenSocialSenSocial
SenSocial
Abhinav Mehrotra
 
IEEE 2014 DOTNET MOBILE COMPUTING PROJECTS An active resource orchestration f...
IEEE 2014 DOTNET MOBILE COMPUTING PROJECTS An active resource orchestration f...IEEE 2014 DOTNET MOBILE COMPUTING PROJECTS An active resource orchestration f...
IEEE 2014 DOTNET MOBILE COMPUTING PROJECTS An active resource orchestration f...
IEEEMEMTECHSTUDENTPROJECTS
 
System Structure for Dependable Software Systems
System Structure for Dependable Software SystemsSystem Structure for Dependable Software Systems
System Structure for Dependable Software Systems
Vincenzo De Florio
 
Following the user’s interests in mobile context aware recommender systems
Following the user’s interests in mobile context aware recommender systemsFollowing the user’s interests in mobile context aware recommender systems
Following the user’s interests in mobile context aware recommender systems
Bouneffouf Djallel
 
A Resource Oriented Framework for Context-Aware Enterprise Applications
A Resource Oriented Framework for Context-Aware Enterprise ApplicationsA Resource Oriented Framework for Context-Aware Enterprise Applications
A Resource Oriented Framework for Context-Aware Enterprise Applications
ruyalarcon
 
journal of object technology - context oriented programming
journal of object technology - context oriented programmingjournal of object technology - context oriented programming
journal of object technology - context oriented programming
Boni
 
Middleware.pptx
Middleware.pptxMiddleware.pptx
Middleware.pptx
yudragispi
 
Predictive maintenance withsensors_in_utilities_
Predictive maintenance withsensors_in_utilities_Predictive maintenance withsensors_in_utilities_
Predictive maintenance withsensors_in_utilities_
Tina Zhang
 
An Integrated Prototyping Environment For Programmable Automation
An Integrated Prototyping Environment For Programmable AutomationAn Integrated Prototyping Environment For Programmable Automation
An Integrated Prototyping Environment For Programmable Automation
MeshDynamics
 
Atva05
Atva05Atva05
Transparent Caching of Virtual Stubs for Improved Performance in Ubiquitous E...
Transparent Caching of Virtual Stubs for Improved Performance in Ubiquitous E...Transparent Caching of Virtual Stubs for Improved Performance in Ubiquitous E...
Transparent Caching of Virtual Stubs for Improved Performance in Ubiquitous E...
ijujournal
 

Similar to Context-aware Performance Modeling and Analysis (20)

Patient-Like-Mine
Patient-Like-MinePatient-Like-Mine
Patient-Like-Mine
 
A survey on context aware system & intelligent Middleware’s
A survey on context aware system & intelligent Middleware’sA survey on context aware system & intelligent Middleware’s
A survey on context aware system & intelligent Middleware’s
 
xAPI-Enabled Mobile Health System with Context Awareness Recommendation Engin...
xAPI-Enabled Mobile Health System with Context Awareness Recommendation Engin...xAPI-Enabled Mobile Health System with Context Awareness Recommendation Engin...
xAPI-Enabled Mobile Health System with Context Awareness Recommendation Engin...
 
Draft activity recognition from accelerometer data
Draft activity recognition from accelerometer dataDraft activity recognition from accelerometer data
Draft activity recognition from accelerometer data
 
Image-Based Multi-Sensor Data Representation and Fusion Via 2D Non-Linear Con...
Image-Based Multi-Sensor Data Representation and Fusion Via 2D Non-Linear Con...Image-Based Multi-Sensor Data Representation and Fusion Via 2D Non-Linear Con...
Image-Based Multi-Sensor Data Representation and Fusion Via 2D Non-Linear Con...
 
Xapi enabled mobile health system with context-awareness & recommendation eng...
Xapi enabled mobile health system with context-awareness & recommendation eng...Xapi enabled mobile health system with context-awareness & recommendation eng...
Xapi enabled mobile health system with context-awareness & recommendation eng...
 
Self-Tuning and Managing Services
Self-Tuning and Managing ServicesSelf-Tuning and Managing Services
Self-Tuning and Managing Services
 
a data mining approach for location production in mobile environments
a data mining approach for location production in mobile environments a data mining approach for location production in mobile environments
a data mining approach for location production in mobile environments
 
SenSocial
SenSocialSenSocial
SenSocial
 
SenSocial
SenSocialSenSocial
SenSocial
 
IEEE 2014 DOTNET MOBILE COMPUTING PROJECTS An active resource orchestration f...
IEEE 2014 DOTNET MOBILE COMPUTING PROJECTS An active resource orchestration f...IEEE 2014 DOTNET MOBILE COMPUTING PROJECTS An active resource orchestration f...
IEEE 2014 DOTNET MOBILE COMPUTING PROJECTS An active resource orchestration f...
 
System Structure for Dependable Software Systems
System Structure for Dependable Software SystemsSystem Structure for Dependable Software Systems
System Structure for Dependable Software Systems
 
Following the user’s interests in mobile context aware recommender systems
Following the user’s interests in mobile context aware recommender systemsFollowing the user’s interests in mobile context aware recommender systems
Following the user’s interests in mobile context aware recommender systems
 
A Resource Oriented Framework for Context-Aware Enterprise Applications
A Resource Oriented Framework for Context-Aware Enterprise ApplicationsA Resource Oriented Framework for Context-Aware Enterprise Applications
A Resource Oriented Framework for Context-Aware Enterprise Applications
 
journal of object technology - context oriented programming
journal of object technology - context oriented programmingjournal of object technology - context oriented programming
journal of object technology - context oriented programming
 
Middleware.pptx
Middleware.pptxMiddleware.pptx
Middleware.pptx
 
Predictive maintenance withsensors_in_utilities_
Predictive maintenance withsensors_in_utilities_Predictive maintenance withsensors_in_utilities_
Predictive maintenance withsensors_in_utilities_
 
An Integrated Prototyping Environment For Programmable Automation
An Integrated Prototyping Environment For Programmable AutomationAn Integrated Prototyping Environment For Programmable Automation
An Integrated Prototyping Environment For Programmable Automation
 
Atva05
Atva05Atva05
Atva05
 
Transparent Caching of Virtual Stubs for Improved Performance in Ubiquitous E...
Transparent Caching of Virtual Stubs for Improved Performance in Ubiquitous E...Transparent Caching of Virtual Stubs for Improved Performance in Ubiquitous E...
Transparent Caching of Virtual Stubs for Improved Performance in Ubiquitous E...
 

More from Luca Berardinelli

Towards_Blended_Modeling_and_Simulation_of_DevOps_Processes_The_Keptn_Case_St...
Towards_Blended_Modeling_and_Simulation_of_DevOps_Processes_The_Keptn_Case_St...Towards_Blended_Modeling_and_Simulation_of_DevOps_Processes_The_Keptn_Case_St...
Towards_Blended_Modeling_and_Simulation_of_DevOps_Processes_The_Keptn_Case_St...
Luca Berardinelli
 
Combining fUML and profiles for non-functional analysis based on model execut...
Combining fUML and profiles for non-functional analysis based on model execut...Combining fUML and profiles for non-functional analysis based on model execut...
Combining fUML and profiles for non-functional analysis based on model execut...
Luca Berardinelli
 
Leveraging Model-Driven Technologies for JSON Artefacts: The Shipyard Case Study
Leveraging Model-Driven Technologies for JSON Artefacts: The Shipyard Case StudyLeveraging Model-Driven Technologies for JSON Artefacts: The Shipyard Case Study
Leveraging Model-Driven Technologies for JSON Artefacts: The Shipyard Case Study
Luca Berardinelli
 
Model Driven Engineering for Smart Cities
Model Driven Engineering for Smart Cities Model Driven Engineering for Smart Cities
Model Driven Engineering for Smart Cities
Luca Berardinelli
 
Uncertainty-wise Engineering of IoT Cloud Systems
Uncertainty-wise Engineering of IoT Cloud SystemsUncertainty-wise Engineering of IoT Cloud Systems
Uncertainty-wise Engineering of IoT Cloud Systems
Luca Berardinelli
 
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
Luca Berardinelli
 
AutomationML: A Model-Driven View
AutomationML: A Model-Driven ViewAutomationML: A Model-Driven View
AutomationML: A Model-Driven View
Luca Berardinelli
 
Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...
Luca Berardinelli
 
On The Evolution of CAEX: A Language Engineering Perspective
On The Evolution of CAEX: A Language Engineering PerspectiveOn The Evolution of CAEX: A Language Engineering Perspective
On The Evolution of CAEX: A Language Engineering Perspective
Luca Berardinelli
 
Model-Based Co-Evolution of Production Systems and their Libraries with Auto...
Model-Based Co-Evolution of Production Systems and their Libraries with Auto...Model-Based Co-Evolution of Production Systems and their Libraries with Auto...
Model-Based Co-Evolution of Production Systems and their Libraries with Auto...
Luca Berardinelli
 
ECMFA 2015 - Energy Consumption Analysis and Design with Foundational UML
ECMFA 2015 - Energy Consumption Analysis and Design with Foundational UMLECMFA 2015 - Energy Consumption Analysis and Design with Foundational UML
ECMFA 2015 - Energy Consumption Analysis and Design with Foundational UML
Luca Berardinelli
 
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
Luca Berardinelli
 
Metamodeling - Advanced Software Engineering Course 2014/2015
Metamodeling - Advanced Software Engineering Course 2014/2015Metamodeling - Advanced Software Engineering Course 2014/2015
Metamodeling - Advanced Software Engineering Course 2014/2015
Luca Berardinelli
 
fUML-Driven Performance Analysis through the MOSES Model Library
fUML-Driven Performance Analysisthrough the MOSES Model LibraryfUML-Driven Performance Analysisthrough the MOSES Model Library
fUML-Driven Performance Analysis through the MOSES Model Library
Luca Berardinelli
 
fUML-Driven Design and Performance Analysis of Software Agents for Wireless S...
fUML-Driven Design and Performance Analysis of Software Agents for Wireless S...fUML-Driven Design and Performance Analysis of Software Agents for Wireless S...
fUML-Driven Design and Performance Analysis of Software Agents for Wireless S...
Luca Berardinelli
 
Combining fUML and Profiles for Non-Functional Analysis Based on Model Execut...
Combining fUML and Profiles for Non-Functional Analysis Based on Model Execut...Combining fUML and Profiles for Non-Functional Analysis Based on Model Execut...
Combining fUML and Profiles for Non-Functional Analysis Based on Model Execut...
Luca Berardinelli
 
Mosquito
MosquitoMosquito

More from Luca Berardinelli (17)

Towards_Blended_Modeling_and_Simulation_of_DevOps_Processes_The_Keptn_Case_St...
Towards_Blended_Modeling_and_Simulation_of_DevOps_Processes_The_Keptn_Case_St...Towards_Blended_Modeling_and_Simulation_of_DevOps_Processes_The_Keptn_Case_St...
Towards_Blended_Modeling_and_Simulation_of_DevOps_Processes_The_Keptn_Case_St...
 
Combining fUML and profiles for non-functional analysis based on model execut...
Combining fUML and profiles for non-functional analysis based on model execut...Combining fUML and profiles for non-functional analysis based on model execut...
Combining fUML and profiles for non-functional analysis based on model execut...
 
Leveraging Model-Driven Technologies for JSON Artefacts: The Shipyard Case Study
Leveraging Model-Driven Technologies for JSON Artefacts: The Shipyard Case StudyLeveraging Model-Driven Technologies for JSON Artefacts: The Shipyard Case Study
Leveraging Model-Driven Technologies for JSON Artefacts: The Shipyard Case Study
 
Model Driven Engineering for Smart Cities
Model Driven Engineering for Smart Cities Model Driven Engineering for Smart Cities
Model Driven Engineering for Smart Cities
 
Uncertainty-wise Engineering of IoT Cloud Systems
Uncertainty-wise Engineering of IoT Cloud SystemsUncertainty-wise Engineering of IoT Cloud Systems
Uncertainty-wise Engineering of IoT Cloud Systems
 
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
 
AutomationML: A Model-Driven View
AutomationML: A Model-Driven ViewAutomationML: A Model-Driven View
AutomationML: A Model-Driven View
 
Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...Integrating Performance Modeling in Industrial Automation through AutomationM...
Integrating Performance Modeling in Industrial Automation through AutomationM...
 
On The Evolution of CAEX: A Language Engineering Perspective
On The Evolution of CAEX: A Language Engineering PerspectiveOn The Evolution of CAEX: A Language Engineering Perspective
On The Evolution of CAEX: A Language Engineering Perspective
 
Model-Based Co-Evolution of Production Systems and their Libraries with Auto...
Model-Based Co-Evolution of Production Systems and their Libraries with Auto...Model-Based Co-Evolution of Production Systems and their Libraries with Auto...
Model-Based Co-Evolution of Production Systems and their Libraries with Auto...
 
ECMFA 2015 - Energy Consumption Analysis and Design with Foundational UML
ECMFA 2015 - Energy Consumption Analysis and Design with Foundational UMLECMFA 2015 - Energy Consumption Analysis and Design with Foundational UML
ECMFA 2015 - Energy Consumption Analysis and Design with Foundational UML
 
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
UML Modeling and Profiling Lab - Advanced Software Engineering Course 2014/2015
 
Metamodeling - Advanced Software Engineering Course 2014/2015
Metamodeling - Advanced Software Engineering Course 2014/2015Metamodeling - Advanced Software Engineering Course 2014/2015
Metamodeling - Advanced Software Engineering Course 2014/2015
 
fUML-Driven Performance Analysis through the MOSES Model Library
fUML-Driven Performance Analysisthrough the MOSES Model LibraryfUML-Driven Performance Analysisthrough the MOSES Model Library
fUML-Driven Performance Analysis through the MOSES Model Library
 
fUML-Driven Design and Performance Analysis of Software Agents for Wireless S...
fUML-Driven Design and Performance Analysis of Software Agents for Wireless S...fUML-Driven Design and Performance Analysis of Software Agents for Wireless S...
fUML-Driven Design and Performance Analysis of Software Agents for Wireless S...
 
Combining fUML and Profiles for Non-Functional Analysis Based on Model Execut...
Combining fUML and Profiles for Non-Functional Analysis Based on Model Execut...Combining fUML and Profiles for Non-Functional Analysis Based on Model Execut...
Combining fUML and Profiles for Non-Functional Analysis Based on Model Execut...
 
Mosquito
MosquitoMosquito
Mosquito
 

Context-aware Performance Modeling and Analysis

  • 1. Fundamental Approaches to Software Engineering (FASE 2010, Paphos, Cyprus) Performance Modeling & AnalysisofContext-aware Mobile Software Systems
  • 2. motivation Pervasiveness of software systems running on resource constrained, portable devices Providing the best user experience despite limited and variable amount/types of hw resources physical mobility of nomadic users logical mobility of software components Need to analyze context-aware software systems from a non-functional viewpoint 24/03/2010 Performance Analysis of Mobile Context-Aware Sw Systems 2 Providing methodologies, techniques and tools to develop and analyze software systems that need to be adaptable to provide the best user experience.
  • 3. Introduction: Context, Mobility and Context-Awareness Our framework: Awareness Managers, Adaptation driven by “if context is” conditions, Context Manager Performance Analysis Conclusions and Future Work 24/03/2010 Performance Analysis of Mobile Context-Aware Sw Systems 3 Outline
  • 4.
  • 5. Logical Locationof software components(i.e. the current deployment of sw components on execution hosts)
  • 6.
  • 7. Logical Mobility: software components are redeployed on different execution hosts
  • 8.
  • 9. Logical Location Awareness: capability to “sense” the current Logical Location
  • 10.
  • 11. It can be restricted for those cases where only few context attributes are necessary (e.g. logical mobility not allowed)Without modifying the framework structure
  • 12. UML-based Modeling of Users and Services Software Architecture, Behaviors, Hardware Platform Performance parameters 24/03/2010 Performance Analysis of Mobile Context-Aware Sw Systems 6 The framework Mobile Mobile Adaptable Configurable Context-specific Context, a cross cutting concern
  • 13. A leading example: E-health system The eHealth System supports the doctor’s everyday activities providing distributed services, such as the retrieval of information about patients. The doctor invokes the service using a resource-constrained PDA. He can move across different locations: his home, the surgery, the patient’s home. The system performance can be affected by the doctor’s physical location and by the hardware configuration of the doctor’s PDA. The system performance is affected by the context 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 7
  • 14. E-Health: UML design Model at a glance Software Architecture (Component Diagram) Services (Use Case Diagram) Service Behavior (Sequence Diagram) hw configurations Static <<deployment>> The doctor can display the medical history of a patients (text and images) Hardware Platform (Deployment Diagram) 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 8
  • 15.
  • 16. Is a stochastic statechart where
  • 17. A state represents the (set of) attribute(s) value(s) of the context-related model element
  • 18. Transitions represent the events triggering changes in attribute values
  • 20. Is able to interact with other managers through remote firing
  • 21. Defines a Variable that indicates its current state (e.g. $manager = ‘A’ , $manager = ‘B’)3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 9 MANAGER 1-p B A p
  • 22. E-Health: context modeling Services (Use Case Diagram) Component Diagram Client :: LOGICAL MOBILITY Doctor :: PHYSICAL MOBILITY BATTERY :: HW CONFIGURATION Binding between hardware resources and physical places Binding between software resources and hardware platform Hw platform CPU:: HW CONFIG Physical Places remote firing Dynamic Deployment Diagram home surgery Performance Analysis of Mobile Context-Aware Sw Systems 10
  • 23. The framework : behavior adaptation Adaptation: capability to change software behavior w.r.t. changes in the sensed context. We enable adaptation by allowing the system to choose among different implementations jof the same service i 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 11 Service i Start (i.e. service i invocation) “If context is” condition “If context is” condition “If context is” condition Si,1 Si,j Si,m Given the context description, how to represent “if context is” conditions?
  • 24. E-Health: behavior adaptation (1) “If context is” condition Start RequestPatientInfoPage DISPLAY::$HwConfig==‘Color‘ AND DOCTOR::$PhyLoc==‘Surgery’ cond cond “If context is” condition IMG NO IMG DISPLAY::$HwConfig==‘B/W‘ AND DOCTOR::$PhyLoc==‘OpenAir’ Behavior Choice for each Service We specify “if context is” conditions using manager variables in logical predicates to relate alternative behavior descriptions to the modeled context 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 12
  • 25.
  • 26. estimated software resource demand for each message 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 13
  • 27. E-Health: context-specific annotations Start RequestPatientInfoPage IMG NO IMG <<GaAcqStep>> {acqRes = Instr, Msg, DbAx resUnit=“(5,2,2)”} <<GaAcqStep>> {acqRes = Instr, Msg, DbAx resUnit=“(5,1,2)”} <<GaWorkloadEvent>> {pattern=closed, population=200, extDelay=(0.5, sec)} Behavior Choice for each Service (Interaction Overview Diagram) Resource Constrained Behavior The doctor doesn’t dowload images THEN There is a different resource usage 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 14
  • 28.
  • 29. is associated to the whole system (model)
  • 30. is a stochastic statechart where
  • 31. A (super) State models the combination of awareness manager states
  • 32.
  • 33. CONTEXTMANAGER E-health: the context manager Doctor :: PHYSICAL MOBILITY false true DISPLAY :: HW CONFIG Each superState represents a context for service provision SR = @Surgery the Resource Constrained service implementation is invoked, i.e. NO IMAGES 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 16
  • 34. E-health: the context manager GOAL Performance Analysis: Response Time in 2 different scenarios: i) Basic Scenario, ii) High Physical Mobility Scenario The Scenarios differ for transition probabilities of Physical Mobility Manager Basic High Mobility DOCTOR::PHYSICAL MOBILITY DOCTOR::PHYSICAL MOBILITY DISPLAY::HW CONFIGURATION 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 17
  • 35. E-health: the context manager Basic and High Mobilityscenarios induce the samesuperstates and supertransitionsbutdifferenttransitionprobabilitiesthatleadtodifferentsteady state probabilties Basic High Mobility CONTEXT MANAGER (Steady State Prob) CONTEXT MANAGER (Steady State Prob) @SURGERY = 0.85 @OPEN AIR= 0.1216 @OPEN AIR = 0.4 @every other place = 0.2 Foreachsuperstatewe generate and solve a different performance model and weigh the resultingindiceswith the steady state probabilities 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 18
  • 36.
  • 38. Execution Graphs (no resource contention)Steady State Probability SW resourcedemands <<nfp>>ServiceTime : NFP_DataTxRate =1bit/μs x sw2hw conversionfactors UML Model + MARTE SDs▶ DD ▶ = HW resourcedemands x Service Timeofhwresources (e.g. CPU,DISK) services = Context–specific performance indices(e.g. ResponseTime) 24/03/2010 Performance Analysisof Mobile Context-AwareSwSystems 19
  • 39. E-health: performance analysis MAX ResponseTime 82.07 sec CONTEXTMANAGER Average: Basic : 14.59 sec High Mobility: 26.32 sec MIN ResponseTime 1.17 sec Lower Average Response Time in Basic Scenario due to different Doctor’s Physical Mobility: more time spent @Surgery with faster internet connection 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 20
  • 40. conclusions and future work We introduced a framework for modeling and analyzing performance of context-aware mobile systems Context-awareness is a composite/cross-cutting concern: context dimensions can be added/removed/ignored using stochastic statecharts and “if context is” conditions UML-based realization: extensible with (standard) profiles to other UML-based model-driven NFPs analyses [Future]: we are working on complex composition of managers [Future]: Modeling Adaptation@runtime where context state changes during service execution. 3/24/2010 Performance Analysis of Mobile Context-Aware Sw Systems 21

Editor's Notes

  1. Thetopicofthispresentationis the performance modeling and analysisofcontext-aware mobile software systems
  2. Thisis the outlineofthis talk. I detail a UML-basedframeworkformodeling system services and theirusers, the software architecture, the component-basedbehaviors, the hardware platform. The UML modelisthensuitablyextendedusingprofilesto annotate performance parametersneededby a model-based performance analysismethodology[click]Wewillseehowcontext and context-awareness are cross-cuttingconcerns in the modelContextinducesmobilityaspects in users and software architecture,Weconsiderbehaviorsadaptabletocontext and a configurable hardware platform.also the performance parametersbecomecontext-related and consequently the performance analysiscarried out usingsuchparametersI will end the presentationwithconclusions and future work
  3. whatwemeanforcontext, a combinationof informationaboutphysical location of system userssuchasthisroom or our homelogical location of software componentsthatiswhere the components are deployedconfigurationof hardware resourcessupporting the executionof the software. Forexample the actualchargelevelof the battery, the cpu frequency[click]The contextmayrapidlychange. Followingourdefinitionofcontextwe deal withphysicalmobilitycorrespondingtochangesofphysicallocationsof the users. He can move or the placeschangesaround in termsofavailable hardware resourceslogicalmobilitycorrespondingtoredeploymentof software componentsover the hardware platform hardware configurationchange: forexample the amountof a certainresourcedecreasessuchas the chargelevelof a battery
  4. If the contextawarenessis the capabilityof the software tosenseknowledgerelatedto the context, we deal withphysical location awareness, logical location awarenessand hardware platformawareness[click]Anywaythese are ourdefinitionofcontext and contextawareness. Itfitsourpurposesbutit can extended or restricteddepending on the needof the modeledcontext-aware system.
  5. Thisis the outlineofthis talk. I detail a UML-basedframeworkformodeling system services and theirusers, the software architecture, the component-basedbehaviors, the hardware platform. The UML modelisthensuitablyextendedusingprofilesto annotate performance parametersneededby a model-based performance analysismethodology[click]Wewillseehowcontext and context-awareness are cross-cuttingconcerns in the modelContextinducesmobilityaspects in users and software architecture,Weconsiderbehaviorsadaptabletocontext and a configurable hardware platform.also the performance parametersbecomecontext-related and consequently the performance analysiscarried out usingsuchparametersI will end the presentationwithconclusions and future work
  6. Nowweneedto introduce contextinformationswithin a UML modeldescribed so far.In ourframeworkwechoose a distinctAwarenessManagersforeachcontextdimensionconsidered.Itis a stochasticstatechartassociatedtothosemodelingelementsrelatedtocontextwhere state models the set ofattributesassociatedto the modelingelement,transitionsmodels the eventstriggeringchanges in attribute’s valuesprobabilities are associatedtotransitions. They are constrained so thatprobabilities on outgoingtransitionsfromeach state sum up to 1finallyvariables are usedacross the modelforexampleto indicate the current state
  7. Contextchanges can induce behavioraladaptationof the providedservices. In ourframework a service can have multiple implementations. Whenever the userinvokes the service the contextmustbe “sensed” tochooseoneimplementationamong the availableone.Weneed a way torepresent the “ifcontextis” conditionsaccordingto the adopteddefinitionofcontext
  8. Physical and Logicalmobilitymanagers, hardware configurationmanagers, the adaptationinducedbycontext are synthetized in the context manager thatmodels the contextevolution.Itis a stochasticstatechart and itisnotmandatory. Weneeditonlyifwerelatedifferentcontextdimensionsbymeansof remote firingmechanism.As for the manager[leggi]