integrating workload specification and extraction for
play

Integrating Workload Specification and Extraction for Model- Based - PowerPoint PPT Presentation

Stuttgart, Germany, 2014-11-27 Integrating Workload Specification and Extraction for Model- Based and Measurement-Based Performance Evaluation An Approach for Session-Based Software Systems Andr van Hoorn, Christian Vgele Eike Schulz,


  1. Stuttgart, Germany, 2014-11-27 Integrating Workload Specification and Extraction for Model- Based and Measurement-Based Performance Evaluation An Approach for Session-Based Software Systems André van Hoorn, Christian Vögele Eike Schulz, Wilhelm Hasselbring, Helmut Krcmar Symposium on Software Performance (SOSP) 2014

  2. Problem Statement Situation • Workload specification and execution essential to evaluate performance properties of session-based application systems – Measurement-based approaches (e.g., Krishnamurthy et al. 2006, Menascé et al. 1999, Arlitt et al. 2001) – Model-based approaches (e.g., Becker et al. 2009, Kounev et al. 2014) Complication Manual creation of representative workload specifications is • difficult, time consuming, and error-prone (Shams et al. 2006) Nowadays, workload specifications for measurement- and model-based approaches are • modelled separately of each other (M-by-N problem) Resolution: W ESSBAS 1) System- and tool-agnostic modeling of probabilistic workloads of session-based application systems 2) Automatic extraction of these specifications from running systems 3) Transformation of these specifications into 1) load test scripts 2) architecture-level workload model specifications 2 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  3. W ESSBAS Approach Performance Model Monitoring Generator SUT Extraction Monitoring Session PCM (System logs Specification) <<conformsTo>> PCM (Workload Behavior Model Extraction Specification) Extractor PCM Meta- Model Behavior Behavior Workload Mix Model(s) Intensity Transformation Transformation JMeter Test WESSBAS Transformation Plan DSL-Instance <<conformsTo>> <<conformsTo>> JMeter API WESSBAS- WESSBAS-DSL Markov4JMeter DSL Model Generator Test Plan Generator 3 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  4. Content of this talk… To appear at VALUETOOLS 14 To appear at LT 2015 @ ICPE 2015 4 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  5. Agenda • Problem Statement and Overview of Approach • W ESSBAS Approach 1. W ESSBAS -DSL 2. Extraction of W ESSBAS -DSL Instances 3. Clustering of Customer Groups 4. Transformations 1. Apache JMeter 2. Palladio Component Model • Evaluation • Future Work 5 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  6. Background – Markov4JMeter Example of an Application Model [van Hoorn et al. 2008] 6 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  7. Background – Markov4JMeter Example of an Application Model [van Hoorn et al. 2008] 7 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  8. W ESSBAS -DSL Application Model 8 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  9. Behavior Model + Behavior Mix Background – Markov4JMeter [van Hoorn et al. 2008] 9 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  10. W ESSBAS -DSL Behavior Mix and Behavior Model(s) 10 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  11. Behavior Model Extraction 11 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  12. Clustering of Customer Groups X-means Probabilities: Each centroid represent (Absolute) Transition count the (relative) transition matrix per session count matrix yes Behavior Model(s) Think Times: Calculate based on resulting Determine number of clusters and centroids clusters (not part of no clustering) Instances stop move group? Assigns instances to the nearest cluster centroid using Euclidean Proportion of the Distance (Non-normalized and Behavior number of instances normalized) Mix per cluster Grouping based on minimum distance, Recalculation of centroids 12 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  13. Transformation into Apache JMeter Test Plans WESSBAS- DSL WESSBAS 13 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  14. Transformation into Palladio Component Models Automatically generated (e.g., Brunnert et al. 2013, Brosig et al. 2011) app.allocation app.repository app.resourceenvironment app.system app.usagemodel Missing possibility to reference usage models from usage models Becker et al. (2009) Generation of large parts of the workload specification into the repository model 14 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  15. Transformation into Palladio Component Models WESSBAS-DSL 15 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  16. Transformation into Palladio Component Models WESSBAS-DSL Call to the modelled system operation 16 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  17. Agenda • Problem Statement and Overview of Approach • W ESSBAS Approach 1. W ESSBAS -DSL 2. Extraction of W ESSBAS -DSL Instances 3. Clustering of Customer Groups 4. Transformations 1. Apache JMeter 2. Palladio Component Model • Evaluation • Future Work 17 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  18. Evaluation Goals and Methodology Research Questions 1. How accurately do the clustering results match the input Behavior Mix? 2. What is the impact of the clustering results on the workload characteristics? 3. How well match the predicted workload characteristics the measured workload characteristics? Methodology – Instrumentation of SPECjEnterprise2010 using Kieker to obtain session logs – Extraction of behavior models and behavior mix (includes clustering) – Extraction of W ESSBAS -DSL instances – Scenario 1: Transformation to JMeter test plans • Generation of basic application model (only session layer) • No input data, no guards and actions – Scenario 2: Transformation of W ESSBAS -DSL instances to PCM • Execute simulation • Compare simulation results (request counts) with measured data 18 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  19. Probabilistic Representation of SPECj Workload 19 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  20. Accuracy of Clustering Research Question 1 TM: Transaction Mix T: Transaction C N : Assigned Cluster MC: Percentage of misclassified N: Number of instances ED: Euclidean Distance NED: Normalized Euclidean Distance 20 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  21. Accuracy of Extracted Workload Specifications Research Question 2 21 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

  22. Accuracy of PCM Workload Specification Research Question 3 MRC: Measured Request Count SRC: Simulated Request Count PE: Prediction Accuracy 22 van Hoorn, Vögele, Schulz, Hasselbring, Krcmar: W ESSBAS : Workload Extraction and Specification for Session-Based Application Systems SOSP 2014, Stuttgart, 2014-11-27

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend