“When you are using SMP 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.” On a related note, here’s a short guide on kernel compilation.
…if the Sun astroturfers are still active here. I guess we’ll soon know.
I for one am glad to see that linux has the processor affinity capability, and that it’s being documented publicly for all to make use of. I don’t know how long linux has had it, I just hope that it’s been engineered the right way so that it doesn’t break ordinary stuff
Processor affinity is a really useful feature to have, especially when you’re running larger servers and for example have Oracle licensing requirements about # of cpus allowed per instance.