TwiceAsNice
2019-02-18
|
Functions | |
int | main (int argc, char *argv[]) |
a dummy program to increase the load on a CPU. More... | |
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
get a reliable performance tuning.
Usage: make demandCPU ./demandCPU & ./demandCPU & ./demandCPU & ./demandCPU & ./demandCPU & ./demandCPU &
pkill demandCPU