An automatic code overlaying technique for multicores with explicitly-managed memory hierarchies
Choonki Jang, Jun Lee, Sangmin Seo et al. · International Symposium on Code Generation and Optimization (CGO) · 2012
The explicitly-managed memory hierarchies, where a hierarchy of distinct memories is exposed to the programmer and managed explicitly by software, are not only found in typical embedded processors but also found in a class of high performance multicore architectures. Code overlay techniques have been widely used to execute a program whose code is bigger than the available code memory in the system. To generate an efficient overlaid executable with maximum storage savings as well as minimum performance overhead, the overlay structure should be designed carefully. In this paper, we propose an efficient code overlay technique that automatically generates an overlay structure for a given memory size for multicores with explicitly-managed memory hierarchies. We observe that finding an efficient overlay structure with minimum memory copying and run-time check overhead is similar to the problem that finds a code placement with minimum conflict misses in the instruction cache. Our algorithm exploits the temporal-ordering information between functions during program execution. The information is obtained from profiling the program. Experimental results with 11 parallel applications on the Cell BE processor indicate that our approach is effective and promising.
Cited by 0 works. doi:10.1145/2259016.2259045
Authors
References
- The SPLASH-2 programs
- A New Solution to Coherence Problems in Multicache Systems
- The directory-based cache coherence protocol for the DASH multiprocessor
- Profile guided code positioning
- Texas Instruments Inc.
- The directory-based cache coherence protocol for the DASH multiprocessor
- An 80-Tile Sub-100-W TeraFLOPS Processor in 65-nm CMOS
- A survey of cache coherence schemes for multiprocessors
- Linkers and Loaders
- Scratchpad memory