I have the cpu-usage profile of some standard benchmarks in which I can see the cpu-usage to be varying a lot . I wish to increase the cpu-frequency to the highest available value , exactly at the instants the cpu starts executing compute-intensive portions of the workload and reduce the cpu-frequency at instants when workload is not compute-intensive. I'm using linux OS, on a cluster of 2 core2duo machines
Please let me know what code I'm supposed to modify ? Should I change the P-state governor in order to do this ?