ACM Home Page
Please provide us with feedback. Feedback
Dynamic data scratchpad memory management for a memory subsystem with an MMU
Full text PdfPdf (406 KB)
Source
Language, Compiler and Tool Support for Embedded Systems archive
Proceedings of the 2007 ACM SIGPLAN/SIGBED conference on Languages, compilers, and tools for embedded systems table of contents
San Diego, California, USA
SESSION: Memory systems table of contents
Pages: 195 - 206  
Year of Publication: 2007
ISBN:978-1-59593-632-5
Also published in ...
Authors
Hyungmin Cho  Seoul National University, Seoul, South Korea
Bernhard Egger  Seoul National University, Seoul, South Korea
Jaejin Lee  Seoul National University, Seoul, South Korea
Heonshik Shin  Seoul National University, Seoul, South Korea
Sponsors
ACM: Association for Computing Machinery
SIGBED: ACM Special Interest Group on Embedded Systems
SIGARCH: ACM Special Interest Group on Computer Architecture
SIGMICRO: ACM Special Interest Group on Microarchitectural Research and Processing
SIGPLAN: ACM Special Interest Group on Programming Languages
SIGDA: ACM Special Interest Group on Design Automation
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 94,   Citation Count: 4
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1254766.1254804
What is a DOI?

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 managerloads/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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Advanced Compiler Research Laboratory. Seoul National University Advanced Compiler Tool Kit (SNACK). http://aces.snu.ac.kr/snack.html, 2004.
2
3
4
 
5
 
6
7
8
9
 
10
 
11
Lindo Systems Inc. What's Best! 8.0. http://www.lindo.com/products/wb/wbm.html, 2007.
 
12
Intel. Intel XScale Core Developers Manual, January 2004.
13
 
14
 
15
ARM Ltd. ARM926EJ-S,. http://www.arm.com/products/CPUs/ARM926EJ-S.html, 2002.
 
16
ARM Ltd. ARM926EJ-S Technical Reference Manual, 2003.
 
17
Micron Technology, Inc. MT48H8M16LF Mobile SDRAM. http://www.micron.com/products/dram/mobilesdram/, 2003.
 
18
Micron Technology, Inc. Mobile SDRAM Power Calc 10. http://www.micron.com/systemcalc, 2004.
 
19
MP3 Reference Decoder. http://www.mp3-tech.org/programmer/sources/dist10.tgz, 1996.
20
 
21
Pretty Good Privacy (PGPi). http://www.pgpi.org/, 2002.
 
22
Samsung Semiconductor. K4X51163PC Mobile DDR SRAM. http://www.samsung.com/products/semiconductor/MobileSDRAM/, 2005.
23
24
 
25
26
27
28
 
29
Steven J. E. Wilton and Norman P. Jouppi. CACTI: An Enhanced Cache Access and Cycle Time Model. IEEE Journal of Solid State Circuits, 31(5):677--688, 1996.
 
30
Xvid MPEG-4 Video Codec. http://www.xvid.org, 2005.


Collaborative Colleagues:
Hyungmin Cho: colleagues
Bernhard Egger: colleagues
Jaejin Lee: colleagues
Heonshik Shin: colleagues