摘要 |
In one example, an apparatus, by a processor, can identify a number of modems in each bonding group of a plurality of bonding groups, resulting in a first data structure. The apparatus can also determine a configuration for each bonding group of the plurality of bonding groups, resulting in a second data structure. The apparatus can also determine channel load for each channel of a plurality of channels, according to the first data structure and the second data structure, resulting in a third data structure. |
主权项 |
1. A non-transitory computer readable medium having stored thereon computer executable instructions embodied in a computer memory and when executed by a processor performs the steps, comprising:
identifying a number of modems in each bonding group of a plurality of bonding groups, resulting in a first data structure; determining a configuration for each bonding group of the plurality of bonding groups, resulting in a second data structure; determining a channel load for each channel of a plurality of channels according to the first data structure and the second data structure, resulting in a third data structure; evaluating the third data structure for each channel of the plurality of channels; and adjusting the third data structure for each channel of the plurality of channels by adjusting the first data structure for each channel of the plurality of channels, until a variance in the channel loads of the plurality of channels identified in the third data structure is less than a predetermined threshold variance, wherein the variance in the channel loads of the plurality of channels defines a load balance of the plurality of channels, and the adjusting the first data structure for each channel of the plurality of channels is according to a steepest descent process that includes adjusting the first data structure for each channel of the plurality of channels according to:Cn=Cn-1-ⅆVar[R]ⅆC, wherein R is the third data structure represented as R=(r1, r2, . . . rn) such that each ri (i=1 to n, n being an integer larger than one) represents a load balance of ith channel over the plurality of bonding groups, wherein Cn is a present first data structure represented as Cn (c1, c2, . . . cN) such that each ci (i=1 to N, N being a count of the plurality of bonding groups) represents an amount of modems in a respective bonding group of the plurality of bonding groups, wherein Cn-1 is a previous first data structure before adjusting the first data structure, and wherein Var[R] is the variance in the channel loads of the plurality of channels andⅆVar[R]ⅆCis a derivation of the variance in the channel loads of the plurality of channels. |