Ordering of high use program code segments using simulated annealing
Abstract
An apparatus, program product and method utilize a heuristic-based algorithm such as simulated annealing to order program code segments in a computer memory to provide improved computer performance in terms of memory access, e.g., by minimizing cache misses or other memory-related performance penalties that may be present in a multi-level memory architecture. Program code is ordered in a computer memory by selecting an ordering from among a plurality of orderings for a plurality of program code segments using a heuristic algorithm, and ordering the plurality of program code segments in a memory of a computer using the selected ordering.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 10.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of ordering program code in a computer memory, the method comprising: selecting an ordering from among a plurality of orderings for a plurality of program code segments using a heuristic algorithm, wherein the heuristic algorithm comprises a simulated annealing algorithm, wherein selecting the ordering using the heuristic algorithm includes testing a subset of the plurality of orderings, and wherein testing the subset of the plurality of orderings includes, for each ordering in the subset, calculating a cost for such ordering based upon cache miss rates for such ordering, and randomly
- Claim 2Depends on #1
The method of claim 1 , wherein the heuristic algorithm is configured to minimi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- "Profile-Directed Restructuring of Operating System Code", W.J. Schmidt et al, IBM System Journal, vol. 37, No. 2, 1998, pp. 270-297.
- Enhanced Simulated Annealing for Automatic Reconfiguration of Multiprocessors in Space, James R. Slagle et al, ACM, 1989, pp. 401-408.
- Experiments with Simulated Annealing, Surendra Nahar et al, IEEE, 1985, pp. 748-752.
- Optimization by Simulated Annealing, S. Kirkpatrick et al, Science, May 1983, pp. 671-680 partial page.
- Shade: A Fast Instruction-Set Simulator for Execution Profiling, Robert F. Cmelik et al, 1993, 41 pages.