skip to main content
10.1145/2744769.2744861acmconferencesArticle/Chapter ViewAbstractPublication PagesdacConference Proceedingsconference-collections
research-article

Interleaved multi-bank scratchpad memories: a probabilistic description of access conflicts

Published:07 June 2015Publication History

ABSTRACT

Shared on-chip memory is common on state-of-the-art multicore platforms. In a number of designs, memory throughput is enhanced by providing multiple independent memory banks and spreading consecutive memory addresses to these (interleaving). This can reduce, but not eliminate, the number of access conflicts. In this paper, we statically analyse the probabilities and frequencies of these access conflicts and calculate the expected throughput for various hardware configurations and software applications. Using two techniques -- the classic occupancy distribution and a Markov model -- we are able to explain most of the underlying conflict mechanisms and to provide accurate estimations. We present the practical consequences for hardware and software design and establish an intuitive understanding of the characteristics of interleaved memory architectures.

References

  1. Adapteva. Epiphany Architecture Reference Manual. http://adapteva.com/docs/epiphany_arch_ref.pdf, 2008--2013.Google ScholarGoogle Scholar
  2. F. Baskett and A. J. Smith. Interference in Multiprocessor Computer Systems with Interleaved Memory. Comm. ACM, 19(6):327--334, June 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. L. Benini et al. P2012: Building an Ecosystem for a Scalable, Modular and High-Efficiency Embedded Computing Accelerator. In Proc. DATE, pages 983--987, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. D. P. Bhandarkar. Analysis of memory interference in multiprocessors. Computers, IEEE Transactions on, 100(9):897--908, 1975. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. D. P. Bhandarkar and S. H. Fuller. Markov Chain Models for Analyzing Memory Interference in Multiprocessor Computer Systems. In Proc. Symposium on Computer Architecture, ISCA '73, pages 1--6. ACM, 1973. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. N. Binkert et al. The gem5 simulator. ACM SIGARCH Computer Architecture News, 39(2):1--7, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. G. J. Burnett and E. G. Coffman, Jr. A Study of Interleaved Memory Systems. In Proc. Spring Joint Computer Conference, AFIPS '70 (Spring), pages 467--474. ACM, May 1970. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. G. J. Burnett and E. G. Coffman, Jr. A Combinatorial Problem Related to Interleaved Memory Systems. J. ACM, 20:39--45, Jan. 1973. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. W. Feller. An introduction to probability theory and its applications, volume 1. Wiley, 1968.Google ScholarGoogle Scholar
  10. M. R. Guthaus et al. MiBench: A free, commercially representative embedded benchmark suite. In Workload Characterization, 2001. WWC-4. 2001 IEEE Int'l Workshop on, pages 3--14. IEEE, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. N. Johnson and S. Kotz. Urn models and their application: an approach to modern discrete probability theory. Wiley, 1977.Google ScholarGoogle Scholar
  12. R. v. Mises. Über Aufteilungs- und Besetzungswahrscheinlichkeiten. Revue de la Faculté de Sciences de l'Université d'Istanbul, pages 145--163, 1938--39.Google ScholarGoogle Scholar
  13. S. Rabinowitz. A model for interference in multiprocessors. Missouri Journal of Mathematical Sciences, 3:12--19, 1991.Google ScholarGoogle ScholarCross RefCross Ref
  14. B. R. Rau. Interleaved Memory Bandwidth in a Model of a Multiprocessor Computer System. IEEE Trans. Computers, 28(9):678--681, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. B. R. Rau. Pseudo-randomly Interleaved Memory. In Proceedings of the 18th Annual International Symposium on Computer Architecture, ISCA '91, pages 74--83. ACM, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. C. E. Skinner and J. R. Asher. Effects of storage contention on system performance. IBM Systems Journal, 8(4):319--333, 1969. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. W. D. Strecker. An analysis of the instruction execution rate in certain computer structures. PhD thesis, 1970. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Interleaved multi-bank scratchpad memories: a probabilistic description of access conflicts

      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
        DAC '15: Proceedings of the 52nd Annual Design Automation Conference
        June 2015
        1204 pages
        ISBN:9781450335201
        DOI:10.1145/2744769

        Copyright © 2015 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 the author(s) 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: 7 June 2015

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate1,770of5,499submissions,32%

        Upcoming Conference

        DAC '24
        61st ACM/IEEE Design Automation Conference
        June 23 - 27, 2024
        San Francisco , CA , USA

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader