Performance Debugging and Tuning using an Instruction-Set Simulator
Number of Authors: 2
1997 (English)Report (Refereed)
Instruction-set simulators allow programmers a detailed level of insight into, and control over, the execution of a program, including parallel programs and operating systems. In principle, instruction set simulation can model any target computer and gather any statistic. Furthermore, such simulators are usually portable, independent of compiler tools, and deterministic-allowing bugs to be recreated or measurements repeated. Though often viewed as being too slow for use as a general programming tool, in the last several years their performance has improved considerably. We describe SIMICS, an instruction set simulator of SPARC-based multiprocessors developed at SICS, in its rôle as a general programming tool. We discuss some of the benefits of using a tool such as SIMICS to support various tasks in software engineering, including debugging, testing, analysis, and performance tuning. We present in some detail two test cases, where we've used SimICS to support analysis and performance tuning of two applications, Penny and EQNTOTT. This work resulted in improved parallelism in, and understanding of, Penny, as well as a performance improvement for EQNTOTT of over a magnitude. We also present some early work on analyzing SPARC/Linux, demonstrating the ability of tools like SimICS to analyze operating systems.
Place, publisher, year, edition, pages
Kista, Sweden: Swedish Institute of Computer Science , 1997, 1.
SICS Technical Report, ISSN 1100-3154 ; T97:02
instruction set simulation, profiling, software engineering, performance debugging, SIMICS
Computer and Information Science
IdentifiersURN: urn:nbn:se:ri:diva-21960OAI: oai:DiVA.org:ri-21960DiVA: diva2:1041502
NOTE: A later version of this report was published in ILPS'972016-10-312016-10-31Bibliographically approved