skip to main content
10.1145/1509084.1509086acmotherconferencesArticle/Chapter ViewAbstractPublication PagesmedeaConference Proceedingsconference-collections
research-article

Modeling of cache access behavior based on Zipf's law

Published:26 October 2008Publication History

ABSTRACT

Recently, chip multiprocessors (CMPs) that can simultaneously execute multiple workloads using multiple cores have become a key to achieve high-performance processing. To improve CMP performance, various shared resource management mechanisms have been proposed. In particular, cache partitioning is significantly effective to avoid resource conflicts at a shared cache memory. As most cache partitioning methods need to predict the changes in cache access characteristics of each workload when the cache partition moves, it is important for cache partitioning to establish an accurate prediction model.

In this paper, we first analyze the cache access locality of various applications using stack distance profiling. We figure out that stack distance distributions incline to obey socalled Zipf's law. To achieve effective cache partitioning, then, we propose a model based on Zipf's law that predicts the changes in the stack distance distributions. Using the model, we also show the validity of a measure, which has been proposed in our previous work to quantify how much a workload demands the cache capacity.

References

  1. A. Bardine, P. Foglia, G. Gabrielli, C. A. Prete, and P. Stenström. Improving power efficiency of d-nuca caches. ACM SIGARCH Computer Architecture News, 35(4):53--58, Sept. 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. N. Binkert, R. Dreslinski, L. Hsu, K. Lim, A. Saidi, and S. Reinhardt. The m5 simulator: Modeling networked systems. IEEE Micro, 26(4):52--60, July-Aug. 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. L. Breslau, P. Cao, L. Fan, G. Phillips, and S. Shenker. Web caching and zipf-like distributions: evidence and implications. INFOCOM '99: Proceedings of the Eighteenth Annual Joint Conference, 1:126--134, Mar 1999.Google ScholarGoogle ScholarCross RefCross Ref
  4. D. Chandra, F. Guo, S. Kim, and Y. Solihin. Predicting inter-thread cache contention on a chip multi-processor architecture. In HPCA '05: Proceedings of the 11th International Symposium on High-Performance Computer Architecture, pages 340--351, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. C. Cunha, A. Bestavros, and M. Crovella. Characteristics of World Wide Web Client-based Traces. Technical Report BUCS-TR-1995-010, Boston University, CS Dept, Boston, MA 02215, April 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. D. G. Feitelson. On the interpretation of top500 data. International Journal of High Performance Computing Applications, 13(2):146--153, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. B. Gutenberg and C. F. Richter. Frequency and energy of earthquakes. Seismicity of the Earth and Associated Phenomena, pages 17--19, 1954.Google ScholarGoogle Scholar
  8. R. Iyer, L. Zhao, F. Guo, R. Illikkal, S. Makineni, D. Newell, Y. Solihin, L. Hsu, and S. Reinhardt. Qos policies and architecture for cache/memory in cmp platforms. Proceedings of the 2007 ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems, 35(1):25--36, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. Kim, D. Chandra, and Y. Solihin. Fair cache sharing and partitioning in a chip multiprocessor architecture. In PACT '04: Proceedings of the 13th International Conference on Parallel Architectures and Compilation Techniques, pages 111--122, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. H. Kobayashi, I. Kotera, and H. Takizawa. Locality analysis to control dynamically way-adaptable caches. ACM SIGARCH Computer Architecture News, 33(3):25--32, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. I. Kotera, K. Abe, R. Egawa, H. Takizawa, and H. Kobayashi. Power-aware dynamic cache partitionning for cmps. Transactions on High-Performance Embedded Architectures and Compilers, 3(2):149--167, 2008.Google ScholarGoogle Scholar
  12. I. Kotera, R. Egawa, H. Takizawa, and H. Kobayashi. A power-aware shared cache mechanism based on locality assessment of memory reference for cmps. In MEDEA '07: Proceedings of the 2007 workshop on MEmory performance, pages 113--120, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. M. K. Qureshi and Y. N. Patt. Utility-based cache partitioning: A low-overhead, high-performance, runtime mechanism to partition shared caches. In MICRO 39: Proceedings of the 39th Annual IEEE/ACM International Symposium on Microarchitecture, pages 423--432, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. M. Ripeanu. Note on zipf distribution in top500 supercomputers list. Technical report, IEEE Distributed Systems Online, October 2006.Google ScholarGoogle Scholar
  15. G. E. Suh, L. Rudolph, and S. Devadas. Dynamic partitioning of shared cache memory. Journal of Supercomputing, 28(1):7--26, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. The Standard Performance Evaluation Corporation. http://www.spec.org/.Google ScholarGoogle Scholar
  17. TOP500 Supercomputer Sites. http://www.top500.org/.Google ScholarGoogle Scholar
  18. G. K. Zipf. Human Behavior and the Principle of Least Effort. Addison-Wesley, 1949.Google ScholarGoogle Scholar

Index Terms

  1. Modeling of cache access behavior based on Zipf's law

        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 Other conferences
          MEDEA '08: Proceedings of the 9th workshop on MEmory performance: DEaling with Applications, systems and architecture
          October 2008
          88 pages
          ISBN:9781605582436
          DOI:10.1145/1509084

          Copyright © 2008 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: 26 October 2008

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate6of9submissions,67%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader