Four bursty users — A, B, C, D — share a link that supports 2 circuits. Each is active only 20% of the time. Under circuit switching, A and B each get assigned a circuit for the full 30 seconds.
The grid shows when each user has data (an X), one column per second.
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A | ||||||||||||||||||||||||||||||
| B | ||||||||||||||||||||||||||||||
| C | ||||||||||||||||||||||||||||||
| D |
In second 5, D has data and A is silent. Can D use A's idle circuit? Over these 30 seconds, what happens to C and D's traffic?
If the same link is packet-switched instead, nobody reserves anything and all four users transmit whenever they have data.
In which seconds does demand exceed the link's capacity of 2? What fraction of the 30 seconds is that, and what must the link do with the traffic it cannot send immediately? What happens if too much traffic backs up?
Discuss with your partner
Which type of network would you choose for a university campus network, and why? What usage scenario would benefit from the other type of network?
For these questions, every message is L = 1,500 bytes = 12,000 bits and:
Transmission delay = L / R, where R is the link rate.
Propagation delay = distance / s.
s = 2×105 km/s through fiber and copper.
s = 3×105 km/s through atmosphere and space.
| Scenario | Link rate | Transmission delay (µs) | Propagation delay (µs) | Which dominates? |
|---|---|---|---|---|
| A | 1 Gbps | |||
| B | 10 Mbps |
The link rate is the only thing that changed between A and B. Why did that change one delay term but leave the other exactly where it was?
Discuss with your partner
Was that upgrade worth buying? Name one application that would clearly benefit from it and one that would barely notice, and say what distinguishes them.
A 12,000-bit message travels from source to destination across three links:
Each link runs at R = 10 Mbps. Propagation, processing, and queuing delays are all zero — transmission delay is the only thing that matters here. Under store-and-forward, a router must receive a packet in full before it can start sending it onward.
Sent as one 12,000-bit packet, the message takes 3 × (12,000 bits / 10 Mbps) = 3.6 ms, because each link sits idle until the one before it has finished.
| Slot 1 | Slot 2 | Slot 3 | Slot 4 | Slot 5 | Slot 6 | |
|---|---|---|---|---|---|---|
| Link 1 | ||||||
| Link 2 | ||||||
| Link 3 |
The same 12,000 bits crossed every link in both cases, so why is this faster?
| Split into | Payload per packet | Total time (ms) | Header overhead (%) |
|---|---|---|---|
| 3 packets | 4,000 bits | ||
| 100 packets | 120 bits |
Discuss with your partner
You now have three data points — 1 packet: 3.6 ms, 3 packets: ?, 100 packets: ?. Is smaller always better? What is competing with what, and what does that imply about how big a real packet should be?
A student in a residence hall downloads a large file from a course server.
Suppose only the Campus Backbone network is busy, with 20 users evenly sharing the bandwidth, while the first and third links are idle. Where is the bottleneck and what is the end-to-end throughput?
Discuss with your partner
The university has the budget to double exactly one segment: the server uplink, the campus uplink, or the dorm WiFi. Which do you recommend, and what did you have to assume about when students are downloading to justify it? What would be the least useful to upgrade?