https://se.informatik.uni-wuerzburg.de/
On Learning Parametric Dependencies from Monitoring Data
Johannes Grohmann, Simon Eismann, Samuel Kounev Symposium on Software Performance (SSP) 2019 05.11.2019
On Learning Parametric Dependencies from Monitoring Data Johannes - - PowerPoint PPT Presentation
On Learning Parametric Dependencies from Monitoring Data Johannes Grohmann, Simon Eismann, Samuel Kounev Symposium on Software Performance (SSP) 2019 05.11.2019 https://se.informatik.uni-wuerzburg.de/ Software Performance Models Introduction
https://se.informatik.uni-wuerzburg.de/
Johannes Grohmann, Simon Eismann, Samuel Kounev Symposium on Software Performance (SSP) 2019 05.11.2019
Johannes Grohmann – On Learning Parametric Dependencies 2
Software Performance Models
Server system
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 3
Software Performance Models
maximize Efficiency Server system
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 4
Software Performance Models
maximize Efficiency Server system Performance model e.g. Auto-scaler
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 5
Software Performance Models
maximize Efficiency Server system Performance model e.g. Auto-scaler
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 6
Parametric Dependencies
Recommender UI Image Provider Database
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 7
Parametric Dependencies
QoS-metrics
(Quality of Service)
Workload 20 Users Recommender UI Image Provider Database
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 8
Parametric Dependencies
QoS-metrics
(Quality of Service)
Workload 20 Users
Recommender UI Image Provider Database Workload 50 Users
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 9
Parametric Dependencies
QoS-metrics
(Quality of Service)
Workload 20 Users
ResourceDemand(Recommender)
[milliseconds]
Recommender UI Image Provider Database Workload 50 Users
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 10
Parametric Dependencies
QoS-metrics
(Quality of Service)
Workload 20 Users
ResourceDemand(Recommender) = 17 * currentItems.size()
[milliseconds]
Recommender UI Image Provider Database Workload 50 Users
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 11
Parametric Dependencies
QoS-metrics
(Quality of Service)
Workload 20 Users
ResourceDemand(Recommender) = 17 * currentItems.size() + 0 * user ID
[milliseconds]
Recommender UI Image Provider Database Workload 50 Users
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 12
Parametric Dependencies
Goal: Autonomically detect such parametric dependencies
QoS-metrics
(Quality of Service)
Workload 20 Users
Recommender UI Image Provider Database Workload 50 Users
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 13
Example
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 15
Related Work
Introduction Related Work Approach Evaluation Conclusion
detection of dependencies. In contrast, our approch is solely based on monitoring data.
Johannes Grohmann – On Learning Parametric Dependencies 16
Related Work
Introduction Related Work Approach Evaluation Conclusion
detection of dependencies. In contrast, our approch is solely based on monitoring data.
Monitoring data
Johannes Grohmann – On Learning Parametric Dependencies 17
Related Work
Introduction Related Work Approach Evaluation Conclusion
detection of dependencies. In contrast, our approch is solely based on monitoring data.
Monitoring data
Model Extraction
[BHK11, WS+17, HW+99, IL+05, MF11]
Performance Model Parameterized Performance Model
Parameterization
[SC+15, BHK11, SG+19, RV95, KP+09]
Johannes Grohmann – On Learning Parametric Dependencies 18
Related Work
Introduction Related Work Approach Evaluation Conclusion
detection of dependencies. In contrast, our approch is solely based on monitoring data.
Monitoring data
Model Extraction
[BHK11, WS+17, HW+99, IL+05, MF11]
Performance Model Parameterized Performance Model Identified Dependencies
Parameterization
[SC+15, BHK11, SG+19, RV95, KP+09]
Johannes Grohmann – On Learning Parametric Dependencies 19
Related Work
Introduction Related Work Approach Evaluation Conclusion
detection of dependencies. In contrast, our approch is solely based on monitoring data.
Monitoring data
Model Extraction
[BHK11, WS+17, HW+99, IL+05, MF11]
Performance Model Parameterized Performance Model Identified Dependencies Parameterized Dependencies
Dependency Characterization
[BH11, CW00, AG+18]
Parameterization
[SC+15, BHK11, SG+19, RV95, KP+09]
Johannes Grohmann – On Learning Parametric Dependencies 20
In a nutshell
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 21
In a nutshell
Introduction Related Work Approach Evaluation Conclusion
Problem Manual identification of parametric dependencies is not always possible, time-intensive and error-prone
Johannes Grohmann – On Learning Parametric Dependencies 22
In a nutshell
Introduction Related Work Approach Evaluation Conclusion
Idea Problem Manual identification of parametric dependencies is not always possible, time-intensive and error-prone Learning of dependencies using standard monitoring data collected during production
Johannes Grohmann – On Learning Parametric Dependencies 23
In a nutshell
Introduction Related Work Approach Evaluation Conclusion
Idea Problem Benefit Manual identification of parametric dependencies is not always possible, time-intensive and error-prone Learning of dependencies using standard monitoring data collected during production Increase model accuracy and expressiveness, additional step towards autonomic model learning
Johannes Grohmann – On Learning Parametric Dependencies 24
In a nutshell
Introduction Related Work Approach Evaluation Conclusion
Idea Problem Benefit Action Manual identification of parametric dependencies is not always possible, time-intensive and error-prone Learning of dependencies using standard monitoring data collected during production Increase model accuracy and expressiveness, additional step towards autonomic model learning Use feature selection techniques for detecting, regression for characterizing the dependencies
Johannes Grohmann – On Learning Parametric Dependencies 25
Johannes Grohmann – On Learning Parametric Dependencies 26
Required monitoring information
Introduction Related Work Approach Evaluation Conclusion
Identification parameters
Johannes Grohmann – On Learning Parametric Dependencies 27
Required monitoring information
Introduction Related Work Approach Evaluation Conclusion
Identification parameters Parameter-related information
Johannes Grohmann – On Learning Parametric Dependencies 28
Required monitoring information
Introduction Related Work Approach Evaluation Conclusion
Identification parameters Trace reconstruction Parameter-related information
Johannes Grohmann – On Learning Parametric Dependencies 29
Required monitoring information
Introduction Related Work Approach Evaluation Conclusion
Identification parameters Trace reconstruction Parameter-related information
Johannes Grohmann – On Learning Parametric Dependencies 30
Overview
Introduction Related Work Approach Evaluation Conclusion
Monitoring data
Model Extraction
[BHK11, WS+17, HW+99, IL+05, MF11]
Performance Model Parameterized Performance Model Identified Dependencies Parameterized Dependencies
Dependency Characterization
[BH11, CW00, AG+18]
Parameterization
[SC+15, BHK11, SG+19, RV95, KP+09]
Johannes Grohmann – On Learning Parametric Dependencies 31
Overview
Introduction Related Work Approach Evaluation Conclusion
Monitoring data
Model Extraction
[BHK11, WS+17, HW+99, IL+05, MF11]
Performance Model Parameterized Performance Model Identified Dependencies Parameterized Dependencies
Dependency Characterization
[BH11, CW00, AG+18]
Parameterization
[SC+15, BHK11, SG+19, RV95, KP+09]
Johannes Grohmann – On Learning Parametric Dependencies 32
Identification approaches
Introduction Related Work Approach Evaluation Conclusion
3 7 3 ... 8 23 95 ... 65 32 41 ...
…
65 32 41 ... Monitoring Values Model var.
Johannes Grohmann – On Learning Parametric Dependencies 33
Identification approaches
Introduction Related Work Approach Evaluation Conclusion
3 7 3 ... 8 23 95 ... 65 32 41 ...
…
65 32 41 ... Monitoring Values Model var. Target Features
Johannes Grohmann – On Learning Parametric Dependencies 34
Identification approaches
Introduction Related Work Approach Evaluation Conclusion
Feature space
Subspace 3 7 3 ... 8 23 95 ... 65 32 41 ...
…
65 32 41 ... Monitoring Values Model var. Target Features
Johannes Grohmann – On Learning Parametric Dependencies 35
Identification approaches
Introduction Related Work Approach Evaluation Conclusion
Feature space
Subspace 3 7 3 ... 8 23 95 ... 65 32 41 ...
…
65 32 41 ... Monitoring Values Model var. Target Features
Johannes Grohmann – On Learning Parametric Dependencies 36
Identification approaches
Introduction Related Work Approach Evaluation Conclusion
baseline regressor
Feature space
Subspace 3 7 3 ... 8 23 95 ... 65 32 41 ...
…
65 32 41 ... Monitoring Values Model var. Target Features
Johannes Grohmann – On Learning Parametric Dependencies 37
Identification approaches
Introduction Related Work Approach Evaluation Conclusion
baseline regressor
Feature space
Subspace 3 7 3 ... 8 23 95 ... 65 32 41 ...
…
65 32 41 ... Monitoring Values Model var. Target Features
Johannes Grohmann – On Learning Parametric Dependencies 38
Evaluation
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 39
Evaluation
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 40
Selection Thresholds
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 41
Filter Application
Introduction Related Work Approach Evaluation Conclusion
Filtering Step Relevant Irrelevant Invalid Total None 11 94 5 110 Identical (1) 11 45 5 61 (1) + Correlating (2) 11 35 1 47 (1) + (2) + Graph-based (3) 11 8 1 20
In total, 86 irrelvant and and 4 invalid dependencies are deleted. This results in a precision (11 relevant to 1 invalid) of 91.7 %.
Johannes Grohmann – On Learning Parametric Dependencies 42
Overview
Introduction Related Work Approach Evaluation Conclusion
Monitoring data
Model Extraction
[BHK11, WS+17, HW+99, IL+05, MF11]
Performance Model Parameterized Performance Model Identified Dependencies Parameterized Dependencies
Dependency Characterization
[BH11, CW00, AG+18]
Parameterization
[SC+15, BHK11, SG+19, RV95, KP+09]
Johannes Grohmann – On Learning Parametric Dependencies 43
Overview
Introduction Related Work Approach Evaluation Conclusion
Monitoring data
Model Extraction
[BHK11, WS+17, HW+99, IL+05, MF11]
Performance Model Parameterized Performance Model Identified Dependencies Parameterized Dependencies
Dependency Characterization
[BH11, CW00, AG+18]
Parameterization
[SC+15, BHK11, SG+19, RV95, KP+09]
Dependency Characterization
[BH11, CW00, AG+18]
Johannes Grohmann – On Learning Parametric Dependencies 44
Dataset Characteristics I
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 45
Dataset Characteristics II
SortArray SubsetSum Fibonacci Colors encode defined sum Recursive Optimized recursive Iterative
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 46
Dataset Characteristics II
SortArray SubsetSum Fibonacci The datasets are diverse and varying in terms of number and types of parameters, distribution of runtime (resource demand) and type of dependency. Colors encode defined sum Recursive Optimized recursive Iterative
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 47
No Free Lunch
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 48
No Free Lunch
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 49
No Free Lunch
No Free Lunch for ML approaches! [8] We need a meta-classifier to select the appropriate algorithm.
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 50
Meta-Classifier
to train a Decision Tree on the following features:
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 51
Meta-Classifier
to train a Decision Tree on the following features:
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 52
Meta-Classifier II
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 53
Meta-Classifier II
Introduction Related Work Approach Evaluation Conclusion
Improves overall MAE by 30% in comparison to always using SVR.
Johannes Grohmann – On Learning Parametric Dependencies 54
Johannes Grohmann – On Learning Parametric Dependencies 55
Monitoring Challenges
Introduction Related Work Approach Evaluation Conclusion
Identification parameters Trace reconstruction Parameter-related information
Johannes Grohmann – On Learning Parametric Dependencies 56
Monitoring Challenges
Introduction Related Work Approach Evaluation Conclusion
Identification parameters Trace reconstruction Parameter-related information
What are the important features of each parameter? How can the features be extracted?
Johannes Grohmann – On Learning Parametric Dependencies 57
Monitoring Challenges
Introduction Related Work Approach Evaluation Conclusion
Identification parameters Trace reconstruction Parameter-related information
What are the important features of each parameter? How can the features be extracted? We can only observe the response time. How can the resource demands be measured?
Johannes Grohmann – On Learning Parametric Dependencies 58
Stability in higher load scenarios
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 59
Stability in higher load scenarios
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 60
Stability in higher load scenarios
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 61
Evaluation Challenges
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 62
Evaluation Challenges
Introduction Related Work Approach Evaluation Conclusion
We need dependencies as gold standard. How can they be achieved? Comparison with other paradigms required?
Johannes Grohmann – On Learning Parametric Dependencies 63
Integration Challenges
Introduction Related Work Approach Evaluation Conclusion
Monitoring data
Model Extraction
[BHK11, WS+17, HW+99, IL+05, MF11]
Performance Model Parameterized Performance Model Identified Dependencies Parameterized Dependencies
Dependency Characterization
[BH11, CW00, AG+18]
Parameterization
[SC+15, BHK11, SG+19, RV95, KP+09]
Johannes Grohmann – On Learning Parametric Dependencies 64
Integration Challenges
Introduction Related Work Approach Evaluation Conclusion
Monitoring data
Model Extraction
[BHK11, WS+17, HW+99, IL+05, MF11]
Performance Model Parameterized Performance Model Identified Dependencies Parameterized Dependencies
Dependency Characterization
[BH11, CW00, AG+18]
Parameterization
[SC+15, BHK11, SG+19, RV95, KP+09]
Johannes Grohmann – On Learning Parametric Dependencies 65
Conclusion
Introduction Related Work Approach Evaluation Conclusion
Johannes Grohmann – On Learning Parametric Dependencies 66
Conclusion
Introduction Related Work Approach Evaluation Conclusion
Problem Manual identification of parametric dependencies is not always possible, time-intensive and error-prone
Johannes Grohmann – On Learning Parametric Dependencies 67
Conclusion
Introduction Related Work Approach Evaluation Conclusion
Idea Problem Manual identification of parametric dependencies is not always possible, time-intensive and error-prone Learning of dependencies using standard monitoring data collected during production
Johannes Grohmann – On Learning Parametric Dependencies 68
Conclusion
Introduction Related Work Approach Evaluation Conclusion
Idea Problem Benefit Manual identification of parametric dependencies is not always possible, time-intensive and error-prone Learning of dependencies using standard monitoring data collected during production Increase model accuracy and expressiveness, additional step towards autonomic model learning
Johannes Grohmann – On Learning Parametric Dependencies 69
Conclusion
Introduction Related Work Approach Evaluation Conclusion
Idea Problem Benefit Action Manual identification of parametric dependencies is not always possible, time-intensive and error-prone Learning of dependencies using standard monitoring data collected during production Increase model accuracy and expressiveness, additional step towards autonomic model learning Use feature selection techniques for detecting, regression for characterizing the dependencies
Johannes Grohmann – On Learning Parametric Dependencies 70
References
prediction”. In: IEEE Transactions on Software Engineering 36.6 (2010), pp. 865–877.
Performance Engineering. ICPE ’18. Berlin, Germany: ACM, 2018, pp. 153–158.
IEEE/ACM International Conference On Automated Software Engineering (ASE 2011), Oread, Lawrence, Kansas, November 2011.
International Workshop on Quality-Aware DevOps (QUDOS’17). ACM, April 2017.
traces,” in Proceedings of the 5th International Workshop on Software and Performance, ser. WOSP ’05. New York, USA: ACM, 2005, pp. 147–158.
and Performance, 2000, pp. 105–114.
Workshop on Models@run.time (MRT), co-located with ACM/IEEE 21st International Conference on Model Driven Engineering Languages and Systems (MODELS 2018), ser. CEUR Workshop Proceedings, October 2018.
Johannes Grohmann – On Learning Parametric Dependencies 71
References
October 2015.
VALUETOOLS ’09, 2009, pp. 1–10.
Proceedings of the 3rd joint ACM/SPEC International Conference on Performance Engineering, 2012, pp. 247–248.
USA: Morgan Kaufmann Publishers Inc., 2016.
’95. Washington, DC, USA: IEEE Computer Society, 1995.
modeling and resource management research,” in Proceedings of the 26th IEEE International Symposium on the Modelling, Analysis, and Simulation of Computer and Telecommunication Systems, ser. MASCOTS ’18, September 2018.
Performance Models Using Feature Selection Techniques. In Proceedings of the 27th IEEE International Symposium on the Modelling, Analysis, and Simulation of Computer and Telecommunication Systems, Rennes, France, October 2019, MASCOTS '19.
https://se.informatik.uni-wuerzburg.de/