|
ABSTRACT
Phase analysis has proven to be a useful method of summarizing the time-varying behavior of programs, with uses ranging from reducing simulation time to guiding run-time optimizations. Although phase classification techniques based on basic block vectors have shown impressive accuracies on SPEC benchmarks, commercial programs remain a significant challenge due to their complex behaviors and multiple threads. Some behaviors, such as L2 cache misses, may have less correlation with the code and therefore are much harder to capture with basic block frequency vectors.Comparing the similarity of two or more intervals requires a good metric, one that is not only fast enough to analyze the full execution of the program, but that is also highly correlated with important performance degrading events (such as L2 misses). We examine the use of many different interval similarity metrics and their uses for program phase analysis across a range of commercial applications and show that there is still significant room for improvement. To address this problem, we introduce a novel wavelet-based phase classification scheme that captures and compares images of memory behavior in two or more dimensions. Over a set of five commercial applications, we show that a wavelet-based scheme can strictly outperform a broad range of prior metrics both in terms of accuracy and overhead.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
C.H. Chen and G.G. Lee. Image segmentation using multiresolution wavelet analysis and expectation-maximization (EM) algorithm for digital mammography. International Journal of Imaging Systems and Technology, 8(5):491--504, 1997.
|
| |
3
|
|
| |
4
|
A. Dhodapkar and J. E. Smith. Dynamic microarchitecture adaptation via co-designed virtual machines. In International Solid State Circuits Conference, February 2002.
|
 |
5
|
|
| |
6
|
Steve Dropsho , Alper Buyuktosunoglu , Rajeev Balasubramonian , David H. Albonesi , Sandhya Dwarkadas , Greg Semeraro , Grigorios Magklis , Michael L. Scott, Integrating Adaptive On-Chip Storage Structures for Reduced Dynamic Power, Proceedings of the 2002 International Conference on Parallel Architectures and Compilation Techniques, p.141, September 22-25, 2002
|
| |
7
|
|
| |
8
|
Lieven Eeckhout, John Sampson, and Brad Calder. Exploiting program microarchitecture independent characteristics and phase behavior for reduced benchmark suite simulation. In IEEE International Symposium on Workload Characterization (IISWC'05), Austin, TX, USA, October 6--8 2005.
|
| |
9
|
|
| |
10
|
Greg Hamerly, Erez Perelman, Jeremy Lau, and Brad Calder. SimPoint 3.0: Faster and more flexible program analysis. In Workshop on Modeling, Benchmarking, and Simulation, June 2005.
|
| |
11
|
C. Isci and M. Martonosi. Identifying program power phase behavior using power vectors. In Workshop on Workload Characterization, September 2003.
|
| |
12
|
|
 |
13
|
|
| |
14
|
Jeremy Lau, Jack Sampson, Erez Perelman, Greg Hamerly, and Brad Calder. The strong correlation between code signatures and performance. In IEEE International Symposium on Performance Analysis of Systems and Software, March 2005.
|
| |
15
|
|
 |
16
|
Chi-Keung Luk , Robert Cohn , Robert Muth , Harish Patil , Artur Klauser , Geoff Lowney , Steven Wallace , Vijay Janapa Reddi , Kim Hazelwood, Pin: building customized program analysis tools with dynamic instrumentation, Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation, June 12-15, 2005, Chicago, IL, USA
|
| |
17
|
|
 |
18
|
Cristiano Pereira , Jeremy Lau , Brad Calder , Rajesh Gupta, Dynamic phase analysis for cycle-close trace generation, Proceedings of the 3rd IEEE/ACM/IFIP international conference on Hardware/software codesign and system synthesis, September 19-21, 2005, Jersey City, NJ, USA
[doi> 10.1145/1084834.1084913]
|
 |
19
|
|
| |
20
|
E. Salari and Z. Ling. Texture segmentation using hierarchical wavelet decomposition. Pattern Recognition, 28:1819--1824, Dec 1995.
|
 |
21
|
|
 |
22
|
|
| |
23
|
Timothy Sherwood, Erez Perelman, Greg Hamerly, Suleyman Sair, and Brad Calder. Discovering and exploiting program phases. IEEE Micro, 23(6):84--93, Nov-Dec 2003.
|
 |
24
|
|
| |
25
|
Ram Srinivasan, Jeanine Cook, and Shaun Cooper. Fast, accurate microarchitecture simulation using statistical phase detection. In IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS'05), Austin, TX, USA, March 2005.
|
| |
26
|
|
| |
27
|
Michail Vlachos, Jessica Lin, Eamonn Keogh, and Dimitrios Gunopulos. A wavelet-based anytime algorithm for k-means clustering of time series. In Workshop on Clustering High Dimensional Data and its Applications, San Francisco, CA, May 2003.
|
|