Docsity

Solutions for Homework 1: Network Analysis, Assignments of Computer Systems Networking and Telecommunications

Toggle sidebar
bg1
Solutions for Homework 1:
Problem 1.2
a) A circuit-switched network would be well suited to the application described, because
the application involves long sessions with predictable smooth bandwidth requirements.
Since the transmission rate is known and not busty, bandwidth can be reserved for each
application session circuit with no significant waste. In addition, we need not worry
greatly about the overhead cost of setting up and tearing down a circuit connection,
which are amortized over the lengthy duration of a typical application session.
b) Given such generous link capabilities, the network needs no congestion control
mechanism. In the worst (most potentially congested) case, all the application
simultaneously transmits over one or more particular network links. However, since each
link offers sufficient bandwidth to handle the sum of all the application’s data rates, no
congestion (very little queuing) will occur.
Problem 1.3
a) The time to transmit one packet onto a link is (L + H)/R. The time to deliver the first of
the M packets to the destination is Q (L + H)/R. Every (L + H)/R seconds a new packet
from the M – 1 remaining packets arrives at the destination. Thus the total latency is
t
s
+ (Q + M – 1)(L + H) / R
b) (Q + M – 1)(L + 2H) / R
c) The time required to transmit the message over one link is (LM + 2H)/R. The time
required to transmit the message over Q link is Q (LM + 2H)/R.
d) Because there is no store-and-forward delay at the links, the total delay is
t
s
+ (h + ML)/R
Problem 1.5
First assume that F/S is an integer. The delay is
(S + h) /R (F/S + 1) = 1/R (F + S + h + Fh/S)
where h = 40
If F/S is not an integer, then the delay is
(S + h) /R (F/S + 1) + [F + (F/S) S + h]/R = 1/R [F + S + 2h(F/S)]
In general, the delay is
1/R [F + h + S + h (F/S)]
which is approximately equal to
1/R [F + h + S + h (F/S)]
Taking the derivative of S + hF/S and setting to 0 gives
pf2

Partial preview of the text

Download Solutions for Homework 1: Network Analysis and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

Solutions for Homework 1:

Problem 1.

a) A circuit-switched network would be well suited to the application described, because the application involves long sessions with predictable smooth bandwidth requirements. Since the transmission rate is known and not busty, bandwidth can be reserved for each application session circuit with no significant waste. In addition, we need not worry greatly about the overhead cost of setting up and tearing down a circuit connection, which are amortized over the lengthy duration of a typical application session. b) Given such generous link capabilities, the network needs no congestion control mechanism. In the worst (most potentially congested) case, all the application simultaneously transmits over one or more particular network links. However, since each link offers sufficient bandwidth to handle the sum of all the application’s data rates, no congestion (very little queuing) will occur.

Problem 1.

a) The time to transmit one packet onto a link is (L + H)/R. The time to deliver the first of the M packets to the destination is Q (L + H)/R. Every (L + H)/R seconds a new packet from the M – 1 remaining packets arrives at the destination. Thus the total latency is t (^) s + (Q + M – 1)(L + H) / R b) (Q + M – 1)(L + 2H) / R c) The time required to transmit the message over one link is (LM + 2H)/R. The time required to transmit the message over Q link is Q (LM + 2H)/R. d) Because there is no store-and-forward delay at the links, the total delay is t (^) s + (h + ML)/R

Problem 1.

First assume that F/S is an integer. The delay is (S + h) /R (F/S + 1) = 1/R (F + S + h + Fh/S) where h = 40 If F/S is not an integer, then the delay is (S + h) /R (F/S + 1) + [F + (F/S) S + h]/R = 1/R [F + S + 2h(F/S)] In general, the delay is 1/R [F + h + S + h (F/S)] which is approximately equal to 1/R [F + h + S + h (F/S)] Taking the derivative of S + hF/S and setting to 0 gives

Smin = Fh

Problem 1.

a) 10 users can be supported because each user requires one tenth of the bandwidth. b) P = 0.

c) ^ 

40 n p n^ (1 - p) n

d) 1 - 

 9 n 0

 40 n  p n^ (1 - p) n

We use the central limit theorem to approximate this probability. Let X (^) J be independent random variable such that P (X (^) J = 1) = p.

P (“10 or more users”) = 1 – P ( 

 40 j 0

X J <=10)

P ( 

 40 j 1

X J <=10) = P [( 

 9 j 1

X J - 4)/ 40 * 0. 1 * 0. 9 <= 6/ 40 * 0. 1 * 0. 9 ]

 P (Z <= 6/ 3. 6 )

= P (Z <= 3.16)

When Z is a standard normal r.v. Thus P (“10 or more users”)  0.001.