7
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      Towards Memory Prefetching with Neural Networks: Challenges and Insights

      Preprint
      , ,

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          Accurate memory prefetching is paramount for processor performance, and modern processors employ various techniques to identify and prefetch different memory access patterns. While most modern prefetchers target spatio-temporal patterns by matching memory addresses that are accessed in close proximity (either in space or time), the recently proposed concept of semantic locality views locality as an artifact of the algorithmic level and searches for correlations between memory accesses and program state. While this approach was shown to be effective, capturing semantic locality requires significant associative learning capabilities. In this paper we utilize neural networks for this task. Artificial neural networks are becoming increasingly effective in tasks of pattern recognition and associative learning of complex relations. We leverage recent advances in this field to propose a conceptual neural network prefetcher. We show that by targeting semantic locality, this prefetcher can learn distinct memory access patterns that cannot be covered by other state-of-the-art prefetchers. We evaluate the neural network prefetcher over SPEC2006, Graph500, and a variety of handwritten kernels. We show that the prefetcher can deliver an average speedup of 22% for SPEC2006 (up to 90%) and up to 5x over kernels. We also explore the limitations of using neural networks for prefetching. Ultimately, we conclude that although there are still many challenges to overcome before we can reach a feasible, power-efficient implementation, the neural network prefetcher potential gains over state-of-the-art prefetchers justify further exploration

          Related collections

          Most cited references7

          • Record: found
          • Abstract: not found
          • Article: not found

          Hybrid computing using a neural network with dynamic external memory

            Bookmark
            • Record: found
            • Abstract: not found
            • Article: not found

            Universal prediction

              Bookmark
              • Record: found
              • Abstract: not found
              • Conference Proceedings: not found

              Ternary neural networks for resource-efficient AI applications

                Bookmark

                Author and article information

                Journal
                19 March 2018
                Article
                1804.00478
                dc09b213-92a1-4a1e-b606-281e1a5f790e

                http://arxiv.org/licenses/nonexclusive-distrib/1.0/

                History
                Custom metadata
                Newer version under submission
                cs.DC

                Comments

                Comment on this article