Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Effectiveness of trace sampling for performance debugging tools
Martonosi M., Gupta A., Anderson T. ACM SIGMETRICS Performance Evaluation Review21 (1):248-259,1993.Type:Article
Date Reviewed: Jul 1 1994

Cache simulation tools can provide valuable information for use in tuning applications for better memory performance. The overhead of a complete cache simulation can be substantial enough to inhibit its frequent use, however.

The authors describe a technique to improve the performance of these tools. They do this by simulating only subsections of the complete reference trace. By sampling one-tenth of the full trace, they improve the performance of their MemSpy tool by a factor of four to six on five benchmark applications.

They perform experiments showing how the accuracy of the simulation depends on several parameters, including cache size, sample length, and number of samples. The use of sampling is most accurate on programs with high cache miss rates, exactly the situation where a performance tool is most needed. Because the state of the cache is unknown at the beginning of each sample, larger caches lead to higher uncertainty in estimating cache miss ratios. In their benchmarks, using cache sizes of 16KB to 128KB, the sampling technique leads to estimates of cache miss ratios with an absolute error of no more than 0.3 percent. These measurements show that the sampling technique is most useful for programs with high cache miss rates or many references, and lead to a set of recommended strategies for memory performance tuning depending on the characteristics of the application.

Reviewer:  A. Cole Review #: CR117986
Bookmark and Share
 
Tracing (D.2.5 ... )
 
 
Debugging Aids (D.2.5 ... )
 
 
Parallel Programming (D.1.3 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Tracing": Date
Experience with a portable debugging tool
Steffen J. Software--Practice & Experience 14(4): 323-334, 1984. Type: Article
Feb 1 1985
A probe effect in concurrent programs
Gait J. Software--Practice & Experience 16(3): 225-233, 1986. Type: Article
Sep 1 1986
Optimally profiling and tracing programs
Ball T., Larus J. ACM Transactions on Programming Languages and Systems 16(4): 1319-1360, 1994. Type: Article
Jul 1 1995
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy