slowNice3.c -- a program for tasksetting processes that are niced to 19 -- version 0.3 Also skim the source code comments for more notes and usage pointers. This is a rough testing verion that requires the xprintidle to function properly. It requires basic c build files to be compiled; see compile_notes. Under an admin shell (sudo bash) install xprintidle before using this program; for debian/mint/buntu this is installed by running: apt-get install xprintidle The clock script files modClock.run and asymClock.run should be modified to suit your CPU needs; please edit them. As they are, they've been written and tested for an a10-7870 and should work on similar A series desktop quadcores and related chips (eg. Athlon 860k ). For laptops, scripts from an older version may be more suitable: http://ee.freeshell.org/slowNice_ver0.2/ http://ee.freeshell.org/runNice1919/ Simply modify the frequency rates to suit your processor. cpufreq-set will approximate to a near valid state if your guess is not an exactly available state. So, all you really need is a guess of a "fast" clockrate, a "slow" clockrate, and a "moderate" clockrate for your particular CPU. "fast" ideally is the highest (non-turbo) clockspeed, and "moderate" is typically about 3/4 to 2/3 of that, where the CPU is much more energy efficient than at the highest speed, and where computer as a whole should be somewhat near its peak for energy used per task. Enter the command cpufreq-info for available cpu frequency states (cpu-freq set will also approximate the next lowest frequency if you cpufreq-set a frequency that isn't precisely.) Enter the command: man cpufreq-set for more information