Difference between revisions of "Simpoints"

From gem5
Jump to: navigation, search
(Created page with "<To be updated> Steps to profile, generate, and use SimPoints with gem5: 1. To profile workload and generate SimPoint BBV file, use the following option: --simpoint-profile...")
 
Line 3: Line 3:
 
Steps to profile, generate, and use SimPoints with gem5:
 
Steps to profile, generate, and use SimPoints with gem5:
  
1. To profile workload and generate SimPoint BBV file, use the
+
1. To profile workload and generate SimPoint BBV file, use the following option:
following option:
 
  
 
--simpoint-profile [--simpoint-interval <interval length>]
 
--simpoint-profile [--simpoint-interval <interval length>]
Line 15: Line 14:
 
(SimPoint 3.2 not included with this flow.)
 
(SimPoint 3.2 not included with this flow.)
  
3. To take gem5 checkpoints based on SimPoint analysis, use the
+
3. To take gem5 checkpoints based on SimPoint analysis, use the following option:
following option:
 
  
--take-simpoint-checkpoint=<simpoint file path>,<weight file
+
--take-simpoint-checkpoint=<simpoint file path>,<weight file path>,<interval length>,<warmup length>
path>,<interval length>,<warmup length>
 
  
<simpoint file> and <weight file> is generated by SimPoint analysis
+
<simpoint file> and <weight file> is generated by SimPoint analysis tool from UCSD. SimPoint 3.2 format expected. <interval length> and <warmup length> are in number of instructions.
tool from UCSD. SimPoint 3.2 format expected. <interval length> and
 
<warmup length> are in number of instructions.
 
  
 
4. To resume from gem5 SimPoint checkpoints, use the following option:
 
4. To resume from gem5 SimPoint checkpoints, use the following option:
  
--restore-simpoint-checkpoint -r <N> --checkpoint-dir <simpoint
+
--restore-simpoint-checkpoint -r <N> --checkpoint-dir <simpoint checkpoint path>
checkpoint path>
 
  
<N> is (SimPoint index + 1). E.g., "-r 1" will resume from SimPoint
+
<N> is (SimPoint index + 1). E.g., "-r 1" will resume from SimPoint #0.
#0.
 

Revision as of 19:00, 11 November 2014

<To be updated>

Steps to profile, generate, and use SimPoints with gem5:

1. To profile workload and generate SimPoint BBV file, use the following option:

--simpoint-profile [--simpoint-interval <interval length>]


Requires single Atomic CPU and fastmem. <interval length> is in number of instructions. Default interval length is 10M instructions.

2. Generate SimPoint analysis using SimPoint 3.2 from UCSD. (SimPoint 3.2 not included with this flow.)

3. To take gem5 checkpoints based on SimPoint analysis, use the following option:

--take-simpoint-checkpoint=<simpoint file path>,<weight file path>,<interval length>,<warmup length>

<simpoint file> and <weight file> is generated by SimPoint analysis tool from UCSD. SimPoint 3.2 format expected. <interval length> and <warmup length> are in number of instructions.

4. To resume from gem5 SimPoint checkpoints, use the following option:

--restore-simpoint-checkpoint -r <N> --checkpoint-dir <simpoint checkpoint path>

<N> is (SimPoint index + 1). E.g., "-r 1" will resume from SimPoint #0.