3 - Performance Bounds
3 - Performance Bounds
Performance Bounds
Danilo Ardagna
Existing
system Parameterize the Model
Performance
Model
System Design
Create the
Queuing Network
Performance indices
3
Performance bounds
• The resource within a system which has the greatest service demand
is known as the bottleneck resource or bottleneck device, and its
service demand is maxk {Dk}, denoted Dmax maximum service demand
• This will be the resource which has the highest utilisation in the
system
6
Bounding Analysis
• Advantages of bounding analysis:
• Highlight and quantify the critical influence of the system
bottleneck
• Can be computed quickly, even by hand
The considered models and the bounding analysis make use of the
following parameters:
§ K, the number of service centers
§ D, the sum of the service demands at the centers, so
D=Sk Dk
§ Dmax, the largest service demand at any single center
§ Z, the average think time, for interactive systems
X bound = the maximum arrival rate that the system can process
Open models:
2 extreme situations:
Open models:
• If n customers arrives together every n/l time units (the system
arrival rate is n /(n/ l)= l) there is no pessimistic bound on R
• Customers at the end of the batch are forced to queue for customers
at the front of the batch, and thus experience large response times
see paper
12
Bounding Analysis - Asymptotic bounds
Open models:
• If n customers arrives together every n/l time units (the system
arrival rate is n /(n/ l)= l) there is no pessimistic bound on R
• Customers at the end of the batch are forced to queue for customers
at the front of the batch, and thus experience large response times
• As the batch size n increases, more and more customers are waiting
an increasingly long time
X
= lambda sat
15
Bounding Analysis - Asymptotic bounds
Closed models:
X bounds considered first, then converted in R bounds using Little’s Law
1 customer case:
N = X (R + Z) z think time
if 1 user
1 = X (D + Z)
Then X is:
X = 1 / (D + Z)
16
Bounding Analysis - Asymptotic bounds
Closed models:
Adding customers:
Smallest X obtained with largest R,
i.e., new jobs queue behind others
already in the system
17
Bounding Analysis - Asymptotic bounds
Closed models:
Adding customers:
Smallest X obtained with largest R,
i.e., new jobs queue behind others
already in the system
Lim N / ( ND + Z) = 1 / D
Nà¥
Closed models:
Adding customers:
Largest X obtained with the lowest
response time R
20
Asymptotic Bounds – Closed Models
The lowest response time can be obtained if a job always finds the
queue empty and always starts being served immediately
21
Bounding Analysis - Asymptotic bounds
Closed models:
Adding customers:
Largest X if new jobs never
queue behind other already in
the system:
X = N / (D + Z)
22
Closed models:
Closed models:
X(N) bounds:
N*:
Particular population size
determining if the light or the heavy
load optimistic bound is to be
applied
24
Bounding Analysis - Asymptotic bounds.
R(N) bounds:
Open Models
Closed Models
27
Example
Terminals
Parameters:
2
D1 = 2.0, D2 = 0.5, D3 = 3.0
1 Disk1
CPU
V2 = 10, V3 = 100
3
Disk3 S2 = 0.05, S3 = 0.03
Z = 15s
disk 3 is faster than disk 2
BUT
disk 3 becomes the bottleneck because of the large number of
visits.
V3 > > V2
28
Example (original system)
D max D = D tot
=3 = 2 + 0.5 + 3 = 5.5
2. Shift some files from the faster disk (server 3) to the slower
disk (server 2), balancing their demands
with a faster CPU we have that the service time of the cpu becomes half of the before.
but there is still the same bottleneck
so nothing changes!!!
Max (4.5, 3*N-15) <=R(N) X(N) <=min(N/(4.5+15), 1/3)
31
Example: alternative 1
Shift some files from the faster disk (server 3) to the slower disk (server 2),
balancing their demands, so having D2=D3. Since Dk=VkSk, we can solve the
following system:
Shift some files from the faster disk (server 3) to the slower disk (server 2),
balancing their demands, so having D2=D3. Since Dk=VkSk, we can solve the
following system:
V2 + V3 must remain costant (110)
V2+V3 = 110 the total number of visits remain unchanged
V2S2 = V3S3 balancing the service demands D2=D3
We obtain: V2=41, V3=69 and D2=D3=2.06 less demand on D3 (it was 3 sec). Performance
improved.
If Dmax decreases
lambda max
which must be
less than 1/Dmax
increases!!.
Shift some files from the faster disk (server 3) to the slower disk (server 2),
balancing their demands, so having D2=D3. Since Dk=VkSk, we can solve the
following system:
Shift some files from the faster disk (server 3) to the slower disk (server 2),
balancing their demands, so having D2=D3. Since Dk=VkSk, we can solve the
following system:
Add a second fast disk (center 4, S4=0.03) to handle half the load of the busier
existing disk (server 3). So we will have K=4 service centers, with
D1=2, D2=0.5, D3 =D4 =1.5 we split the service demand between D3 and D4 -> 3sec/2 for
each
Add a second fast disk (center 4, S4=0.03) to handle half the load of the busier
existing disk (server 3). So we will have K=4 service centers, with
D1=2, D2=0.5, D3 =D4 =1.5
Here we have: a faster CPU (D1=1) and a balanced load across two fast disks
and one slow disk. Similarly to alternative 2, we have:
Here we have: a faster CPU (D1=1) and a balanced load across two fast disks
and one slow disk. Similarly to alternative 2, we have:
balance between 2 3 4.
V2+V3+V4 = 110 the total number of visits remain unchanged
V2S2 = V3S3. balancing the service demands
V3S3 = V4S4
gooder
gooder