Lesson 4 of 4 · Upgrade comparisons and work readiness
Test the improvement the workload needs
18 minute lesson · 3 checks along the way
Your goal for this lessonCompare link-rate and window changes under the same workload, then identify dependencies and measurements that limit the conclusion.
In this lesson 3 sections · 3 checks
Read & understand
Compare upgrades under the same workload
Return to the three-slot sender and ten independent 1,000-byte packets. Its baseline all-acknowledged time is 2.4 seconds. Option A increases the window to six and keeps the link rate unchanged, producing 1.5 seconds. Option B keeps three slots and doubles the rate to 160,000 bits per second. Serialization falls to 0.05 second, but the declared post-transmission feedback delay stays at 0.5.
For option B, starts are 0, 0.05, 0.10, 0.55, 0.60, 0.65, 1.10, 1.15, 1.20 and 1.65 seconds. The last packet finishes at 1.70 and is acknowledged at 2.20. Doubling the rate has not halved batch completion time. Under these assumptions, window expansion provides the larger reduction. That is a timing comparison for one workload, not a purchasing recommendation or a claim about bank costs.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Find the window that keeps the serializer busy
To avoid a gap after the first W packets, their total serialization time W times tau must reach the first acknowledgment at tau + d. The smallest sufficient integer window is therefore the ceiling of (tau + d)/tau. At the original rate this is 0.6/0.1 = 6 slots. At double the rate it is 0.55/0.05 = 11 slots. A faster serializer may need more outstanding data to remain continuously busy.
For a sustained stream in this model, the payload rate is the smaller of R and W times L divided by (tau + d), where R is payload link rate and L is packet length in bits. The first limit is the serializer; the second is feedback and outstanding-data capacity. This formula describes the model’s steady behavior. It does not replace the event timeline for a finite batch or account for the adaptive rules of a real transport protocol.
Compare the same ten-packet batch
Original fictional model. Bar lengths share one scale and measure first start to final ACK. All packets are independent and ready at zero; loss, headers and competing flows are excluded.
Open full-size diagram in a new tab: Compare the same ten-packet batchRead diagram data as a table
| Configuration | Serialization (seconds) | Final ACK (seconds) |
|---|---|---|
| 80,000 bit/s; W=3 | 0.1 | 2.4 |
| 80,000 bit/s; W=6 | 0.1 | 1.5 |
| 160,000 bit/s; W=3 | 0.05 | 2.2 |
Original fictional model. Bar lengths share one scale and measure first start to final ACK. All packets are independent and ready at zero; loss, headers and competing flows are excluded.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Check readiness and application dependencies
The comparison assumed every packet was ready at time zero and independent of earlier results. If the application cannot form its next operation until a previous result arrives, extra transport slots cannot manufacture that missing information. A valid experiment must distinguish ready work waiting for a slot from work that does not yet exist. Otherwise the predicted window improvement may be unattainable.
Before applying the idea to an observed service, define the completion event and collect packet lengths, sending times, acknowledgment times and application readiness times. Check for losses, overhead, changing rates and competing traffic that our calculation excluded. Preserve the difference between receipt and application completion when reporting the result. A useful conclusion states which limit the evidence supports and which behavior still needs measurement.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.