Online Phase Detection Algorithms


Authors:     Priya Nagpurkar ...et.al ...  V.T. Rajan (UC Santa Barbara, IBM Research)
Venue:        International Symposium on Code Generation and Optimization, 2006

The paper presents a novel phase detection algorithm The main claims are: a client- and machine-independent baseline methodology for evaluating the accuracy of an online phase detector, a metric to compare phase detectors, empirical evaluation of numerous phase detectors (using Java applications).

The phase detection in this paper builds off the idea that during execution, there exist two key states: stable phase, and transition period. They use a model which constant accepts inputs, and then when in a stable phase, grows the "trailing window" size to the size of the stable phase. They call this notion an adaptive trailing window policy. The paper uses an offline baseline to evaluate the online phase detection algorithms. The biggest contributions this paper seems to make is:
  • Adaptive phase sizes (and analysis windows) outperform fixed size windows.
  • Larger phase sizes (~100K branches) seem to perform better.
  • Weighing branches seems to perform better than unweighted
    • Unweighted = did you see the branch A?
    • Weighted = how many times did you see branch A?

Comments

Popular posts from this blog

Fundamental Latency Trade-offs in Architecting DRAM Caches (Alloy Cache)

ZCOMP: Reducing DNN Cross-Layer Memory Footprint Using Vector Extensions

AutoFDO: Automatic Feedback-Directed Optimization for Warehouse-Scale Applications