retagged by
946 views
3 votes
3 votes
Two peer processes $A$ (sender) and $B$ (receiver) use stop-and-wait $ARQ$ to send packets over a single link with capacity $C$.  All packets have the same length of $100$ bits. The round-trip time (which is the time until $A$ receives an acknowledgment for a sent packet) is equal to $2$ seconds.

Assume that no packets or $ACK's$ are dropped and that all packets and $ACK's$ arrive error-free. Furthermore, assume that the capacity $C$ is equal to $100,000$ bits per second.

The average transmission rate (in bits per seconds) with which process $A$ sends data to process $B$ is ________.
retagged by

2 Answers

Best answer
6 votes
6 votes
Here transmission time = length of packet / bandwidth of channel

=100 bits /100000 bits/sec = 10^-3 sec

as given RTT =2 sec

as we know RTT = transmission time of packet + propagation delay of packet + processing delay+ quening delay + ack transmission delay + ack propagation delay = 2 sec

so in 2 sec only utilization is 10^-3 sec because of STOP and WAIT .

so efficiency = 10^-3 / 2
so effective bandwidth = 10^5 * 10^-3 /2 =100 /2

=50 bits / sec

correct me if i am wrong .
selected by
2 votes
2 votes

If you ever get confused regarding what is what, look at the units and verify.

capacity C is equal to 100,000 bits per second.

This is the Bandwidth.

transmission rate (in bits per seconds) ...

They're asking for Sender Throughput.

 

Throughput = efficiency * bandwidth.

 

Efficiency in Stop-And-Wait = $\frac{1}{1+2a}$

$a = \frac{T_p}{T_t}$

=> $\frac{1s}{100bits*seconds/100000bits}$ (Notice the units cancel each other perfectly. This indicates we're going right)

=> $a=1000$

 

So, $\frac{1}{1+2a}$

= $\frac{1}{2001}$

=> efficiency = $ 0.00049975012 $

 

Finally, Throughput = $ 0.00049975012 * 100000bps=49.975 bps$

edited by
Answer:

Related questions

3 votes
3 votes
2 answers
3