This script turns off your CPUs while you are not needing them(CPUs denotes any kind of a processing unit that is identified as a CPU by the Linux kernel(cat /proc/cpuinfo | grep “processor” gives you a list of all CPUs). This is specially beneficial for Intel i-series processors since they have a lot of cores and all of them run all the time. You can save power and reduce temperature. For some applications that use concurrency effectively this won’t reduce the temperature, it’ll make it go up; since one CPU is doing all the concurrent work, to get around this most of the time(if the computer isn’t in super idle, e.g. not even playing a MP3) then it’ll have two cores on most of the time.
Note: It’s recommended to use this script for machines that have 3 or more CPUs, it’ll affect CPU performance and temperature in a bad way than a good way if you use this on a 2 CPU system.
ONLY FOR LINUX, you can do the equivalent in Windows by restarting the system every time you switch CPUs(:P).