Performance analysis and performance modeling of web-applications - - PowerPoint PPT Presentation

performance analysis and performance modeling of web
SMART_READER_LITE
LIVE PREVIEW

Performance analysis and performance modeling of web-applications - - PowerPoint PPT Presentation

Performance analysis and performance modeling of web-applications Dr. Heinz Kredel Dr. Hans-Gnther Kruse Dr. Ingo Ott University of Mannheim IT-Center 3PGCIC 2011 - Barcelona 2 University of Mannheim - IT-Center - Dr. Ingo Ott Agenda


slide-1
SLIDE 1

Performance analysis and performance modeling

  • f web-applications
  • Dr. Heinz Kredel
  • Dr. Hans-Günther Kruse
  • Dr. Ingo Ott

University of Mannheim – IT-Center 3PGCIC 2011 - Barcelona

slide-2
SLIDE 2

Agenda

Motivation for modeling Performance measurement Performance modeling Summary

University of Mannheim - IT-Center - Dr. Ingo Ott

2

slide-3
SLIDE 3

Motivation for modeling

Highly integrated systems, many customers Enhancing customer satisfaction (by) Improving response time Analysis needs rebuilding infrastructure You won‘t want to analyze in productive environment Very expensive Decision making is often estimated gut feeling plus a buffer Matches reality?

University of Mannheim - IT-Center - Dr. Ingo Ott

3

slide-4
SLIDE 4

Performance measurement

Analyzing a realistic scenario: After “Freshman student” event 1.600 Students planned their study plan concurrent and on a 1:1:1-infrastructure (1 Web-, 1 App-, 1 DB-Server) Problems arised: Slower response times Even timeouts No login possible Not all customers were satisfied!

University of Mannheim - IT-Center - Dr. Ingo Ott

4

slide-5
SLIDE 5

Performance measurement

Solution: More hardware Three Questions: What is the applicable amount? Where is the bottleneck? What can be done in realistic time? What we have done: Rebuilding Infrastructure Simulation of a specific scenario with funkload Evaluating results

University of Mannheim - IT-Center - Dr. Ingo Ott

5

slide-6
SLIDE 6

Performance measurement

Infrastructure description:

University of Mannheim - IT-Center - Dr. Ingo Ott

6

slide-7
SLIDE 7

Performance measurement

Simulation scenario: Call the start page Login with a random user Navigate through the lecture index Load a defined webpage of a lecture Logoff Calculate the base load Increase app-server until “system fits”

University of Mannheim - IT-Center - Dr. Ingo Ott

7

slide-8
SLIDE 8

Performance measurement

Results in a 1:1:1 Infrastructure

Satisfaction University of Mannheim - IT-Center - Dr. Ingo Ott

8

slide-9
SLIDE 9

Performance measurement

Results in a 1:2:1 Infrastructure

Satisfaction University of Mannheim - IT-Center - Dr. Ingo Ott

9

slide-10
SLIDE 10

Performance measurement

Results in a 1:4:1 Infrastructure

Satisfaction University of Mannheim - IT-Center - Dr. Ingo Ott

10

slide-11
SLIDE 11

Performance measurement

Simulation-Result: Duplication of app-server leads to duplication of maximum number of concurrent users Average response time is cut in half and increases more slowly by duplication

University of Mannheim - IT-Center - Dr. Ingo Ott

11

slide-12
SLIDE 12

Performance modeling

Based on results and current infrastructure Modeled system: Constraints: service and interarrival times exponentially distributed Our modeling process is based on classical file-server-model Point of Interest: Probability of waiting pw Average response time μ<tv>

n: # clients α: client request rate μ: service rate of server S

University of Mannheim - IT-Center - Dr. Ingo Ott

12

slide-13
SLIDE 13

Performance modeling

After solving equations… Load: ρ=α/μ

University of Mannheim - IT-Center - Dr. Ingo Ott

13

slide-14
SLIDE 14

Performance modeling

Speedup matches observed data

University of Mannheim - IT-Center - Dr. Ingo Ott

14

ρ=3/4 and ρ=1/4

slide-15
SLIDE 15

Performance modeling

So far only 1 server considered Client request rate α mainly triggers response time „Put“ more parallel servers into the model... Changed server model: Constraints: Simplified view no Database modeled m

University of Mannheim - IT-Center - Dr. Ingo Ott

15

  • Point of Interest:
  • Probability of waiting pw(m)
  • Average response time μ<tv>
slide-16
SLIDE 16

Performance modeling

Load: ρ = α/μ = 3/4

University of Mannheim - IT-Center - Dr. Ingo Ott

16

After solving equations…

slide-17
SLIDE 17

Performance modeling

Speedup matches observed data Model adjusted (α and μ)

University of Mannheim - IT-Center - Dr. Ingo Ott

17

slide-18
SLIDE 18

Performance modeling

Qualitative aspects of model matches empirical result Database missing in model Extended model: Database with own service rate Markov models like M/M/1/∞ or M/G/1/∞ are appropriate Load of database is fixed by observation to (μ/μDB)=0.9 Not in all requests the database is needed

University of Mannheim - IT-Center - Dr. Ingo Ott

18

slide-19
SLIDE 19

Performance modeling

University of Mannheim - IT-Center - Dr. Ingo Ott

19

  • Average response time μ<tv> with Database and
  • Corresponding Speedup
  • Taking the database into account hardly changes shapes
slide-20
SLIDE 20

Summary

Performance analysis with rebuilding infrastructure detailed and accurate insights of a system expensive Performance modeling saves costs Good prediction of necessary infrastructure Reusable, but adjustment necessary

University of Mannheim - IT-Center - Dr. Ingo Ott

20

slide-21
SLIDE 21

Thank you Questions?

University of Mannheim - IT-Center - Dr. Ingo Ott

21