787 views
0 votes
0 votes
Suppose host A is sending a large file to host B over a TCP connection. The two end hosts are 10msec apart connected by a 1Gbps link. Assume that they are using a packet size of 1000 bytes to transmit the file. Also assume for simplicity that ACK packets are extremely small and can be ignored. At least how big (in packets) would the window size have to be for the channel utilization to be greater than 80%? __________

2 Answers

3 votes
3 votes

Propogation Delay (TProp) = 10 * 10-3 seconds

Bandwidth (R) = 109 bps

packet size (L) = 1000 * 8 = 8000 bits

Transmit Time (TTrans) = $\frac{L}{R}$ =  $\frac{8000}{10^9}$ = 0.008 * 10-3 seconds

$Utilization = \frac{T_{Trans} * L}{T_{Trans} + 2 * T_{Prop}}$

$0.8 < \frac{0.008 * 10^{^{-3}} * L}{ 0.008 * 10^{-3} + 20 * 10^{-3}}$

$L > \frac{20.008 * 0.8}{0.008} = 2000.8$ Packets

So L should be 2001 Packets.

No related questions found