Hierarchical statisically multiplexed counters and a method thereof

US12231124B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12231124-B2
Application numberUS-202318500091-A
CountryUS
Kind codeB2
Filing dateNov 1, 2023
Priority dateJun 11, 2014
Publication dateFeb 18, 2025
Grant dateFeb 18, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present invention relate to an architecture that uses hierarchical statistically multiplexed counters to extend counter life by orders of magnitude. Each level includes statistically multiplexed counters. The statistically multiplexed counters includes P base counters and S subcounters, wherein the S subcounters are dynamically concatenated with the P base counters. When a row overflow in a level occurs, counters in a next level above are used to extend counter life. The hierarchical statistically multiplexed counters can be used with an overflow FIFO to further extend counter life.

First claim

Opening claim text (preview).

We claim: 1. A counter architecture implemented in a network device, the counter architecture comprising: a mirrored shift logic; and a hierarchy of levels of statistically multiplexed counters, wherein each level of the hierarchy of levels includes N counters arranged in rows having P base counters, and further wherein the mirrored shift logic extends the P base counters to a full width such that a full range of shifting is reduced. 2. The network device of claim 1 , wherein counters in the same row in one level of the hierarchy of levels are shuffled into different rows in a next level above of the hierarchy of levels. 3. The network device of claim 2 , wherein a randomization of the shuffle is a bit reverse of a counter identifier of a counter, a hash function or a bit arrangement in another order. 4. The network device of claim 1 , wherein the counter architecture is configured to update a counter by: determining whether a corresponding row of the counter in a current level of the hierarchy of levels overflows; based on the determination that the corresponding row in the current level does not overflow, processing each level below the current level by using a first routine and processing the current level by using a second routine; and based on the determination that the corresponding row in the current level does overflow, determining whether a corresponding row of the counter in a next level above overflows; based on the determination that the corresponding row of the counter in the next level above does not overflow, processing each level below the next level above by using the first routine and processing the next level above by using the second routine; and based on the determination that the corresponding row of the counter in the next level above does overflow, when the next level above is not the highest level in the hierarchy of levels, returning to the step of determining whether a corresponding row of the counter in a next level above overflows, and when the next level above is the highest level in the hierarchy of levels, processing the next level above and each level below the next level above by using the first routine and updating an overflow queue. 5. The network device of claim 4 , wherein the first routine includes incrementing the counter in the corresponding level and shrinking the counter in the corresponding level. 6. The network device of claim 4 , wherein the second routine includes incrementing the counter in the corresponding level. 7. The network device of claim 6 , wherein the incrementing the counter includes expanding a size of the counter in the corresponding level. 8. The network device of claim 4 , wherein updating the overflow queue includes pushing a counter identifier of the counter and an overflow width into the overflow queue. 9. The network device of claim 4 , wherein the overflow queue is shared by the N counters in the highest level in the hierarchy of levels. 10. The network device of claim 1 , wherein the N counters are stored in an on-chip SRAM memory, using the common memory pool. 11. A non-transitory computer-readable medium storing a mirrored shift logic and a hierarchy of levels of statistically multiplexed counters, wherein each level of the hierarchy of levels includes N counters arranged in rows having P base counters, and further wherein the mirrored shift logic extends the P base counters to a full width such that a full range of shifting is reduced. 12. The medium of claim 11 , wherein counters in the same row in one level of the hierarchy of levels are shuffled into different rows in a next level above of the hierarchy of levels. 13. The medium of claim 12 , wherein a randomization of the shuffle is a bit reverse of a counter identifier of a counter, a hash function or a bit arrangement in another order. 14. The medium of claim 11 , wherein the counter architecture is configured to update a counter by: determining whether a corresponding row of the counter in a current level of the hierarchy of levels overflows; based on the determination that the corresponding row in the current level does not overflow, processing each level below the current level by using a first routine and processing the current level by using a second routine; and based on the determination that the corresponding row in the current level does overflow, determining whether a corresponding row of the counter in a next level above overflows; based on the determination that the corresponding row of the counter in the next level above does not overflow, processing each level below the next level above by using the first routine and processing the next level above by using the second routine; and based on the determination that the corresponding row of the counter in the next level above does overflow, when the next level above is not the highest level in the hierarchy of levels, returning to the step of determining whether a corresponding row of the counter in a next level above overflows, and when the next level above is the highest level in the hierarchy of levels, processing the next level above and each level below the next level above by using the first routine and updating an overflow queue. 15. The medium of claim 14 , wherein the first routine includes incrementing the counter in the corresponding level and shrinking the counter in the corresponding level. 16. The medium of claim 14 , wherein the second routine includes incrementing the counter in the corresponding level. 17. The medium of claim 16 , wherein the incrementing the counter includes expanding a size of the counter in the corresponding level. 18. The medium of claim 14 , wherein updating the overflow queue includes pushing a counter identifier of the counter and an overflow width into the overflow queue. 19. The medium of claim 14 , wherein the overflow queue is shared by the N counters in the highest level in the hierarchy of levels. 20. The medium of claim 11 , wherein the medium includes a static random access memory (SRAM) and the N counters are stored in the SRAM.

Assignees

Inventors

Classifications

  • Reactions to storage capacity overflow · CPC title

  • characterised by scheduling criteria · CPC title

  • comprising logic circuits · CPC title

  • with a base or radix other than a power of two (H03K23/40 - H03K23/62 take precedence) · CPC title

  • Details of pulse counters or frequency dividers · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12231124B2 cover?
Embodiments of the present invention relate to an architecture that uses hierarchical statistically multiplexed counters to extend counter life by orders of magnitude. Each level includes statistically multiplexed counters. The statistically multiplexed counters includes P base counters and S subcounters, wherein the S subcounters are dynamically concatenated with the P base counters. When a ro…
Who is the assignee on this patent?
Marvell Asia Pte Ltd
What technology area does this patent fall under?
Primary CPC classification H03K21/026. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Feb 18 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).