Claims
- 1. A method for sorting N timestamp (TS) values in an Asynchronous Transfer Mode (ATM) fabric scheduler implemented in an access network element, comprising the steps:
selecting a radix (R) value for grouping said TS values into N/R groups, wherein each group is associated with a set of bits corresponding in number to said radix value, said bits for indicating which of said group's TS values are valid; creating a plurality of layers in a hierarchical tree arrangement wherein said set of bits forms a layer of logR(N) level and each layer includes a group of heap structures equal in number to R[Level-1], Level=1,2, . . . , logR(N), and further wherein each heap structure includes R number of bits and R number of pointers, said pointers of a Level(i) layer pointing to heap structures of Level(i+1) layer, where i=1,2, . . . , {logR(N)−1}; and starting from a Level-1 heap structure, successively determining which heap structure on a particular subsequent Level has a minimum value until said logR(N) Level is reached.
- 2. The method for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 1, wherein said radix value is equal to 2.
- 3. The method for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 1, wherein said radix value is equal to 4.
- 4. The method for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 1, wherein said operation of successively determining which heap structure on a particular subsequent Level has a minimum value further comprises:
using a Least Significant Bit (LSB) finder operating on said R number of bits for a particular heap structure on Level(i) layer; and traversing to another heap structure of Level(i+1) layer using a pointer associated with a particular bit identified by said LSB finder.
- 5. The method for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 1, wherein said operation of selecting a radix (R) value for grouping said TS values into N/R groups includes picking a variable radix value.
- 6. The method for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 1, wherein each of said bits at said logR(N) level is associated with a pointer operable to point to a linked list of ATM flows that are to be scheduled for service based on a particular TS corresponding thereto.
- 7. A computer-accessible medium operable with a processor interface disposed in an Asynchronous Transfer Mode (ATM) fabric scheduler of an access network element, said medium having instructions thereon for performing the following operations when executed on a processor associated therewith, comprising:
instructions operable to select a radix (R) value for grouping N timestamp (TS) values into N/R groups, wherein each group is associated with a set of bits corresponding in number to said radix value, said bits for indicating which of said group's TS values are valid; instructions for creating a plurality of layers in a hierarchical tree arrangement wherein said set of bits forms a layer of logR(N) level and each layer includes a group of heap structures equal in number to R[Level-1], Level=1,2, . . . , logR(N), and further wherein each heap structure includes R number of bits and R number of pointers, said pointers of a Level(i) layer pointing to heap structures of Level(i+1) layer, where i=1,2, . . . , {logR(N)−1}; and instructions for successively determining, starting from a Level-1 heap structure, which heap structure on a particular subsequent Level has a minimum value until said logR(N) Level is reached.
- 8. The computer-accessible medium as set forth in claim 7, wherein said instructions operable to select a radix (R) include instructions to select a radix value of 2.
- 9. The computer-accessible medium as set forth in claim 7, wherein said instructions operable to select a radix (R) include instructions to select a radix value of 4.
- 10. The computer-accessible medium as set forth in claim 7, wherein said instructions for successively determining which heap structure on a particular subsequent Level has a minimum value further comprise:
instructions for using a Least Significant Bit (LSB) finder operable on said R number of bits for a particular heap structure on Level(i) layer; and instructions for traversing to another heap structure of Level(i+1) layer using a pointer associated with a particular bit identified by said LSB finder.
- 11. The computer-accessible medium as set forth in claim 7, wherein said instructions operable to select a radix (R) include instructions to pick a variable radix value.
- 12. The computer-accessible medium as set forth in claim 7, wherein each of said bits at said logR(N) level is associated with a pointer operable to point to a linked list of ATM flows that are to be scheduled for service based on a particular TS corresponding thereto.
- 13. A system for sorting N timestamp (TS) values in an Asynchronous Transfer Mode (ATM) fabric scheduler implemented in an access network element, comprising:
means for grouping said TS values into N/R groups using a radix value of R, wherein each group is associated with a set of bits corresponding in number to said radix value, said bits for indicating which of said group's TS values are valid; means for creating a plurality of layers in a hierarchical tree arrangement wherein said set of bits forms a layer of logR(N) level and each layer includes a group of heap structures equal in number to R[Level-1], Level=1,2, . . . , logR(N), and further wherein each heap structure includes R number of bits and R number of pointers, said pointers of a Level(i) layer pointing to heap structures of Level(i+1) layer, where i=1,2, . . . , {logR(N)−1}; and means for successively determining, starting from a Level-1 heap structure, which heap structure on a particular subsequent Level has a minimum value until said logR(N) Level is reached.
- 14. The system for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 13, wherein said radix value is equal to 2.
- 15. The system for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 13, wherein said radix value is equal to 4.
- 16. The system for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 13, wherein said means for successively determining which heap structure on a particular subsequent Level has a minimum value further comprises a Least Significant Bit (LSB) finder operating on said R number of bits for a particular heap structure on Level(i) layer.
- 17. The system for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 13, wherein said means for grouping said TS values into N/R groups includes means for picking a variable radix value.
- 18. The system for sorting N timestamp (TS) values in an ATM fabric scheduler as set forth in claim 13, wherein each of said bits at said logR(N) level is associated with a pointer operable to point to a linked list of ATM flows that are to be scheduled for service based on a particular TS corresponding thereto.
CROSS-REFERENCE TO RELATED APPLICATION(S)
[0001] This application discloses subject matter related to the subject matter disclosed in the following commonly owned co-pending U.S. patent applications: (i) “Stackplane Architecture,” filed Dec. 22, 1999, Application No. 09/469,897, in the names of James W. Dove et al.; (ii) “Scalable Architecture For An Access Node,” filed Jun. 27, 2002, Application No.: ______, (Attorney Docket No.: 1285-0090US), in the name(s) of Eric Friedrichs et al.; (iii) “Integrated Gateway Functionality In An Access Network Element,” filed Nov. 2, 2001, application Ser. No. 10/052,846, in the names of Thornton Collins et al.; (iv) “Multicasting System And Method For Use In An Access Node's ATM Switch Fabric,” filed even date herewith, Application No.: ______, (Attorney Docket No.: 1285-0100US), in the names of Mudhafar Hassan-Ali et al.; (v) “Virtual Group Connection Scheme For ATM Architecture In An Access Node,” filed even date herewith, Application No.: ______, (Attorney Docket No.: 1285-0099US), in the names of Mudhafar Hassan-Ali et al.; (vi) “System And Method For Implementing GFR Service In An Access Node's ATM Switch Fabric,” filed even date herewith, Application No.: ______, (Attorney Docket No.: 1285-0102US), in the names of Mudhafar Hassan-Ali et al.; (vii) “Hierarchical Scheduler Architecture For Use With An Access Node,” filed even date herewith, Application No.: ______, (Attorney Docket No.: 1285-0103US), in the names of Mudhafar Hassan-Ali et al., which are hereby incorporated by reference herein for all purposes.