genesis
genesis copied to clipboard
Add task to disable CPU frequency scaling
This task puts all CPUs into performance mode so they report back the max MHz that they are capable of achieving.
Possibly a more elegant way to do this but I went for what required the least dependencies.
Closes #65
Before running
[root@genesis tasks]# cat /proc/cpuinfo | grep "cpu MH"
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
cpu MHz : 2526.971
After Running
[root@genesis tasks]# cat /proc/cpuinfo | grep "cpu MH"
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
cpu MHz : 2528.000
lshw also reports 2528 after this task is run.
@roymarantz @defect bump to merge?