ma.gnolia

Sign In | Learn More

Skip to main content


Linux Setting processor affinity for a certain task or process Linux Setting processor affinity for a certain task or process

  • Not rated yet.
  • Copy Bookmark

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). But what is CPU affinity? CPU affinity is nothing but a scheduler property that bonds a process to a given set of CPUs on the SMP system. The Linux scheduler will honor the given CPU affinity and the process will not run on any other CPUs. Note that the Linux scheduler also supports natural CPU affinity: The scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Therefore, ...

2 people have commented on this bookmark

Name Title Rating When
14358_32 liquidat Linux Setting processor affinity for a certain task or pr...
Not rated yet.
February 29, 2008

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). But what is CPU affinity? CPU affinity is nothing but a scheduler prope...

1_32 Yi Linux Setting processor affinity for a certain task or pr...
Not rated yet.
May 8, 2006