On Fri, 18 Dec 1998, Rik van Riel wrote:
> 
> That should be cheaper than an 'inapropriate' context switch
> or a truckload of cache misses/invalidates.

Nobody has convinced me that it's all that much of a deal.

Yes, I know other UNIXes try very hard to have processor affinity for
cache reasons, but I've never heard a good reason to think it's a major
issue.

For large processes that access a huge data-set, processor affinity is not
a big issue, simply because the process tends to run for a longish while
between re-schedules.

For processes that sleep a lot, I don't see the performance impact either.

And I _do_ see the performance impact of trying to wake up the right CPU:
I tried it at one point, and it helped _slightly_ for some things, and
showed up as a major bummer for other things due to the extra cross-calls.

                Linus

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to