Review Board 2.0.15


Sim: Add functionality to the simulation scripts to allow running with

Review Request #57 - Created July 9, 2010 and updated

Information
Timothy Jones
gem5
Reviewers
Default
Sim: Add functionality to the simulation scripts to allow running with
SMARTS sampling methodology.  At the moment the scripts don't support the
full range of options (e.g. you can't start from a checkpoint), and nor do
they check for incompatibility with other options.  However, they do give
an example of how sampling could work with M5.

With a benchmark that has 10 billion dynamic instructions, try:

<m5bin> configs/example/se.py -d --caches --smarts:n 10000 --smarts:b 10

   
Review request changed
Updated (July 16, 2010, 11:22 a.m.)
Posted (July 16, 2010, 11:23 a.m.)
This revision should fix the comments made in the previous review.
Posted (July 16, 2010, 12:13 p.m.)



  
configs/common/Options.py (Diff revision 2)
 
 
You don't have to change this if you don't feel like it, but the dest="" thing isn't necessary.  --smarts-sample-interval becomes options.smarts_sample_interval.  I prefer that they're consistent myself.  The only real reason (I think) to use dest= is if you have multiple options that affect the same variable.
  1. It's no problem to alter this and is probably a good idea to keep it like the others, so I'll do that.
Ship it!
Posted (July 29, 2010, 1:34 a.m.)