Icst2012 zaman

25
A Large Scale Empirical Study on User-Centric Performance Analysis Shahed Zaman Ahmed E. Hassan Software Analysis and Intelligence Lab (SAIL) Queen’s University 1 Bram Adams MCIS École Polytechnique de Montréal Canada

Transcript of Icst2012 zaman

Page 1: Icst2012 zaman

1

A Large Scale Empirical Study on User-

Centric Performance Analysis

Shahed Zaman Ahmed E. HassanSoftware Analysis and Intelligence Lab (SAIL) Queen’s University

Bram AdamsMCISÉcole Polytechnique de Montréal Canada

Page 2: Icst2012 zaman

2

What is this study about?

Users

10 Requestsper user

Software System

1,000 Requests

10 RequestsBad Response Time

Requests

Page 3: Icst2012 zaman

3

Scenario-Centric View

Users

Software System

1,000 Requests

10 RequestsBad Response Time

10 Requestsper user

1% bad request instance

Page 4: Icst2012 zaman

4

User-Centric View

Users

Software System

1,000 Requests

10 RequestsBad Response Time

10 Requestsper user

0% bad request instance

50% bad request instance

1% bad request instance

User’s Perspective System’s Perspective

Page 5: Icst2012 zaman

5

Data used in this study• 3 systems• 13 most used scenarios

Factor Enterprise System 1

Enterprise System 2

Dell DVD store

Functionality Telecommunications E-commerce

Vendor’s Business Model

Commercial Open-source

Size Ultra Large Large Small

Complexity Complex Complex Simple

Page 6: Icst2012 zaman

6

Performance Load Test

Load Generator(s)

Requests

Requests

Requests

Software System Under Test

Page 7: Icst2012 zaman

7

Performance Load Test

Runs for hours or days

Data

Performance AnalysisLoad Generator(s)

Requests

Requests

Requests

Software System Under Test

Page 8: Icst2012 zaman

8

Current Practice of Performance Analysis

Data Values

Dens

ity Version 1

Data Values

Dens

ity Version 2

Page 9: Icst2012 zaman

9

Load Generator(s)

Requests

Requests

Requests

Software System Under Test

Problem with Current Practice

Data aggregated for all users!!

Improved

Degraded

Page 10: Icst2012 zaman

10

Scenario-Centric View

Load Generator(s)

Requests

Requests

Requests

Software System Under Test

PASS

Page 11: Icst2012 zaman

11

User-Centric View

Load Generator(s)

Requests

Requests

Requests

Software System Under Test

User Group 1

U.G. # 2

U.G. # 3

U.G. # 4

FAILED

Page 12: Icst2012 zaman

12

% of bad instances

Median

Median±

St.Deviation

Resp

onse

Tim

e

Request Instance #

Page 13: Icst2012 zaman

13

% of bad instances

Median

Median±

St.Deviation

Bad instances = Out of “Median ± Standard Deviation” = 6/20 = 30%

Resp

onse

Tim

e

Request Instance #

Page 14: Icst2012 zaman

14

Study

Users

Requests

Software System

User’s Perspective System’s PerspectiveVS

Data

Performance Analysis

Page 15: Icst2012 zaman

15

Our Study Dimensions

Overall Trend Consistency

vs

Page 16: Icst2012 zaman

16

Overall Performance

Old New% of bad instances 16.48 0.21

Scenario Centric View User Centric View

Page 17: Icst2012 zaman

17

Our Study Dimensions

Overall Trend Consistency

vs

10 out of 13 use-cases showed a different view

Page 18: Icst2012 zaman

18

Performance Trend Over TimeScenario Centric View User Centric View

OldNew

0 15 30 45 60

30

35

4

0

4

5Re

spon

se T

ime

Running Time0 20 40 60 80 100 120 140

40

60

80

100

1

20Re

spon

se T

ime

Instance # for a user

OldNew

Page 19: Icst2012 zaman

Performance Trend Over Time

0 2 4 6 8 10 12 14

6

000

60

50 6

100

Resp

onse

Tim

e (m

ean)

Instance # for a user0 100 200 300 400 500 600

5850

59

00 5

950

600

0 6

050

610

0

Resp

onse

Tim

e

Running Time

System’s perspective

User’s perspective

19

Page 20: Icst2012 zaman

20

Our Study Dimensions

Overall Trend Consistency

vs

10 out of 13 use-cases showed a different view

8 out of 13 use-cases showed a different

view

Page 21: Icst2012 zaman

21

Performance Consistency

Scenario Centric View

0 500 1500 2500 3500

200

400

600

800

Re

spon

se T

ime

Running Time

OldNew

User Centric View

0 5 10 15 20 25 30-100

0

0 5

00

15

00

Resp

onse

Tim

e

Instance # for user

OldNew

NewOld

Page 22: Icst2012 zaman

22

Our Study Dimensions

Overall Trend Consistency

vs

10 out of 13 use-cases showed a different view

8 out of 13 use-cases showed a different

view

All 13 use-cases showed a different

view

Page 23: Icst2012 zaman

23

Trend

8 out of 13 use-cases showed a different

view

Our Study Dimensions

Overall

10 out of 13 use-cases showed a different view

Consistency

vs

All 13 use-cases showed a different

view

VS

Consistency vs Overall Performance

Inconsistent Consistent Bad Good

Page 24: Icst2012 zaman

24

0 10 20 30 40 50 60 70

0

100

00

200

00

3000

0Va

rianc

e

% of bad instances

OldNew

Consistency vs Overall Performance

Overall Performance experience

Bad Good

1 2

3 4

C

I

cons

isten

cy

Page 25: Icst2012 zaman

25

A complementary useful view