Masked Man
Masked Man

Reputation: 11075

Maximum throughput for a sliding window data transmission

I am trying to understand how to calculate the throughput for a sliding window data transmission, by solving some numerical examples. Below is the example followed by my analysis.

Example

Host A is sending data to Host B over a full duplex link. A and B are using sliding window protocol, with send and receive window sizes of 5 each. Data packets sent only from A to B, are 1000 bytes each in size, and transmission time for one such packet is 50 us. Propagation delay is 200 us. Assume Ack packets need negligible transmission time. What is the maximum achievable throughput in Mbps?
A. 7.69 B. 11.11 C. 12.33 D. 15.00

Analysis

However, this is not one of the given options, not even close! Is there any mistake in my analysis above?

Upvotes: 3

Views: 6979

Answers (2)

user1315769
user1315769

Reputation: 1

Throughput = Window /RTT

Here Window size = 5*1000 bytes = 5000 bytes.

RTT = 50us + 2*200 us=> 450us.

Therefore Throughput= 5000 bytes/450 us = 11.11Mpbs

Upvotes: 0

KillianDS
KillianDS

Reputation: 17196

As I stated in my comment, your analysis and calculation method is correct. However, I'd check my calculator if I were you because 40000 bits / 450 us = 88.88...Mbps, not 84.7710 Mbps.

I do not think it is mere coincidence that 88.88 is just 11.11*8, so it's a fair assumption that the question was actually asking to get megabytes per second instead of megabits per second.

Upvotes: 1

Related Questions