CPU Frequency Scaling In Ubuntu

So, you have an irritatingly loud CPU fan which is making you consider whether or not launching your laptop through the nearest window is a good idea. Well, before you do that, why not give CPU frequency scaling a go.

OK, first of all, roll up your sleeves and insert the p4_clockmod module:

    sudo modprobe p4_clockmod

This shouldn’t return any output. Now, add this line: