Skip to main content

An Adaptive Fair Sampling Algorithm Based on the Reconfigurable Counter Arrays

  • Conference paper
  • First Online:
  • 1327 Accesses

Abstract

At present, how to trade off the balance between the memory resources and sampling accuracy balance has become one of the most important problems focused on by the network packet sampling algorithms. This paper discusses a novel adaptive fair packet sampling algorithm (AFPS) to solve the above problem by improving the use ratio of memory resources. The key innovation of AFPS is the reconfigurable counter structure composed of two counter arrays, by which the AFPS count the small flow and large flow in a differential way and the size of two arrays can be adjusted adaptively according to the dynamic flow size distribution. The reconfigurable counter structure ensures not only a high memory use ratio value under different network conditions but also accurate estimation of small flows so that the overall sampling accuracy of AFPS is improved. The theoretical analysis and evaluation on real traffic traces show that AFPS can estimate the small flows accurately and the estimation error of the large ones’ equals to SGS. Besides AFPS keeps the memory resource use ratio on almost 0.952 under different conditions so that it can use the memory resource efficiently.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Fang, W., Peterson, L.: Inter-as: Traffic Patterns and their Implications. In: Proceedings of IEEE GLOBECOM (1999)

    Google Scholar 

  2. Estan, C., Varghese, G.: New directions in traffic measurement and accounting: focusing on the elephants, ignoring the mice. ACM Transactions on Computer Systems 21(63), 270–313 (2003)

    Google Scholar 

  3. Duffield, N.G., Lund, C., Thorup, M.: Flow sampling under hard resource constraints. In: Proceedings of the Joint International Conference on Measurement and Modeling of Computer Systems, pp. 85–96. ACM Press, New York (2004)

    Google Scholar 

  4. Kumar, A., Xu, J.: Sketch guided sampling—Using on-line estimates of flow size for adaptive data collection. In: Proceedings of IEEE Infocom 2006, Washington, pp. 1–11 (2006)

    Google Scholar 

  5. NLANR. PMA DATA. 2011[OL] (May 2013). http://labs.ripe.net/datarepository/data-sets/nlanr-pma-data

  6. Tammaro, D., Valenti, S., Rossi, D., Pescap, A.: Exploiting packet-Sampling measurements for traffic characterization and classification. Int. J. Netw. Manag. 22(6), 451–476 (2012)

    Article  Google Scholar 

  7. Masoud, M., Minlan, Y., Ramesh, G.: Resource/Accuracy tradeoffs in Software-defined measurement. In: HotSDN 2013, Hong Kong, China (August 16, 2013)

    Google Scholar 

  8. Minlan, Y., Jose, L., Rui, M.: Software Defined Traffic Measurement with OpenSketch. In: NSDI (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jing Wang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Institute for Computer Sciences, Social Informatics and Telecommunications Engineering

About this paper

Cite this paper

Wang, J., Wang, B., Zhang, X., Zhu, Y. (2014). An Adaptive Fair Sampling Algorithm Based on the Reconfigurable Counter Arrays. In: Leung, V., Chen, M., Wan, J., Zhang, Y. (eds) Testbeds and Research Infrastructure: Development of Networks and Communities. TridentCom 2014. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 137. Springer, Cham. https://doi.org/10.1007/978-3-319-13326-3_35

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-13326-3_35

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-13325-6

  • Online ISBN: 978-3-319-13326-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics