Queing Extra Questions
Queing Extra Questions
Question:
A call center with one operator has an incoming call rate of three calls per hour. On the
average, the operator spends 15 minutes for each call. Answer the following questions:
Question:
Traffic to a message switching center for one of the outgoing communication lines arrive in a
random pattern at an average rate of 240 messages per minute. The line has a transmission
rate of 800 characters per second. The message length distribution (including control
characters) is approximately exponential with an average length of 176 characters. Calculate
the following principal statistical measures of system performance, assuming that a very large
number of message buffers are provided:
E[s] = Average Message Length / Line Speed = {176 char/message} / {800 char/sec} = 0.22
sec/message
ρ = λ/μ = 0.88
a. L = ρ / (1 - ρ) = 7.33 (messages)
b. Lq = ρ2 / (1 - ρ) = 6.45 (messages)
A branch office of a large engineering firm has one on-line terminal that is connected to a
central computer system during the normal eight-hour working day. Engineers, who work
throughout the city, drive to the branch office to use the terminal to make routine calculations.
Statistics collected over a period of time indicate that the arrival pattern of people at the
branch office to use the terminal has a Poisson (random) distribution, with a mean of 10 people
coming to use the terminal each day. The distribution of time spent by an engineer at a
terminal is exponential, with a mean of 30 minutes. The branch office receives complains from
the staff about the terminal service. It is reported that individuals often wait over an hour to
use the terminal and it rarely takes less than an hour and a half in the office to complete a few
calculations. The manager is puzzled because the statistics show that the terminal is in use only
5 hours out of 8, on the average. This level of utilization would not seem to justify the
acquisition of another terminal. What insight can queuing theory provide?
λ = 10 person / day
= {10 person / day}×{1 day / 8hr}×{1hr / 60 min} = 10 person / 480 min = 1 person / 48 min
In summary:
Assume that you have a printer that can print an average file in two minutes. Every two and a
half minutes a user sends another file to the printer.
a. How long does it take before a user can get their output?
b. To speed things up you can buy another printer that is exactly the same as the one you
have. How long will it take for a user to get their files printed if you had two identical
printers?
c. Another solution is to replace the existing printer with one that can print a file in an
average of one minute. How long does it take for a user to get their output with the
faster printer?
Answer: (a) is M/M/1 model, (b) is M/M/2 model, and (c) is M/M/1 model
a. W = 1/ (μ - λ) = 1/0.1 = 10 (min)
b. W = Wq + (1/μ)
ρ = λ/(cμ) = 0.4/(2x0.5) = 0.4
1
c 1 ( / )n ( / )c 1
From M/M/c formula: P0
n 0 n! c! 1 ( /( c )
(0.4/0.5)1 (0.4/0.5)2 1 1 1
Thus: 𝑃0 = (1 + + × )−1 = = ≈ 0.43
1! 2! 1−(0.4/(2×0.5)) 1+0.8+0.64 ×
2 0.6
1
2.33
It is quite obvious that replacing the existing printer with a faster one will lead to shorter time
for a user to get their output.
Question:
The unisex barbershop can hold only three customers, one in service and two waiting.
Additional customers are turned away when the system is full. On the average, a customer
arrives at the barbershop for every half an hour and the barber usually spends 20 minutes to
provide service for one customer.
ρ = λ/μ = 2/3
1−𝜌 1−2⁄3 1/3
𝑃0 = = = = 0.415
1−𝜌𝐾+1 1−(2⁄3)3+1 1−16/81