edited by
1,767 views

2 Answers

Best answer
1 votes
1 votes

$\begin{align*} 10^6 bits &\leftrightarrow 1sec\\ 100 bits &\leftrightarrow \frac{100}{10^6} = 0.1ms \end{align*}$

0.1ms is the transmission time

$$\begin{align*} \eta &= \frac{TT}{TT+2PT}\\ &=\frac{0.1ms}{0.1ms+2\times 1sec}\\ &=\frac{0.1ms}{0.1ms+2\times 1000ms}\\ &= 4.99975\times 10^{-5} \end{align*}$$

answer for Q.9 = $\eta$ and if that's the efficiency then the actual bandwidth that was utilized is $\eta \times C$

Hence, answer = option B

selected by
4 votes
4 votes

In Stop and Wait we can transmit only one packet in 1 RTT.

As the name suggests, after sending 1 packet, Stop & Wait protocol stops & waits until the ACK is received or a time out occurs.

So we can transmit 1 packet or 100 bits in 1 RTT.

That is transmission rate is 100 bits per RTT, or 100 bits per 2 second. 

So Transmission rate = 50 bps.


Now link utilization = Current transmission rate / rate at which we could have transmit the data using the full capacity of the link (or channel)

so link utilization = 50 bps / 100,000 bps = 0.0005

We can see here Stop & Wait can be astoundingly inefficient, hence we need sliding window protocols.

Choosing appropriate windows size in sliding window protocol leads to quite higher link utilizations.

Related questions

2 votes
2 votes
1 answer
1