Difference between revisions of "Benchmarking: CPUBurn-in"
Jump to navigation
Jump to search
(Created page with "== Download CPUBurn-in == CPUBurn-in files can be obtained from: <code>//storage1/software/hpc/benchmarks/cpuburn-in/cpuburn-in.tar.gz</code> == Extract CPUBurn-in == <bash...") |
|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
CPUBurn-in files can be obtained from: | CPUBurn-in files can be obtained from: | ||
<code>//storage1/software/hpc/benchmarks/cpuburn-in/cpuburn-in.tar.gz</code> | <code>//storage1/software/hpc/benchmarks/cpuburn-in/cpuburn-in.tar.gz</code> | ||
| + | |||
| + | == Install Libraries == | ||
| + | NB: 32-bit version of glibc is required | ||
| + | <syntaxhighlight> | ||
| + | [root@node1 ~]#yum -y install glibc.i686 | ||
| + | </syntaxhighlight> | ||
== Extract CPUBurn-in == | == Extract CPUBurn-in == | ||
| − | |||
<syntaxhighlight> | <syntaxhighlight> | ||
[root@raldisk ~]# tar zxvf cpuburn-in.tar.gz | [root@raldisk ~]# tar zxvf cpuburn-in.tar.gz | ||
| Line 14: | Line 19: | ||
== Run CPUBurn-in == | == Run CPUBurn-in == | ||
| − | It may be necessary to <code>chmod</code> the extracted binary to run (or execute the binary with <code>sh</code>: | + | It may be necessary to <code>chmod</code> the extracted binary to run (or execute the binary with <code>sh</code>): |
<syntaxhighlight> | <syntaxhighlight> | ||
[root@raldisk ~]# chmod +x cpuburn-in | [root@raldisk ~]# chmod +x cpuburn-in | ||
| Line 33: | Line 38: | ||
NB - the "3600" above is the number of seconds for the stress test to run. | NB - the "3600" above is the number of seconds for the stress test to run. | ||
| + | |||
| + | == Ending CPUBurn-in == | ||
| + | |||
| + | To kill cpuburn-in manually before the stated completion time, use <code>killall</code>: | ||
| + | <syntaxhighlight> | ||
| + | [root@raldisk ~]# killall cpuburn-in | ||
| + | </syntaxhighlight> | ||
Latest revision as of 16:09, 9 January 2013
Download CPUBurn-in
CPUBurn-in files can be obtained from:
//storage1/software/hpc/benchmarks/cpuburn-in/cpuburn-in.tar.gz
Install Libraries
NB: 32-bit version of glibc is required
[root@node1 ~]#yum -y install glibc.i686Extract CPUBurn-in
[root@raldisk ~]# tar zxvf cpuburn-in.tar.gz
cpuburn-in
READMERun CPUBurn-in
It may be necessary to chmod the extracted binary to run (or execute the binary with sh):
[root@raldisk ~]# chmod +x cpuburn-inNote: cpuburn-in should have one running instance per core/virtual core. To achieve this, create a script to calculate the number of available core and run cpuburn-in a sufficient number of times to fully stress the cpus:
START=1
END=`cat /proc/cpuinfo | grep processor | wc -l`
for (( c=$START; c<=$END; c++ ))
do
nohup ./cpuburn-in 3600 &
done
topNB - the "3600" above is the number of seconds for the stress test to run.
Ending CPUBurn-in
To kill cpuburn-in manually before the stated completion time, use killall:
[root@raldisk ~]# killall cpuburn-in