← Back to article

Equation 3 · AI Datacenter Interconnects in Practice: An Advanced Technical Guide

What does this equation mean?

(n−1)/n(n-1)/n

Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.

This mathematical expression combines the displayed quantities; its precise role follows from the surrounding article text. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.

Read it piece by piece

nn

Symbol n

the participant count — specifically so the resulting number can be compared directly against the hardware’s rated peak bandwidth regardless of how many ranks are in the job [ 2 ].

Understand this part →

subtraction

subtraction

Subtract the following term or group from the preceding one. A leading minus marks a negative quantity.

Understand this part →

How to interpret it

Read this expression with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

That last point is the operational discipline this section is really about: a changed environment variable is a hypothesis, not a result, until it is measured against the fabric it was set on. The standard instrument for that measurement is bus bandwidth as reported by NCCL’s own test suite, which applies an operation-specific correction factor to the raw bytes-per-second figure — 2(n-1)/n for all-reduce, (n-1)/n for reduce-scatter, all-gather and all-to-all, and a factor of one for broadcast and reduce, where n is the participant count — specifically so the resulting number can be compared directly against the hardware’s rated peak bandwidth regardless of how many ranks are in the job [ 2 ]…
Read the full surrounding passage
That last point is the operational discipline this section is really about: a changed environment variable is a hypothesis, not a result, until it is measured against the fabric it was set on. The standard instrument for that measurement is bus bandwidth as reported by NCCL’s own test suite, which applies an operation-specific correction factor to the raw bytes-per-second figure — 2(n-1)/n for all-reduce, (n-1)/n for reduce-scatter, all-gather and all-to-all, and a factor of one for broadcast and reduce, where n is the participant count — specifically so the resulting number can be compared directly against the hardware’s rated peak bandwidth regardless of how many ranks are in the job [ 2 ] . Tuning without this step produces a common and expensive failure pattern: a setting change that measurably helps a two-node microbenchmark and does nothing, or actively hurts, at the rank count the production job actually runs at, because the bottleneck moved between the two scales.

Read the equation in its article →

Sources cited in the surrounding passage

These citations give research context. Read each source to check which claims it supports.

Return to AI Datacenter Interconnects in Practice: An Advanced Technical Guide

See this formula across 1 published context →

Browse the mathematical compendium →