Method and system for determining optimal data layout using blind justice
Abstract
Disclosed are a method and system for finding an optimal data layout. The approach of the present invention is to try one of several data layouts in the memory, measure the impact of said one data layout on a performance of a program, and decide which of said several data layouts to try next. The trying and measuring steps are repeated, and one of said several data layouts is selected as best or optimal based on the measurings. The preferred embodiment of the invention provides layout auditing, a framework for picking the best data layout online without requiring any user input. Layout auditing optimizes data layouts with a try-measure-decide feedback loop: use a data reorganizer to try one of several data layouts, use a profiler to measure the impact of the data layout on performance, and use a controller to decide which data layout to try next.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 13.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for improving data locality in a memory, comprising: a data reorganizer to copy data objects in different data layouts in the memory; a profiler for evaluating the performances of the different data layouts; and a controller to choose one of the data layouts as optimal based on said evaluating, wherein: said profiler outputs information describing said different performances; the controller uses said output information to choose the optimal data layout; the profiler outputs counts of simulated data accesses, cache misses and TLB misses for each of the data layouts; and the controller
- Claim 2Independent Claim
A system for improving data locality in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (4)
- Ali-Reza Adl-Tabatabai, Richard L. Hudson, Mauricio J. Serrano, and Sreenivas Subramoney "Prefetch Injection Based on Hardware Monitoring and Object Metadata", PLDI 2004.
- Chengliang Zhang and Martin Hirzel, "Blind Justice for Data Locality: Taming the Multi-armed GC Bandit", IBM Confidential, October 10, 2006; pp. 1-7.
- Chengliang Zhang, Chen Ding, Mitsunori Ogihara, Yutao Zhong, and Youfeng Wu, "A Hierarchical Model of Data Locality", In Principles of Programming Languages (POPL), 2006; and.
- Erez Petrank and Dror Rawitz, "The Hardness of Cache Conscious Data Placement", In Principles of Programming Languages, (POPL), 2002.