Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A detailed michroarchitectural x86 simulator
C++ Python C Other
Latest commit 3721e6c @s-kanev Add wrapper packages for external deps.
So, it's easy to change their locations if we have a build
system that doesn't suport external packages.

Change-Id: Icbd0d884f6ecd908c38acb5b3ce2c40f7992c2f1


XIOSim is a detailed user-mode microarchitectural simulator for the x86 architecture. It has detailed models for in-order (Atom-like) and out-of-order (Nehalem-like) cores and tightly-integrated power models. XIOSim supports multiprogram and multithreaded execution, regions-of-interest (including SimPoints). It runs at 100s KIPS per simulated core and uses cores on the simulation host to speed up multicore simulation (fastest runs use 2x the number of simulated cores).

XIOSim builds up on and integrates a significant amount of others' work:

  • The out-of-order performance model from Zesto.
  • The Pin binary instrumentation engine.
  • The power models from McPAT.
  • The DRAM models from DRAMSim2.


  • Bazel 0.1 Download
  • (integration tests only) Python and py.test

XIOSim uses bazel for fetching and building dependences. Check out third_party for a complete list of libraries we use.

Try it out

bazel build :xiosim

Build status

Build Status

Configuration and flags

Most simulated parameters are contained in a configuration file. Feel free to browse a Nehalem-based machine to get a feel for them.

Simulated applications are specified in their own configuration file. Check out how that looks. You can add as many as you want for a single multiprogram simulation.

A few parameters (mostly related to regions-of-interest) are passed as command-line flags (between the -t and -s switches). For example:

-ppfile test.pp     # to use a PinPoints file.
-skip 10000         # to fast-forward the first 10,000 instructions.
-length 10000       # to only simmulate 10,000 instructions.
-parsec             # to properly use the Parsec suite region-of-interest hooks (ROI).

ISA support

The simulator supports user-mode, ia32 and x86_64 instructions. If you want to simulate 32-bit applications, build with bazel build --cpu=piii :xiosim.


XIOSim is under the BSD license, unless otherwise noted. In-tree third-party compoments are under licences that are no more restrictive: Zesto is under a notice-type license, copyright Georgia Tech; McPAT and CACTI are under a notice-type license, copyright HP; ezOptionParser is under an MIT license; InstLib is under an Intel Open Source license. Despite what some Zesto files mention, there is no more code derived from SimpleScalar and covered by the SimpleScalar license.

Something went wrong with that request. Please try again.