Data centre demands
How data‑centre traffic patterns and hardware limits create requirements (bandwidth, latency, elasticity, multi‑tenancy, oversubscription) that SDN must meet and manage.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Data centres run large numbers of virtual machines and cloud services. Engineers design networks to meet demand for high bandwidth, low latency, predictable performance (SLA), and fast elasticity; SDN provides programmability and centralised control to satisfy these demands and to automate wiring, tenant isolation, and traffic engineering.
Key ideas
Bisection bandwidth: the minimum total bandwidth across any cut that divides the data‑centre hosts into two equal halves. Formally: For a network graph G with host set H, a bisection is a partition (H1,H2) with |H1| = |H2|; bisection bandwidth is the minimum over all such partitions of the sum of capacities of edges crossing the cut. High bisection bandwidth means low blocking for arbitrary host‑to‑host traffic.
Oversubscription ratio (OSR): the ratio of total downlink capacity (toward hosts) to total uplink capacity (toward aggregation/spine). Defined by formula below. An OSR > 1 means the uplink is a bottleneck if all hosts send at line rate.
Fat‑tree (k‑ary fat‑tree): a commonly taught full‑bisection (rearrangeably non‑blocking) data‑centre topology built from k‑port switches (k even). Exact derived properties: number of pods = k; in each pod there are k/2 edge and k/2 aggregation switches; the core has (k/2)^2 switches; each edge switch connects to k/2 hosts. A k‑ary fat‑tree supports k^3/4 hosts. This topology is used to increase bisection bandwidth compared to simple three‑tier designs.
Derivation to write in an answer: Draw a box labelled "pod" and show k ports on each switch. In each pod, draw k/2 edge switches at the bottom, each with k/2 host links and k/2 links up to aggregation; above them draw k/2 aggregation switches with k/2 links up to the core. Then draw (k/2)^2 core switches each having k ports to connect one per pod. Count hosts: k pods × (k/2 edge switches per pod) × (k/2 hosts per edge switch) = k^3/4. Show link counts when asked.
Microbursts and incast: short‑lived, high‑rate traffic bursts that can overflow small hardware buffers and cause packet loss (microburst) or many senders hit one receiver (incast). These require sufficient instantaneous buffering and fast data‑plane congestion controls (e.g., ECN/DCTCP, PFC) and, where appropriate, pre‑configured shaping or rate limiting; controller‑driven reactions are too slow for microsecond‑scale bursts.
Multi‑tenancy: running multiple tenants (customers) on shared physical infrastructure. Requires isolation (traffic, performance, security) and often overlays (VxLAN, NVGRE, EVPN—see related topics) to map tenant L2/L3 spaces.
SLA (Service Level Agreement): a contract defining performance guarantees (e.g., latency, packet loss, throughput). SDN controllers enforce SLAs through QoS rules, shaping, and path selection.
Key hardware elements and terms: Top‑of‑Rack (ToR) or ToR switch (switch at each rack connecting servers), spine (aggregation/core switches providing east‑west connectivity), links (physical cables or optical), and oversubscription at ToR or pod level. Modern data centres commonly use a leaf–spine (Clos) architecture: leaf ≈ ToR, and the spine provides many equal‑cost paths (ECMP) to increase bisection bandwidth and resilience.
Traffic patterns that shape design: many small flows (control traffic, RPCs), some large flows (backup, bulk transfers), and latency‑sensitive flows (web requests). SDN can identify and treat these differently (e.g., install elephant‑flow routes).
Formulas
OSR = (Σ downlink capacities to hosts) / (Σ uplink capacities from that aggregation point)
- OSR: oversubscription ratio, unitless. Use at ToR or pod aggregation. Applies when counting potential aggregate offered load versus available uplink capacity.
transmission delay = packet size (bits) / link rate (bits/s)
- packet size: bits (b), link rate: bits per second (b/s), result in seconds (s). Applies per‑link per‑packet.
propagation delay = distance (m) / propagation speed (m/s)
- propagation speed in fibre ≈ 2·10^8 m/s (approx.). Result in seconds. Applies to physical medium propagation.
RTT ≈ 2 × (processing delay + transmission delay + propagation delay + queuing delay)
- Each term in seconds. This is an approximation assuming symmetric forward and reverse path delays.
number of hosts in k‑ary fat‑tree = k^3 / 4
- k is switch port count (even). Unit: hosts (count). Assumes building a fat‑tree with k‑port commodity switches following the classic design.
Worked examples
- Transmission, propagation and approximate RTT for a packet inside a data centre
Given: packet size = 1500 bytes, link = 10 Gbit/s, distance between switches = 2 km, propagation speed in fibre = 2·10^8 m/s. Assume processing delay = 5 μs and queueing delay during a microburst = 20 μs (these two are assumptions; see verify list).
Step 1: convert packet size to bits: 1500 bytes × 8 = 12 000 bits.
Step 2: transmission delay = 12 000 bits / 10·10^9 bits/s = 1.2·10^−6 s = 1.2 μs.
Step 3: propagation delay = 2000 m / (2·10^8 m/s) = 1.0·10^−5 s = 10 μs.
Step 4: processing delay = 5 μs (assumed). Queueing delay = 20 μs (assumed for a microburst).
Step 5: RTT ≈ 2 × (proc + trans + prop + queue) = 2 × (5 + 1.2 + 10 + 20) μs = 2 × 36.2 μs = 72.4 μs.
Final answer: RTT ≈ 72.4 μs (approximate, depends on processing and queueing assumptions).
- Oversubscription at a ToR switch
Given: a ToR has 48 downlinks each 1 Gbit/s to servers, and a single 10 Gbit/s uplink to the aggregation layer.
Step 1: total downlink capacity = 48 × 1 Gbit/s = 48 Gbit/s.
Step 2: uplink capacity = 10 Gbit/s.
Step 3: OSR = 48 / 10 = 4.8. Express as ratio ~ 4.8:1.
Interpretation: if all servers try to send at line rate simultaneously, uplink bandwidth would be insufficient (contention expected). This is acceptable for workloads that are not all active simultaneously but is a design choice.
- Counting hosts in a fat‑tree (k = 8 port switches)
Step 1: use formula hosts = k^3 / 4 = 8^3 / 4 = 512 / 4 = 128 hosts.
Final answer: A k = 8 fat‑tree supports 128 hosts under the classic construction.
Derivation sketch (for exam): draw pods = k, each pod has k/2 edge switches, each edge has k/2 hosts, so hosts = k × (k/2) × (k/2) = k^3/4.
Common mistakes
Treating oversubscription as a per‑host metric rather than an aggregate ratio at an aggregation point.
Assuming fat‑tree is automatically non‑blocking without checking link capacities and real wiring; the theoretical property assumes equal link rates and correct wiring.
Ignoring microbursts and queueing: designing only for average bandwidth can still fail due to short bursts.
Using public internet latency numbers for intra‑data‑centre latency (they differ by orders of magnitude).
For your exam
Kinds of questions you will see: definitions (east‑west, bisection bandwidth, OSR), short notes (fat‑tree properties, microbursts, multi‑tenancy challenges), derivations (count hosts in fat‑tree, compute OSR), numericals (compute transmission/propagation/RTT), and diagrams (draw pod in fat‑tree, label ToR/aggregation/spine links and indicate oversubscription).
What full‑marks answers include:
- Precise definitions with bold term naming.
- Diagrams where asked (draw switches and links, label k, k/2 parts for fat‑tree).
- Unitful calculations: convert bytes→bits, show intermediate units, and final units.
- Mention assumptions (e.g., symmetrical delays, processing/queuing guesses) and comment briefly on how results change if assumptions change.
Quick check
- Define oversubscription ratio in one sentence.
- Calculate transmission delay for a 9000‑byte jumbo frame on a 1 Gbit/s link.
- How many hosts does a 16‑port fat‑tree support (classic construction)?
Answers: 1) Oversubscription ratio = (sum of downlink capacities to hosts) / (sum of uplink capacities at that aggregation point). 2) 9000 bytes = 72 000 bits; transmission delay = 72 000 / 1·10^9 s = 72 μs. 3) hosts = k^3/4 = 16^3/4 = 4096/4 = 1024 hosts.
Note for the reviewer: I have defined every term before using it and connected the topic to SDN controls (e.g., elephant flow handling, QoS enforcement) without re‑teaching SDN fundamentals such as OpenFlow or controllers (these are in other topic notes). I have made assumptions explicit in worked examples where needed.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?