Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/781027.781060acmconferencesArticle/Chapter ViewAbstractPublication PagesmetricsConference Proceedingsconference-collections
Article

Efficient implementation of a statistics counter architecture

Published: 10 June 2003 Publication History

Abstract

Internet routers and switches need to maintain millions of (e.g., per prefix) counters at up to OC-768 speeds that are essential for traffic engineering. Unfortunately, the speed requirements require the use of large amounts of expensive SRAM memory. Shah et al [1]introduced a cheaper statistics counter architecture that uses a much smaller amount of SRAM by using the SRAM as a cache together with a (cheap) backing DRAM that stores the complete counters. Counters in SRAM are periodically updated to the DRAM before they overflow under the control of a counter management algorithm. Shah et al [1] also devised a counter management algorithm called LCF that they prove uses an optimal amount of SRAM. Unfortunately, it is difficult to implement LCF at high speeds because it requires sorting to evict the largest counter in the SRAM. This paper removes this bottleneck in [1] by proposing a counter management algorithm called LR(T) (Largest Recent with thresh-old T) that avoids sorting by only keeping a bitmap that tracks counters that are larger than threshold T. This allows LR(T) to be practically realizable using only at most 2 bits extra per counter and a simple pipelined data structure. Despite this, we show through a formal analysis, that for a particular value of the threshold T, the LR(T) requires an optimal amount of SRAM, matching LCF. Further,we also describe an implementation, based on a novel data structure called aggregated bitmap, that allows the LR(T) algorithm to be realized at line rates.

References

[1]
D. Shah, S. Iyer, B. Prabhakar, and N. McKeown. Maintaining statistics counters in router line cards. In IEEE Micro 2002.
[2]
D. Shah, Personal communication, October 2002
[3]
M. Grossglauser and J. Rexford. Passive traffic measurement for IP operations. To appear as a chapter in The Internet as a Large-Scale Complex System Oxford University Press, 2002
[4]
A. Demers and S. Shenker. Analysis and simulation of a fair queuing algorithm. In Proceedings of ACM SIGCOMM 89, 1989.
[5]
M. Shreedhar and G. Varghese. Efficient fair queuing using deficit round robin. In Proceedings of ACM SIGCOMM 95, 1995.
[6]
F. Baboescu and G. Varghese. Scalable packet classification. In Proceedings of ACM SIGCOMM'01, 2001.
[7]
R. Bhagwan and B. Lin. Fast and scalable priority queue architecture for high-speed network switches. In Proceedings of IEEE INFOCOM 00, 2000.
[8]
P. Gupta and N. McKeown. Algorithms for packet classification. In IEEE Network, 2001.
[9]
iFlow Accountant. www.siliconaccess.com/products/
[10]
Cisco Express Forwarding Commands www.cisco.com/univercd/cc/td/doc/product/software/ios120/12supdoc/12cmdsum/12csswit/cscef/htm.
[11]
Internet processor II asic : Visibility into network operations. www.juniper.net/techcenter/appnote/350002.html
[12]
Juniper networks solutions for network accounting - white paper. www.juniper.net/techcenter/appnote/350003.html
[13]
Tests prove reliability and scalability of juniper networks ip vpn solutions. http://biz.yahoo.com/bw/020501/10140 3.html

Cited By

View all
  • (2024)A Digital SRAM-Based Computing-in-Memory Macro Supporting Parallel Maintaining for Network ManagementIEEE Solid-State Circuits Letters10.1109/LSSC.2024.34776197(327-330)Online publication date: 2024
  • (2023)BitSense: Universal and Nearly Zero-Error Optimization for Sketch Counters with Compressive SensingProceedings of the ACM SIGCOMM 2023 Conference10.1145/3603269.3604865(220-238)Online publication date: 10-Sep-2023
  • (2021)Low-Rate Overuse Flow Tracer (LOFT): An Efficient and Scalable Algorithm for Detecting Overuse Flows2021 40th International Symposium on Reliable Distributed Systems (SRDS)10.1109/SRDS53918.2021.00034(265-276)Online publication date: Sep-2021
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMETRICS '03: Proceedings of the 2003 ACM SIGMETRICS international conference on Measurement and modeling of computer systems
June 2003
338 pages
ISBN:1581136641
DOI:10.1145/781027
  • cover image ACM SIGMETRICS Performance Evaluation Review
    ACM SIGMETRICS Performance Evaluation Review  Volume 31, Issue 1
    June 2003
    325 pages
    ISSN:0163-5999
    DOI:10.1145/885651
    Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 10 June 2003

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. router
  2. statistics counter

Qualifiers

  • Article

Conference

SIGMETRICS03
Sponsor:

Acceptance Rates

SIGMETRICS '03 Paper Acceptance Rate 26 of 222 submissions, 12%;
Overall Acceptance Rate 459 of 2,691 submissions, 17%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)11
  • Downloads (Last 6 weeks)1
Reflects downloads up to 25 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)A Digital SRAM-Based Computing-in-Memory Macro Supporting Parallel Maintaining for Network ManagementIEEE Solid-State Circuits Letters10.1109/LSSC.2024.34776197(327-330)Online publication date: 2024
  • (2023)BitSense: Universal and Nearly Zero-Error Optimization for Sketch Counters with Compressive SensingProceedings of the ACM SIGCOMM 2023 Conference10.1145/3603269.3604865(220-238)Online publication date: 10-Sep-2023
  • (2021)Low-Rate Overuse Flow Tracer (LOFT): An Efficient and Scalable Algorithm for Detecting Overuse Flows2021 40th International Symposium on Reliable Distributed Systems (SRDS)10.1109/SRDS53918.2021.00034(265-276)Online publication date: Sep-2021
  • (2021)CELL: Counter Estimation for Per-flow Traffic in Streams and Sliding Windows2021 IEEE 29th International Conference on Network Protocols (ICNP)10.1109/ICNP52444.2021.9651924(1-12)Online publication date: 1-Nov-2021
  • (2021)Speed Records in Network Flow Measurement on FPGA2021 31st International Conference on Field-Programmable Logic and Applications (FPL)10.1109/FPL53798.2021.00043(219-224)Online publication date: Aug-2021
  • (2020)An Efficient K-Persistent Spread Estimator for Traffic Measurement in High-Speed NetworksIEEE/ACM Transactions on Networking10.1109/TNET.2020.2982003(1-14)Online publication date: 2020
  • (2019)SIMONProceedings of the 16th USENIX Conference on Networked Systems Design and Implementation10.5555/3323234.3323280(549-564)Online publication date: 26-Feb-2019
  • (2019)Randomized Admission Policy for Efficient Top-k, Frequency, and Volume EstimationIEEE/ACM Transactions on Networking10.1109/TNET.2019.291892927:4(1432-1445)Online publication date: Aug-2019
  • (2018)A traffic tracking algorithm for a fast detection of active network sourcesProceedings of the 2nd International Conference on Future Networks and Distributed Systems10.1145/3231053.3231069(1-6)Online publication date: 26-Jun-2018
  • (2018)Fast Flow Volume EstimationProceedings of the 19th International Conference on Distributed Computing and Networking10.1145/3154273.3154332(1-10)Online publication date: 4-Jan-2018
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media