Thank you everyone for the quick responses.  :)

On 3/24/06, Janne Johansson <[EMAIL PROTECTED]> wrote:
> Are you sure you *really* want this?
>
> I mean, even if it was possible, are you sure there would be any gains
> to it?
>

>From what I have read (I'm not an expert on the subject, just
curious), cpu affinity is important for performance.  Soft affinity
attempts to keep processes on the cpu where it's cache is as if the
processes are moved a lot, it causes high cache miss rates.  In terms
of hard affinity, it can make sense for performance in that in some
setups, you might want to give a single process or a set of processes
the full processing power of a CPU and let the kernel and other
programs be run by another CPU.

Source:
http://www.linuxjournal.com/article/6799
(An old article on CPU affinity in the 2.5 Linux development kernel.)

However, like I said, it was more just out of curiosity.

--
em: [EMAIL PROTECTED]

Poster: "I am a Windows Systems Administrator and work for a pretty
large corporation...."
Anonymous: "I am so very sorry for you..."
-- Slashdot

Reply via email to