Beyond Profiling Mohamed Zahran Chris Quackenbush Computer Science - - PowerPoint PPT Presentation

beyond profiling
SMART_READER_LITE
LIVE PREVIEW

Beyond Profiling Mohamed Zahran Chris Quackenbush Computer Science - - PowerPoint PPT Presentation

Beyond Profiling Mohamed Zahran Chris Quackenbush Computer Science Dept. Google NYU cquackenbush@gmail.com mzahran@cs.nyu.edu Profiling Output Execution Program Profile Data Hardware optimization Hardware reconfiguration


slide-1
SLIDE 1

Beyond Profiling

Mohamed Zahran Computer Science Dept. NYU mzahran@cs.nyu.edu

Chris Quackenbush Google

cquackenbush@gmail.com

slide-2
SLIDE 2

Profiling

Program

Execution

Output Profile Data

  • Feedback-directed optimization
  • Code optimization
  • ….
  • Hardware optimization
  • Hardware reconfiguration
  • ….
slide-3
SLIDE 3

Hardware/Software Interaction

Start Execution End Execution

  • No predictions
  • Gather patterns
  • Predict
  • Update patterns

Training Inference

Examples: branch prediction, data value prediction, cache replacement, cache power management, …

slide-4
SLIDE 4

Hypothesis

Software Hardware

Patterns

It is all about patterns. If we can learn the patterns, we can get useful info for ANY program and from ANY program.

slide-5
SLIDE 5

Implementation

Offline Online

PARSEC

  • List traversal
  • Matrix transpose
  • Array multiplication
  • Quicksort
slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8
slide-9
SLIDE 9

Roadmap

More sensitivity analysis and signature formats More test cases Branch prediction with offline data (Spectre?) Automatically generating patterns Continuous learning and re-learning

slide-10
SLIDE 10

Conclusions

  • The hardware (re)configuration depends
  • n patterns.
  • We can extra these patterns from any

profile data.

  • The more profile data we have the more

patterns we learn.

slide-11
SLIDE 11

Questions!

Mohamed Zahran mzahran@cs.nyu.edu http://www.mzahran.com Chris Quackenbush Google cquackenbush@gmail.com