Flow hashing and capacity
Aggregate capacity is not single-flow speed
In many Ethernet LAG implementations, a flow stays on one transmitting member during stable membership to help preserve frame order. A hash is a calculation that maps selected packet header fields to an output choice. Depending on the implementation, fields can include MAC addresses, IP addresses or transport ports. A single ordinary TCP flow on a two-member 10 Gbit/s LAG should not be assumed to reach 20 Gbit/s. The aggregate raw ceiling is 20 Gbit/s per direction; the usual single-member ceiling is 10 Gbit/s before overhead.
A deliberately simple hash model
Use two equal-capacity links L1 and L2. For this paper example only, assign an even flow ID to L1 and an odd ID to L2. Actual switches do not use these invented IDs as a universal algorithm. The diagram lists three flows with offered rates: 10 and 12 go to L1, and 11 goes to L2.
Flow 10: 6 Gbit/s -> L1Flow 12: 6 Gbit/s -> L1Flow 11: 4 Gbit/s -> L2L1 = 10 Gbit/s; L2 = 10 Gbit/sCalculate a bottleneck
L1 receives demand 6 + 6 = 12 Gbit/s, which exceeds its 10 Gbit/s line rate by 2. L2 receives 4 Gbit/s and has 6 Gbit/s of unused raw capacity. Total offered demand is 16, below the 20 Gbit/s aggregate, but the toy model can carry at most min(12,10) + min(4,10) = 14 Gbit/s. This upper bound ignores framing overhead, queue behavior, transport feedback and other bottlenecks; it is not a measured throughput or a promise of fair shares. Hash collisions occur when multiple distinct flows choose the same link.
Member loss and measurement
If L1 fails and L2 stays eligible, the model reassigns all three flows to L2. With a minimum-active-members requirement of one, the surviving group has at most 10 Gbit/s raw capacity and demand remains 16. With a requirement of two, the group is unavailable. Actual rehashing, convergence and loss depend on the platform and failure detection. Each direction is chosen by its transmitting side, so inspect both ends. In a bounded lab, compare per-member byte-counter deltas over equal intervals, checking counter resets and units. Do not estimate balance from the number of flows alone.
Practice: choose a better test
One throughput test using one TCP connection cannot establish the total capacity of a LAG. Use multiple independent flows with varied header fields in an authorized isolated lab, inspect their distribution, and keep load bounded. In the paper model, move flow 12 (6 Gbit/s) to L2 by changing its fictional ID to 13: loads become 6 and 10; the ideal upper bound rises to 16. This illustrates a distribution effect, not a recommendation to manipulate production flow IDs. Next, consider what happens when an entire switch fails.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Flow hashing and capacity — knowledge check
Apply link aggregation and redundancy concepts to bounded offline scenarios.
Three usable 10 Gbit/s links have what raw aggregate ceiling in one direction?
A typical stable per-flow LAG has two 10 Gbit/s members. What is the usual single-flow raw ceiling?
Two 10 Gbit/s members have offered loads of 13 and 2 Gbit/s. What is the toy upper bound?
A two-member group requires two active members. One fails. What follows in the model?
Why compare per-member byte deltas over equal intervals?