I'm running experiments via python & pygame that are time-sensitive and I'd like to reduce all the OS's background processing as much as possible while still being able to do things like detect keyboard/gamepad/mouse input, show things on screen, and play sounds. How could I go about killing all superfluous processes?
migrated from superuser.com Apr 16 '12 at 15:40
This question came from our site for computer enthusiasts and power users.
Did you try using nice? that may be enough for your needs.
this will ensure that your program has a higher priority than other processes.