Skip to content
GIRIVON
Infrastructure+
Systems+
Components+
Computing Devices+
Solutions+
Compute Tools+
Knowledge+

Cluster Network Planner (Leaf-Spine)

Plan a two-tier leaf-spine (folded Clos) fabric: leaf and spine switches for a node count, ports per node, switch radix and oversubscription, the cable count, and whether a third tier is needed.

For GPU servers, often one per GPU.

Results

Host-facing ports
512
Leaf switches32 down / 32 up each
16
Spine switches
8
Node-to-leaf cables
512
Leaf-to-spine cables
512
Transceivers if all links are optical
2,048
Two-tier host-port limit
2,048

What it calculates

  • Leaf switches
  • Spine switches
  • Cables and transceivers
  • Two-tier capacity limit

Worked example

Using the default inputs below; change any input above to recalculate.

Inputs
Nodes64
Fabric ports per node8
Switch ports (radix)64
Oversubscription1:1 (non-blocking)
Results
Host-facing ports512calculated
Leaf switches16calculated
Spine switches8calculated
Node-to-leaf cables512calculated
Leaf-to-spine cables512calculated
Transceivers if all links are optical2,048calculated
Two-tier host-port limit2,048calculated

Methodology

Each leaf splits its ports between hosts and spines according to the oversubscription ratio (half and half for 1:1). Leaves = host ports ÷ downlinks per leaf; spine ports must equal total leaf uplinks. A two-tier fabric is limited because each spine can connect at most radix leaves.

Formulas

Leaves
L = ⌈hosts × ports ÷ down⌉
Spines
S = ⌈L × up ÷ k⌉
Non-blocking limit
hosts_max = k²/2

Assumptions

  • Uniform switches; every leaf connects to every spine.

Limitations

  • Rail-optimised GPU fabrics and multi-plane designs follow different port mappings.