Question

In: Statistics and Probability

Packets arrive at an infinite buffer at a Poisson rate of 100 packets/sec, and are transmitted...

Packets arrive at an infinite buffer at a Poisson rate of 100 packets/sec, and are transmitted over a link of rate 1 Mbps in an FCFS manner. An arriving packet is a 100-bit packet with probability 0.2, a 1000-bit packet with probability 0.5, and a 10000-bit packet with probability 0.3 . Find (a) the average waiting time for a packet, and (b) the average number of packets in the buffer, in steady state.

Solutions

Expert Solution

Solution

Assuming that the transmission over link follows an exponential distribution, the given problem is a direct application of M/M/1 Queue Sysstem.

Back-up Theory

An M/M/1 queue system is characterized by arrivals following Poisson pattern with average rate λ, [this is also the same as exponential arrival with average inter-arrival time = 1/ λ] service time following Exponential Distribution with average service time of (1/µ) [this is also the same as Poisson service with average service rate = µ] and single service channel.

Let n = number of customers in the system and m = number of customers in the queue.

[Trivially, n = m + number of customers under service.]

Let (λ/µ) = ρ

The steady-state probability of n customers in the system is given by Pn = ρn(1 - ρ) …………(1)

The steady-state probability of no customers in the system is given by P0 = (1 - ρ) …….……(2)

Average queue length = E(m) = (λ2)/{µ(µ - λ)} ........…………………………………………..…..(3)

Average number of customers in the system = E(n) = (λ)/(µ - λ).....……………………………..(4)

Average waiting time = E(w) = (λ)/{µ(µ - λ)} …………………………...........……………………..(5)

Average time spent in the system = E(v) = {1/(µ - λ)}………………………........………………..(6)

Now to work out the solution,

An arriving packet is a 100-bit packet with probability 0.2, a 1000-bit packet with probability 0.5, and

a 10000-bit packet with probability 0.3 =>

average packet size = (100 x 0.2) + (1000 x 0.5) +(10000 x 0.3) = 3520.

This, in conjunction with, ‘Packets arrive at a Poisson rate of 100 packets/sec’ =>

average arrival rate in terms of bits = 3520 x 100 = 0.352 x 106 per sec.

transmitted over a link of rate 1 Mbps’ => service rate is 106 per sec.

Thus, given data in the above terminology would be: λ = 0.352 x 106 per second and µ = 106 per second …….........................................................................................................….. (7)

Part (a)

Average waiting time for a packet = E(w) = (λ)/{µ(µ - λ)} [vide (5) above]

= (0.352 x 106)/{106 x (0.648 x 106)}

= 0.543 x 10-6 sec. ANSWER

Part (b)

Average number of packets in the buffer = E(n) = (λ)/(µ - λ) [vide (4) above]

= (0.352 x 106)/(0.648 x 106)

= 0.543 ANSWER


Related Solutions

Suppose that people arrive at a bus stop in accordance with a Poisson process with rate...
Suppose that people arrive at a bus stop in accordance with a Poisson process with rate λ. The bus departs at time t. 1. Suppose everyone arrives will wait until the bus comes, i.e., everyone arrives during [0, t] will get on the bus. What is the probability that the bus departs with n people aboard? 2. Let X be the total amount of waiting time of all those who get on the bus at time t. Find E[X]. (Hint:...
People arrive at a party according to a Poisson process of rate 30 per hour and...
People arrive at a party according to a Poisson process of rate 30 per hour and remain for an independent exponential time of mean 2 hours. Let X(t) be the number of people at the party at time t (in hours) after it started. Compute E[X(t)] and determine how long it takes to have on average more than 40 people at the party.
Emails arrive in an inbox according to a Poisson process with rate λ (so the number...
Emails arrive in an inbox according to a Poisson process with rate λ (so the number of emails in a time interval of length t is distributed as Pois(λt), and the numbers of emails arriving in disjoint time intervals are independent). Let X, Y, Z be the numbers of emails that arrive from 9 am to noon, noon to 6 pm, and 6 pm to midnight (respectively) on a certain day. (a) Find the joint PMF of X, Y, Z....
Small aircraft arrive at a private airport according to a given Poisson process at a rate...
Small aircraft arrive at a private airport according to a given Poisson process at a rate of 6 per hour. What is the probability that exactly 5 small aircraft arrive in the first hour (after opening) and exactly 7 arrive in the hour after that? What is the probability that fewer than 5 small aircraft arrive in the first hour and at least 10 arrive in the hour after that? What is the probability that exactly 5 small aircraft arrive...
telephone calls arrive at an exchange have a poisson distribution at an average rate of one...
telephone calls arrive at an exchange have a poisson distribution at an average rate of one every second. Find the probabilities of the following; a. no calls arriving in a given five-second period b. between four and six calls arriving in the five-second period c. there is atleast one call d. there is at most one call
Cars get parked in a lot (with infinite capacity) according to a λ-rate Poisson process, and...
Cars get parked in a lot (with infinite capacity) according to a λ-rate Poisson process, and indepen- dently stay parked for a random duration. The parking time duration of a car follows a common distribution X, with cdf F(x) = P(X ≤ x). Let N(t) be the number of cars parked at time t. 1a. What is the distribution of N(t)? 1b. Assuming a car arrival rate of 1 per minute, and X (in min) ∼ Gamma(3, 1) (as defined...
restaurant has 5 tables available. People arrive at times of a Poisson process with rate of...
restaurant has 5 tables available. People arrive at times of a Poisson process with rate of 6 per hour. The amount of time for a person to eat has an exponential distribution with a mean of 30 minutes. People who arrive when all 5 tables are full turn around and leave without eating at the restaurant. In the long run, what fraction of time is the restaurant full?
(20 pts) Inquiries arrive at an information center according to a Poisson process of rate 2...
(20 pts) Inquiries arrive at an information center according to a Poisson process of rate 2 inquiries per second. It takes a server an exponential amount of time with mean ½ second to answer each query. (a) (5 pts) If there are two servers. What is the probability that an arriving customer must wait to be served? (b) (5 pts) Find the mean number of customers in the system and the mean time spent in the system. (c) (10 pts)...
Suppose small aircraft arrive at a certain airport according to a Poisson process with rate α...
Suppose small aircraft arrive at a certain airport according to a Poisson process with rate α = 8 per hour, so that the number of arrivals during a time period of t hours is a Poisson rv with parameter μ = 8t. What is the probability that at least 7 small aircraft arrive during a 1-hour period? What is the probability that at least 11 small aircraft arrive during a 1-hour period? What is the probability that at least 23...
Customers arrive at a service facility according to a Poisson process of rate 5 /hour Let...
Customers arrive at a service facility according to a Poisson process of rate 5 /hour Let N(t) be the number of customers that have arrived up to time t hours). a. What is the probability that there is at least 2 customer walked in 30 mins? b.If there was no customer in the first30 minutes, what is the probability that you have to wait in total of more than 1 hours for the 1 st customer to show up? c.For...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT