Filling the Gap: A Tool to Automate Parameter Estimation for - - PowerPoint PPT Presentation

filling the gap a tool to automate parameter estimation
SMART_READER_LITE
LIVE PREVIEW

Filling the Gap: A Tool to Automate Parameter Estimation for - - PowerPoint PPT Presentation

Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models Weikun Wang, Juan F. P erez, Giuliano Casale Department of Computing Imperial College London weikun.wang11@imperial.ac.uk September 1, 2015 1/13 W.


slide-1
SLIDE 1

Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models

Weikun Wang, Juan F. P´ erez, Giuliano Casale Department of Computing Imperial College London weikun.wang11@imperial.ac.uk

September 1, 2015

1/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-2
SLIDE 2

Motivation

◮ DevOps - a recent trend in Software

engineering

◮ Bridges the gap between software development

and operations

◮ Use performance models for QoS analysis ◮ Accurate parametrization is challenging

2/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-3
SLIDE 3

FG tool

◮ Continuous performance model parametrization ◮ Advanced estimation algorithms ◮ Statistical inference from monitoring data ◮ Application QoS report generation

3/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-4
SLIDE 4

FG Components

◮ FG Local DB: monitoring data storage ◮ FG Analyzer: statistical analysis ◮ FG Actuator: performance model update ◮ FG Reporter: application performance report

4/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-5
SLIDE 5

FG Architecture

FG Analyzer FG Report FG Actuator Deployment Module Monitoring Platform QoS Model Monitoring History DB FG Local DB Computing Cluster

FG

5/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-6
SLIDE 6

Resource Demand

Definition: the cumulative execution time a request seizes from a server, excluding contention

◮ An important parameter of queueing models ◮ Difficult to obtain directly ◮ Extensive monitoring poses overhead

6/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-7
SLIDE 7

Supported Demand Estimation Algorithms

◮ Complete Information (CI) ◮ Gibbs sampling with Queue Lengths (GQL) ◮ MINPS/FMLPS ◮ Extended Regression-Based approach (ERPS) ◮ FCFS ◮ Utilization-Based Regression/Optimization

(UBR/UBO)

7/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-8
SLIDE 8

CI and GQL

CI

◮ Uses full trace: ts. of arrivals and departures ◮ Poses additional overhead for intensive

monitoring GQL

◮ Requires queue length samples, i.e. number of

requests at the server

◮ Estimates demand with Bayes’ theorem ◮ Uses Gibbs sampling to obtain demand

8/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-9
SLIDE 9

MINPS/FMLPS

MINPS/FMLPS

◮ MINPS: a maximum likelihood (ML) method ◮ FMPLS: ML method with fluid approximation ◮ Both requires response times and queue lengths

(arrival)

9/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-10
SLIDE 10

ERPS and FCFS

ERPS

◮ Requires response time and queue length

(arrival)

◮ Linear regression to obtain demand

FCFS

◮ Estimation for FCFS servers ◮ Requires response time and queue length

(arrival)

◮ Linear regression to obtain demand

10/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-11
SLIDE 11

Summary: required monitoring data

Data Required Algorithm Full trace CI Utilization UBR Throughput UBO Queue length GQL Response Times MINPS Queue length (arrival) ERPS FCFS

11/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-12
SLIDE 12

Comparison between Demand Estimation Algorithms

Algorithms CI MINPSERPS GQL UBR UBO FMLPS Error (%) 10 20 30 40 50 60 70

(a) Error (%)

Algorithms CI MINPSERPS GQL UBR UBO FMLPS Execution time (s) 10-3 10-2 10-1 100 101 102 103

(b) Execution time (s)

Most accurate: CI Fastest: UBR

12/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models
slide-13
SLIDE 13

Discussions

◮ i) The feedback for different demand

estimation algorithms: e.g.

◮ How much monitoring information can be timely

brought to the developers?

◮ Which metric is the easiest or most readily

available?

◮ Which metric poses the least overhead?

◮ ii) How to correlate the resource IDs as well as

the request types for inconsistent design time model/deployment model/monitoring data?

13/13

  • W. Wang. Filling the Gap: A Tool to Automate Parameter Estimation for Software Performance Models