Setting processor affinity for a certain task

40
Anonymous Reader writes “When you are using SMP (Symmetric MultiProcessing) you might want to override the kernel’s process scheduling and bind a certain process to a specific CPU(s). CPU affinity is nothing but a scheduler property that “bonds” a process to a given set of CPUs on the SMP system. With the help of Linux scheduler utilities you can set up processor affinity for a certain task or process.
The scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Therefore, forcing a specific CPU affinity is useful in certain applications.”

Link: cyberciti.biz

Category:

  • Linux