Methods and apparatus for structure layout optimization for multi-threaded programs
Abstract
A computer-implemented method for performing structure layout optimization of a data structure in a multi-threaded environment is provided. The method includes determining a set of code concurrency values. The method also includes calculating a set of cycle gain values. The method further includes employing the set of cycle gain values and the set of code concurrency values to create a field layout graph, which is configured to illustrate relationship between a set of data fields of the data structure. The method yet also includes employing a cluster algorithm to the field layout graph to create a set of clusters. Each cluster of the set of clusters is employed to generate a cache line.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for performing structure layout optimization of a data structure comprising a set of data fields in a multi-threaded environment, comprising: determining a set of code concurrency values, each of said code concurrency values being indicative of potential false sharing among said set of data fields; calculating a set of cycle gain values, each of said cycle gain values being indicative of spatial locality between a pair of said data fields; employing said set of cycle gain values and said set of code concurrency values to create a field layout graph, said field lay
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- Anderson, Jennifer M., et al., "Data and Computation Transformations for Multiprocessors", PPOPP '95, Santa Clara, CA, © 1995, pp. 166-178.
- Annavaram, Murali, et al., "Call Graph Prefetching for Database Applications", ACM Transactions on Computer Systems, vol. 21, No. 4, Nov. 2003, pp. 412-444.
- Hong, Jumnit, et al., "Design, Implementation and Verification of Active Cache Emulator (ACE)", FPGA '06, Monterey, CA, Feb. 22-24, 2006, pp. 63-72.
- Huh, Jaehyuk, et al., "Coherence Decoupling: Making Use of Incoherence", ASPLOS '04, Boston, MA, Oct. 9-13, 2004, pp. 97-106.
- Kandemir, Mahmut, et al., "An Integer Linear Programming Approach for Optimizing Cache Locality", ICS '99, Rhodes, Greece, © 1999, pp. 500-509.