Octet

What is oversubscription, how do you calculate it, and what ratios are reasonable?

Show the answer

Say this first

Oversubscription is the ratio between the bandwidth that could arrive from a switch's downstream ports and the bandwidth of its uplinks. A 48-port 1G access switch with two 10G uplinks is 48G to 20G, or 2.4:1. It is acceptable because users do not all send at line rate at once. Commonly quoted campus guidance is up to about 20:1 from access to distribution and about 4:1 from distribution to core; data center leaves are usually built nearer 3:1 or better.

Go deeper

Worked examples

SwitchDownstreamUpstreamRatio
Access, 48 x 1G, 2 x 10G up48 Gbps20 Gbps2.4:1
Same switch, one uplink failed or blocked by STP48 Gbps10 Gbps4.8:1
Leaf, 48 x 25G, 6 x 100G up1,200 Gbps600 Gbps2:1
Leaf, 48 x 25G, 4 x 100G up1,200 Gbps400 Gbps3:1

Things that change the real ratio

  • Failures. Design for the case where one uplink is down. In a layer 2 design without multichassis EtherChannel, STP blocks one uplink all the time, so the second row is your normal state.
  • Traffic pattern. Office traffic is bursty and mostly north-south to the internet or data center. Storage, backups and AI training traffic are sustained and east-west, so those fabrics aim for 1:1.
  • Microbursts. A 5-minute average can show 15 percent while the port drops packets in bursts a few milliseconds long, especially when many senders hit one receiver. Check output drops, not just averages.

The 20:1 and 4:1 figures are rules of thumb from older campus design guides. Validate them against your own traffic.

Traps

  • Calculating the ratio with both uplinks when STP blocks one of them.
How did you do?Book 1.5 Performance