Question

In: Computer Science

Host A wants to send 15 frames to Host B using Selective repeat protocol. How many...

Host A wants to send 15 frames to Host B using Selective repeat protocol. How many numbers of frames are transmitted by Host A if every 8th packet is lost or corrupted?

  • Also compare the number of number of transmissions of Selective Repeat with Go Back 3.

Solutions

Expert Solution

For selective repeat:-

Lets assume sequence number for 15 frames are:-

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14

But every 8th packet will have to be retransmitted because either it gets lost or corrupted. Now,

0, 1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10, 11, 12, 13, 14, 14

Start count from 1 and count up to 8 for every sequence number increase count by 1. First 8th packet will be sequence number 7 which gets lost, so retransmit it. Again start count from 1 and count up to 8, this time sequence number 14th will be the 8th packet which will get lost, so retransmit it. Total number of retransmission will be,

n = 15 + 2 (retransmissions)

n = 17.

For Go Back 3:-

Lets assume sequence number for 15 frames are:-

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14

In Go Back 3 protocol, we transmit packets in group size of 3,

First it will send sequence number 0 1 2, which will get accepted.

when it will recieve 0's ack, it will send 3 and when it will recieve 1's ack it will send 4 like wise it will send 7 packets upto sequence number 6 which will get acks, but when it will send 8th packet of sequence number 7, it gets lost and at this moment of time sender side window will be pointing to the packets of sequence numbers 7, 8, 9. So it will retransmit 7, 8, 9, total transmission up to this momet will be 10+3 = 13, where 10 are first 10 (from seq number 0-9) transmission and 3 are retrasnmission (from seq number 7-9) after lost of packet of sequence number 7, Now from here next 8th packet will be the packet with sequence number 14 which will get lost, for that it will do one more retransmission now total transmissions are,

n = 13 + 5 + 1

n = 19.


Related Solutions

Suppose Host A wants to send a large file to Host B. The path from Host...
Suppose Host A wants to send a large file to Host B. The path from Host A to Host B has three links, of rates R1 = 200 kbps, R2 = 2 Mbps, and R3 = 1 Mbps. Assuming no other traffic in the network, what is the average throughput for the file transfer? Suppose the file is 4 million bytes, on average, how long will it take to transfer the file to Host B? Repeat (a) and (b), but...
How long does it take to send a 15 MiB file from Host A to Host...
How long does it take to send a 15 MiB file from Host A to Host B over a circuit-switched network, assuming: - Total link transmission rate = 49.7 Gbps. - Network is FDM, with 7 permitted users, each with an equal bandwidth share. - A link connection requires a setup time of 84.5 ms. Your answer should be in miliseconds (ms) with one decimal place, and without the unit (e.g. "140.6" without the quotes)
The Baldwin company wants to decrease its plant utilization for Brat by 15%. How many units...
The Baldwin company wants to decrease its plant utilization for Brat by 15%. How many units would need to be produced next year to meet this production goal? Ignore impact of accounts payable on plant utilization. Select: 1 1,202 1,952 1,683 1,414 Brat growth rate 11%% units sold 1,926 inventory 351 capacity next round 1,794 plant utilization 127%
Alice wants to send a plaintext message m = 10 to Bob secretly using RSA public...
Alice wants to send a plaintext message m = 10 to Bob secretly using RSA public key cryptosystem. Bob selects p = 7, and q = 13 with e = 5. You have to perform following tasks: a. Compute and list Bob’s public and private keys. b. Compute the ciphertext that Alice will send to Bob using plaintext message m = 10. c. Recover the actual plaintext from the ciphertext sent by Alice
In UART protocol, how many bits are NECESSARILY added into a data package for the interfacing...
In UART protocol, how many bits are NECESSARILY added into a data package for the interfacing to be successful? What is the function of those bits?
How and where do many DNA viruses such as SV40 replicate in the host cell?
How and where do many DNA viruses such as SV40 replicate in the host cell?
A local gift shop is trying to determine how many photos frames to order. The shop...
A local gift shop is trying to determine how many photos frames to order. The shop feels it will sell approximately 800 photos frames in the next year at a unit price of R18.00.The wholesale price that the store pays per photo frame is R12.00. The cost of carrying one photo frame is estimated at R1.60 per year, while ordering costs are estimated at 825.00 per batch ordered. REQUIRED (a) Explain the meaning of economic order quantity (EOQ) and reorder...
Many antibiotics work via selective toxicity. Explain how each of the following antibiotics is toxic to...
Many antibiotics work via selective toxicity. Explain how each of the following antibiotics is toxic to bacterial pathogens, but not* human cells. A) β-lactam drugs (such as penicillin, ampicillin, etc.) B) Sulfa drugs C) Tetracyclines
Explain What Multi-protocol label Switching and how it works using diagram?
Explain What Multi-protocol label Switching and how it works using diagram?
    5. A patient is receiving 15 mL/hour using a 20 drop set. How many drops...
    5. A patient is receiving 15 mL/hour using a 20 drop set. How many drops per minute will be administered?     6. A medication is set to flow at 35 mL/hour using a mini-drip set. How many drops per            minute will be administered?     7. An order for 500 mg of a drug mixed in a 100 mL bag is set to flow over 30 minutes. Using a 30 drop set, how many drops per minute will be...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT