Skip to main navigation Skip to search Skip to main content

Dynamic data scratchpad memory management for a memory subsystem with an MMU

  • Seoul National University

Research output: Contribution to journal › Article › peer-review

Abstract

In this paper, we propose a dynamic scratchpad memory (SPM) management technique for a horizontally-partitioned memory subsystem with an MMU. The memory subsystem consists of a relatively cheap direct-mapped data cache and SPM. Our technique loads required global data and stack pages into the SPM on demand when a function is called. A scratchpad memory manager loads/unloads the data pages and maintains a page table for the MMU. Our approach is based on post-pass analysis and optimization techniques, and it handles the whole program including libraries. The data page mapping is determined by solving an integer linear programming (ILP) formulation that approximates our demand paging technique. The ILP model uses a dynamic call graph annotated with the number of memory accesses and/or cache misses obtained by profiling. We evaluate our technique on thirteen embedded applications. We compare the results to a reference system with a 4-way set associative data cache and the ideal case with the same 4-way cache and SPM, where all global and stack data is placed in the SPM. On average, our approach reduces the total system energy consumption by 8.1% with no performance degradation. This is equivalent to exploiting 60% of the room available in energy reduction between the reference case and the ideal case.

Original languageEnglish
Pages (from-to)195-206
Number of pages12
JournalACM SIGPLAN Notices
Volume42
Issue number7
DOIs
StatePublished - Jul 2007
Externally publishedYes

Keywords

  • Compilers
  • Demand paging
  • Horizontally-partitioned memory
  • Post-pass optimization
  • Scratchpad memory

Fingerprint

Dive into the research topics of 'Dynamic data scratchpad memory management for a memory subsystem with an MMU'. Together they form a unique fingerprint.

Cite this