skip to main content
10.1145/1152154.1152188acmconferencesArticle/Chapter ViewAbstractPublication PagespactConference Proceedingsconference-collections
Article

Two-level mapping based cache index selection for packet forwarding engines

Published:16 September 2006Publication History

ABSTRACT

Packet forwarding is a memory-intensive application requiring multiple accesses through a trie structure. The efficiency of a cache for this application critically depends on the placement function to reduce conflict misses. Traditional placement functions use a one-level mapping that naively partitions trie-nodes into cache sets. However, as a significant percentage of trie nodes are not useful, these schemes suffer from a non-uniform distribution of useful nodes to sets. This in turn results in increased conflict misses. Newer organizations such as variable associativity caches achieve flexibility in placement at the expense of increased hit-latency. This makes them unsuitable for L1 caches.We propose a novel two-level mapping framework that retains the hit-latency of one-level mapping yet incurs fewer conflict misses. This is achieved by introducing a secondlevel mapping which reorganizes the nodes in the naive initial partitions into refined partitions with near-uniform distribution of nodes. Further as this remapping is accomplished by simply adapting the index bits to a given routing table the hit-latency is not affected. We propose three new schemes which result in up to 16% reduction in the number of misses and 13% speedup in memory access time. In comparison, an XOR-based placement scheme known to perform extremely well for general purpose architectures, can obtain up to 2% speedup in memory access time.

References

  1. J-L. Baer, D. Low, P. Crowley and N. Sidhwaney. Memory hierarchy design for a multiprocessor look-up engine. In Proc. of Int. Conf. on Parallel Architectures and Compilation Techniques, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. A. Brodnik, S. Carlsson, M. Degermark, and S. Pink. Small forwarding tables for fast routing lookups.In Proc. of ACM SIGCOMM'97, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. H.J.Chao. Next Generation Routers. Invited paper, IEEE Proceeding, vol. 90, no. 9, pp. 1518--1558, 2002.Google ScholarGoogle ScholarCross RefCross Ref
  4. T. Chieueh and K. Gopalan. Improving Route Lookup performance using network processor cache. In IEEE/ACM SC2002 Conf., 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. T. Chieueh and P. Pradhan. Cache memory design for network processors. In Proc.of Int. Symp. on High Performance Computer Architecture, 2000.Google ScholarGoogle Scholar
  6. J. Edler and M.D. Hill. Dinero IV trace-driven uniprocessor cache simulator. www.cs.wisc.edu/markhill/DineroIV/, 1998.Google ScholarGoogle Scholar
  7. A. González, M. Valero, N. Topham, and J.M. Parcerisa. Eliminating cache conflict misses through XOR-based placement functions. Int. Conf. on Supercomputing, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. E.G.Hallnor and S.K.Reinhardt. A fully associative software-managed cache design. In Proc. of Int. Symp. Computer Architecture 2000, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J.L. Hennessey and D.A. Patterson. Computer architecture: a quantitative approach-3rd Ed. Morgan Kaufmann Publishers Inc., San Francisco, CA, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. M.Kharbutli, K.Irwin, Y.Solilin, J.Lee. Using prime numbers for for cache indexing to eliminate conflict misses. In Proc. of IEEE Int. Symp. on High Performance Computer Architecture, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. B.Lampson, V.Srinivasan, and G.Varghese. IP lookup using multiway and multicolumn search. Proc. of IEEE Infocom, 98Google ScholarGoogle Scholar
  12. J. Mudigonda, H.M. Vin and R. Yavatkar. Overcoming the memory wall in packet processing: hammers or ladders? .In Proc. of Int. Symp. on Architectures for Networking and Communication Systems, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. G. Narlikar and F. Zane. Performance modeling for fast IP lookups. In Proc. of ACM SIGMETRICS, 2001 Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. S.Nilsson and G.Karlsson. IP-address lookup using LC-tries. IEEE Journal on Selected Areas in Communications, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. M.K. Qureshi, D. Thompson, Y.N. Patt. The V-Way Cache: Demand Based Associativity via Global Replacement. In Proc. of Int. Symp. Computer Architecture, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. K. Rajan and R. Govindarajan. A Heterogeneously Segmented Cache architecture for a packet forwarding engine. In Int. Conf. on Supercomputing, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. V.C.Ravikumar, R.Mahapatra, J.C.Liu. Modified LC-trie based efficient routing lookup. IEEE International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunications Systems (MASCOTS'02), 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M. Ruiz-Sanchez, E. Biersack, and W. Dabbous. Survey and taxonomy of IP address lookup algorithms. IEEE Network Magazine, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. D. Thiebaut, J.L. Wolf, H.S.Stone. Synthetic traces for trace-driven simulation of cache memories. IEEE Transactions on Computers, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. B.Talbot, T.Sherwood, and B.Lin. IP caching for terabit speed routers. Proc. of IEEE Globcom, 1999.Google ScholarGoogle ScholarCross RefCross Ref
  21. University of Oregon Route Views Project www.routeviews.org.Google ScholarGoogle Scholar

Index Terms

  1. Two-level mapping based cache index selection for packet forwarding engines

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      PACT '06: Proceedings of the 15th international conference on Parallel architectures and compilation techniques
      September 2006
      308 pages
      ISBN:159593264X
      DOI:10.1145/1152154

      Copyright © 2006 ACM

      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]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 16 September 2006

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate121of471submissions,26%

      Upcoming Conference

      PACT '24
      International Conference on Parallel Architectures and Compilation Techniques
      October 14 - 16, 2024
      Southern California , CA , USA

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader