Darryl Gove's blog
Extracting more detailed instruction frequency data from BIT
BIT has the ability to print out instruction frequency data, but there may be occasions where more detail is required. One way of getting more complete data is to ask bit to dump the disassembly for the entire application (using the option -a dis) and then write a script to parse the resulting output. The example script here extracts the integer/logical operations and reports them by type.
Posted at 11:54AM Mar 04, 2008 by Darryl Gove in Sun |
Parsing branch data from BIT
I've an old article on using data from BIT to examine the behaviour of branches in code, and using that to see whether a training workload is representative of the real work the application does. The article contains a couple of scripts for parsing the output from BIT to generate the appropriate results and graphs.
I've just been helping out in looking at branch data once again, this time breaking down the branch probabilities by the condition codes of the branch. The code to do this is relatively easy, but its annoying to have to write it yourself, this is my code for breaking down branch frequencies by condition code. The output is somewhat cryptic, for each condition code it will print out columns for whether the branch was annulling (a) or not (n), and predicted taken (pt), predicted not taken (pn), or not predicted(no).
Posted at 10:07AM Feb 27, 2008 by Darryl Gove in Sun |
CMT Developer Tools webcast
I've just had another webcast posted. This time it's discussing the CMT Developer Tools. The tools are add-ons for both Sun Studio 11 and Sun Studio 12. Of particular excitement was getting two of the tools ported to x64. There's a bit more information on the individual tools on my post back in July when we released them.
The CMT Developer Tools webcast covers installing and using the tools. The presentation is part slideware and part demo.
Posted at 03:05PM Nov 28, 2007 by Darryl Gove in Sun |
Cool Tools platform matrix
A matrix showing the platforms that the various cool tools are available on.
| Tool | SPARC/Solaris | x86/Solaris | x86/Linux |
|---|---|---|---|
| GCC for SPARC Systems | YES | ||
| Sun Studio 12 | YES | YES | YES |
| ATS | YES | YES | |
| BIT | YES | ||
| Discover | YES | ||
| SPOT | YES | YES | |
| Faban | YES | YES | YES |
| Sun Application Porting Assistant | YES | YES | |
| Thread Analyzer | YES | YES | YES |
| Cool Tuner | YES | ||
| Cool Stack | YES | YES | |
| Cooltst | YES | YES | YES |
| Consolidation Tool | YES | YES | YES |
| corestat | YES | ||
| SHADE | YES |
Posted at 01:00AM Nov 09, 2007 by Darryl Gove in Sun |
CMT Developer Tools
We've just released the CMT Developer Tools for Sun Studio 12. The tools are available for both SPARC and x64 systems, although not all tools are on the x64 platform. The list of tools is as follows:
- ATS - Automatic Tuning and Troubleshooting System. Automatically finds the best compiler flags or locates optimisation bugs in an application without access to the source code. (SPARC and x64)
- SPOT - Simple Performance Optimisation Tool. Generates an html report detailing where the application is spending time, and information about why it might be spending time there.(SPARC and x64)
- BIT - Binary Improvement Tool. Reports information about application coverage also produces instruction execution counts, branch taken data etc. (SPARC only)
- Discover - Sun Memory Error Discovery Tool. Detects memory access issues such in an application. Examples are accesses to uninitialised memory, accesses beyond array bounds, memory leaks, etc. (SPARC only)
Posted at 12:10PM Jul 24, 2007 by Darryl Gove in Sun |


