Assignment 2
Assignment 2
2. One packet will arrive at a router with probability a = 0.4 per time step. The
probability of the packet (currently in the server) being served and leaving
the router per time step is c = 0.5. What is the appropriate buffer size (B)
such that the packet loss ratio (L) is less than 1%.
3. At the Markov Coffee Shop, there is only one cashier. Due to the limited
space, she allows at most 3 customers to line before her at any time. In
other words, if a customer finds there are 3 customers there (including the
one currently being served by the cashier), the new arriving customer will
leave the Shop immediately (be blocked).
Every minute, the following may occur:
1
(a) This problem can be modeled as an M/M/1/B system. Define appro-
priate states, find the state transition probabilities, and draw the state
transition graph.
(b) After the Coffee Shop has been open for a long time (in steady state),
what is the probability that the cashier is idle, i.e., no customer in the
Shop.
(c) In steady state, calculate on the average how many customers are in
the Shop.
(d) In steady state, what is the probability that a customer is blocked. (L).