> Linux is smarter -- it automaticaly gives preference for the last CPU
> used, without any special settings. Sometimes, however, if for some
> reason the kernel or other threads need that specific CPU, Linux will
> move the process. You win.
Actually, NT does the same thing.
> Have you noticed what happens when you on Windows NT run one instence
> of Prime95 on idle priority with affinity to one CPU and start a new
> CPU-hogging program with normal priority and no processor affinity?
> The other program will be on the first CPU 50% of the time and on the
> other CPU the other 50% of the time. 25% of the time one CPU (the one
> Prime95 isn't using) will be idle, while the other program is using
> the CPU which Prime95's processor affinity is set to. That's how smart
> the processor affinity of Windows NT is!
have you actually tested this? That doesn't sound right to me, the idle
processor should get the next avaiable process regardless. Sure, I could
see the CPU with the affinity getting some slices from the other process,
but NT is not going to leave a CPU 50% idle with ready processes.
-jrp
_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers