← Mathematical compendium

Published equation contexts

Tring(n,p)=2(p−1) α+2(p−1)p n β+p−1p n γT_{\mathrm{ring}}(n,p) = 2(p-1)\,\alpha + \frac{2(p-1)}{p}\,n\,\beta + \frac{p-1}{p}\,n\,\gamma

Why this formula appears here

Consider the two canonical all-reduce algorithms. A ring arranges participants in a cycle and performs a reduce-scatter followed by an all-gather, each in p-1 steps carrying n/p bytes: Tring(n,p)=2(p−1) α+2(p−1)p n β+p−1p n γT_{\mathrm{ring}}(n,p) = 2(p-1)\,\alpha + \frac{2(p-1)}{p}\,n\,\beta + \frac{p-1}{p}\,n\,\gamma . The bandwidth term converges to 2nβ\beta as p grows — it stops depending on the number of participants — which is why the ring is the bandwidth-optimal choice for large messages. NVIDIA’s own performance documentation encodes exactly this factor, defining the bus bandwidth of an all-reduce by applying a correction of 2(p-1)/p to the naive size-over-time figure, on the reasoning that an all-reduce requires 2(p-1) data transfers across p links; all-gather, reduce-scatter and all-to-all get a…

Read the full article-specific guide →

Read the representative guide

TringT_{\mathrm{ring}}

Symbol T_ring

TrT_ring is part of the quantity the equation computes from the expression on the right.

Read this term in its guide →

How to interpret it

With a fixed numerator, increasing a nonzero denominator reduces the fraction. Read it with the definitions, units, and assumptions supplied by the article.

Research cited beside this formula

Published contexts (1)

A symbol can carry a different meaning in another article. Each occurrence keeps its own guide and term definitions.

Tring(n,p)=2(p−1) α+2(p−1)p n β+p−1p n γ.T_{\mathrm{ring}}(n,p) = 2(p-1)\,\alpha + \frac{2(p-1)}{p}\,n\,\beta + \frac{p-1}{p}\,n\,\gamma .

Equation 15 · AI Hardware & Semiconductors

The Network Is the Computer Again

This equation states an equality: the expressions on both sides have the same value under the article’s assumptions.

Consider the two canonical all-reduce algorithms. A ring arranges participants in a cycle and performs a reduce-scatter followed by an all-gather, each in p-1 steps carrying n/p bytes: Tring(n,p)=2(p−1) α+2(p−1)p n β+p−1p n γT_{\mathrm{ring}}(n,p) = 2(p-1)\,\alpha + \frac{2(p-1)}{p}\,n\,\beta + \frac{p-1}{p}\,n\,\gamma . The bandwidth term converges to 2nβ\beta as p grows — it stops depending on the number of participants — which is why the ring is the bandwidth-optimal choice for large messages. NVIDIA’s own performance documentation encodes exactly this factor, defining the bus bandwidth of an all-reduce by applying a correction of 2(p-1)/p to the naive size-over-time figure, on the reasoning that an all-reduce requires 2(p-1) data transfers across p links; all-gather, reduce-scatter and all-to-all get a…

Meanings in this article

Equation guide → · Article →