Since yesterday I was trying to use HandBrake to convert my videos from MTS to MP4 format but for some reason my computer was shutting down all of a sudden. Today morning I found that Handbrake was using 97% of the CPU and my laptop has developed heating issue. Both of them combined was shutting down the complete system.
Now if your computer or laptop has multi-core cpu it is possible to control for any process on how many CPU core they can use using Affinity. Here is how :
- First keep your program running which is consuming the CPU and make sure you have administrator privilege for this.
- Launch the Task Manager and find the program. The best is to sort by name or by CPU consumption.
- Right click and select Set Affinity.
- This will pop up a small window where you can see how many cpu core the program is using. By default all of them will be selected which you can change.
- Deselect one if you have two or two if you have for. Adjust is so the CPU usage drops by that amount. If you select only one cpu of four the cpu usage for that process will be 25% of what it using.
Done this your CPU usage will definitely come down. There is another trick that you can try. Right click on any process and Select Set Process Priority. Here you can reduce how the OS gives importance to a program. So when you have multiple programs running you can give one program more importance than others using this but if you have just one program which is running, affinity option is better.