Bibliographic Details
| Title: |
Scratchpad Memory Management Techniques for Code in Embedded Systems without an MMU. |
| Authors: |
Egger, Bernhard1,2 bernhard.egger@samsung.com, Seungkyun Kim3,4 seungkyun@aces.snu.ac.kr, Choonki Jang4 choonki@aces.snu.ac.kr, Jaejin Lee1,4 jlee@cse.snu.ac.kr, Sang Lyul Min1,4 symin@archi.snu.ac.kr, Heonshik Shin1,4 shinhs@snu.ac.kr |
| Source: |
IEEE Transactions on Computers. Aug2010, Vol. 59 Issue 8, p1047-1062. 16p. |
| Subjects: |
Compilers (Computer programs), Mathematical optimization, Mathematical programming, Embedded computer systems, Computer programming |
| Abstract: |
We propose a code scratchpad memory (SPM) management technique with demand paging for embedded systems that have no memory management unit. Based on profiling information, a postpass optimizer analyzes and optimizes application binaries in a fully automated process. It classifies the code of the application including libraries into three classes based on a mixed integer linear programming formulation: External code is executed directly from the external memory. Pinned code is loaded into the SPM when the application starts and stays in the SPM. Paged code is loaded into/unloaded from the SPM on demand. We evaluate the proposed technique by running 14 embedded applications both on a cycle-accurate ARM processor simulator and an ARM1136JF-S core. On the simulator, the reference case, a four-way set-associative cache, is compared to a direct-mapped cache and an SPM of comparable die area. On average, we observe an improvement of 12 percent in runtime performance and a 21 percent reduction in energy consumption. On the ARM11 board, the reference case run on the 16-KB four-way set-associative cache is compared to the demand paging solution on the 16-KB SPM, optionally supported by the cache. The measured results show both a runtime performance improvement and a reduction of the energy consumption by 23 percent, on average. [ABSTRACT FROM AUTHOR] |
|
Copyright of IEEE Transactions on Computers is the property of IEEE and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) |
| Database: |
Engineering Source |