Shade

The most up-to-date web page on Shade is maintained by Sun Among other things it has a quick-'n-easy way to get Shade and its manuals.

There are currently two papers: a technical report and a SIGMETRICS paper. The technical report has more details, but the SIGMETRICS paper is shorter, easier to read, and has a better related-work section.

You can also get Shade. See the download page at Sun Microsystems.


The Shade technical report

Shade: A Fast Instruction-Set Simulator for Execution Profiling (150KB) UW-CSE-93-06-06. (or get the same paper formatted as a Sun Microsystems Labs technical report)

By Robert F. Cmelik and David Keppel.

ABSTRACT

Shade is an instruction-set simulator and custom trace generator. Application programs are executed and traced under the control of a user-supplied trace analyzer. To reduce communication costs, Shade and the analyzer are run in the same address space. To further improve performance, code which simulates and traces the application is dynamically generated and cached for reuse. Current implementations run on SPARC systems and, to varying degrees, simulate the SPARC (Versions 8 and 9) and MIPS I instruction sets. This paper describes the capabilities, design, implementation, and performance of Shade, and discusses instruction set emulation in general.

Shade improves on its predecessors by providing their various tracing capabilities together in a single tool. Shade is also fast: Running on a SPARC and simulating a SPARC, SPEC 89 benchmarks run about 2.3 times slower for floating-point programs and 6.2 times slower for integer programs. Saving trace data costs more, but Shade provides fine control over tracing, so users pay a collection overhead only for data they actually need. Shade is also extensible so that analyzers can examine arbitrary target state and thus collect special information that Shade does not "know" how to collect.

%A Robert F. Cmelik
%A David Keppel
%T Shade: A Fast Instruction-Set Simulator for Execution Profiling
%R SMLI 93-12; UWCSE 93-06-06
%I Sun Microsystems Laboratories, Inc. and University of Washington
%D 1993

@techreport{CK:93,
    author={Robert F. Cmelik and David Keppel},
    title={Shade: A Fast Instruction-Set Simulator for Execution Profiling},
    number={SMLI 93-12, UWCSE 93-06-06},
    year={1993}
}

The Shade SIGMETRICS paper

A condensed version has also appeared as a SIGMETRICS '94 paper with the same title and a more comprehensive related work section:

ABSTRACT

Tracing tools are used widely to help analyze, design, and tune both hardware and software systems. This paper describes a tool called Shade which combines efficient instruction-set simulation with a flexible, extensible trace generation capability. Efficiency is achieved by dynamically compiling and caching code to simulate and trace the application program. The user may control the extent of tracing in a variety of ways; arbitrarily detailed application state information may be collected during the simulation, but tracing less translates directly into greater efficiency. Current Shade implementations run on SPARC systems and simulate the SPARC (Versions 8 and 9) and MIPS I instruction sets. This paper describes the capabilities, design, implementation, and performance of Shade, and discusses instruction set emulation in general.

%A Bob Cmelik
%A David Keppel
%T Shade: A Fast Instruction-Set Simulator for Execution Profiling
%J Proceedings of the 1994 ACM SIGMETRICS Conference
on the Measurement and Modeling of Computer Systems
%D May 1994
%P 128-137

@techreport{CK:94,
    author={Bob Cmelik and David Keppel},
    title={Shade: A Fast Instruction-Set Simulator for Execution Profiling},
    journal={Proceedings of the 1994 ACM SIGMETRICS Conference
             on the Measurement and Modeling of Computer Systems},
    month={May},
    year={1994},
    pages={128,137}
}

The Shade book chapter

An extensively revised version with more details, new results, and an expanded related work section appears as Chapter 2 of

%T Fast Simulation of Computer Architectures
%E Thomas M. Conte
%E Charles E. Gimarc
%I Kluwer Academic Publishers
%D 1995
%N ISBN 0-7923-9593-X

[Conte & Gimarc 95]
``Fast Simulation of Computer Architectures'', Thomas M. Conte and Charles E. Gimarc, Editors. Kluwer Academic Publishers, 1995. ISBN 0-7923-9593-X.


This research supported largely by Sun Microsystems.
See also:
pardo@cs.washington.edu