Profile-guided data layout
Abstract
A method for optimizing (re-structuring) data layout for 1) local or global variables and/or 2) fields of a structure or object and/or 3) function pointers in a virtual function table in a compiled program is based on profile feedback. A user, such as a software programmer, identifies one or more classes of data elements in an application that the user wishes to optimize. A method, which may be implemented in a software program such as a compiler, analyzes the profile for the designated data elements to determine, based on the application's temporal behavior, how to order the designated data elements in order to optimize data cache performance.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 19.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method, comprising: determining, based upon profile information for an application, a temporal relationship between a first data element and a second data element; and determining a suggested data ordering for the first data element in relation to the second data element, based on the temporal relationship; wherein said first and second data elements are of a data type other than data members of an object.
- Claim 2Depends on #1
The method of claim 1 , wherein: the first and second data elements are fields of a single data structure.
- Claim 3Depends on #1
The method of claim 1 , wherein: the first and second data elements are local variables associated with a single procedure.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Chilimbi, et al., Cache-Conscious Structure Layout, Proceedings of the ACM SIGPLAN 99 Conference, May 1999, 12 pages.
- Chilimbi, et al., Making Pointer-Based Data Structures Cache Conscious, 15 Pages.
- Muchnick, Steven S., Advanced Compiler Design Implementation, 1997, Chapter 20, pp. 669-704, Morgan Kaufmann Publishers, San Francisco, Calif.
- Pettis, et al., Profile Guided Code Positioning, ACM SIGPLAN Conference, Jun. 20-22, 1990, pp. 16-27, New York.
- Rabbah, et al., Data Remapping for Design Space Optimization of Embedded Memory Systems, Georgia Institute of Technology, ACM Transactions, Fall 2002, 33 pages.