Saturday, September 29, 2012

How to limit cpu use in windows

Two ways to deal with your CPU running at 100%

Some programs are known to be resource hogs.  Nowadays, these have become less of a problem thanks to multicore and multithreaded hardware, but they can still become bothersome as they can drain your laptop's battery or simply not let you to do anything else while their process is running.  Here are two solutions that limit the CPU usage of a program:


1) lower the priority of your program

(Copied this from another source some years ago; don't remember where)

 write this on a text editor:

cmd /c start /low appname.exe

and save it as a .bat file and put it in the same folder as your application.  Now run your program by double-clicking it or make a shortcut linking to it.  Each time you run the program, it will take a lower priority to your other processes.  It will still run at 100 percent but will give way when other programs needs it.

2) limit the CPU usage to a desired amount
To do this download a program named Battle Encoder Shirase, which, if I remember rightly, is freeware.  With  BES you can make a target program run to a maximum CPU percentage of your choice.

0 comments:

Post a Comment