Docsity

Homework 6 Problems for Computer Networks | EEC 173A, Assignments of Computer Systems Networking and Telecommunications

Toggle sidebar
bg1
UNIVERSITY OF CALIFORNIA, DAVIS
__________________________________________________________________________________
BERKELEY • DAVIS • IRVINE • LOS ANGELES • RIVERSIDE • SAN DIEGO • SAN FRANCISCO
__________________________________________________________________________________
________________________________
SANTA BARBARA • SANTA CRUZ
________________________________
EEC 189Q-Computer Networks Fall 2004
HW 6
1. (10%) Erlang Blocking.
A set of trunks has an offered load of 10 Erlangs. How many trunks are required to obtain a
blocking probability of 2%? Use the following recursive expression for the Erlang B blocking
probability:
1),0(
),1(
),1(
),(=
−+
−
=aBwhere
acaBc
acaB
acB
(a = offered load, c = number of trunks)
2. (10%) Calls arrive to a pool of 50 modems according to a Poisson Process. Calls have an
average duration of 25 minutes.
(a) What is the probability an arriving call finds all modems busy if the arrival rate is two
per minute?
(b) What is the maximum arrival rate that can be handled if the maximum acceptable
blocking probability is 1%? 10%?
3. (10%) Consider the following discrete time Bernoulli call arrival process. At each discrete
time instant (t=…. -1, 0, 1, 2, …), a call may arrive with an independent and Bernoulli
probability q. each call lasts for exactly b units of time, where b is a positive integer. The
arriving calls are offered to a trunk group with C trunks. Assume that all blocked calls are
cleared.
(a) (7%) Calculate the mean and the variance of the offered traffic. (Hint: Consider the
offered traffic as a superposition of independent random variables.)
(b) (3%) Calculate the burstiness of the offered traffic (variance divided by the mean) and
compare the result to that of a continuous-time Poisson call arrival process with the same
mean.
4. (20%) TCP Error/Flow/Congestion Control.
(a) (5%) A web page that contains 13 embedded objects is downloaded via HTTP 1.1.
Assume that the size of the main page and each embedded object is one TCP
segment. Suppose that a TCP connection starts out with congestion window of one
and congestion threshold of four, how many round trips will it take to download the
whole page and display it? (Ignore the time to transmit a TCP segment)
(b) (5%) Suppose the path from host A to host B is via routers R1 and R2: A-R1-R2-B.
Assume that A-R1 and R2-B links have infinite bandwidth but R1-R2 link has finite
bandwidth and finite buffer. A TCP connection is established between A and B. Does
a scenario exist in which R1-R2 link is not 100% utilized, even if A always has data
to send to B? Briefly describe your answer.
pf2

Partial preview of the text

Download Homework 6 Problems for Computer Networks | EEC 173A and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

UNIVERSITY OF CALIFORNIA, DAVIS


BERKELEY__________________________________________________________________________________ • DAVIS • IRVINE • LOS ANGELES • RIVERSIDE • SAN DIEGO • SAN FRANCISCO


SANTA BARBARA________________________________ • SANTA CRUZ

EEC 189Q-Computer Networks Fall 2004

HW 6

  1. (10%) Erlang Blocking. A set of trunks has an offered load of 10 Erlangs. How many trunks are required to obtain a blocking probability of 2%? Use the following recursive expression for the Erlang B blocking probability:

= where B a

c aBc a

aBc a

Bca

(a = offered load, c = number of trunks)

  1. (10%) Calls arrive to a pool of 50 modems according to a Poisson Process. Calls have an average duration of 25 minutes. (a) What is the probability an arriving call finds all modems busy if the arrival rate is two per minute?

(b) What is the maximum arrival rate that can be handled if the maximum acceptable blocking probability is 1%? 10%?

  1. (10%) Consider the following discrete time Bernoulli call arrival process. At each discrete time instant (t=…. -1, 0, 1, 2, …), a call may arrive with an independent and Bernoulli probability q. each call lasts for exactly b units of time, where b is a positive integer. The arriving calls are offered to a trunk group with C trunks. Assume that all blocked calls are cleared. (a) (7%) Calculate the mean and the variance of the offered traffic. (Hint: Consider the offered traffic as a superposition of independent random variables.)

(b) (3%) Calculate the burstiness of the offered traffic (variance divided by the mean) and compare the result to that of a continuous-time Poisson call arrival process with the same mean.

  1. (20%) TCP Error/Flow/Congestion Control. (a) (5%) A web page that contains 13 embedded objects is downloaded via HTTP 1.1. Assume that the size of the main page and each embedded object is one TCP segment. Suppose that a TCP connection starts out with congestion window of one and congestion threshold of four, how many round trips will it take to download the whole page and display it? (Ignore the time to transmit a TCP segment)

(b) (5%) Suppose the path from host A to host B is via routers R1 and R2: A-R1-R2-B. Assume that A-R1 and R2-B links have infinite bandwidth but R1-R2 link has finite bandwidth and finite buffer. A TCP connection is established between A and B. Does a scenario exist in which R1-R2 link is not 100% utilized, even if A always has data to send to B? Briefly describe your answer.

Chuah Fall 2003

(c) (6%) Imagine a receiver in a TCP session with fixed window size of 5000 bytes. Suppose the next expected byte sequence number is 13000. Assume that the segment size is 1000 bytes. Segments may get lost in the network, but otherwise they do not reach the receiver out of order. For each of the following numbers, specify whether it is possible for the receiver to receive a packet with that sequence number. If so, will the receiver discard or buffer the segment? What will be the corresponding number in the acknowledgment it sends? SEQ# Possible Discarded? ACK #

(d) (4%) TCP uses sliding window mechanism and hence its correct operation warrants that sender’s window size and sequence number space satisfy a certain relationship. (Reminder: TCP uses 32 bits for sequence number and 16 bits for window size) i. Show that TCP obeys this rule and thus works correctly.

ii. Suppose we want to reduce the number of bits used for sequence number field in the TCP header. How small can we make it while ensuring it works correctly?