cs8803SC_lecture16-1

cs8803SC_lecture16-1 - CS8803SC Software and Hardware...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CS8803SC Software and Hardware Cooperative Computing Profiling Prof. Hyesoon Kim School of Computer Science Georgia Institute of Technology Profile • Instrumentation method – Compiler inserts code to collect profile information • Sampling method – Use hardware performance counters – Works without modifying the code • Event-based profiling • Time-based profiling
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 When do we use profile results? 1) Programming time Programmers analyze code and see whether they can optimize the code or not 2) Compilation time Compiler performs optimization based on profiling data (e.g. feedback compilation) Examples of Compiler optimizations • Trace scheduling • Instruction scheduling • Loop unrolling • Function inlining • Register allocation • Code layout • Predication
Background image of page 2
3 SPEC (Standard Performance Evaluation Corporation) • Non-profit organization • To provide standard evaluation of measuring the performance of processors. • CPU, Server, MPI, OpenMP, transactions, Java, mail server, etc. • SPEC CPU: Most architecture researcher use – How to report: Peak, Base Peak vs. Base • "Peak" metrics : compiler options can be selected for each individual benchmark • “Base” metrics: by building all the benchmarks in the suite with a common set of optimization • Spec 2000: Base can use profile • Spec 2006: Base cannot use profile • Peak can use profile • SPEC has three input sets: test, train, ref
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 • Instrumentation based profiling methods – Block profile – Edge profile – Path profile – Profile based profiling Edge Profiling C B D A F E 120 150 100 20 250 160 110 160 270 C B D A F E 120 150 100 20 250 160 110 160 270
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 12

cs8803SC_lecture16-1 - CS8803SC Software and Hardware...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online