CN Solutiuons Midsem
CN Solutiuons Midsem
data in both directions, (b) Endpoints have enough data to transmit continuously and use the
maximum transmission rate they can achieve, (c) These are the only flows in network; not
limited by receiver or congestion window
a) what is the average transmission rate
for each flow (A, B, C,D)? (4 marks)
(b) Now assume that the flow B is replaced
by a UDP flow, where both endpoints are
still using the maximum
transmission rate they can achieve. What
is the average transmission rate for each
flow (A, B, C, D)? (5 marks)
● (3 marks) Slow start 🡺 there will be 4 transfer rounds – 1 MSS, 2 MSS, 4 MSS, 8 MSS
● (3 marks) 1 RTT for SYN and SYN-ACK
● (3 marks) 1 RTT for ACK(with obj request) and response until byte1 of obj
● (3 marks) S/R for receiving the 1st MSS
● 1 RTT for sending the response ack back and requesting next 2 MSS.
● (3 marks) when client receives 2nd MSS completely, it will send an ack to the server. This ack reaching the
server will take less time than the server uploading 3rd MSS (S/R>RTT)
● So server starts sending 3rd packet onwards continuously, until 15th MSS
● Suppose two hosts, A and B, are separated by 20,000 kilometers and are connected
by a direct link of R = 4 Mbps (for simplicity, consider 1Mbits = 1000K and 8
1Kbits=1000bits). Suppose the propagation speed over the link is 2.5 ×10
meters/sec.
(a) What is the propagation delay? (3 marks) 20k/2.5x108 = 0.08 sec
(b) Consider sending a file of 800,000 bits from Host A to Host B. Suppose the file is
sent continuously as one large message. What is the maximum number of bits that
will be in the link at any given time? (3 marks) transmission delay = .8 Mb/4Mbps =
0.2sec, prop delay = 0.08 sec. Num of bits = 4Mbpsx0.08 = 320000bits
(c) What information will you get if you take the product of bandwidth and
propagation delay? (3 marks) bit capacity of the link
(d) Assume that every bit spreads out uniformly in the channel, what is the width of
the bit in the channel over which it is traveling? (3 marks) 20000K/320000 = 62.5m