



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




(NFQ Level 8)
Answer any four questions for full marks Examiners: Dr. A. Kinsella Dr. J. Buckley Dr Dirk Pesch Dr Susan Rea Q1.
(a) Consider a LAN with a large number of PCs each running a database client application and a single database server. The server receives 24 database queries per minute during normal operation according to a Poisson process. The database requires 0.8 seconds on average to process a query. The processing time is exponentially distributed. Assume that access and transmission delays on the LAN are negligible. (i) Calculate the total time each user has to wait until she receives a reply to her query using a suitable queuing model. (ii) By what percentage does the average query processing time need to be decreased in order to maintain the delay calculated in part i) of the question when queries are received at a rate of 44 per minute? [10 marks]
(b) A transmission system, comprising of a single transmission line and a multiplexer, is shared among 8 computer systems. Data packets of a fixed size of 256bytes are generated by each computer systems according to a Poisson process with rate λ = 0.75/sec. The multiplexer aggregates the packet streams coming from the computer systems and transmits data at 6 different data rates; rate R 1 = 4.8kbit/s is available 10% of the time, rate R 2 = 9.6kbit/s, 20% of the time, rate R 3 = 19.2kbit/s, 25% of the time, rate R 4 = 28.8kbit/s, 25% of the time, rate R 5 = 56kbit/s, 10% of the time, and rate R 6 = 64kbit/s is available 10% of the time. (i) Calculate the throughput of the system. (ii) Calculate the average delay data packets experience in the multiplexer before transmission. (iii) What single data rate would be required for the output line of the multiplexer if the packet size was exponentially distributed with mean size of 256bytes and the arrival rate/process was as before? [15 marks]
(a) A small Private Automatic Branch Exchange (PABX) telephone system provides 20 internal telephone connections and has 4 external lines. Call generation rate per internal telephone connection is 2 per hour with 25% of all telephone calls having outside destinations. The average call holding time is 150 seconds.
(i) Calculate the external call blocking probability for the PABX. (ii) How many external lines (rounded to the nearest integer) would be required to maintain an external call blocking probability of less than 2%. [15 marks]
(b) The input to a router is a data packet stream modelled by a Poisson process with arrival rate λ = 100 packets/sec. The length of the data packets is exponentially distributed with mean L = 512bytes. (i) Assume that the router has m = 5 output lines of data rate R = 96kbit/s, which transmit packets from the head of the queue. Calculate the probability that arriving packets have to queue before transmission. (ii) Assume that the 5 output lines are aggregated into a single output line of data rate R = 480kb/s. Calculate the probability that an arriving packet has to queue for this case. [10 marks] [Total: 25 marks] Q3.
(a) The queuing network shown in Figure 1 is given. Calculate the average queue length and average queuing delay for each of the four queues. The parameter values shown are as follows: r 1 = 2/sec, all other r (^) i = 0. μ 1 = 2.5/sec, μ 2 = 3.5/sec, μ 3 = 3/sec, μ 4 = 1.5/sec p 12 = 1.0, p 23 = 0.4, p 32 = 0.5, p 34 = 0.5, p 43 = 1.0, all other pij = 0.
μ 1 μ (^2)
μ 3 μ (^4)
r 1 p^12
p 34
p^32 p (^43)
p 23
Figure 1. Queuing Network
(a) Briefly describe the steps required to build a credible computer simulation model.
[10 marks]
(b) Briefly describe the structure of a stochastic discrete-event computer simulation program for an M/M/1 queuing system. You may use the functionality of a particular simulation system or programming language to help you in your description. [15 marks]
You might find the following formulae useful in answering questions 1, 2, and 3.
M/M/m/∞ Queuing system:
A P and
A m P
ρ −
(^0) m! 1 P p m m Q , where
1 (^0 0)!! 1
m i
i m m
m i
p m
m
Pollazcek-Khinchine formula for an M/G/1 queuing system:
2 and (^) T = X + W , X is service time random variable
k 0 k^ k
k 0
=
= , for discrete probability distributions
∞
−∞
∞
−∞
X 2 = x^2 p(x)dx; for continuous probability distributions
= (^) m
k
k
m
k
s
m
s Ems
0
k s k
s k
s −
Jackson’s Theorem:
K
i
1
=
λ λ
j
j j μ
λ ρ =
The solutions to the quadratic equation ax^2 + bx + c = 0 are a
x b b ac 2
1 , 2