Difference between revisions of "SescTherm"

From Vlsiwiki
Jump to: navigation, search
Line 14: Line 14:
 
# Build sesc
 
# Build sesc
  
mkdir build
+
  mkdir build
cd build
+
  cd build
../sesc/configure --enable-sesctherm --enable-power
+
  ../sesc/configure --enable-sesctherm --enable-power
gmake
+
  gmake
  
 
# Build sesctherm
 
# Build sesctherm
  
gmake sesctherm
+
  gmake sesctherm
  
 
# Get some sample configuration
 
# Get some sample configuration
cp ../sesc/confs/amd.conf sesc.conf
+
 
cp ../sesc/confs/amd.flp .
+
  cp ../sesc/confs/amd.conf sesc.conf
gmake power.conf
+
  cp ../sesc/confs/amd.flp .
 +
  gmake power.conf
  
 
# Run some small benchmark
 
# Run some small benchmark
./sesc.mem -cpower.conf ../sesc/tests/crafty < ../sesc/tests/tt.in
+
 
 +
  ./sesc.mem -cpower.conf ../sesc/tests/crafty < ../sesc/tests/tt.in
  
 
# Check results
 
# Check results
../sesc/scripts/report.pl -a
+
 
 +
  ../sesc/scripts/report.pl -a
  
 
# Thermal simulations
 
# Thermal simulations
Line 39: Line 42:
 
The .therm. file is the power trace.
 
The .therm. file is the power trace.
  
./sesctherm -i sesc_crafty.therm.jTHtnX -c power.conf
+
  ./sesctherm -c power.conf sesc_crafty.therm.?????? sesc_crafty.therm.?????? sesc_crafty.therm.?????? sesc_crafty.therm.??????
  
 
sesctherm reads the sesc_crafty.therm.foofoo file and uses the power.conf thermal/package
 
sesctherm reads the sesc_crafty.therm.foofoo file and uses the power.conf thermal/package
 
characteristics.
 
characteristics.

Revision as of 19:07, 23 June 2008

Quick Sample Use

  1. Checkout sesc
 svn co svn+ssh://mada0.cse.ucsc.edu/mada/server/svn/sesc
  1. Build support libraries
 pushd .
 cd sesc/src/libsesctherm/levmar-2.1.3/
 gmake
 popd
  1. Build sesc
 mkdir build
 cd build
 ../sesc/configure --enable-sesctherm --enable-power
 gmake
  1. Build sesctherm
 gmake sesctherm
  1. Get some sample configuration
 cp ../sesc/confs/amd.conf sesc.conf
 cp ../sesc/confs/amd.flp .
 gmake power.conf
  1. Run some small benchmark
 ./sesc.mem -cpower.conf ../sesc/tests/crafty < ../sesc/tests/tt.in
  1. Check results
 ../sesc/scripts/report.pl -a
  1. Thermal simulations

There should be 2 files sesc_crafty.?????? and sesc_crafty.therm.??????. The .therm. file is the power trace.

 ./sesctherm -c power.conf sesc_crafty.therm.?????? sesc_crafty.therm.?????? sesc_crafty.therm.?????? sesc_crafty.therm.??????

sesctherm reads the sesc_crafty.therm.foofoo file and uses the power.conf thermal/package characteristics.