Using the Intel LINPACK Benchmark to stress the hardware

From Notes to self
Revision as of 19:01, 21 December 2013 by Verbovet (talk | contribs)
Jump to navigation Jump to search

Via http://kb.fusionio.com/KB/a62/using-linpack-benchmark-to-stress-test-your-system.aspx

  • Reboot to the terminal (don't start X), unload unneeded drivers and stop unneeded applications
  • Go into the linpack_X.Y.Z/benchmarks/linpack directory
  • Compute the job size using a python script:
#!/usr/bin/python
import commands
import math
print(math.floor(math.sqrt((float(commands.getoutput("free -b|grep Mem|awk '{print $2}'"))-1073741824)/8)/16)*16+8)
  • Creat a new lininput_xeon64 input file using the number XXXXX calculated above:
Sample Intel(R) Optimized LINPACK Benchmark data file (lininput_xeon64)
Intel(R) Optimized LINPACK Benchmark data
1 # number of tests
XXXXX # problem sizes
XXXXX # leading dimensions
1 # times to run a test
4 # alignment values (in KB)
  • Run time ./runme_xeon64
  • Adjust problem size and leading dimensions if needed
  • Compute the number of passes needed for the test (not less than 10 passes)
  • Run ./runme_xeon64 and then check lin_xeon64.txt