Skip to main content

Enhancing Network Processor Simulation Speed with Statistical Input Sampling

  • Conference paper
High Performance Embedded Architectures and Compilers (HiPEAC 2005)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3793))

Abstract

While cycle-accurate simulation tools have been widely used in modeling high-performance processors, such an approach can be hindered by the increasing complexity of the simulation, especially in modeling chip multi-proce- ssors with multi-threading such as the network processors (NP). We have observed that for NP cycle level simulation, several days of simulation time covers only about one second of the real-world network traffic. Existing approaches to accelerating simulation are through either code analysis or execution sampling. Unfortunately, they are not applicable in speeding up NP simulations due to the small code size and the iterative nature of NP applications. We propose to sample the traffic input to the NP so that a long packet trace is represented by a much shorter one with simulation error bounded within ±3% and 95% confidence. Our method resulted one order of magnitude improvement in the NP simulation speed.

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

Access this chapter

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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Intel Corporation. Intel IXP2XXX Product Line of Network Processors, http://www.intel.com/design/network/products/npfamily/ixp2xxx.htm

  2. Lakshmanamurthy, S., Liu, K.Y., Pun, Y.: Network Processor Performance Analysis Methodology. Intel Technology Journal 06 (2002)

    Google Scholar 

  3. Franklin, M.A., Wolf, T.: Power Considerations in Network Processor Design. In: Workshop on Network Processors in conjunction with HPCA-9 (2003)

    Google Scholar 

  4. Sherwood, T., Perelman, E., Hamerly, G., Calder, B.: Automatically Characterizing Large Scale Program Behavior. In: The 10th International Conference on Architectural Support for Programming Languages and Operating Systems (2002)

    Google Scholar 

  5. Wunderlich, R.E., Wenisch, T.F., Falsafi, B., Hoe, J.C.: SMARTS: Accelerating Microarchitecture Simulation via Rigorous Statistical Sampling. In: International Symposium on Computer Architecture (2003)

    Google Scholar 

  6. Wunderlich, R.E., Wenisch, T.F., Falsafi, B., Hoe, J.C.: An evaluation of Stratified Sampling of Microarchitecture Simulations. In: Workshop on Duplicating, Deconstructing and Debunking (2004)

    Google Scholar 

  7. Yi, J.J., Kodakara, V., Sendag, R., Lilja, D.J., Hawkins, D.M.: Characterizing and Comparing Prevailing Simulation Techniques. In: International Symposium on High-Performance Computer Architecture (2005)

    Google Scholar 

  8. Luo, Y., Yang, J., Bhuyan, L., Zhao, L.: NePSim: A Network Processor Simulator with Power Evaluation Framework. IEEE Micro (September/October 2004)

    Google Scholar 

  9. Tan, Z.X., Lin, C., Yin, H., Li, B.: Optimization and Benchmark of Cryptographic Algorithms on Network Processors. IEEE Micro (September/October 2004)

    Google Scholar 

  10. Levy, P.S., Lemeshow, S.: Sampling of Populations: Methods and Applications. John Wiley and Sons, Inc., Chichester (1999)

    MATH  Google Scholar 

  11. Pelleg, D., Moore, A.: Accelerating Exact K-means Algorithms with Geometric Reasoning. In: Proceedings of the Fifth International Conference on Knowledge Discovery in Databases (1999)

    Google Scholar 

  12. Network traces, http://www.nlanr.net

  13. Ross, S.M.: Introduction to Probability and Statistics for Engineers and Scientists. Elsevier Academic Press, Amsterdam (2004)

    MATH  Google Scholar 

  14. Menasce, D.A., Almeida, V.A.F.: Capacity Planning for Web Services. Prentice Hall, Inc., Englewood Cliffs (2001)

    Google Scholar 

  15. Conte, T.M., Hirsch, M.A., Hwu, W.W.: Combining trace sampling with single pass methods for efficient cache simulation. In: The 1996 International Conference on Computer Design (1996)

    Google Scholar 

  16. Perelman, E., Hamerly, G., Calder, B.: Picking Statistically Valid and Early Simulation Points. In: International Conference on Parallel Architecture and Compilation Techniques (2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Yu, J., Yang, J., Chen, S., Luo, Y., Bhuyan, L. (2005). Enhancing Network Processor Simulation Speed with Statistical Input Sampling. In: Conte, T., Navarro, N., Hwu, Wm.W., Valero, M., Ungerer, T. (eds) High Performance Embedded Architectures and Compilers. HiPEAC 2005. Lecture Notes in Computer Science, vol 3793. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11587514_6

Download citation

  • DOI: https://doi.org/10.1007/11587514_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-30317-6

  • Online ISBN: 978-3-540-32272-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics