Process scheduling within Linux is done by the kernel, following different aspects. Usually it's goal is to share all resources fairly among all running processes.
Sometimes, there's a need to tell the kernel explicitly to prior some process, bind some process to a special CPU and so on.
Changing process priorities is commonly known:
nice -n 10 make
runs the program make with a priority of 10 (-20 meaning most favorable and 19 least favorable scheduling). If you want to change a priority of a running program, renice is your choice. Continue reading