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

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

Design of a novel statistics counter architecture with optimal space and time efficiency

Published: 26 June 2006 Publication History

Abstract

The problem of how to efficiently maintain a large number (say millions) of statistics counters that need to be incremented at very high speed has received considerable research attention recently. This problem arises in a variety of router management algorithms and data streaming algorithms, where a large array of counters is used to track various network statistics and to implement various counting sketches respectively. While fitting these counters entirely in SRAM meets the access speed requirement, a large amount of SRAM may be needed with a typical counter size of 32 or 64 bits, and hence the high cost. Solutions proposed in recent works have used hybrid architectures where small counters in SRAM are incremented at high speed, and occasionally written back ("flushed") to larger counters in DRAM. Previous solutions have used complex schedulers with tree-like or heap data structures to pick which counters in SRAM are about to overflow, and flush them to the corresponding DRAM counters.In this work, we present a novel hybrid SRAM/DRAM counter architecture that consumes much less SRAM and has a much simpler design of the scheduler than previous approaches. We show, in fact, that our design is optimal in the sense that for a given speed difference between SRAM and DRAM, our design uses the theoretically minimum number of bits per counter in SRAM. Our design uses a small write-back buffer (in SRAM) that stores indices of the overflowed counters (to be flushed to DRAM) and an extremely simple randomized algorithm to statistically guarantee that SRAM counters do not overflow in bursts large enough to fill up the write-back buffer even in the worst case. The statistical guarantee of the algorithm is proven using a combination of worst case analysis for characterizing the worst case counter increment sequence and a new tail bound theorem for bounding the probability of filling up the write-back buffer. Experiments with real Internet traffic traces show that the buffer size required in practice is significantly smaller than needed in the worst case.

References

[1]
N. Alon and J. H. Spencer. The Probabilistic Method. A Wiley-Interscience Publication, 2000.
[2]
S. Cohen and Y. Matias. Spectral bloom filters. In Proc. of ACM SIGMOD Conference on Management of Data, 2003.
[3]
G. Cormode and S. Muthukrishnan. An improved data stream summary: The count-min sketch and its applications. Journal of Algorithms, 2004.
[4]
C. Estan and G. Varghese. New directions in traffic measurement and a ccounting. In Proc. of ACM SIGCOMM, August 2002.
[5]
B. Krishnamurthy, S. Sen, Y. Zhang, and Y. Chen. Sketch-based change detection: Methods, evaluation, and applications. In Proc. of ACM SIGCOMM IMC, October 2003.
[6]
A. Kumar, M. Sung, J. Xu, and J. Wang. Data streaming algorithms for efficient and accurate estimation of flow size distribution. In Proc. of ACM SIGMETRICS, 2004.
[7]
A. Kumar, M. Sung, J. Xu, and E. Zegura. A data streaming algorithm for estimating subpopulation flow size distribution. In Proc. ACM SIGMETRICS, June 2005.
[8]
A. Kumar, J. Xu, J. Wang, O. Spatschek, and L. Li. Space-code bloom filter for efficient per-flow traffic measurement. In Proc. of IEEE INFOCOM, March 2004.
[9]
R. Motwani and P. Raghavan. Randomized Algorithms. Cambridge University Press, 1995.
[10]
S. Muthukrishnan. Data streams: algorithms and applications. available at http://athos.rutgers.edu/~muthu/.
[11]
S. Ramabhadran and G. Varghese. Efficient implementation of a statistics counter architecture. In Proc. ACM SIGMETRICS, June 2003.
[12]
S.M. Ross. Stochastic Processes. Wiley, 1995.
[13]
D. Shah, S. Iyer, B. Prabhakar, and N. McKeown. Maintaining statistics counters in router line cards. In IEEE Micro, 2002.
[14]
Y. Zhang, S. Singh, S. Sen, N. Duffield, and C. Lund. Online identification of hierarchical heavy hitters: Algorithms, evaluation, and application. In Proc. of ACM SIGCOMM IMC, October 2004.
[15]
Q. Zhao, A. Kumar, J. Wang, and J. Xu. Data streaming algorithms for accurate and efficient measurement of traffic and flow matrices. In Proc. of ACM SIGMETRICS, June 2005.
[16]
Q. Zhao, J. Xu, and Z. Liu. Design of a novel statistics counter architecture with optimal space and time efficiency. In Technical Report, January 2006.

Cited By

View all
  • (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
  • (2023)A survey on sliding window sketch for network measurementComputer Networks10.1016/j.comnet.2023.109696226(109696)Online publication date: May-2023
  • (2022)Concise Retrieval of Flow Statistics for Software-Defined NetworksIEEE Systems Journal10.1109/JSYST.2021.306530616:1(554-565)Online publication date: Mar-2022
  • Show More Cited By

Index Terms

  1. Design of a novel statistics counter architecture with optimal space and time efficiency

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      SIGMETRICS '06/Performance '06: Proceedings of the joint international conference on Measurement and modeling of computer systems
      June 2006
      404 pages
      ISBN:1595933190
      DOI:10.1145/1140277
      • cover image ACM SIGMETRICS Performance Evaluation Review
        ACM SIGMETRICS Performance Evaluation Review  Volume 34, Issue 1
        Performance evaluation review
        June 2006
        388 pages
        ISSN:0163-5999
        DOI:10.1145/1140103
        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: 26 June 2006

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. data streaming
      2. router
      3. statistics counter

      Qualifiers

      • Article

      Conference

      SIGMETRICS06

      Acceptance Rates

      Overall Acceptance Rate 459 of 2,691 submissions, 17%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)15
      • Downloads (Last 6 weeks)2
      Reflects downloads up to 16 Feb 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (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
      • (2023)A survey on sliding window sketch for network measurementComputer Networks10.1016/j.comnet.2023.109696226(109696)Online publication date: May-2023
      • (2022)Concise Retrieval of Flow Statistics for Software-Defined NetworksIEEE Systems Journal10.1109/JSYST.2021.306530616:1(554-565)Online publication date: Mar-2022
      • (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)Robust Distributed Monitoring of Traffic FlowsIEEE/ACM Transactions on Networking10.1109/TNET.2020.3034890(1-14)Online publication date: 2020
      • (2019)Robust Distributed Monitoring of Traffic Flows2019 IEEE 27th International Conference on Network Protocols (ICNP)10.1109/ICNP.2019.8888046(1-11)Online publication date: Oct-2019
      • (2016)Speedily, efficient and adaptive streaming algorithms for real-time detection of flooding attacksJournal of Intelligent & Fuzzy Systems10.3233/JIFS-16907731:4(2363-2373)Online publication date: 9-Sep-2016
      • (2016)A hardware-accelerated infrastructure for flexible sketch-based network traffic monitoring2016 IEEE 17th International Conference on High Performance Switching and Routing (HPSR)10.1109/HPSR.2016.7525661(162-167)Online publication date: Jun-2016
      • (2015)A formal analysis of conservative update based approximate counting2015 International Conference on Computing, Networking and Communications (ICNC)10.1109/ICCNC.2015.7069350(255-259)Online publication date: Feb-2015
      • 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

      Figures

      Tables

      Media

      Share

      Share

      Share this Publication link

      Share on social media