TwiceAsNice  2019-02-18
Functions
demandCPU.c File Reference

Functions

int main (int argc, char *argv[])
 
a dummy program to increase the load on a CPU. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)


a dummy program to increase the load on a CPU.

The main intend is to compile the ATLAS library on Intel CPU where the usual cpupower frequency-set -g performance does not avoid throttling the CPU's, such that the usual rpmbuild of the ATLAS library refuses to start compilation. If we load all cores with a dummy program like this one here, we can configure the compile-installation

of the ATLAS library with 'configure –cripple-atlas-performance..' and still

get a reliable performance tuning.

Usage: make demandCPU ./demandCPU & ./demandCPU & ./demandCPU & ./demandCPU & ./demandCPU & ./demandCPU &

make/install ATLAS here as detailed in LN-MPIA-MAN-ICS-010

pkill demandCPU

Since
2017-09-07
Author
R. J. Mathar