Procedure placement using temporal-ordering information
- 1 September 1999
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Programming Languages and Systems
- Vol. 21 (5) , 977-1027
- https://doi.org/10.1145/330249.330254
Abstract
Instruction cache performance is important to instruction fetch efficiency and overall processor performance. The layout of an executable has a substantial effect on the cache miss rate and the instruction working set size during execution. This means that the performance of an executable can be improved by applying a code-placement algorithm that minimizes instruction cache conflicts and improves spatial locality. We describe an algorithm for procedure placement, one type of code placement, that signicantly differs from previous approaches in the type of information used to drive the placement algorithm. In particular, we gather temporal-ordering information that summarizes the interleaving of procedures in a program trace. Our algorithm uses this information along with cache configuration and procedure size information to better estimate the conflict cost of a potential procedure ordering. It optimizes the procedure placement for single level and multilevel caches. In addition to reducing instruction cache conflicts, the algorithm simultaneously minimizes the instruction working set size of the program. We compare the performance of our algorithm with a particularly successful procedure-placement algorithm and show noticeable improvements in the instruction cache behavior, while maintaining the same instruction working set size.Keywords
This publication has 9 references indexed in Scilit:
- Program optimization for instruction cachesPublished by Association for Computing Machinery (ACM) ,1989
- A case for direct-mapped cachesComputer, 1988
- An automatic overlay generatorIBM Journal of Research and Development, 1986
- Cache MemoriesACM Computing Surveys, 1982
- Tailoring Programs to Models of Program BehaviorIBM Journal of Research and Development, 1975
- Improving locality by critical working setsCommunications of the ACM, 1974
- Optimizing program placement in virtual systemsIBM Systems Journal, 1974
- Program restructuring for virtual memoryIBM Systems Journal, 1971
- Virtual MemoryACM Computing Surveys, 1970