Re: Mersenne: p4 xeons...

2003-03-16 Thread Brian J. Beesley
On Saturday 15 March 2003 01:07, John R Pierce wrote:

 another minor question...  Is there any way to force CPU affinity, or does
 mprime do that automatically?

Unlike Windows, linux has a smart CPU/task allocation algorithm that tries 
hard (but not too hard) to run a thread on the same CPU it used last. So 
there's no need to force CPU affinity, in fact this might well damage 
throughput.

As for hyperthreading - I believe the development kernel (2.5.x) has support 
for hyperthreading. You will almost certainly need to build your own custom 
kernel to obtain this support.

The best sources of information on task allocation on a multiprocessor linux 
system are, not surprisingly, the kernel documentation and the source code 
itself.

Regards
Brian Beesley

_
Unsubscribe  list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers


Re: Mersenne: p4 xeons...

2003-03-16 Thread Steinar H. Gunderson
On Sat, Mar 15, 2003 at 11:35:01PM +, Brian J. Beesley wrote:
 As for hyperthreading - I believe the development kernel (2.5.x) has support 
 for hyperthreading. You will almost certainly need to build your own custom 
 kernel to obtain this support.

The latest 2.4.x series has too, AFAIK, but the scheduler is not as optimized
for it as in the 2.5.x series.

/* Steinar */
-- 
Homepage: http://www.sesse.net/
_
Unsubscribe  list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers