An Efficient Profile-Analysis Framework for Data-Layout Optimizations - PowerPoint PPT Presentation

About This Presentation
Title:

An Efficient Profile-Analysis Framework for Data-Layout Optimizations

Description:

Object rearrangement in the heap. Object inlining. Motivation. A solution to find the optimal layout is NP-hard and also poorly approximable ... – PowerPoint PPT presentation

Number of Views:28
Avg rating:3.0/5.0
Slides: 9
Provided by: Kir958
Learn more at: https://cseweb.ucsd.edu
Category:

less

Transcript and Presenter's Notes

Title: An Efficient Profile-Analysis Framework for Data-Layout Optimizations


1
An Efficient Profile-Analysis Framework for
Data-Layout Optimizations
  • By
  • Shai Rubin,
  • Rastislav Bodik,
  • Trishul Chilimbi

2
Data-Layout Optimization
  • To improve memory hierarchy performance by
    exploiting spatial locality
  • Group the data that is accessed together
  • Minimizing cache conflicts
  • Optimizations
  • Field rearrangement in an object
  • Object rearrangement in the heap
  • Object inlining

3
Motivation
  • A solution to find the optimal layout is NP-hard
    and also poorly approximable
  • All these techniques are actually heuristics and
    no guarantee of effectiveness and robustness
  • A naïve approach is tedious

4
Solution
  • A generalized framework to determine the best
    layout for a given program
  • Unifying existing profile-based data layout
    optimizations
  • A very efficient way of evaluating a candidate
    layout with simulation

5
(No Transcript)
6
Optimization Evaluation
  • Memoization
  • Dynamic programming
  • Whole Program Misses
  • The representation omits references that can
    never suffer any memory fault
  • Ex. abba
  • On demand Cache simulation

7
Results
8
Discussion
  • How many applications really use this kind of
    optimizations?
  • Some of the optimizations are already automated
    (ex. Object inlining)
Write a Comment
User Comments (0)
About PowerShow.com