Vous êtes sur la page 1sur 11

Main

SysMod - System Models


this workbook comes with the book
"Capacity Planning for Web Performance: metrics, models, and methods"
by D. A. Menascé and V. A. F. Almeida
Prentice Hall, Upper Saddle River, NJ,1998



Service Queue
Population Rate Size
infinite fixed unlimited
infinite fixed limited
infinite variable unlimited
infinite variable finite
finite fixed
finite variable

Page 1
Main



Page 2
Infinite population/constant service rate/infinite queue
This worksheet comes with the book "Capacity Planning for Web Performance",
by D. A. Menascé and V. A. F. Almeida, Prentice Hall, 1998.

Arrival Rate 30 tps


Service Rate 50 tps
Utilization 60%
Average Number of Requests 1.5
Average Response Time 0.05
Note that the arrival rate must be less than the service rate!

k Pk Utilization R / S = 1 / (1 - U)
0 0.4000000 0 1.00
1 0.2400000 0.1 1.11
2 0.1440000 0.2 1.25
3 0.0864000 0.3 1.43
4 0.0518400 0.4 1.67
5 0.0311040 0.5 2.00
6 0.0186624 0.6 2.50
7 0.0111974 0.7 3.33
8 0.0067185 0.8 5.00
9 0.0040311 0.9 10.00
10 0.0024186 0.95 20.00
11 0.0014512 0.99 100.00
12 0.0008707
13 0.0005224
14 0.0003135
15 0.0001881
PopInf-FixServ-FinQ

Infinite population/constant service rate/finite queue


This worksheet comes with the book "Capacity Planning for Web Performance",
by D. A. Menascé and V. A. F. Almeida, Prentice Hall, 1998.

Arrival Rate 30 tps


Service Rate 50 tps
Max. Number of Requests (W) 10
Average Number of Requests 1.460
Server Utilization 59.9%
Server Throughput 29.9 tps

Average Response Time 0.049 sec


Fraction of Lost Requests 0.24%

k Pk W Fraction of Lost Requests


0 0.4014565 1 37.5%
1 0.2408739 2 18.4%
2 0.1445243 3 9.9%
3 0.0867146 4 5.6%
4 0.0520288 5 3.3%
5 0.0312173 6 1.9%
6 0.0187304 7 1.1%
7 0.0112382 8 0.7%
8 0.0067429 9 0.4%
9 0.0040458 10 0.2%
10 0.0024275

Page 5
PopInf-VarServ-InfQ

Infinite population/variable service rate/infinite queue


This worksheet comes with the book "Capacity Planning for Web Performance",
by D. A. Menascé and V. A. F. Almeida, Prentice Hall, 1998.

Arrival Rate 30 tps


Saturation Point (J) 3
Average Number of Requests ###
Server Utilization ###
Server Average Throughput 30.0 tps
Average Response Time ### sec

Note that the arrival rate must be less than X(J)!

Throughput values until saturation


k 1 2 3
X(k) 18 35 50

Page 6
PopInf-VarServ-FinQ

Infinite population/variable service rate/finite queue


This worksheet comes with the book "Capacity Planning for Web Performance",
by D. A. Menascé and V. A. F. Almeida, Prentice Hall, 1998.

Arrival Rate 30 tps


Saturation Point (J) 3
Max. Number of Requests (W) 5
Average Number of Requests ###
Server Utilization ###
Server Average Throughput ### tps

Average Response Time ### sec


Fraction of Lost Requests ###

Throughput values before saturation


k 1 2 3
X(k) 18 35 50

Page 7
PopFin-FixServ

Finite population/constant service rate


This worksheet comes with the book "Capacity Planning for Web Performance",
by D. A. Menascé and V. A. F. Almeida, Prentice Hall, 1998.

Average Think Time 2 sec


Service Rate 80 tps
Number of Clients 50
Average Number of Requests #MACRO?
Server Utilization #MACRO?
Server Throughput #MACRO? tps

Average Response Time #MACRO? sec

Page 8
PopFin-VarServ

Finite population/variable service rate


This worksheet comes with the book "Capacity Planning for Web Performance",
by D. A. Menascé and V. A. F. Almeida, Prentice Hall, 1998.

Average Think Time 2 sec


Saturation Point (J) 3 tps
Number of Clients 50
Average Number of Requests #MACRO?
Server Utilization #MACRO?
Server Throughput #MACRO? tps

Average Response Time #MACRO? sec

Throughput values until saturation


k 1 2 3
X(k) 18 35 50

Page 9
PopFin-VarServ

Page 10
Help

Help for SysMod.XLS

1. This workbook implements the formulas that solve system models


of C/S systems as discussed in Chapter 8 of the book.
2. The input parameters in each worksheet are entered in cells with
purple background.
3. All cells, except for the ones where you must enter values, are protected
to avoid unintended modifications.

Tips:
a. All input parameters should use compatible units (e.g., seconds for
service demands and tps for arrival rates). The results are given in
the units compatible with the input parameters.
b. Do not change the location of any of the cells. This may render your
workbook unusable or generate incorrect results.
c. Always work on a copy of the original workbook provided with the book.
You may open the original workbook and save it under
another name using the Save As option from the File menu.

Page 11