780 views
5 votes
5 votes

A sender uses the stop and wait ARQ protocol for reliable transmission of frames. Frames are of size 100 bytes and the transmission rate at the sender is 20 Kbps. Size of an acknowledgement is 10 bytes and the transmission rate at the receiver is 8 Kbps. The one way propagation delay is 10 msec.

 

Assuming no frame is lost, the sender throughput is ________ bytes/sec.

 

 

Solution: Given Answer is 1425. 

However, I use following approach and my answer is incorrect, Can you please tell me whats I am doing wrong.

Throughput → Useful data sent in 1sec.

Useful data → 100B

Total time taken = Transmission time (sender) + Propagation delay (sender to receiver) + Transmission time (receiver for ack) + propagation delay(receiver to sender)

Transmission Time(Sender) = $\frac{100X8}{20X10^{3}}$ = 40msec
Propagation Delay(Sender to Receiver) = 10ms

Transmission Time(Reciver for ack) =  $\frac{10X8}{8X10^{3}}$ = 10ms

Propagation Delay( Receiver to Sender) = 10ms

 

So total 70msec took to transfer 100Bytes of data meaning

1msec →  $\frac{100}{70}$ Bytes of data

hence 1sec → $\frac{10}{7}X1000$ = 1428.57

 

 

2 Answers

3 votes
3 votes

 

Unacademy provided the wrong answer as per me. Your answer is right.

0 votes
0 votes

Length of frame = 100 bytes

Bandwidth (sender) = 20 Kbps = 20*1000 bits per second = 2500 bytes per second

Length of acknowledgement = 10 bytes

Bandwidth (receiver) = 8 Kbps = 8*1000 bits per second = 1000 bytes per second

Transmission time (sender), Td (frame) = 100/2500 = 0.04 sec

Transmission time (receiver), Td (ack) = 10/1000 = 0.01 sec

Propagation time, Pd = 10 msec = 0.01sec

Efficiency,ŋ = Useful time / total time

                     = Td (frame) / (Td (frame) + Td (ack) + 2Pd)

                    = 0.04/ (0.04+0.02+0.01) = 0.5714 ≈ 0.57

Throughput = Efficiency * Bandwidth (sender) = 0.57 *2500 = 1425 bytes/sec

Related questions

1.7k
views
1 answers
2 votes
Rohit Gupta 8 asked Jan 31, 2018
1,671 views
Consider Host-A want to transmit data of size 105000 B to Host-B. The communication between Host-A and Host-B is birectional with bandwidth of link between ... stop wait protocol with pipelining is used ________. (in KBps)Ans: 144.06 KBps
888
views
2 answers
1 votes
Nisha Bharti asked Sep 21, 2022
888 views
In a stop and wait ARQ, Bandwidth Delay product is 20,000 bits. Given the frame size is 1000 bits. What is the percentage of utilization of link if we have a protocol that can send 15 frames without waiting for acknowledgement?
1.0k
views
2 answers
0 votes
Gurdeep Saini asked Nov 9, 2018
1,034 views
The bandwidth of a given medium for transferring the data is 100 Mbps. The user starts with pure aloha for transmission after half of the data is ... lossB100% loss100% gainD200% gain i am getting 100% tell me what u are getting
773
views
1 answers
0 votes
Shivam Chauhan asked Sep 26, 2016
773 views
Q. When calculating channel efficiency, they have not mentioned propagation delay (i.e. the delay it takes for last bit to cross the link in successful ... of the last bit in calculating efficiency and throughput ?@vijaycs sir Please help