Methods and apparatus for fairly scheduling queued packets using a ram-based search engine
AssigneePolytechnic University
InventorsHung-Hsiang Jonathan Chao, Yau-Ren Jenq
Life of this patent
Estimating the term…
Loading patent…
AssigneePolytechnic University
InventorsHung-Hsiang Jonathan Chao, Yau-Ren Jenq
Estimating the term…
A hierarchical searching technique is used to find the first memory location of a calendar queue with a validity bit of “1” (that is, the lowest time stamp). The bit string at any level l (l≠0) can be stored in a RAM of size glMl−1. The string at the highest level in the hierarchy (l=0) can be stored in an M0 bit register. The number of address bits need to address any bit at a level l may be expressed as: m l = log 2 M l = m l - 1 + log 2 g l = ∑ i = 0 l log 2 g i , where g 0 = M 0 . ( 11 ) Equation (11) illustrates a method of the present invention for addressing in a hierarchical search. That is, m0 most significant bits of the time stamp address should be used at level 0. Then, at level l, the complete address used at upper level (l−1) will be used to locate the proper gl bit word in its glMl−1 memory. Another log2gl bits following the previous ml−1 bits is extracted from the time stamp address and used to locate the proper bit in the gl bit word that has just been identified. In this way, the search time depends on the number L of levels. Thus, a scheduler based on the present invention can schedule large numbers of flows to be placed on a high speed data link (i.e., with a small time slot). A two (2) dimensional shaper uses a similar hierarchical searching and addressing technique. Finally, any overflow of binary encoded time stamp and system potential values is tracked so that time stamp aging does not cause problems.
In a system having a parameter queue for referencing stored information based on their respective parameter values, and having a validity bit associated with each of M parameter values for indicating whether any of the stored information have that parameter value, a method for selecting, from candidate information, an information having an extreme parameter value, the method comprising steps of:
In a system having a parameter queue for addressing stored information based on their respective parameter values, and having a validity bit associated with each of M parameter values for indicating whether any of the stored information have that parameter value, an apparatus for searching for an extreme parameter value, the apparatus comprising:
In a system having a parameter queue for addressing stored information based on their respective parameter values, and having a validity bit associated with each of M parameter values for indicating whether any of the stored information have that parameter value, an apparatus for searching for an extreme parameter value, the apparatus comprising:
A network element having a plurality of output ports, each of the plurality of output ports comprising:
Dependencies are inferred from the claim text.